Labeled toolbar pill, plan-aware default model, click-to-rename, fix re-upload no-op - #205
Merged
Merged
Conversation
…e, fix re-upload no-op
- The floating "show toolbar" control was a bare unlabeled gear icon
floating alone in a corner - turned it into a labeled pill ("Show
toolbar" + icon) so it reads as an actual control instead of a mystery
button.
- Model picker now defaults to a model the account can actually run
(ePAI if the plan includes it, LesionSegmenter otherwise) instead of
"None", picked once the account's plan is known so a free/locked
account is never silently pre-loaded onto a model it can't run.
- Completed-scan rename: click the name itself to edit it, no separate
pencil icon button - matches how Claude's own chat titles work.
- Fixed a real bug: re-selecting a file you'd already picked once (e.g.
after Run clears the dropzone back to empty) silently did nothing.
The native <input type="file"> doesn't fire a change event when its
value is set to the same path twice in a row; the handler never reset
it after a successful pick, so picking the same file again just
quietly no-opped.
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
<input type="file">doesn't fire achangeevent if its value is set to the same path twice in a row, and the handler never reset the input after a successful pick. Fixed by resetting it, matching the pattern the DICOM folder picker already used.Test plan
npm run build- cleanvitest run- 298/298 passing (updatedplanGating.test.tsxanduploadScheduling.test.tsxfor the new plan-aware default)