Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to open a specific preference page from a link #2873

Open
mook-as opened this issue Sep 7, 2022 · 2 comments
Open

Ability to open a specific preference page from a link #2873

mook-as opened this issue Sep 7, 2022 · 2 comments
Labels

Comments

@mook-as
Copy link
Contributor

mook-as commented Sep 7, 2022

Problem Description

While doing the diagnostics, it would be good to be able to link to specific preference panes (and ideally even specific preference items) so that we can more easily let the user fix things.

Proposed Solution

Something like a x-rd-preferences:// protocol handler, or somehow handle it in app://, or anything of the sort.

Additional Information

This seems better than changing the preference immediately, which wouldn't let the user know what happened.

@mook-as mook-as added the kind/enhancement New feature or request label Sep 7, 2022
@jandubois
Copy link
Member

Proposed Solution

Something like a x-rd-preferences:// protocol handler, or somehow handle it in app://, or anything of the sort.

I think doing this in-app would be preferable; otherwise we have to create custom protocol handlers for all platforms.

Additional Information

This seems better than changing the preference immediately, which wouldn't let the user know what happened.

I think it depends. When the fix action is "Add ~/.rd/bin to the end of the PATH", then I think we should just do it for the user. The diagnostic needs to be verbose enough to mention the current setting, and the new setting it would change to.

I would be diagnostics like "You allocated 100% of the CPUs to Rancher Desktop; reduce the allocation to leave something for the OS and other applications" that would require the user to make a choice.

@mook-as
Copy link
Contributor Author

mook-as commented Sep 7, 2022

I think doing this in-app would be preferable; otherwise we have to create custom protocol handlers for all platforms.

The protocol handler is just scoped to within the app (we wouldn't ever handle links from other apps).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants