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

fix(ui): clarify why freight is available for promotion #1181

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

rbreeze
Copy link
Contributor

@rbreeze rbreeze commented Nov 29, 2023

Fixes #1158

Screenshot 2023-11-29 at 10 37 10 Screenshot 2023-11-29 at 10 37 29

Signed-off-by: Remington Breeze <remington@breeze.software>
@rbreeze rbreeze requested a review from a team as a code owner November 29, 2023 18:39
Copy link

netlify bot commented Nov 29, 2023

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit 0779d9a
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/6567bbb4594223000815da14
😎 Deploy Preview https://deploy-preview-1181.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rbreeze rbreeze requested a review from krancour November 29, 2023 18:39
@@ -117,7 +117,7 @@ const Nodule = (props: {
left: props.begin ? -noduleHeight / 2 : 'auto',
right: props.begin ? 'auto' : -noduleHeight / 2
}}
className={`z-10 flex items-center justify-center hover:text-white border border-sky-300 border-solid hover:bg-blue-400 absolute rounded-lg ${
className={`select-none z-10 flex items-center justify-center hover:text-white border border-sky-300 border-solid hover:bg-blue-400 absolute rounded-lg ${
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevents the button text from being selected when clicking repeatedly

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (084c4a0) 48.67% compared to head (0779d9a) 48.56%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1181      +/-   ##
==========================================
- Coverage   48.67%   48.56%   -0.11%     
==========================================
  Files         116      117       +1     
  Lines        8602     8660      +58     
==========================================
+ Hits         4187     4206      +19     
- Misses       4263     4302      +39     
  Partials      152      152              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@krancour
Copy link
Member

@rbreeze I like the presentation. I only want to suggest some rewording.

We recently stopped using "qualified" because the meaning was too ambiguous. "Qualified in" and "qualified for" would both be reasonable interpretations of "qualified" and have very different meanings. You probably recall that convo...

We subsequently shifted to using "verified in" and "approved for," so the following would be more accurate:

Available freight includes all that have been verified in any immediately upstream stage OR approved for this stage.

For promote to subscribers, the changes needed are less extensive:

Available freight includes all that have been verified in this stage.

But are these too wordy? 🤔

I welcome further tweaks.

@rbreeze
Copy link
Contributor Author

rbreeze commented Nov 29, 2023

@krancour Thanks for the reminder, I forgot about the wording change 😄

Both of those sound good to me. There's a lot of real estate to show the message, and given that most people will either read it once or not at all, I don't think it's too wordy.

In fact, that gives me an idea for a future improvement to this: the option to dismiss the banner once you've read it. And perhaps a question mark button to bring it back. I'll open an issue to track

Signed-off-by: Remington Breeze <remington@breeze.software>
Copy link
Member

@krancour krancour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

This will clear the misconception that promotions are merely "pulls" or "pushes."

@rbreeze rbreeze added this pull request to the merge queue Nov 29, 2023
Merged via the queue into main with commit d342b0d Nov 29, 2023
13 of 14 checks passed
@rbreeze rbreeze deleted the clarify-available-ui branch November 29, 2023 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make it more obvious WHY freight is available to a stage
2 participants