Skip to content

Conversation

@shakyShane
Copy link
Contributor

@shakyShane shakyShane commented Dec 19, 2024

Asana Task/Github Issue: https://app.asana.com/0/1201141132935289/1209013497841867/f

Description

Using the ‘rule of 3’ -> in the NTP I need a switch component. We already implemented a switch in Onboarding, and then again in DuckPlayer (because the DuckPlayer one was quite different). But now I need exactly the same as in Onboarding, so I’m takingn the time to make it re-usable.

NOTE: We’ve realised that we must not use globals for components we want to share - that’s why the refactored components works how it does. You must be able to configure the components where you use them, since some pages will have a mix of light+dark

Testing Steps

image

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

@netlify
Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit 99e501f
🔍 Latest deploy log https://app.netlify.com/sites/content-scope-scripts/deploys/6763f02e394c1400088e1f8a
😎 Deploy Preview https://deploy-preview-1339--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shakyShane
Copy link
Contributor Author

shakyShane commented Dec 19, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

github-actions bot commented Dec 19, 2024

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@github-actions
Copy link

github-actions bot commented Dec 19, 2024

[Beta] Generated file diff

Time updated: Thu, 19 Dec 2024 10:11:26 GMT

Integration
    - integration/pages/onboarding/dist/index.css
  • integration/pages/onboarding/dist/index.js

File has changed

Windows
    - windows/pages/onboarding/dist/index.css
  • windows/pages/onboarding/dist/index.js

File has changed

Apple
    - dist/pages/onboarding/dist/index.css
  • dist/pages/onboarding/dist/index.js

File has changed

@shakyShane shakyShane marked this pull request as ready for review December 19, 2024 10:10
@shakyShane shakyShane requested review from a team and mgurgel as code owners December 19, 2024 10:10
@shakyShane shakyShane mentioned this pull request Dec 19, 2024
14 tasks
Copy link
Contributor

@mgurgel mgurgel left a comment

Choose a reason for hiding this comment

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

🏆

@shakyShane shakyShane merged commit eaac9c4 into main Dec 19, 2024
25 checks passed
@shakyShane shakyShane deleted the 12-19-ntp_prep_a_re-usable_switch branch December 19, 2024 11:23
mallexxx pushed a commit that referenced this pull request Jul 17, 2025
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