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

feat(ui): allow different removal actions for packages #345

Open
3 tasks done
rivanfebrian123 opened this issue Mar 17, 2024 · 0 comments
Open
3 tasks done

feat(ui): allow different removal actions for packages #345

rivanfebrian123 opened this issue Mar 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rivanfebrian123
Copy link
Contributor

Describe the feature you want

Feature Request:

This request proposes a new feature for UAD-ng that allows specifying different removal actions (disable or uninstall) for individual packages within the JSON configuration files.

Context:

Proposed Feature:

Introduce a new field named removalAction within the JSON configuration for each package. This field will dictate the default action taken when a user attempts to remove the package through the recommended list.

Benefits:

  • Improved user experience: Users can safely remove packages with specific actions (disable or uninstall) based on their needs.
  • Enhanced safety: Prevents accidental uninstalls that might cause system instability.
  • Increased flexibility: Allows for more nuanced control over package management.

Implementation:

  • Update the JSON schema to include the removalAction field. This field can be a string with values like "disable" or "uninstall".
  • Modify the application logic to interpret the removalAction field when processing user requests for package removal.
  • Potentially update the user interface to reflect the different removal options for specific packages (optional).

Example JSON Configuration:

"com.hoffnung": {
  "description": "TPMS\nRemote Config Test. Instead Uninstall better Disable this app\nbecause it uninstalling cause screen flicker",
  "removal": "Recommended",
  "removalAction": "Disable",
  "list": "Oem",
  "dependencies": [],
  "neededBy": [],
  "labels": []
},
"tech.palm.id": {
  "description": "Another package requiring disable instead of uninstall",
  "removal": "Recommended",
  "removalAction": "Disable",
  "list": "Oem",
  "dependencies": [],
  "neededBy": [],
  "labels": []
}

Additional Considerations:

  • Clear documentation on how to utilize the removalAction field.
  • User interface elements to visually differentiate between disable and uninstall options for specific packages (if applicable).

We believe this feature will significantly improve the user experience and safety when managing packages within UAD-ng.

Acknowledgements

  • This issue is not a duplicate of an existing feature request.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@rivanfebrian123 rivanfebrian123 added the enhancement New feature or request label Mar 17, 2024
@rivanfebrian123 rivanfebrian123 changed the title feat(scope): Allow Different Removal Actions for Packages in UAD-ng feat(UI/UX): Allow Different Removal Actions for Packages in UAD-ng Mar 17, 2024
@AnonymousWP AnonymousWP changed the title feat(UI/UX): Allow Different Removal Actions for Packages in UAD-ng feat(ui): allow different removal actions for packages Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant