mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 08:00:59 +00:00
## Problem / 问题 The node name column in `src/features/nodes/NodeTable.tsx` has `grow: 2`, so it takes two shares of the spare table width. At 1440 px most names fill a third of that, while the groups column shows two groups and folds the rest into `+8`. ## How I fixed it / 解决方法 The name column uses the default share (`grow: 1`), the same as the groups column. No change to `src/ui/Table.tsx` or the other columns. Names longer than the new width truncate with an ellipsis, as they already did at narrower widths. ## Verified / 验证 `pnpm check` passes. Mock-backend screenshots of the nodes page at 1440 px in zh-TW, main on the left, this branch in the middle and changed pixels in red on the right; only the table columns change. At 1440 px the groups column now shows `proxy auto telegram ai +6`. The second sheet of each pair has every third node renamed to a long name, which now truncates. 1280 and 1920 px were captured in light mode and show the same pattern; they are not attached. Short names, light:  Long names, light:  Short names, dark:  Long names, dark:  --- - [x] I understand this change and answer for every line - [x] This branch is based on the current main - [x] I ran the repository's gates and recorded the results in Verified - [x] Each commit is one coherent change - [ ] If behaviour changed, I updated the documentation - [ ] If interface text changed, I updated `en.json` and every complete language's catalogue - [x] If interface appearance changed, I attached light and dark screenshots - [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm check:gen` - [ ] I checked the boxes above without reading them - [ ] I am an AI agent, and this content was submitted without human review
148 B
148 B
Changed
- The node name column no longer takes twice the spare width, so the groups column shows more group names before folding the rest into +N.