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

[AC-3082] Split invoice history table into two tables for paid and open #11459

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

cturnbull-bitwarden
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/AC-3082

📔 Objective

Split the invoices table into two tables for two specific status: "open" and "unpaid."

📸 Screenshots

image
image
image

⏰ 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

@cturnbull-bitwarden cturnbull-bitwarden requested a review from a team as a code owner October 8, 2024 16:28
Copy link
Contributor

github-actions bot commented Oct 8, 2024

Logo
Checkmarx One – Scan Summary & Detailsa4f8c755-5740-4e27-9b0b-7ec9e337c639

No New Or Fixed Issues Found

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

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

Project coverage is 33.18%. Comparing base (22b16b2) to head (4e0fa83).
Report is 9 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...lling/individual/billing-history-view.component.ts 0.00% 14 Missing ⚠️
...ons/organization-billing-history-view.component.ts 0.00% 12 Missing ⚠️
...ng/services/account/account-billing-api.service.ts 0.00% 6 Missing ⚠️
...s/organization/organization-billing-api.service.ts 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11459      +/-   ##
==========================================
- Coverage   33.19%   33.18%   -0.02%     
==========================================
  Files        2772     2772              
  Lines       86068    86089      +21     
  Branches    16396    16400       +4     
==========================================
- Hits        28573    28566       -7     
- Misses      55229    55257      +28     
  Partials     2266     2266              

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

Copy link
Contributor

@amorask-bitwarden amorask-bitwarden left a comment

Choose a reason for hiding this comment

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

👍

@@ -51,15 +58,20 @@ export class BillingHistoryViewComponent implements OnInit {
: null,
);

const accountInvoices = await invoicesPromise;
const accountTransactions = await transactionsPromise;
const openInvoices = await openInvoicesPromise;
Copy link
Contributor

Choose a reason for hiding this comment

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

⛏️ Can Promise.all these if you want, but I'm not js-y enough to know it has any meaningful performance impact.

@cturnbull-bitwarden cturnbull-bitwarden merged commit 49b26db into main Oct 8, 2024
66 of 67 checks passed
@cturnbull-bitwarden cturnbull-bitwarden deleted the billing/AC-3082/open-and-paid-invoices branch October 8, 2024 18:56
cturnbull-bitwarden added a commit that referenced this pull request Oct 9, 2024
@Larry-Sussman Larry-Sussman changed the title Split invoice history table into two tables for paid and open [AC-3082] Split invoice history table into two tables for paid and open Oct 14, 2024
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