Skip to content

Conversation

@Ushie
Copy link
Member

@Ushie Ushie commented Feb 12, 2025

Closes #2061

image
image

@Ushie Ushie marked this pull request as draft February 12, 2025 12:47
@github-actions

This comment was marked as off-topic.

@validcube

This comment was marked as off-topic.

@Ushie Ushie marked this pull request as ready for review March 5, 2025 15:43
@validcube validcube linked an issue Mar 8, 2025 that may be closed by this pull request
3 tasks
@Ushie Ushie requested a review from Axelen123 May 4, 2025 22:41
@oSumAtrIX
Copy link
Member

Offtopic, but why does it say "ReVanced Manager: ..."?

@oSumAtrIX
Copy link
Member

I think the importance of this screen and dialog is enabling and disabling plugins. Trusting them is a secondary task to achieve that main objective. Strings can be renamed to say "Enable" or "Disable" plugin. And the dialog can mention that enabling the plugin can run arbitrary code and need to be trusted as a "side notice"

<string name="downloader_plugin_trust_dialog_title">Trust plugin?</string>
<string name="downloader_plugin_revoke_trust_dialog_title">Revoke trust?</string>
<string name="downloader_plugin_trust_dialog_body">Package name: %1$s\nSignature (SHA-256): %2$s</string>
<string name="downloader_plugin_trust_dialog_body">By continuing you\'ve agreed to running external plugins.\n\nDo not allow any suspicious plugin(s) to be installed as they can run arbitrary code.</string>
Copy link
Member

Choose a reason for hiding this comment

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

Sounds like youre signing some legal document. Probably different wording would be better here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, "plugin(s)" can just be "plugins".

@Ushie
Copy link
Member Author

Ushie commented May 5, 2025

Offtopic, but why does it say "ReVanced Manager: ..."?

Placeholder representation of the app name

@oSumAtrIX
Copy link
Member

I am not sure what you mean by placeholder. What would be written there if others develop plugins?

@Ushie
Copy link
Member Author

Ushie commented May 5, 2025

The app name of the plugin — for example, the APKMirror plugin would be named ReVanced Manager: APKMirror. This accurately represents what the app is and its purpose. If it were just APKMirror, you wouldn't know it is for ReVanced Manager in the app list, and that it isn't actually by APKMirror.

@oSumAtrIX
Copy link
Member

It should probably say "ReVanced: APKMirror downloader" or "Ushie: Some other downloader"

@Ushie
Copy link
Member Author

Ushie commented May 5, 2025

Would Ushie make sense here? It serves no purpose knowing who the developer is, knowing what app it's for is what makes more sense

@oSumAtrIX oSumAtrIX force-pushed the compose-dev branch 3 times, most recently from 7338157 to 70a6950 Compare May 22, 2025 12:16
@brosssh brosssh force-pushed the compose/feat/improve-trust-plugin-dialog branch from ba1271b to 47129cd Compare May 30, 2025 10:10
@brosssh brosssh requested a review from Axelen123 May 30, 2025 10:12
@brosssh brosssh requested a review from oSumAtrIX May 31, 2025 12:38
@brosssh
Copy link

brosssh commented Jul 7, 2025

Can this be merged?

@Axelen123
Copy link
Member

If the designers are ok with it then yes

@Ushie
Copy link
Member Author

Ushie commented Jul 7, 2025

What do you think about this?

#2420 (comment)

@Ushie Ushie changed the base branch from compose-dev to dev October 3, 2025 13:17
@KobeW50
Copy link
Contributor

KobeW50 commented Nov 6, 2025

I think the importance of this screen and dialog is enabling and disabling plugins. Trusting them is a secondary task to achieve that main objective. Strings can be renamed to say "Enable" or "Disable" plugin. And the dialog can mention that enabling the plugin can run arbitrary code and need to be trusted as a "side notice"

I agree. In addition to changing the button to "Enable"/"Disable", I think the other button should be "Cancel" instead of "Dismiss". "Cancel" is already used in other similar dialogs (see the Advanced section in the settings).

A new issue is that when using the words "Enable"/"Disable", there is no longer any purpose for the dialog when disabling it. Disabling a plugin inherently means that it will no longer function or run its code. Therefore, I think it would be fitting for the plugins to have a toggle, and the dialog would only appear when the toggle is being enabled.

