Commit Graph
39 Commits
Author SHA1 Message Date
二丫讲梵 c697d0c7ad feat(redis): improve key detail auto-refresh and TTL polling 2026-07-31 02:41:26 +08:00
onenewcode 223e9b3a2f fix(redis): paginate stream entries 2026-07-30 15:56:56 +08:00
onenewcode 31f0b7d6ef feat(redis): add stream consumer group monitoring 2026-07-28 23:16:39 +08:00
onenewcode 51fa058edb feat(redis): add local expiration modes 2026-07-26 23:33:56 +08:00
onenewcode 192d874554 feat(redis): add in-content search for string values 2026-07-24 09:32:30 +08:00
t8y2 72997b88d8 fix(redis): preserve control bytes in copied values 2026-07-22 11:42:47 +08:00
Spencer.Chang 89fca90dbc refactor(redis): center full value dialog 2026-07-17 01:15:24 +08:00
二丫讲梵 368a06e3ed 🔧fix(redis): 更新复制按钮图标并添加无障碍标签 (#3551) 2026-07-15 18:02:57 +08:00
onenewcode ceadf73e4b feat(redis): edit JSON values as source with compact saves 2026-07-15 14:31:23 +08:00
onenewcode 24c63b6012 feat(elasticsearch): render REST JSON responses 2026-07-12 10:49:25 +08:00
二丫讲梵 0f4abce2b8 fix(redis): 移除刷新按钮的动画效果 (#3149) 2026-07-10 17:19:49 +08:00
Abeautifulsnow 2eed0aa66c feat(redis): enable auto-refresh countdown for key TTL by default
Key Viewer panel now defaults auto-refresh ON, showing a live TTL
countdown without requiring the user to click the Clock button.

- Default autoRefreshEnabled from false to true
- Move countdown init + timer start into startAutoRefresh() as single entry
- Remove redundant countdownTtl reset from the tick callback's .then()
- load() finally block calls startAutoRefresh() for all call paths
2026-07-09 19:08:03 +08:00
zipg c89357c47d fix(redis): keep string edit actions visible 2026-07-08 17:51:16 +08:00
Abeautifulsnow a5359798dc feat(redis): add auto-refresh countdown for key TTL display
* @
feat(redis): add auto-refresh countdown for Redis key TTL display

在 Redis 值查看器的 TTL 徽章旁增加自动刷新按钮,选中时显示 TTL 实时倒计时
(每秒递减),倒计时归零自动刷新数据,刷新按钮持续旋转。TTL 到期或网络异常
时自动关闭自动刷新避免死循环。

改动:
- RedisValueViewer.vue:新增 autoRefresh 状态、定时器与倒计时逻辑,模板增加
  Clock 切换按钮,RefreshCw 按钮支持 animate-spin 旋转
- load() 内复位倒计时;onBeforeUnmount 清理定时器

修复(review):
- #I01 TTL 到期/连接断开后自动关闭 autoRefresh 避免无限重试
- #C01 load() reject 增加 .catch() 处理 UnhandledPromiseRejection

i18n:zh-CN / zh-TW / en / ja / es / it / pt-BR 7 种语言补充 autoRefresh key
@

* @
test(redis): extract auto-refresh logic and add unit tests

将自动刷新核心决策逻辑提取为 lib/redis/redisAutoRefresh.ts 纯函数模块,
并编写 11 个单元测试覆盖状态机转换、TTL 显示计算和自动停止条件。

新增:
- lib/redis/redisAutoRefresh.ts:computeAutoRefreshTick / shouldStopAutoRefresh /
  computeDisplayTtl 纯函数
- lib/__tests__/redis/redisAutoRefresh.spec.ts:11 个测试用例

重构:
- RedisValueViewer.vue 改用提取后的纯函数,确保测试覆盖即实际运行逻辑
@
2026-07-08 15:37:27 +08:00
onenewcode ba81fa4497 feat(redis): support multiple value formats in viewer (#2766)
* feat(redis): improve value decoding and viewer formats

* fix(redis): preserve stream field/value blobs

* Revert "fix(redis): preserve stream field/value blobs"

This reverts commit 168af0619a.
2026-07-08 00:13:20 +08:00
gggaiitx 9410bf42a9 fix: preserve large integer precision when formatting JSON in value editor (fixes #2765)
* fix: preserve large integer precision when formatting JSON in value editor (fixes #2765)

* fix: add missing showDiagramDialog to useNavigationTargets in AiAssistant
2026-07-07 16:48:00 +08:00
t8y2 069dcc479d feat(redis): search hash fields and values 2026-07-05 22:02:24 +08:00
lexmin0412 d502b4ce6c feat(redis): add hash field search 2026-07-05 19:37:49 +08:00
onenewcode f48e751d90 fix(redis): 修复 Redis set 类型的值中有乱码 (#2554) 2026-07-04 23:03:29 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
lexmin0412 0e1d2dd32e feat(redis): add column sorting for Hash field/value view (#1789) 2026-06-26 13:22:00 +08:00
lexmin0412 1ce85b647e refactor(redis): use onClickOutside for TTL edit a11y (#1778) 2026-06-25 12:40:29 +08:00
lexmin0412 2999d9c56f fix(redis): add blur-to-exit for TTL inline edit (#1724)
* fix(redis): add blur-to-exit for TTL inline edit (#1724)

* fix(redis): ensure TTL input auto-focuses on edit
2026-06-25 10:37:28 +08:00
lexmin0412 941dfd5f82 feat(redis): optimize TTL display with human-readable format (#1689) 2026-06-24 12:53:59 +08:00
Guoyu Su 90fd77cb9e perf(redis): reduce large key search payload and render cost (#1672) 2026-06-23 22:57:03 +08:00
t8y2 fc9f97b6b5 fix(redis): speed up large key scans 2026-06-23 15:14:24 +08:00
t8y2 edba8214b5 feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
t8y2 a13fcb9964 feat(redis): add JSON format/compress buttons in raw content view 2026-06-09 14:20:58 +08:00
t8y2 e76a223e8a fix(redis): allow resizing zset score column 2026-06-09 11:56:25 +08:00
t8y2 b4a207fc6b feat(redis): add fetch-all keys button and incremental namespace tree merging
- Add "Fetch All" button alongside "Load More" to continuously SCAN until all keys loaded
- Add stop button and scan progress display during fetch-all
- Implement mergeKeysIntoRedisKeyTree for incremental namespace tree building
- Add toast notifications for empty form validation in key detail panel
- Add i18n translations for new UI elements (zh-CN, zh-TW, en, es)
- Add unit tests for incremental tree merge covering 6 scenarios
2026-06-05 13:57:26 +08:00
t8y2 ea45e1c331 feat(redis): add copy insert statement button for Redis key value migration
Generates a Redis insert command (SET/RPUSH/SADD/ZADD/HSET/XADD/JSON.SET) from
the current key's value and copies it to clipboard. Supports TTL, pagination
hints, and binary value handling.
2026-06-05 12:15:53 +08:00
t8y2 e67894bea7 chore: upgrade frontend tooling and speed up checks 2026-06-03 12:20:27 +08:00
t8y2 a68af9c740 fix: honor editor font in redis views 2026-05-26 18:44:00 +08:00
t8y2 2fea0c38c5 fix(app): harden clipboard copy flows 2026-05-23 10:52:19 +08:00
SuLea-IT 64c068bbf5 perf: reduce high-density DOM memory (#404) 2026-05-22 14:02:13 +08:00
t8y2 ed28040555 feat(redis): add JSON value viewer 2026-05-22 10:58:30 +08:00
t8y2 96dd8fccda feat(redis): allow resizing hash field/value columns 2026-05-21 16:35:46 +08:00
t8y2 5c2028c2c4 feat(redis): improve key browser workflows 2026-05-20 18:54:18 +08:00
t8y2 06683c57b1 chore(repo): move desktop app under apps 2026-05-18 02:35:39 +08:00