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

feat: add activity and catalog tabs to budget detail page in LCM #1048

Merged
merged 8 commits into from
Oct 5, 2023

Conversation

adamstankiewicz
Copy link
Member

@adamstankiewicz adamstankiewicz commented Oct 3, 2023

Description

ENT-7714

With feature flag DISABLED

image

With feature flag ENABLED

image

image

image

When visiting budget detail page route that doesn't exist

image

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (26b532c) 83.00% compared to head (86dc7d0) 83.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1048      +/-   ##
==========================================
+ Coverage   83.00%   83.20%   +0.19%     
==========================================
  Files         415      422       +7     
  Lines        8944     9006      +62     
  Branches     1835     1841       +6     
==========================================
+ Hits         7424     7493      +69     
+ Misses       1479     1473       -6     
+ Partials       41       40       -1     
Files Coverage Δ
...ty/ContentHighlightCatalogVisibilityRadioInput.jsx 90.19% <100.00%> (+11.76%) ⬆️
src/components/ContentHighlights/data/constants.js 100.00% <100.00%> (ø)
...omponents/learner-credit-management/BudgetCard.jsx 0.00% <ø> (ø)
...dit-management/BudgetDetailActivityTabContents.jsx 100.00% <100.00%> (ø)
...edit-management/BudgetDetailCatalogTabContents.jsx 100.00% <100.00%> (ø)
...nts/learner-credit-management/BudgetDetailPage.jsx 100.00% <100.00%> (+7.14%) ⬆️
...er-credit-management/BudgetDetailTabsAndRoutes.jsx 100.00% <100.00%> (ø)
...earner-credit-management/EmailAddressTableCell.jsx 80.00% <100.00%> (+2.22%) ⬆️
...credit-management/LearnerCreditAllocationTable.jsx 100.00% <100.00%> (ø)
...rner-credit-management/LearnerCreditManagement.jsx 95.00% <ø> (ø)
... and 9 more

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

Comment on lines +7 to +8
<h3>Budget Name</h3>
<p>TODO</p>
Copy link
Member Author

Choose a reason for hiding this comment

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

[context] Placeholder behind feature flag for catalog tab entry point.

@@ -0,0 +1,41 @@
import { useEffect, useState } from 'react';
Copy link
Member Author

Choose a reason for hiding this comment

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

[context] Unchanged. Just moved to standalone file from previous index.js file.

@adamstankiewicz adamstankiewicz marked this pull request as ready for review October 3, 2023 21:52
Copy link
Contributor

@kiram15 kiram15 left a comment

Choose a reason for hiding this comment

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

Everything looks good locally!

)}
</>
);
if (offerType === BUDGET_TYPES.ecommerce) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a comment here explaining these two if statements and the different kinds of budgets (learner credit and offers) that we're rendering might make this a bit more readable?

@adamstankiewicz adamstankiewicz merged commit 5f1cb88 into master Oct 5, 2023
5 checks passed
@adamstankiewicz adamstankiewicz deleted the ags/ent-7714 branch October 5, 2023 12:38
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