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

[PM-7175] Create vault settings component (navigational changes) #8840

Merged
merged 21 commits into from
May 7, 2024

Conversation

djsmith85
Copy link
Contributor

@djsmith85 djsmith85 commented Apr 19, 2024

Type of change

- [ ] Bug fix
- [X] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

Split out the vault-settings related controls into a separate page according to the UI re-design (navigational changes)

This only contains navigational changes and makes it easier to enable code-ownership
settings.component is under tools-ownership
and
vault-settings.component, folder.component and sync.component are under vault-ownership

The visual changes planned for the UI refresh will be done, once all needed base components from the Component Library are available.

Code changes

  • Move folder.component to vault/popup/settings - 0cd9cd8
  • Move sync.component to vault/popup/settings - d71cc94
  • Create vault settings component - 1f38dcb
    • Move controls from settings.component.html to vault-settings.component.html
    • Register VaultSettingsComponent within app.module
    • Register route for VaultSettingsComponent
    • Add new string in en/messages.json
  • Fix routing for back navigation on child pages of vault settings - c684418
  • Add transitions to vault-settings sub-pages - c486d71

Screenshots

Before

before_settings1 before_settings2

After

after_settings after_vault

Before you submit

  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team
  • Ensure that all UI additions follow WCAG AA requirements

djsmith85 and others added 14 commits April 18, 2024 20:31
Move settings.component.ts to auth/popup/settings and rename to account-security.component.ts
Move controls from settings.component.html and create account-security.component.html
Move settings.component.html to tools/popup/settings.component.html
Create settings.component.ts under tools/popup/settings
Fixup module imports and routing
Add new strings to en/message.json
Move controls from settings.component.html to vault-settings.component.html
Register VaultSettingsComponent within app.module
Register route for VaultSettingsComponent
Add new string in en/messages.json
…s/pm-7175/create-vault-settings-component
…s/pm-7172/create-account-security-settings-component
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 72 lines in your changes are missing coverage. Please review.

Project coverage is 27.77%. Comparing base (c241aba) to head (4df0eba).
Report is 4 commits behind head on main.

❗ Current head 4df0eba differs from pull request most recent head 899188c. Consider uploading reports for the commit 899188c to get more accurate results

Files Patch % Lines
...ser/src/tools/popup/settings/settings.component.ts 0.00% 39 Missing ⚠️
.../auth/popup/settings/account-security.component.ts 0.00% 11 Missing ⚠️
...c/vault/popup/settings/vault-settings.component.ts 0.00% 11 Missing ⚠️
apps/browser/src/popup/app.module.ts 0.00% 6 Missing ⚠️
apps/browser/src/popup/app-routing.module.ts 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8840      +/-   ##
==========================================
+ Coverage   27.75%   27.77%   +0.02%     
==========================================
  Files        2419     2420       +1     
  Lines       69915    69851      -64     
  Branches    13013    12980      -33     
==========================================
- Hits        19402    19399       -3     
+ Misses      49012    48953      -59     
+ Partials     1501     1499       -2     

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

@djsmith85 djsmith85 marked this pull request as ready for review April 19, 2024 18:21
@djsmith85 djsmith85 requested review from a team as code owners April 19, 2024 18:21
@djsmith85 djsmith85 added the needs-qa Marks a PR as requiring QA approval label Apr 19, 2024
Copy link
Contributor

github-actions bot commented Apr 19, 2024

Logo
Checkmarx One – Scan Summary & Details82ee75fb-476c-44ab-89a0-ddc62a2cfbaa

No New Or Fixed Issues Found

audrey-jensen
audrey-jensen previously approved these changes Apr 22, 2024
shane-melton
shane-melton previously approved these changes Apr 25, 2024
Copy link
Member

@shane-melton shane-melton left a comment

Choose a reason for hiding this comment

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

Looks good to me! Just a small nit (non-blocking).

Base automatically changed from tools/pm-7172/create-account-security-settings-component to main May 7, 2024 20:23
@djsmith85 djsmith85 dismissed stale reviews from shane-melton and audrey-jensen May 7, 2024 20:23

The base branch was changed.

@jlf0dev jlf0dev requested a review from a team as a code owner May 7, 2024 20:23
…s/pm-7175/create-vault-settings-component
@djsmith85 djsmith85 removed request for a team and JaredSnider-Bitwarden May 7, 2024 20:35
@djsmith85 djsmith85 removed the needs-qa Marks a PR as requiring QA approval label May 7, 2024
@djsmith85 djsmith85 enabled auto-merge (squash) May 7, 2024 20:35
@djsmith85 djsmith85 merged commit 5682e38 into main May 7, 2024
20 of 24 checks passed
@djsmith85 djsmith85 deleted the tools/pm-7175/create-vault-settings-component branch May 7, 2024 21:58
djsmith85 added a commit that referenced this pull request May 17, 2024
Some left-over clean-up from #8840
- Removing import and export methods
djsmith85 added a commit that referenced this pull request May 22, 2024
#9233)

* Move help-and-feedback to tools and rename to about-page

Moved help-and-feedback.component to ..tools
Renamed it to about-page
Changed the title to about
Changed the settings button to about
Updated routes
Updates transition animation

* Move button to open AboutDialog from settings to about-page

* Move launch web-vault to about-page

* Move rate extension from settings to about-page

* Fix no-floating-promises

* Remove icons from about-page entries

* Make about-page standalone

* Create MoreFromBitwardenPage component

Create new component
Add button to navigate to new component from about-page
Add routing for new component

* Add new speedbumps to help-center and web-app links

* Add link to Bitwarden Authenticator page

Include speedbump explaing some functionality about the the authenticator

* Add link to Secrets Manager page

Include speedbump explaining some functionality of Secrets Manager

* Add link to Passwordless.dev page

Include speedbump explaining some functionality of Passwordless.dev

* Move learnFromOrg over to more-from-bitwarden

Include speedbump that explains Bitwarden for business

* Clean-up settings.component

Some left-over clean-up from #8840
- Removing import and export methods

* Move premium-link to more-from-bitwarden

Hide link if user already has premium

* Add popout-button to about-page

* Remove unneeded headings

* Move popout-button on setting to the right

* Add Free Bitwarden Families link

Include speedbump explaining Free Bitwarden Families

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
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.

None yet

3 participants