-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Hi everyone,
First of all, thanks for the great work on this project and everything associated! I recently tried out some more advanced functionality (firmware selector customized builds), and managed to shoot myself in the foot rather easily. However, it seems like this could be inspiration for a user-friendliness improvement?
- The customized build
Installed Packagesfunctionality allows adding additional packages to the image - However, the way this is implemented in the web interface makes it very easy to accidentally create a build that is missing critical packages
Steps
- Attempt to paste a complete set of desired packages into the text field
- Make some error, resulting in leaving out a critical package (for example
procd) Request Build- Flash image
Expected behaviour
- Either it is not possible to remove critical packages, or some warning is emitted
Actual behaviour
- Build validation is performed; however this does not do anything to protect against missed critical packages. The uninformed user may falsely assume that this validation provides some kind of protection of this kind
Suggested improvements
It seems this problem could be fixed in a simply (adjusting the UI) or more deeply (build validation). Probably it's enough to just adjust the UI:
- Split
Installed Packagesinto two boxes: one which isEssential Packageswhich is pre-filled with the contents for each device as now. Then have anotherExtra/User Packageswhich starts out empty. Here the user can add their desired packages and reduce the risk of accidentally changing the essential packages. Added packages then becomes the union of these two sets of packages - As an additional layer of protection, how about something like requiring a checkbox to enable the
Essential Packagesfield?
Overall I understand that this is advanced functionality. However, mistakes can happen and it seems like this can protected against with some minor changes. I would create a patch myself, but I'm afraid web dev is not my speciality 🙃
Thanks in advance!
Related forum post: https://forum.openwrt.org/t/solved-bricked-fritz-box-7530-customized-sysupgrade-missing-critical-packages/211748