Skip to content

add folderSelector into ProjectOverview for upload file - #738

Open
LrxGaelle wants to merge 2 commits into
releasefrom
fix/upload-file-with-folder-selector
Open

LrxGaelle wants to merge 2 commits into
releasefrom
fix/upload-file-with-folder-selector

Conversation

@LrxGaelle

@LrxGaelle LrxGaelle commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

https://platform-dev-upload-file-with-folder-selector.bimdata.io

Description

Added a folder selection step before uploading files from the project overview.

Changes

  • Folder selection before upload: Open the FolderSelector when clicking the upload button, allowing users to choose a destination folder before selecting their files.
  • Pass the selected folder to the uploader: Forward the selected folder through FileUploader to FileUploadCard, ensuring its ID (parentId) is used as the destination during upload.
  • Context-dependent button label: Added a context prop to FolderSelector to adapt the button label depending on its usage:
    1. Move context: Preserve the existing labels ("Move here" and "Validate").
    2. Upload context: Display "Upload here", whether or not a folder is selected.
  • Backward compatibility: Keep move as the default context to preserve the existing folder selection behavior when moving files.

Expected outcome

Users can select a destination folder before uploading files, while the existing folder selection behavior for moving files remains unchanged.

Capture d'écran_20261027_145927

Types of changes

  • Bug fix (non-breaking change which fixes an issue) DON'T FORGET TO SEND THE PR INTO RELEASE
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • My code follows the code style of this project.
  • I have tested my code.
  • My code add or change i18n tokens
  • I want to run the tests for the commits of this PR

@LrxGaelle LrxGaelle self-assigned this Oct 27, 2026
@LrxGaelle
LrxGaelle requested a review from Amoki October 27, 2026 15:16
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