Skip to content

feat: Add search function to license viewer#124

Merged
LisoUseInAIKyrios merged 2 commits intoMorpheApp:devfrom
prateek-who:license-viewer-overhaul
Apr 24, 2026
Merged

feat: Add search function to license viewer#124
LisoUseInAIKyrios merged 2 commits intoMorpheApp:devfrom
prateek-who:license-viewer-overhaul

Conversation

@prateek-who
Copy link
Copy Markdown
Contributor

License Viewer has been overhauled. I took some minor leeway because some license were not being properly shown by the aboutLibraries plugin, these are the ones:

  1. aboutlibraries/licenses/apk-parser-bsd2.json
    { "hash": "177d886f25fda88a964321e0342c9ac6", "name": "BSD-2-Clause" }
    Retags net.dongliu:apk-parser's custom-named "The BSD 2-Clause License" so the plugin's SPDX resolver matches it and auto-downloads the canonical BSD-2-Clause text at build time.

  2. aboutlibraries/licenses/antlr-v2-bsd3.json
    { "hash": "7fcfcc3d264c3c96aee27ca4c3031c95", "name": "BSD-3-Clause" }
    Retags antlr:antlr (legacy group). URL in its pom points to antlr.org/license.html which is the BSD-3-Clause text.

  3. aboutlibraries/licenses/antlr-v3-bsd3.json
    { "hash": "d77d6c7c59b08734d0e3482d06219165", "name": "BSD-3-Clause" }
    Retags org.antlr:* (ANTLR 3/4 group — ST4, antlr, antlr-runtime, stringtemplate). Same antlr.org license page.

  4. aboutlibraries/licenses/bouncy-castle.json
    Pastes verbatim license text copied from https://www.bouncycastle.org/licence.html (fetched during this session, it's a permissive MIT-variant authored by Legion of Bouncy Castle Inc.,© 2000–2024). Does NOT retag to SPDX — BC's licence is a custom variant, not a standard SPDX license, so we inline their own wording rather than mislabel it.

Also overhauled the little switch used in SettingsDialogue and PatchSelectionScreen. It used to use the old Material3 stuff and looked ugly.

Please take a look at both and see how they look. If there are any issues (especially with the leeway I have taken in the license part), tell me and I'll fix it.

The switch button is now it's separate component and is used in SettingsDialogue and the PatchSelectionScreen.
@LisoUseInAIKyrios
Copy link
Copy Markdown
Contributor

Looks and works great.

Let me know when to merge.

@prateek-who
Copy link
Copy Markdown
Contributor Author

Just a cosmetic overhaul, so shouldn't cause any issues. Should be good to merge anytime.

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat: license viewer overhaul feat: Add search function to license viewer Apr 24, 2026
@LisoUseInAIKyrios LisoUseInAIKyrios merged commit d3d9feb into MorpheApp:dev Apr 24, 2026
4 of 6 checks passed
github-actions Bot pushed a commit that referenced this pull request Apr 24, 2026
# [1.8.0-dev.7](v1.8.0-dev.6...v1.8.0-dev.7) (2026-04-24)

### Features

* Add search function to license viewer ([#124](#124)) ([d3d9feb](d3d9feb))
@prateek-who prateek-who deleted the license-viewer-overhaul branch April 24, 2026 19:46
github-actions Bot pushed a commit to ddCeka/morphe-cli that referenced this pull request Apr 29, 2026
# [1.8.0-dev.1](v1.7.0...v1.8.0-dev.1) (2026-04-29)

### Bug Fixes

* continue-on-error fix + force windows to `FULL` ([MorpheApp#120](https://github.com/ddCeka/morphe-cli/issues/120)) ([036faba](036faba))
* Include Notice and License files in shadow jar release ([MorpheApp#113](https://github.com/ddCeka/morphe-cli/issues/113)) ([a9a2402](a9a2402))
* Re-enable strip libs feature ([MorpheApp#117](https://github.com/ddCeka/morphe-cli/issues/117)) ([6d2bb94](6d2bb94))
* Update to latest patcher ([efd0cf1](efd0cf1))

### Features

* Add in-app dependency license viewer ([MorpheApp#114](https://github.com/ddCeka/morphe-cli/issues/114)) ([77a1dde](77a1dde))
* Add search function to license viewer ([MorpheApp#124](https://github.com/ddCeka/morphe-cli/issues/124)) ([d3d9feb](d3d9feb))
* Custom output path + better GUI scrollbars ([MorpheApp#127](https://github.com/ddCeka/morphe-cli/issues/127)) ([70e2721](70e2721))
* Faster dex rebuilding + reduced memory requirements  ([MorpheApp#108](https://github.com/ddCeka/morphe-cli/issues/108)) ([ed8918e](ed8918e))
* Support GitHub repo urls with `--patches` argument ([MorpheApp#71](https://github.com/ddCeka/morphe-cli/issues/71)) ([2cc09a9](2cc09a9))
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