Here is a proposal for the dialog when enabling a plugin:

Enabling this plugin will allow it to run arbitrary code. Only enable this plugin if you trust it.

If the goal is to sound somewhat scary, "run arbitrary code" can be substituted with "execute arbitrary code".

@Ushie Ushie force-pushed the compose/feat/improve-trust-plugin-dialog branch from 2f3ba22 to 1bfdaa9 Compare December 17, 2025 15:36
@Ushie Ushie force-pushed the compose/feat/improve-trust-plugin-dialog branch from 1bfdaa9 to d15d7f7 Compare December 17, 2025 15:48
@Ushie Ushie merged commit 0300da9 into dev Dec 17, 2025
1 check passed
@Ushie Ushie deleted the compose/feat/improve-trust-plugin-dialog branch December 17, 2025 15:54
github-actions bot pushed a commit that referenced this pull request Dec 17, 2025
# app [1.26.0-dev.12](v1.26.0-dev.11...v1.26.0-dev.12) (2025-12-17)

### Features

* Improve trust plugin dialog design ([#2420](#2420)) ([0300da9](0300da9))
Jman-Github added a commit to Jman-Github/Universal-ReVanced-Manager that referenced this pull request Dec 28, 2025
Jman-Github added a commit to Jman-Github/Universal-ReVanced-Manager that referenced this pull request Jan 1, 2026
* feat: add favorites to the file picker & bump version

* feat: add supported ABIs to version search query

* feat: add settings option to change search engine used for version search queries

* feat: update dev build workflow & add dev to verison number

* feat: prompt user to enable "Install unknow apps"

* feat: remove redundant  `Apply` and `Cancel` buttons on theme preview widgets

* feat: add setting toggle for patch selection screen version tags

* feat: rename `ReVanced Patches` to `Official ReVanced Patches` on the update configuration screen

* feat: hide apps that only use universal patches when `Show & allow using universal patches` is toggled off

* Update ko strings.xml

* Update ko strings.xml

* feat: convert existing components using the old file picker to the custom one & add saving plus overwrite warning logic

* feat: Manager string localization Update (Vietnamese)

* feat: remove redundant `Show other versions` button on the app selection screen for apps that support all versions

* feat: redesign patch option screens

* feat: remember last directory in custom file picker

* feat: add a `Discover patch bundles` system using Brosssh's external bundle API

* fix: patch does not exist error with the experimental patcher

* feat: improve `Discover patch bundles` UI and add a togglable button for `Prerelease` and `Release`

* feat: add a toggle in Developer Options for hiding the `Batter optimization` banner

* feat: upstream patcher UI improvements with ReVanced/revanced-manager#2805

* feat: upstreamed app info improvements ReVanced/revanced-manager#2896

* feat: improve downloader plugin trust dialog ReVanced/revanced-manager#2420

* feat: backround bundle update checker with notifications ReVanced/revanced-manager#2561

* feat: fix app icon & and add star history graph

* feat: show individual patcher steps in the patcher screen

* Update ko strings.xml

* Update ko strings.xml

* feat: improve experimental patcher

* fix: discover patch bundles widget gap

* feat: add saved app toggle

* feat: improve system installer

* ci: replace debug builds in `Dev Builds` workflow with dev builds

* ci: fix dev build

* feat: app icons for apks in custom file picker & other improvements

* feat: switch system installer detection to Ackpine sessions following ReVanced/revanced-manager#2900

* Update ko strings.xml

* Update ko strings.xml

* feat: manually select a patch bundle from a dialog for patch profiles

* Update ko strings.xml

* Update ko strings.xml

* feat: add a search bar to settings

* Update ko strings.xml

* feat: add auto downloading for patch bundles in the background w/ a notification, fixes & polishing

* feat: fix clarity of a string & add bundle select overrides to saved patched apps

* Update ko strings.xml

* Update ko strings.xml

* fix: readjust the alignment of the discover patch bundles widget

* feat: add unique features to `README.md` and finalize everything

* fix: wrong date in `CHANGELOG.md`

* Added lines and translated

Editing and adding missing lines in translation. The lines are taken from the developer version URV 1.7.0.

---------

Co-authored-by: BlackGold8282 <[email protected]>
Co-authored-by: ann9cht <[email protected]>
Co-authored-by: Aleksandr <[email protected]>
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.

feat: Improve trust plugin dialog design

7 participants