-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Extend versions' states #5321
Comments
What would be the difference between "inactiva" and "deprecated"? Or are you talking about one state here? Maybe "hidden" is a better name? |
"hidden" or "archived" are pretty clear adjectives for these versions. Seems we could have the following fields on the version model:
I think all the possible combinations make sense in this case. Even if a version is |
@agjohnson I'm not following you exactly. Although the adjectives are clear, I'm not sure to understand how they behaves on our platform:
Combining these, On the other hand, The workflow that I see here would be:
|
I think part of the confusion comes from our weird version states currently. We currently have the following 3 states but only talk about 2 to users:
So this probably dictates we need the following states (let's set aside the discussion of whether these are individual model attributes for now):
So What do you think about these states? Do these version states help with UX around versions? |
I like these states. I'm 👍 on going forward with them. |
Cool. I'm not sure exactly how these attributes are structured yet, as there are some competing values there perhaps. Like, any value of Any opinions here? |
Protected causes a lot of confusions to users. I'm hiding it for now as a temporarily solution while we implement more Version states and this behavior can be easily managed. See #5321
Protected causes a lot of confusions to users. I'm hiding it from the Form for now as a temporarily solution while we implement more Version states and this behavior can be easily managed. See #5321 Project/Version that are Protected will remain in the same state and everything should keep working. Although, new Project/Version are not allowed to set as Protected.
In my mind |
Sure, but if there is conflict in how these fields are used, they should be grouped under a single choice field, not necessarily all boolean attributes. For instance, using the above as an example, if So far I think we've only seriously considered |
We should probably prioritize finishing this and having some functionality for hiding versions however. Users currently don't have any way to accomplish this other than deactivating a version. |
So, hidden is implemented. |
Any thoughts if this should be considered valid now? |
I was most interested in hidden, I don't have strong opinions about the others and would aggress that it sounds like there is some redundant meanings there. Deprecated might be a nice dedicated attribute to have, but likely requires we do something special with deprecated versions in a consistent way. Currently, it might only feed into the sphinx deprecated extension, and wouldn't work for other tools. We could revisit this later if we come up with a plan for other version states i think |
Currently we have
active
andnon-active
versions' states.I suggested more states like
inactive
anddeprecated
so they are still being served or shown in the flyout as needed.I'm creating this issue here to tack this since the #4001 won't cover these new states for now.
The text was updated successfully, but these errors were encountered: