-
Notifications
You must be signed in to change notification settings - Fork 900
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(core/managed): put constraints in a 'skipped' state on skipped versions #8620
feat(core/managed): put constraints in a 'skipped' state on skipped versions #8620
Conversation
Agreed, let's hide them until we get feedback otherwise
I've been using the outlined version of icons to represent something that hasn't happened. In your first example, where a manual judgement was never given, it makes sense to me. In the second example, where the manual judgement was rejected, by removing the color, I feel we're losing some information unnecessarily. (something happened here but we're conveying that it didn't) Your inclination to get rid of the red is probably right. Same case if something became pinned then unpinned. It wouldn't feel right to have the same callout as pinned! As for the skipped constraint, I think I'd also like to know why. See how this feels @erikmunson @emjburns |
@gcomstock I like that better. Do you think it would be confusing to show some sort of red / green for pass / fail? When I look at that greyed out bubble it's hard to tell what the status was. I guess I'm not sure if I'd need that information, but if it visually matched a bit more to its non-greyed-out self I think I could better associate them in my head and would have an easier time building a mental model. |
1fd0f48
to
37dbab2
Compare
I'm not sure! I see the value in the color and the distraction in it. I think I'd want to ask more people and see it in action to have a better opinion. |
I like reserving the dotted outline exclusively for things that haven't happened yet/at all — re: the open question about how much color would/would not be useful here I agree it's tough to tell in advance of real world data. I basically just guessed at this first pass. Let me add in the solid color treatment in that mock and we'll see what people think day-to-day. This is the sort of stuff we may also discover new information about via watching people use the UI (we haven't done that yet, but I bet we will eventually). |
Ok I've done a few things, screenshots below:
|
37dbab2
to
99ef689
Compare
Using the actual status icons is enough for me right now! Thanks @gcomstock and @erikmunson. As I use things I'll point out if it's hard to tie things together in my head |
Excellent! |
80858e7 feat(core/managed): limit artifact versions to 30 (#8623) 90a2819 feat(core/managed): put constraints in a 'skipped' state on skipped versions (#8620) 815742d feat(core/managed): scroll to selected version in sidebar, update scroll containers (#8618) de24ef3 feat(core/managed): apply consistent sorting to resources (#8622) 3735483 fix(core/pipeline): Always enable "show revision history" in edit pipeline dialog (#8621) abffd84 fix(core/managed): fixup some details from new layout (#8619) f1bb04e fix(appname): encodeURIComponent for app name (#8586) 60c0c7b feat(validation): Allow app name validators to be overridden (#8584)
…e@0.0.516 docker@0.0.60 google@0.0.21 oracle@0.0.9 tencentcloud@0.0.6 (#8624) * chore(amazon): publish amazon@0.0.269 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(azure): publish azure@0.0.255 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(cloudfoundry): publish cloudfoundry@0.0.101 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(core): publish core@0.0.516 80858e7 feat(core/managed): limit artifact versions to 30 (#8623) 90a2819 feat(core/managed): put constraints in a 'skipped' state on skipped versions (#8620) 815742d feat(core/managed): scroll to selected version in sidebar, update scroll containers (#8618) de24ef3 feat(core/managed): apply consistent sorting to resources (#8622) 3735483 fix(core/pipeline): Always enable "show revision history" in edit pipeline dialog (#8621) abffd84 fix(core/managed): fixup some details from new layout (#8619) f1bb04e fix(appname): encodeURIComponent for app name (#8586) 60c0c7b feat(validation): Allow app name validators to be overridden (#8584) * chore(docker): publish docker@0.0.60 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(google): publish google@0.0.21 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(oracle): publish oracle@0.0.9 f1bb04e fix(appname): encodeURIComponent for app name (#8586) * chore(tencentcloud): publish tencentcloud@0.0.6 f1bb04e fix(appname): encodeURIComponent for app name (#8586)
When a version becomes
skipped
in an environment, constraints are no longer evaluated and version is mostly forgotten, never to be heard from again. The exception would be if you manipulate the normal flow of versions via pinning/marking as bad, which would forcefully switch their state to something else.Despite this relative irrelevance, constraints on skipped versions continue to appear very meaningful and important because they don't actually change state in any way. We've discussed adding a
SKIPPED
status on the backend, but there are some pretty big, pretty urgent fish to fry in keel that should get attention first. This change makes a low-effort attempt to patch over the lack of aSKIPPED
status by checking for theskipped
state on environments in client side code.I've elected to make a few design decisions that may or may not be good:
skipped
handler that can check whether the constraint is passing. On the depends-on constraint I'm still showing the 'already deployed to...' message if it's passing, because again I think that's useful informationSidebar
Before
![Screen Shot 2020-10-02 at 5 53 38 PM](https://user-images.githubusercontent.com/1850998/94979954-cd610000-04da-11eb-8220-4028c3b3bb77.png)
After
![Screen Shot 2020-10-02 at 5 53 13 PM](https://user-images.githubusercontent.com/1850998/94979955-d0f48700-04da-11eb-87b1-5f1881ed2320.png)
Pending stateful constraint
Before
![Screen Shot 2020-10-02 at 5 53 48 PM](https://user-images.githubusercontent.com/1850998/94979915-8ffc7280-04da-11eb-9ffc-345ec89fc9a5.png)
After
![Screen Shot 2020-10-02 at 5 57 15 PM](https://user-images.githubusercontent.com/1850998/94979918-938ff980-04da-11eb-96e3-3ce888db4954.png)
Pass/fail stateful constraint
Before
![Screen Shot 2020-10-02 at 6 09 23 PM](https://user-images.githubusercontent.com/1850998/94979922-9a1e7100-04da-11eb-8301-463fb1a9be4f.png)
After
![Screen Shot 2020-10-02 at 5 52 12 PM](https://user-images.githubusercontent.com/1850998/94979928-a0ace880-04da-11eb-9787-1c6367d27db7.png)
@gcomstock I would love your input on any/all of these choices