Skip to content

Conversation

@AmanRajSinghMourya
Copy link
Contributor

@AmanRajSinghMourya AmanRajSinghMourya commented Jan 1, 2026

Summary

  • Add file multiselect on HomePage and CollectionPage with scroll-responsive overlay
  • Add collection multiselect on AllCollectionsPage with ownership checks
  • Add ownership filtering for shared files/collections

AmanRajSinghMourya and others added 4 commits December 31, 2025 14:15
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…roll logic

- Add _getOwnedFiles helper to filter shared files with toast notification
- Apply ownership checks to download, delete, add-to, and mark important actions
- Remove scrollController passing from RecentsSectionWidget (not needed)
- Simplify ItemListView bottom padding logic to static when selection enabled
- Reduce overlay padding from 270 to 200

Co-Authored-By: Claude <noreply@anthropic.com>
…on fixes

Enable multiselect for collections on AllCollectionsPage with proper
ownership filtering that shows a toast when shared collections are
skipped. Fix check mark animation to replace 3-dots menu instead of
avatars. Add canEdit/canShare protection for Important collection.
Simplify overlay by removing scroll collapse behavior.

Co-Authored-By: Claude <noreply@anthropic.com>
@AmanRajSinghMourya AmanRajSinghMourya changed the title [locker] Add multiselect support for files and collections [mob][locker] Add multiselect support for files and collections Jan 1, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 611 to 614
FileSelectionOverlayBar(
selectedFiles: _selectedFiles,
files: _recentFiles,
scrollController: _scrollController,

Choose a reason for hiding this comment

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

P2 Badge Pass filtered recents into selection overlay

HomePage now passes files: _recentFiles into FileSelectionOverlayBar, but the recents list is rendered from _displayedFiles in RecentsSectionWidget (filtered when chips are active). Because select‑all in FileSelectionOverlayBar uses widget.files to compute the count and to selectAll (file_selection_overlay_bar.dart:186‑202), pressing Select All after filtering will silently select hidden files and apply bulk actions to them. Consider wiring the filtered list into the overlay so Select All matches what the user can see.

Useful? React with 👍 / 👎.

AmanRajSinghMourya and others added 4 commits January 1, 2026 16:58
Use ValueNotifier to share displayed files from RecentsSectionWidget to
FileSelectionOverlayBar, so Select All only selects filtered files.

Also fix Deselect All button state to check if actual displayed files
are selected, not just count comparison.

Co-Authored-By: Claude <noreply@anthropic.com>
The early return path in _updateFilteredFiles() was not calling
_updateDisplayedFilesNotifier(), causing stale displayed files
in FileSelectionOverlayBar after clearing collection filters.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@jackxu0302
Copy link

I think the option should be added

AmanRajSinghMourya and others added 10 commits January 7, 2026 12:47
…stency

- Add leave button in collection multiselect for shared incoming collections
- Show share/edit only for owned collections, leave only for shared
- Update leaveMultipleCollection to use showAlertBottomSheet with GradientButton
- Refactor delete confirmation sheet to match alert bottom sheet style
- Wrap collection action buttons in container for continuous look

Co-Authored-By: Claude <noreply@anthropic.com>
…hecks

Co-Authored-By: Claude <noreply@anthropic.com>
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.

3 participants