Skip to content

[PM-21184] Migrate free-bitwarden-families.component.html to Tailwind complying #14628

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

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

Conversation

cyprain-okeke
Copy link
Contributor

🎟️ Tracking

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

📔 Objective

/apps/web/src/app/billing/members/free-bitwarden-families.component.html
67:27 error Classname 'm-0' is not a Tailwind CSS class! tailwindcss/no-custom-classname
76:31 error Classname 'pl-1' is not a Tailwind CSS class! tailwindcss/no-custom-classname
85:13 error Classname 'mt-0' is not a Tailwind CSS class! tailwindcss/no-custom-classname
90:13 error Classname 'mt-3' is not a Tailwind CSS class! tailwindcss/no-custom-classname

📸 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

@cyprain-okeke cyprain-okeke requested a review from a team as a code owner May 5, 2025 13:13
Copy link

codecov bot commented May 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.25%. Comparing base (4fcc479) to head (0f30e9e).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14628   +/-   ##
=======================================
  Coverage   36.24%   36.25%           
=======================================
  Files        3200     3200           
  Lines       93163    93163           
  Branches    16798    16798           
=======================================
+ Hits        33766    33773    +7     
+ Misses      56961    56954    -7     
  Partials     2436     2436           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

github-actions bot commented May 5, 2025

Logo
Checkmarx One – Scan Summary & Details7425645d-cf62-4cc0-ae3a-1d839d9c7a49

New Issues (4)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
CRITICAL CVE-2025-5280 Npm-electron-34.0.0
detailsDescription: Out of bounds write in V8 in Google Chrome prior to 137.0.7151.55 allowed a remote attacker to potentially exploit heap corruption via a crafted HT...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: ni1OPaDr6wFkp0IDaMjxvXQg%2B0gfZfwT66CE7HjL3hk%3D
Vulnerable Package
HIGH CVE-2025-5283 Npm-electron-34.0.0
detailsDescription: Use after free in libvpx in Google Chrome prior to 137.0.7151.55 allowed a remote attacker to potentially exploit heap corruption via a crafted HTM...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: ZM26HpNnkonxAGv%2FpC2DAbHy12ALd%2FyKKkQYAvDGQ%2Fg%3D
Vulnerable Package
MEDIUM CVE-2025-5067 Npm-electron-34.0.0
detailsDescription: Inappropriate implementation in Tab Strip in Google Chrome prior to 137.0.7151.55 allowed a remote attacker to perform UI spoofing via a crafted HT...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: s2T4WHi3S5LVpK9ZjSL0rs1Tmur9x0Jz%2B4XlA0aH1uc%3D
Vulnerable Package
MEDIUM CVE-2025-5281 Npm-electron-34.0.0
detailsDescription: Inappropriate implementation in BFCache in Google Chrome prior to 137.0.7151.55 allowed a remote attacker to potentially obtain user information vi...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: jyrxRw4QXV1A3L1d50uf05B3WWqoh07uCySa7Us6Jzg%3D
Vulnerable Package

@cyprain-okeke cyprain-okeke requested review from a team as code owners May 19, 2025 13:00
@@ -82,6 +82,7 @@ import { SharedModule } from "./shared.module";
OrganizationLayoutComponent,
VerifyRecoverDeleteOrgComponent,
VaultTimeoutInputComponent,
NoItemsModule,
Copy link
Contributor

Choose a reason for hiding this comment

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

issue: Please do not add to this list of declarations. If you are migrating components then please also remove them from here and make them standalone/add them to their own module

@cyprain-okeke cyprain-okeke requested a review from coroiu May 19, 2025 13:40
coroiu
coroiu previously approved these changes May 19, 2025
@cyprain-okeke cyprain-okeke requested a review from coroiu May 21, 2025 08:21
Hinton
Hinton previously approved these changes May 22, 2025
…ee-bitwarden-families-component' into pm-21184-Migrate-free-bitwarden-families-component
coroiu
coroiu previously approved these changes May 23, 2025
Hinton
Hinton previously approved these changes May 23, 2025
Copy link
Contributor

@willmartian willmartian left a comment

Choose a reason for hiding this comment

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

@bitwarden/dept-design should this be using the new illustration style? I am thinking probably not, since UIF will have a feature branch with all of the new illustrations.

Also, is this icon rendering correctly?

image

https://62a88a6de5b807fa98886113-eoalwpthsw.chromatic.com/?path=/story/component-library-icon--default&args=icon:Empty

@willmartian willmartian requested a review from a team May 23, 2025 13:21
@Hinton
Copy link
Member

Hinton commented May 28, 2025

@cyprain-okeke can we just remove the no-item changes and revisit this later? We need to get the tailwind classes removed asap or they will stop working.

@cyprain-okeke cyprain-okeke dismissed stale reviews from Hinton, coroiu, and amorask-bitwarden via 0f30e9e May 28, 2025 08:48
@cyprain-okeke cyprain-okeke requested review from Hinton, coroiu and amorask-bitwarden and removed request for a team May 28, 2025 08:49
Copy link

@@ -122,7 +122,6 @@ import { SharedModule } from "./shared.module";
RemovePasswordComponent,
SetPasswordComponent,
SponsoredFamiliesComponent,
FreeBitwardenFamiliesComponent,
Copy link
Contributor

Choose a reason for hiding this comment

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

question: did you mean to remove this from exports?

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.

5 participants