ekvedaras/redis-gui

Key names - again

Closed this issue ยท 3 comments

Related to #32.

I wonder if there could be an option in the setting panel that would restore the original behaviour from v1.2.9.

In my application I have an extra abstraction layer I called "virtual key". For example

  • foo.bar.baz - translated to hash foo.bar and field baz.
  • foo.group:1.baz - translated to hash foo.group:1 and field baz.
  • foo.group:2.baz - translated to hash foo.group:2 and field baz.
  • foo.bar.@baz - translated to string foo.bar.@baz. I am using @ symbol to distinguish what Redis command should be used (SET/GET vs HSET/HGET).

In the Redis GUI I am using . as a namespace separator.

In v1.2.9 I was perfectly fine with the tree view like this:

image

Even if there was a duplicated bar, the icon on the left did let me distinguish the strings from hashes.

Now, in v1.2.10 I am getting this, which IMO is quite confusing:

image

Hey. That's an interesting one ๐Ÿ™‚ Either way, you should not see that _+_+_ at all. Yeah, it is probably colliding with having the same folder name and key at the same level. Will take a look at this ๐Ÿ‘

Thanks for the quick response!

Fixed in v1.2.11