zynthian / zynthian-issue-tracking

Centralized Issue Tracking for Zynthian Project
https://github.com/orgs/zynthian/projects/1
11 stars 3 forks source link

Improve webconf repository view #959

Open riban-bw opened 7 months ago

riban-bw commented 7 months ago

In webconf repository page there is a checkbox labelled, "Stable". The purpose is to select the current stable version of all repositories but checking the box does not change the individual repository selections and unticking it doesn't seem to do much.

Describe the solution you'd like Replace the checkbox with two buttons:

The first button would change the individual repository selectors to the tag for the current latest stable version, e.g. 2401.0. The second button would change the individual repository selectors to the branch of the current testing version, e.g. oram.

User would still have to press save button to assert these changes.

Describe alternatives you've considered Make the checkbox work more intuitively but the individual buttons make more sense - press to make a change.

Additional context I think the initial implementation of the check boxes (that also included testing) made sense but a simplification has kind broken it.

jofemodo commented 7 months ago

I propose a select-box with 3 modes:

And of course, user would still have to press save button to assert these changes. Remove the top-right "advanced view" checkbox.

riban-bw commented 7 months ago

Read-only would be better so that the user can see what is actually being selected by the macro selector.

Maybe one extra option: Staging. This allows users to quickly select the staging version for testing pre-release hot fixes, etc