Skip to content

Remove the broken "Upload file" button from the file sidebar. This…#187

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 17, 2026
Merged

Remove the broken "Upload file" button from the file sidebar. This…#187
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Remove the broken "Upload file" button from the file sidebar. This drops the upload-via-file-picker entry points: the sidebar toolbar button, the folder and empty-area right-click menu items, and the empty-state button. Drag-and-drop file upload onto the file tree is unchanged.

* fix(open-knowledge): remove broken upload file button from sidebar

Remove the upload-via-file-picker entry points: the sidebar toolbar
button, the folder and empty-area right-click menu items, and the
empty-state button. Also remove the now-dead picker plumbing
(chooseSidebarUploadFiles, uploadFilesToTargetFromPicker, the
FileTreeHandle.uploadFiles method, and the onUploadFiles prop).

Drag-and-drop file upload onto the file tree is unchanged; it routes
through the separate uploadExternalFilesToTarget pipeline.

Update the FileSidebar DOM tests to drop the removed affordances.

* fix(open-knowledge): regenerate i18n catalogs after dropping upload-file usages

Removing the "Upload file" affordances from FileSidebar and FileTree
dropped two source-path references from the "Upload file" message in the
.po catalogs (the message itself stays via PropPanel's aria-label). Run
bun run i18n to resync; the compiled .json catalogs are unchanged.

Fixes the i18n-drift failure in the open-knowledge / lint CI job.

GitOrigin-RevId: 2580a40825945c8d4e712873095e5a34f82f166f

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27719884757). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 457aa3b into main Jun 17, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 17, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant