fix: surface task remark in the desktop task list view - #128
Open
mvanhorn wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Task remarks (备注) are now visible in the task list without consuming a new column: when
task.remarkis non-empty it renders as a muted truncated second line inside the existing name cell (the same treatment tags already get), and the name cell's tooltip carries the full remark text. The medium (sm to below xl) layout's task info block gets the same handling, so tablet and narrow-desktop users see it too.Why this matters
#100 had two parts; the save bug was fixed the same day (e37deac, d187b1e) but the remark stayed invisible in the list, and you noted there is no room for a dedicated column ("列表页面展示备注展示不下了"). This surfaces the remark with zero horizontal footprint instead of the heavier column-visibility chooser the thread floated. The small-screen card layout already showed the remark; the list layouts now match. No backend changes, the task VO already returns
remark.Testing
Frontend-only change in
Tasks.vue(+11/-5); empty remarks render nothing, long remarks truncate with the full text in the tooltip, and the large and medium branches were both checked.Fixes #100