Skip to content

fix: prefer valkey_version over redis_version for Valkey server (#573)#574

Open
xuxiaowei-com-cn wants to merge 2 commits into
tiny-craft:mainfrom
xuxiaowei-com-cn:xuxiaowei/valkey_version
Open

fix: prefer valkey_version over redis_version for Valkey server (#573)#574
xuxiaowei-com-cn wants to merge 2 commits into
tiny-craft:mainfrom
xuxiaowei-com-cn:xuxiaowei/valkey_version

Conversation

@xuxiaowei-com-cn

Copy link
Copy Markdown
  • backend: check valkey_version first when opening connection, fallback to redis_version if not present
  • frontend: display "Valkey Version" tooltip when connecting to a Valkey server, otherwise show "Redis Version"

#573

image image

…-craft#573)

- backend: check valkey_version first when opening connection,
  fallback to redis_version if not present
- frontend: display "Valkey Version" tooltip when connecting to
  a Valkey server, otherwise show "Redis Version"
Split the version display into distinct valkey_version and redis_version
branches, using v-if/v-else-if to give Valkey priority. This makes the
version source explicit and improves readability compared to the previous
fallback approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant