Repository navigation
refactor(tasks): remove redundant Upload new button - #899
Merged
Merged
Conversation
Refs #356 Signed-off-by: Aixle Flow <[email protected]>
Contributor
Author
Code Review — round 1 — PASSNo critical issues. The change follows the Tech Design: the button, hidden input, Non-critical suggestions
|
Signed-off-by: Aixle Flow <[email protected]>
With Upload new gone, the drop zone is the only upload control on a card's Assets tab, and it was a plain div: no focus, no key handling, and its file input is display:none. Keyboard and screen-reader users could not attach files. It is now a focusable role="button" that opens the picker on Enter or Space. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
The same unreleased section now removes Upload new, so the Added entry from #882 must not promise it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
artempartos
marked this pull request as ready for review
November 26, 2026 12:19
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.
Removes the redundant Upload new button and its hidden file input from the task Assets panel (
TaskDetailSidebar, shared by the board drawer and the task page).FileDropZonestays as the only upload control and still supports click-to-select of multiple files. Also removes the unusedfileInputRef/handleUploadAsset, the obsolete test, and updates the docs line and CHANGELOG.Card: https://flow.aixle.com/company/projects/56/board?n=356
Checks
tsc, eslint, vitest. Docker andnode_modulesare unavailable in this container.useRefandfileInputRefhave no remaining uses;ButtonandIconCloudUploadare still used.🤖 Generated with Claude Code