Repository navigation
fix(ui): settings and skills fixes from QA - #130
Merged
Merged
Conversation
The window never heard about env and rules writes: those handlers did not emit the workspace change event, so an open Settings page kept old text. Both now emit it, and the rules box and the variables list refresh themselves. A Save sends the text it last read. If the file holds other text now, the write is refused as changed, the draft stays, and the next Save replaces it. The check and the write run in one background task, so only a CLI write in that instant can slip between them.
The add error went to the window's top note, far from the field, and pushed the page down until Settings closed. A plain path that is not there is now refused as invalid input that names it, instead of the raw OS error. Index adds report their failure beside the field, and the message clears when the field changes or the section does.
The window and the kg error each had their own wording, and the kg one never said the prefix must end in / or -. Both now read one rule constant. A refused prefix also shows in danger colour, with a red border on its field.
Its changes cannot be read once its environment is gone, so the panel showed the raw environment error in red. It now shows a calm note that the thread is archived.
…tice A new person with no skills saw 'No skills match'. Now the empty Yours filter says they have none and points at New skill. Cancel edit also clears the red save notice left on the detail view.
Symbol, braille and emoji faces could be picked for the UI font, and the terminal menu listed proportional faces. A face is now a text face only if it has Latin letters, and the terminal menu takes the ones whose letters share one width. The glyph checks come from the platform text system, not from a list of names. The kg preference set is not checked against the installed fonts.
… scope and fork say what to do Threads stayed highlighted on the Skills page. The breadcrumb read 'My skills' over built-in skills too. A Create error stayed after the name was fixed. 'Save in: Project' was greyed with no reason, and Fork's hint did not say how to pick a project.
Enter jumped to the page but nothing showed which row matched. The row now has an accent border and reports itself selected until the search or the section changes.
… down Checking for updates added a banner above the page, which moved every row down about 40 px until it was dismissed. The banner now sits over the top of the page on a solid background, and nothing moves.
…ow that is done says so After Hide nothing told the person where the guide went. The kg command row read as a task even when kg was already on the PATH.
…stays The error replaced the two-line help note and resized the add row by about 20 px. The help now stays, and one fixed line under the field holds the error, so nothing below moves. The message is shorter so it fits that line.
…er the page The banner covered the top of every page: Settings' title and Close were cut in half. The strip already shows Update available, so its button now opens a menu with the same actions, and the page gets no banner. Nothing above the strip moves or is covered.
…g all of them It cloned every thread record on each render to find the archived state of one.
…ce as the change The change notice and the refused Save both said 'Press Save again', so the first press looked like nothing happened. Each now says what it means.
The list refreshed only on a change event, so a hand edit of environment.json was not shown until something else changed. The path check for Add an index also moves off the foreground into the background task that already reads the index.
…nd a duplicate filter Also the row marker keeps its size (a tint instead of a border), and the skills hints stop naming a step the person does not need.
…s included The row split the command and joined the flags with spaces, so `-p 'deep think'` showed as `-p deep think`. It now shows the stored text after the program name.
…till be chosen The menu and the Update button only covered Available, so after Install when kagan quits the person could not restart, and a failed replace had no retry. Ready now offers the notes and the install, and the tooltip no longer names one action.
…es it look.md, window.md and behaviour.md still described the banner over the center. Decision 243 says it supersedes the part of decision 148 about the strip's Update button.
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.
Branch feat/qa-settings-ui.
Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.