Repository navigation
Commit 1920851
authored
panel: memory/entity/settings/heatmap UX polish (3 recheck rounds) (#448)
* feat(panel): 记忆页三栏改两栏(左栏上检索下重要性)+ 实体页去冗余
* panel: round-2 recheck fixes (wide sidebar, entity rail, settings footer, M.O. first screen)
- memory: widen left rail to 264px so the four importance chips fit one row; importance block follows the search section instead of pinning to the bottom
- entity: sticky search and count, type-grouped rail with sticky heads, graph canvas 320->440, no-match hint
- settings: drop the auto version banner; add a manual check-update button with inline result at the bottom, a star entry, and the version footer
- settings: promote group.mo into FEATURE_FIRST_SCREEN so the M.O. toggle sits above the fold (owner-requested; first-screen budget relaxed 8->9, comment updated in lock step)
- i18n: add missing zh/en dictionary lines (group.mo, entities.noMatch, actions.zoom.value); register the star icon so the entry does not render iconless
* test: lock literal i18n usage and icon names against silent vanish
The exact-twice dictionary lock cannot see a key with zero dictionary lines (it vanishes from the count), and Icon returns null on unregistered names. Add a reverse lock: every literal t() usage (templates expanded over FEATURE_GROUPS) must have a dictionary line, and every icon name passed to Icon/feedRow must be registered (73->74). Discrimination verified by temporarily removing both dict lines of one key: old lock stays green, new lock names the key.
* panel: fix stale comment on group.mo visibility
The old comment said the standalone group alone makes the M.O. toggle visible; actually visibility is decided solely by FEATURE_FIRST_SCREEN membership (renderGroup filter). The constant was promoted in the previous commit; this aligns the remaining comment with that fact.
* panel: round-3 recheck fixes (rail clipping, GitHub-style heatmap)
- entity: add box-sizing:border-box to .mneme-enttype/.mneme-entitem - width:100% plus horizontal padding overflowed the 224px rail and the xN mention counts were clipped by overflow-x:hidden
- status: replace the fixed heatmap thresholds (750k/1.5M/2.5M) with per-window quantile bucketing so low-usage libraries still spread across all four levels; empty windows degrade to level 0
- status: tighten the heat grid to GitHub-contribution style (11px cells, 2px gap), add month labels aligned to week columns and a mon/wed/fri row gutter1 parent 404a173 commit 1920851
2 files changed
Lines changed: 402 additions & 244 deletions
0 commit comments