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

Allow for using CompleteOptionsToggle as more choices #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelfarrell76
Copy link
Member

Related Issues

by specifying data-more-choices="CompleteOptionsToggle" on the airgap script tag, you can change the view state clicked when clicking more choices

Screen.Recording.2024-12-11.at.8.24.45.PM.mov

@transcend-io/wario once we feel good about the name of the script tag parameter i can update airgap.js-types

@michaelfarrell76 michaelfarrell76 requested a review from a team December 12, 2024 04:27
Copy link

height bot commented Dec 12, 2024

This pull request has been linked to 1 task:

  • T-40396 Make it possible for the "more choices" link to go into CompleteOptionsToggles (unlink task)

💡Tip: Add "Close T-40396" to the pull request title or description, to a commit message, or in a comment to mark this task as "Pending Deploy" when the pull request is merged.

Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
consent-manager-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 4:27am

@@ -45,7 +45,7 @@ exports[`CompleteOptionsToggles matches snapshot 1`] = `
disabled=""
/><span class="switch switch-background"
><span class="switch switch-button"></span></span
>Essential purposes</label
>Essential</label
Copy link
Member Author

Choose a reason for hiding this comment

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

@csmccarthy not sure why this and yarn files updated

Copy link
Member

Choose a reason for hiding this comment

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

i think we just forgot to run the snapshot update when going through the message changes. a diff here is nothing to worry about bc these strings will never be shown to the end user since purpose messages will always be defined

Copy link
Member

@csmccarthy csmccarthy left a comment

Choose a reason for hiding this comment

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

lgtm aside from the type issues! as an aside i would love to not have to update airgap.js-types for things like this... we should probably transfer the ui to use the newer bundledData design and then have airgap implement a dumb passthrough for any data attributes prefixed with ui

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