mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
The upload-failure banner in FileWorkspace renders unconditionally inside ws-body, so a failed upload's error message stayed pinned above any file the user opened next. The banner is information about the Design Files upload surface, not the active file viewer; once the user clicks an existing file in the list, the message becomes unrelated stale state. Scope the banner to activeTab === DESIGN_FILES_TAB so previewing any file hides it. The error stays in state, so returning to the Design Files tab brings it back: the failed upload is still unaddressed and we do not want to silently drop that signal entirely. Co-authored-by: Nagendhra <nagendhra405@gmail.com> |
||
|---|---|---|
| .. | ||
| daemon | ||
| desktop | ||
| landing-page | ||
| packaged | ||
| web | ||
| AGENTS.md | ||