Commit Graph
99 Commits
Author SHA1 Message Date
Melody Ruch e671b3da7d fix(redis): keep automatic scan loading within shared budget 2026-08-16 14:09:02 +08:00
Melody Ruch 60e685d6e6 fix(redis): display console command before response 2026-08-15 21:55:21 +08:00
Abeautifulsnow a3eaac3413 feat(redis): add decoded Unicode JSON view 2026-08-13 19:44:48 +08:00
onenewcode 2e27f7a66a feat(redis): add key list select all 2026-08-13 11:42:35 +08:00
zipg fc2db2a17c fix(ui): unify list hover and selection highlighting 2026-08-12 17:33:01 +08:00
onenewcode dbe3375739 feat(redis): add command terminal autocomplete 2026-08-12 00:41:31 +08:00
二丫讲梵 6700b32fb8 feat(mongo): add foldable document preview 2026-08-12 00:09:21 +08:00
zipg 0c407c2d03 feat(settings): configurable query result max rows with unified load limit 2026-08-11 13:07:35 +08:00
zipg 328a2aa107 feat(redis): improve key browser toolbar and infinite scroll loading 2026-08-09 14:14:45 +08:00
二丫讲梵 59187f2e41 feat(redis): view and edit Hash field expiry (HEXPIRE/HTTL/HPERSIST) 2026-08-07 02:41:04 +08:00
二丫讲梵 ffaede31b9 feat(redis): support score sorting and inline sorted-set editing 2026-08-05 09:46:18 +08:00
Abeautifulsnow ec44e09ec8 feat(redis): add decompressed view for compressed values 2026-08-03 20:59:39 +08:00
lewis 3e3e6d04b8 fix(redis): isolate sparse scan continuation state 2026-08-03 14:34:07 +08:00
二丫讲梵 c69f1352d4 feat(redis): poll full values and track TTL countdowns 2026-07-31 23:11:48 +08:00
二丫讲梵 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
二丫讲梵 62130938cf feat(redis): show key types in browser list 2026-07-30 00:08:43 +08:00
onenewcode 31f0b7d6ef feat(redis): add stream consumer group monitoring 2026-07-28 23:16:39 +08:00
onenewcode 4c57520a12 feat(redis): add fuzzy key tree search 2026-07-27 14:40:31 +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
Guoyu Su 2fa4ffd074 perf(redis): reduce fetch-all rendering overhead 2026-07-22 17:45:54 +08:00
t8y2 72997b88d8 fix(redis): preserve control bytes in copied values 2026-07-22 11:42:47 +08:00
t8y2 330d27d718 fix(redis): route AI commands to Redis console 2026-07-22 11:41:43 +08:00
二丫讲梵 67df8be6d9 feat(i18n): localize Redis dashboard 2026-07-20 01:23:59 +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
二丫讲梵 c1bda3be87 feat(redis): preserve TTL when updating values 2026-07-14 23:07:52 +08:00
二丫讲梵 4f1997d8eb feat(types): add database type help 2026-07-12 13:28:46 +08:00
onenewcode 24c63b6012 feat(elasticsearch): render REST JSON responses 2026-07-12 10:49:25 +08:00
t8y2 7fb9bce089 fix(redis): continue sparse key scans 2026-07-11 19:39:40 +08:00
二丫讲梵 0f4abce2b8 fix(redis): 移除刷新按钮的动画效果 (#3149) 2026-07-10 17:19:49 +08:00
t8y2 9903747381 fix(redis): preserve large JSON numbers 2026-07-10 13:50:30 +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
t8y2 39d956f2e8 fix(redis): skip confirmation for regular writes 2026-07-09 18:59:12 +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
onenewcode d70c883e81 fix(redis): stop duplicating pubsub messages 2026-07-06 12:07:55 +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
t8y2 60abe59a80 fix(redis): copy displayed key name 2026-07-03 00:14:11 +08:00
t8y2 8be2136658 feat(redis): add copy key name action 2026-07-02 23:59:24 +08:00
Guoyu Su 074715b002 fix(redis): connect pubsub to desktop websocket server 2026-07-02 19:47:41 +08:00
t8y2 d35c966390 fix(redis): batch sparse key searches 2026-07-02 18:41:25 +08:00
onenewcode 1ef757e88f feat: fix Redis key search visibility 2026-07-02 15:13:11 +08:00