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-13645] fix seat count to include invited and accepted members #12848

Conversation

BTreston
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-13645

📔 Objective

This PR fixes the seat count to include members that are in invited and accepted statuses.

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

@BTreston BTreston requested review from a team as code owners January 13, 2025 20:41
Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details84d79e2b-f9c4-4e68-b964-9d0cd227332f

New Issues (9)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Angular_Improper_Type_Pipe_Usage /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.html: 107
detailsThe value used in hideAutofillButton$ at /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.co...
Attack Vector
MEDIUM Angular_Improper_Type_Pipe_Usage /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html: 33
detailsThe value used in loading$ at /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html in line 33 may throw an exception with the ...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html: 78
detailsMethod vault_v2_component at line 78 of /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html sends user information outside th...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html: 72
detailsMethod vault_v2_component at line 72 of /apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html sends user information outside th...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/autofill-vault-list-items/autofill-vault-list-items.component.html: 3
detailsMethod autofill_vault_list_items_component at line 3 of /apps/browser/src/vault/popup/components/vault-v2/autofill-vault-list-items/autofill-vault-...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.html: 91
detailsMethod itemGroup at line 91 of /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.ht...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.html: 104
detailsMethod itemGroup at line 104 of /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.h...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.ts: 117
detailsMethod at line 117 of /apps/browser/src/vault/popup/components/vault-v2/vault-list-items-container/vault-list-items-container.component.ts sends u...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault-v2/autofill-vault-list-items/autofill-vault-list-items.component.html: 1
detailsMethod autofill_vault_list_items_component at line 1 of /apps/browser/src/vault/popup/components/vault-v2/autofill-vault-list-items/autofill-vault-...
Attack Vector

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

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

Project coverage is 34.29%. Comparing base (d471fe0) to head (bc1ab16).
Report is 12 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...omponents/member-dialog/member-dialog.component.ts 0.00% 1 Missing ⚠️
...console/organizations/members/members.component.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12848      +/-   ##
==========================================
- Coverage   34.29%   34.29%   -0.01%     
==========================================
  Files        2934     2934              
  Lines       90188    90189       +1     
  Branches    16939    16939              
==========================================
  Hits        30930    30930              
- Misses      56794    56795       +1     
  Partials     2464     2464              

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

@djsmith85 djsmith85 requested a review from ttalty January 14, 2025 12:09
Copy link
Contributor

@ttalty ttalty left a comment

Choose a reason for hiding this comment

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

Approved. One thing to think about. Do we need to always use all these params?

@BTreston
Copy link
Contributor Author

Approved. One thing to think about. Do we need to always use all these params?

Good question, we should probably look into refactoring this into more focused components with params that make sense. I'll make a note of it and make a tech debt ticket to address it at some point.

@BTreston BTreston merged commit 63a9c69 into main Jan 14, 2025
37 of 39 checks passed
@BTreston BTreston deleted the ac/pm-13645-Invite-Member-Modal-For-Free-Org-References-Up-To-20-Users branch January 14, 2025 17:15
BTreston added a commit that referenced this pull request Jan 14, 2025
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.

3 participants