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-9855] Add premium badge to new file send item dropdown #10137

Merged

Conversation

djsmith85
Copy link
Contributor

@djsmith85 djsmith85 commented Jul 16, 2024

🎟️ Tracking

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

📔 Objective

File Sends are a premium feature. If a user does not have premium, show a premium badge when selecting a new file send and when clicked direct the user to the premium page instead of the new Send page.

Testing will be done on main, as this is guarded behind a feature flag.

📸 Screenshots

Without premium

Screen.Recording.2024-07-16.at.23.00.31.mov

With premium

Screen.Recording.2024-07-16.at.23.05.49.mov

⏰ 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

@djsmith85 djsmith85 requested a review from a team as a code owner July 16, 2024 21:10
Base automatically changed from tools/pm-9851/create-sendv2-component-for-browser to main July 16, 2024 21:12
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.59%. Comparing base (90de9dd) to head (57e9ab5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10137   +/-   ##
=======================================
  Coverage   31.59%   31.59%           
=======================================
  Files        2618     2618           
  Lines       78090    78090           
  Branches    14645    14645           
=======================================
  Hits        24670    24670           
  Misses      51551    51551           
  Partials     1869     1869           

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

Copy link
Contributor

github-actions bot commented Jul 16, 2024

Logo
Checkmarx One – Scan Summary & Details1d487520-3ad5-4c74-bc00-8ebe137f61fe

No New Or Fixed Issues Found

…s/pm-9855/add-premium-badge-to-new-file-send-dropdown
@djsmith85 djsmith85 added needs-qa Marks a PR as requiring QA approval and removed needs-qa Marks a PR as requiring QA approval labels Jul 16, 2024
@djsmith85 djsmith85 enabled auto-merge (squash) July 16, 2024 21:32
@djsmith85 djsmith85 merged commit cebbb94 into main Jul 18, 2024
61 of 63 checks passed
@djsmith85 djsmith85 deleted the tools/pm-9855/add-premium-badge-to-new-file-send-dropdown branch July 18, 2024 13:41
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