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

chore(console): change icon of past steps to checkbox #5580

Merged
merged 5 commits into from
Apr 11, 2023

Conversation

doncicuto
Copy link
Contributor

As a developer/admin I want to see at which step in the process of creating a new application I am.

Here's a screenshot

image

And a video:

output.mp4

Acceptance Criteria

  • Steps I have done have a checkbox as an icon (see below)
  • Lines between past and and/or current step are shown in the keycolor and 3px thick (see below)
  • The icons/numbers are centered (currently it's leaning approx. 2px to bottom and 1px to the right)

Closes #3908

Some notes:

Material UI Stepper has some limitations. I've had to override the edit icon (pencil) with the check icon because all the steps are editable so the done icon is never set (angular/components#8997 (comment)). In this proposal the pencil icon is not used, but in a whole I think that the PR meet the acceptance criteria.

Definition of Ready

Edit tasklist title
Beta Give feedback Tasklist Definition of Ready, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. I am happy with the code
    Options
  2. Short description of the feature/issue is added in the pr description
    Options
  3. PR is linked to the corresponding user story
    Options
  4. Acceptance criteria are met
    Options
  5. All open todos and follow ups are defined in a new ticket and justified
    Options
  6. Deviations from the acceptance criteria and design are agreed with the PO and documented.
    Options
  7. No debug or dead code
    Options
  8. Critical parts are tested automatically
    Options
  9. Where possible E2E tests are implemented
    Options
  10. Documentation/examples are up-to-date
    Options
  11. All non-functional requirements are met
    Options
  12. Functionality of the acceptance criteria is checked manually on the dev system.
    Options

@vercel
Copy link

vercel bot commented Mar 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2023 9:48am

@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Merging #5580 (b97fdc7) into main (991a563) will decrease coverage by 0.01%.
The diff coverage is 55.00%.

@@            Coverage Diff             @@
##             main    #5580      +/-   ##
==========================================
- Coverage   48.42%   48.41%   -0.01%     
==========================================
  Files         693      693              
  Lines       72237    72253      +16     
==========================================
+ Hits        34981    34982       +1     
- Misses      35620    35632      +12     
- Partials     1636     1639       +3     
Impacted Files Coverage Δ
internal/command/project_application_saml_model.go 61.79% <0.00%> (+0.34%) ⬆️
internal/query/event.go 0.00% <0.00%> (ø)
internal/query/org.go 44.44% <0.00%> (-0.20%) ⬇️
...epository/eventsourcing/eventstore/auth_request.go 24.17% <31.57%> (-0.33%) ⬇️
internal/eventstore/repository/sql/crdb.go 62.01% <100.00%> (ø)
...nal/eventstore/v1/internal/repository/sql/query.go 87.19% <100.00%> (+0.07%) ⬆️
internal/query/projection/idp_login_policy_link.go 58.68% <100.00%> (+0.39%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@hifabienne
Copy link
Member

@doncicuto Thank you for your work.
@peintnermax or @eliobischof can one of you have a look at this?

@eliobischof
Copy link
Member

@peintnermax would you mind if I hand that over to you? You are more experienced with scss, I guess?
Thanks and sorry 🙁

@peintnermax
Copy link
Member

sure 👍

Copy link
Member

@peintnermax peintnermax left a comment

Choose a reason for hiding this comment

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

thx @doncicuto 👍

@doncicuto
Copy link
Contributor Author

Perfect, thanks @peintnermax as always for your review, I'll prepare the changes.

Only one comment/question about why I've set 45% 49% at console/src/app/pages/projects/apps/app-create/app-create.component.scss. Using 50% 50%, the number inside the circle it's leaning approx 2px to bottom and 1px to the right (as @juergrinaldi pointed out, maybe because o font type/size?) and using 45% 49% was a compromise measure to try to center the number in browser (Chrome, Firefox tested). What would you propose to fix that placement (CSS is not my strong point) and keep the question mark centered? Thanks in advance!

@peintnermax peintnermax changed the title feat(console): change icon of past steps to checkbox chore(console): change icon of past steps to checkbox Apr 11, 2023
@peintnermax
Copy link
Member

What would you propose to fix that placement (CSS is not my strong point) and keep the question mark centered? Thanks in advance!

I thinks its placed perfectly centered with 50 50 👍

@peintnermax peintnermax merged commit c0c76a8 into zitadel:main Apr 11, 2023
5 of 6 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.24.0-ignore-me2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

Change Icon of past steps (Wizard) to checkbox
5 participants