Repository navigation
feat: open archives passed by other apps in the archive browser - #345
Merged
Merged
Conversation
There was a problem hiding this comment.
Talia preliminary review
| Check | Result |
|---|---|
| Merge score | 🟢 4/5 — No issues found; likely ready after CI and human review |
| Findings | None found |
| Review depth | 3/5 — how thoroughly the changed code could be checked by reading it |
| Coverage | 4 of 4 changed files reviewed |
What Talia checked: Inspected the archive-open startup branch, isSupportedArchive/compressedFileName, BrowserController::openTypedText, ArchiveController::browse/sync, Location::fromUri, CLI/instance-forwarding and the desktop entry. Remaining uncertainty: desktop MIME registration resolution and archive inspection were not executed.
Run details
- Commit reviewed: 5adf17f
- Source lookups: 33 file reads, 36 searches
- Prompt version: 859b7490ca3d
Preliminary automated review: Talia read the changed code and related source; nothing was built, run or tested, and AI can make mistakes. It is not a scope acceptance or a promise to merge; a human reviewer makes the final call. See our ethos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Luciole now declares the archive types it can browse in its desktop entry, so it can be set as the default archive application. Launching it with an archive path (
luciole file.zip, or from another app throughxdg-openor the portal) opens the archive's folder and browses the archive.Motivation
Users want to open archives from other apps (for example chat clients) in Luciole, as they would with File Roller.
Type of Change
Testing
just format-check,just build,clang-tidyon the touched files,just test(87 passed),desktop-file-validate; launchedluciole test.zipin a headless Umbriel and saw the archive browser open. The user confirmed theapplication/zipassociation resolves to Luciole after reinstalling.Checklist
SCOPE.md, or its scope was agreed in an issue or on Discord first.CONTRIBUTING.md.just format, or this PR has no C++ changes.just lintand the relevant build or test commands, or explained why they were not run.just role-alpha-check, or this PR does not change UI colors.docs/, or this PR does not change user-facing behavior or settings.