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-17182] Remove Bootstrap style from EnvironmentSelectorComponent #13193

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alec-livefront
Copy link
Collaborator

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-17182?atlOrigin=eyJpIjoiYmExMzNhNDU4N2E2NGRjYjhiNWVkMTJhNGY0ZTJjODQiLCJwIjoiaiJ9

📔 Objective

Remove Bootstrap styles from the EnvironmentSelectorComponent component.

📸 Screenshots

GMT20250131-214636_Clip_Alec.Rippberger.s.Clip.01_31_2025.mp4

⏰ 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

@alec-livefront alec-livefront requested a review from a team as a code owner January 31, 2025 21:48
@alec-livefront alec-livefront requested a review from rr-bw January 31, 2025 21:48
Copy link
Contributor

github-actions bot commented Jan 31, 2025

Logo
Checkmarx One – Scan Summary & Details72499978-9b86-45b6-9c93-7c251b9ee39f

New Issues (1872)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
HIGH Client_DOM_XSS /apps/browser/src/platform/browser/browser-api.spec.ts: 286
detailsThe method Lambda embeds untrusted data in generated output with href, at line 290 of /apps/browser/src/platform/browser/browser-api.spec.ts. This ...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/content/auto-submit-login.spec.ts: 324
detailsMethod createFormlessShadowRootFields at line 324 of /apps/browser/src/autofill/content/auto-submit-login.spec.ts sends user information outside th...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/content/auto-submit-login.spec.ts: 324
detailsMethod createFormlessShadowRootFields at line 324 of /apps/browser/src/autofill/content/auto-submit-login.spec.ts sends user information outside th...
Attack Vector
MEDIUM Client_Privacy_Violation /libs/vault/src/components/download-attachment/download-attachment.component.spec.ts: 44
detailsMethod Lambda at line 44 of /libs/vault/src/components/download-attachment/download-attachment.component.spec.ts sends user information outside the...
Attack Vector
MEDIUM Client_Privacy_Violation /libs/vault/src/components/download-attachment/download-attachment.component.spec.ts: 44
detailsMethod Lambda at line 44 of /libs/vault/src/components/download-attachment/download-attachment.component.spec.ts sends user information outside the...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.spec.ts: 44
detailsMethod Lambda at line 44 of /apps/web/src/app/vault/individual-vault/view.component.spec.ts sends user information outside the application. This ma...
Attack Vector

More results are available on the CxOne platform

Fixed Issues (54)
Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
CRITICAL CVE-2025-0611 Npm-electron-34.0.0
CRITICAL CVE-2025-0762 Npm-electron-34.0.0
HIGH CVE-2024-21538 Npm-cross-spawn-7.0.3
HIGH CVE-2025-0612 Npm-electron-34.0.0
HIGH Cxdca8e59f-8bfe Npm-inflight-1.0.6
MEDIUM CVE-2024-55565 Npm-nanoid-3.3.7
MEDIUM CVE-2024-6531 Npm-bootstrap-4.6.0
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/view.component.ts: 110
MEDIUM Cx877cf216-175c Npm-event-pubsub-4.3.0
MEDIUM Cx8ef77360-5422 Npm-node-ipc-9.2.1
MEDIUM Cx949f3fb2-a0e5 Npm-js-message-1.0.7
MEDIUM Cxafe14174-3b5a Npm-easy-stack-1.0.1
MEDIUM Cxf62a1409-bb90 Npm-js-queue-2.0.2
LOW Cx8bc4df28-fcf5 Npm-debug-2.6.9
LOW Cx8bc4df28-fcf5 Npm-debug-3.2.7
LOW Cxda14f253-4e52 Npm-bluebird-3.7.2

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.41%. Comparing base (0b17d9e) to head (6f84ba4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13193      +/-   ##
==========================================
- Coverage   35.41%   35.41%   -0.01%     
==========================================
  Files        3009     3009              
  Lines       90818    90820       +2     
  Branches    16877    16877              
==========================================
  Hits        32166    32166              
- Misses      56185    56187       +2     
  Partials     2467     2467              

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

@alec-livefront
Copy link
Collaborator Author

@rr-bw I believe I've addressed your feedback here: 025ff78

Screenshot 2025-02-04 at 2 20 09 PM
Screenshot 2025-02-04 at 2 19 57 PM
Screenshot 2025-02-04 at 2 19 38 PM

…elector-component' of https://github.com/bitwarden/clients into auth/pm-17182/remove-bootstrap-style-from-environment-selector-component
@alec-livefront alec-livefront requested a review from rr-bw February 4, 2025 20:40
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.

2 participants