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

[HOLD for payment 2023-12-08] [Theme Switching Migration] EnablePayments Batch #31681

Closed
6 tasks
grgia opened this issue Nov 22, 2023 · 13 comments
Closed
6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2

Comments

@grgia
Copy link
Contributor

grgia commented Nov 22, 2023

Part of #31677

As part of the Theme Switching Project, we need to migrate the following:

  • LongTermsForm.js
  • CollapsibleSection/index.tsx
  • BaseOnfidoWeb.js
  • Picker/BasePicker.js
  • src/pages/ReimbursementAccount/RequestorStep.js
  • src/components/Icon/BankIcons.ts
@grgia grgia self-assigned this Nov 22, 2023
@grgia grgia added the Daily KSv2 label Nov 22, 2023
@koko57
Copy link
Contributor

koko57 commented Nov 22, 2023

leaving a comment to be assigned :)

@koko57
Copy link
Contributor

koko57 commented Nov 22, 2023

We can sdd these files to this batch:
src/pages/ReimbursementAccount/RequestorStep.js
src/components/Icon/BankIcons.ts

@grgia
Copy link
Contributor Author

grgia commented Nov 22, 2023

updated description!

@koko57
Copy link
Contributor

koko57 commented Nov 24, 2023

@grgia I'll be working on this one

@koko57
Copy link
Contributor

koko57 commented Nov 24, 2023

@grgia fontFamily imports should be left as they are now? import fontFamily from '@styles/fontFamily';

@melvin-bot melvin-bot bot added the Overdue label Nov 27, 2023
@grgia
Copy link
Contributor Author

grgia commented Nov 27, 2023

cc @chrispader on #31681 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Nov 27, 2023
@koko57
Copy link
Contributor

koko57 commented Nov 27, 2023

@grgia @chrispader - similar question for getBankIcon (from BankIcons.ts) - should we also use the styles from the hook? It looks like these styles are not theme-dependent. To use the styles from the hook we would have to pass the styles object to the getBankIcon function (which is used in another util function, so we would have to pass the styles object to it as well). WDYT of this one? Is it worth changing?

@chrispader
Copy link
Contributor

@grgia fontFamily imports should be left as they are now? import fontFamily from '@styles/fontFamily';

As far as i see it, nothing changes for the fonts based on the theme :)

@chrispader
Copy link
Contributor

@grgia @chrispader - similar question for getBankIcon (from BankIcons.ts) - should we also use the styles from the hook? It looks like these styles are not theme-dependent. To use the styles from the hook we would have to pass the styles object to the getBankIcon function (which is used in another util function, so we would have to pass the styles object to it as well). WDYT of this one? Is it worth changing?

Let's pass the themeStyles to the hook anyway. Right now, all of the styles are defined in one big theme-dependent styles object in styles.js. For now, we want to aim for consistency so we only "allow" using styles though useThemeStyles.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Nov 28, 2023
@melvin-bot melvin-bot bot changed the title [Theme Switching Migration] EnablePayments Batch [HOLD for payment 2023-12-08] [Theme Switching Migration] EnablePayments Batch Dec 1, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 1, 2023
Copy link

melvin-bot bot commented Dec 1, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 1, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.6-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-12-08. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

  • @koko57 does not require payment (Contractor)

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 8, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

@koko57, @grgia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Dec 13, 2023

@koko57, @grgia Huh... This is 4 days overdue. Who can take care of this?

@grgia grgia closed this as completed Dec 13, 2023
@melvin-bot melvin-bot bot removed the Overdue label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2
Projects
No open projects
Status: Done - Live
Development

No branches or pull requests

3 participants