-
Notifications
You must be signed in to change notification settings - Fork 58
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
Redesigned and refactored new import flow #592
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #592 +/- ##
==========================================
- Coverage 81.20% 81.12% -0.09%
==========================================
Files 464 468 +4
Lines 11175 11212 +37
Branches 3176 3186 +10
==========================================
+ Hits 9075 9096 +21
- Misses 1976 1992 +16
Partials 124 124
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I change app name, runtime detection gets triggered
recording-1682692369.mp4
If I go back when runtime detection is in progress, the import button stays disabled
recording-1682692800.mp4
After I input a valid repo and make a change to the URL, it lets me proceed even if the repo is no longer valid Screencast.from.05-02-2023.09.28.09.AM.webm |
also the help/docs in the |
There is also no way to name a new application when creating it with a sample component, let alone the component itself. |
Some shenanigans with runtime selection:
Screencast.from.05-02-2023.11.43.06.AM.webm |
@rottencandy Fixed the issues. |
@jrichter1 Fixed it. |
Yeah, docs team is working on updating the learn more topics. |
Yeah, that's what the UX recommended. |
Fixed it. |
32821d6
to
7e57d5a
Compare
Import screen:
Unable to access repo screen:
|
@Misjohns We cannot do this. Importing sample and importing git repos is two different forms put together now. We need to detect values for git repo on the review page because we have a runtime selector that can be used to change the detected values. Changing the runtime from selector triggers the same CDQ detection. That's why we cannot detect the values on the source step and move to review only after detection completes. We would need a consistent progress mechanism for when user first land and CDQ happens and also when user changes the runtime and CDQ happens. Also, the spinner on samples flow says Also, we don't show two detecting screens in one flow. For samples, we have the backdrop version because we want to disable all the action buttons available while a sample is importing. For git repo, we have the inline version because of the reasons explained above (here user can press back and go back to source screen without any issues). |
@rohitkrai03 Based on your comment "We would need a consistent progress mechanism for when user first land and CDQ happens and also when user changes the runtime and CDQ happens." Can you please share video of changing the runtime and CDQ happens, so I can see the progress message? |
@Misjohns This how it looks right now. |
@Misjohns This is how it looks if we use the backdrop version on the review page as well. This seems like a reasonable way of keeping things consistent between samples and git repo flows. Detection while changing the runtime happens inline within the dropdown anyways. Although we do loose out on extra information which explains what we are doing when we say Screen.Recording.2023-05-03.at.12.20.36.AM.mov |
@rohitkrai03 The new card version is much better. The initial version looked like an empty state with that extra copy which doesn't add much value if the user doesn't have time to read it. |
@Misjohns Added consistent spacing within the container. Based on PF's internal padding and margin within components, I've set the padding top for the icon and padding bottom for the CTA buttons within the container to |
@Misjohns Done. Screen.Recording.2023-05-03.at.1.05.09.AM.mov |
@Misjohns Done. |
@Misjohns Done. |
/retest |
@rohitkrai03: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: karthikjeeyar, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes
Description
Type of change
Screen shots / Gifs for design review
Screen.Recording.2023-04-28.at.7.09.18.PM.mov
TODO
Browser conformance: