-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[PM-10439] Vault generator components #11350
Conversation
…t/pm-10439/vault-generator
No New Or Fixed Issues Found |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #11350 +/- ##
==========================================
- Coverage 33.27% 33.24% -0.04%
==========================================
Files 2729 2729
Lines 85547 85521 -26
Branches 16318 16310 -8
==========================================
- Hits 28469 28433 -36
- Misses 54817 54830 +13
+ Partials 2261 2258 -3 ☔ View full report in Codecov by Sentry. |
libs/vault/src/cipher-form/components/cipher-generator/cipher-form-generator.component.html
Outdated
Show resolved
Hide resolved
libs/vault/src/cipher-form/components/cipher-generator/cipher-form-generator.component.ts
Show resolved
Hide resolved
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.
Vault implementation looks good! Love how easy it is to use the new generator components! 🎉
One odd thing I noticed though; in your demo, the the values do not automatically regenerate in the Web client when settings are modified. However, they do in your browser extension 🤔. I don't see anything different between the client implementation on our end, so I suspect there may be something internal going awry with the new generator components.
I don't think this is blocking for this PR, but wanted to make note of it.
cc: @danielleflinn
The username component logic introduced a bug in the password component. I think fixing that should also fix the behavior you see in the web demo. That said, web support is out of scope of the password generator UI modernization. You may need to invoke the generator service manually in that environment if the behavior persists. (I don't think it will--the username component updates the way I'd expect it to.) |
Agree with Shane's comment that the behavior is not blocking A few UI nits I noticed @nick-livefront
|
ae3067e
Fixed! 4f3e31b
Yes! Removed here: fde20b6 @danielleflinn To be safe, here's screenshots of the dialog on top of the
@audreyality While removing the margin that Danielle spotted above, I noticed that the username component had a div that had extra margin on it. This isn't needed because of the Screen.Recording.2024-10-02.at.9.12.51.PM.mov |
…t/pm-10439/vault-generator
libs/vault/src/cipher-form/components/cipher-generator/cipher-form-generator.component.html
Outdated
Show resolved
Hide resolved
<bit-section> | ||
<div | ||
disableMargin | ||
class="[&_tools-passphrase-settings_section]:tw-mb-0 [&_tools-password-settings_section]:tw-mb-0 [&_tools-username-generator_section]:tw-mb-0" |
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.
💭 Hmm, hopefully we can get rid of these in the future as it seems somewhat brittle if the settings sections every change or the general layout of the tools-
generator components change.
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.
Great point. Another option could be to add a prop to the two generator components to disable the trailing margin that way.
@audreyality What do you think about that?
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.
Shane's right. You shouldn't be adjusting the inner margins of the control. So long as this effects web only, and is a minor visual artifact, it's a non-issue. Please do not modify the controls. I'll address this when we get to incorporating web support.
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.
@audreyality Sounds good! Do you have an epic you're working off of or a ticket for web integration. That way I can get ahead of our QA pointing it out 😄
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.
You can track bugs as a "QA Bug" subtask on the layout update story. If you want more visibility than a subtask, track a bug against the parent epic.
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.
🚀 PM-13132 has been wrote to account for the spacing
…t/pm-10439/vault-generator
This comment was marked as resolved.
This comment was marked as resolved.
This reverts commit ae3067e.
…t/pm-10439/vault-generator
👍 Good to know! |
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.
Looks good, thanks! 🚀
🎟️ Tracking
PM-10439
📔 Objective
Integrate the
PasswordGeneratorComponent
andUsernameGeneratorComponent
into the web & browser vaults.📸 Screenshots
Screen.Recording.2024-10-01.at.3.22.35.PM.mov
Screen.Recording.2024-10-01.at.3.20.08.PM.mov
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes