Skip to content

Bugfix/bugfixes testing cycle 2#782

Merged
prathieshna merged 2 commits intoNEXT-WITHOUT-STORACHAfrom
bugfix/bugfixes-testing-cycle-2
Apr 21, 2026
Merged

Bugfix/bugfixes testing cycle 2#782
prathieshna merged 2 commits intoNEXT-WITHOUT-STORACHAfrom
bugfix/bugfixes-testing-cycle-2

Conversation

@prathieshna
Copy link
Copy Markdown

No description provided.

Prathieshna Vekneswaran added 2 commits April 21, 2026 07:17
- Implement a two-step project picker bottom sheet for media imported via the Android share-sheet, allowing users to select a specific server and folder for the upload.
- Introduce `SharedImportState` to manage pending URIs across the import lifecycle.
- Refactor `HomeActivity` to handle intent-based imports using an explicit list of supported MIME types instead of wildcards.
- Update `HomeViewModel` and `HomeState` to support the new shared import workflow and UI states.
- Set `HomeActivity` to `singleTask` launch mode for better intent handling.
- Ensure `ResultEventBus` creates channels eagerly to prevent missed events.
- Add debug logging for the share-sheet import process.
**Core & Repository**
- Added `updatePriorities` to `MediaRepository` and implementations to allow batch updating of media queue priorities.
- Fixed a bug in `HomeActivity` where shared media was re-imported on configuration changes by checking `savedInstanceState`.
- Improved file name resolution in `MediaPicker` to handle URIs without display names.

**Feature Improvements**
- **Home:** Added a snackbar warning if a user attempts to add media without an active folder. Enabled auto-scrolling to the top when refreshing media.
- **Media Review:** Added a "Done" action button to the top bar for saving and finishing. Improved layout handling by adding `imePadding` and using fixed height ratios for previews to prevent keyboard overlap.
- **UI/UX:** Added title overlays to media thumbnails in the main grid. Refined typography and spacing across `FoldersScreen`, `FolderDetailScreen`, and `MainMediaScreen`.
- **Upload Manager:** Optimized reordering performance using batch priority updates and improved drag-handle touch targets.

**Services & Integration**
- **Internet Archive:** Modified `IaConduit` to handle `file://` URIs directly, bypassing `ContentResolver` for local files. Made metadata and C2PA manifest uploads non-fatal.
- **WebDAV:** Wrapped the upload process in a try-catch block for better error reporting and updated `WebDavDetailScreen` to mask passwords.
- **C2PA:** Refactored `C2paScreen` to use `HtmlText` for "Learn More" links and updated the linked URL.

**Bug Fixes & Localization**
- Fixed `HtmlText` styling where the default text color was overriding link styles.
- Added "Folder renamed" string and confirmation message.
- Adjusted UI spacing in license setup and secure field components.
@prathieshna prathieshna merged commit 4cadb25 into NEXT-WITHOUT-STORACHA Apr 21, 2026
1 check passed
Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

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

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

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.

2 participants