Skip to content

🧹 Tidy DatePicker component #70843

Merged
Erin007 merged 2 commits intostagingfrom
erin-remove-radium-from-date-picker
Feb 23, 2026
Merged

🧹 Tidy DatePicker component #70843
Erin007 merged 2 commits intostagingfrom
erin-remove-radium-from-date-picker

Conversation

@Erin007
Copy link
Copy Markdown
Contributor

@Erin007 Erin007 commented Feb 18, 2026

A few little updates:

  • rename date_picker to DatePicker to align with convention
  • move DatePicker into sharedComponents since it's used in both levelbuilder and pd workshops
  • update import paths to match changes
  • extract styles from DatePicker into scss module
  • remove Radium import for DatePicker
  • reorder imports in touched files to appease linter

@Erin007 Erin007 changed the title 🧹 Remove Radium from DatePicker 🧹 Tidy DatePicker component Feb 18, 2026
@Erin007
Copy link
Copy Markdown
Contributor Author

Erin007 commented Feb 18, 2026

"DatePicker" sounds like a less exciting but more descriptive name for "Tinder".

In this case, it's this little calendar component:
Screenshot 2026-02-18 at 2 51 59 PM

@Erin007 Erin007 requested review from a team and lfryemason and removed request for a team February 18, 2026 20:04
Copy link
Copy Markdown
Contributor

@lfryemason lfryemason left a comment

Choose a reason for hiding this comment

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

Amazing! Thanks for doing this cleanup!

States,
} from '@cdo/apps/generated/pd/sharedWorkshopConstants';

import DatePicker from '../../../sharedComponents/DatePicker';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Optional nit: you could change these imports with lots of ../../ to @cdo/apps/sharedComponents/DatePicker.

@Erin007 Erin007 merged commit 809c1ee into staging Feb 23, 2026
6 checks passed
@Erin007 Erin007 deleted the erin-remove-radium-from-date-picker branch February 23, 2026 13:33
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