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

fix: removes dasherize from variable used for attributes #1893

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

pixelflips
Copy link
Member

@pixelflips pixelflips commented May 31, 2024

Description

Name and ID attributes are being converted into dash-case. This is causing issues when devs expect these values to use underscores.

This is an attempt to address the issue, but I am not fully aware of the ramifications. We will need testing and QE help.

Screenshots

No visual changes are expected.

Testing in sage-lib

Verify when passing an ID with underscores that the underscores remain.

Testing in kajabi-products

  1. (LOW) Removes automatic conversion of name and id attributes in selects.

Related

https://kajabi.atlassian.net/browse/DSS-628

@pixelflips pixelflips force-pushed the fix/pl-select-dasherize-removal branch from ec8ebd2 to 20a91b9 Compare May 31, 2024 17:17
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

@pixelflips pixelflips marked this pull request as ready for review May 31, 2024 18:16
@pixelflips pixelflips requested a review from a team May 31, 2024 18:19
@pixelflips pixelflips merged commit 08c78cd into develop Jun 5, 2024
6 checks passed
@pixelflips pixelflips deleted the fix/pl-select-dasherize-removal branch June 5, 2024 19:41
@pixelflips pixelflips mentioned this pull request Jun 5, 2024
1 task
ju-Skinner pushed a commit that referenced this pull request Jun 7, 2024
* fix: removes dasherize from variable used for attributes (#1893)

* chore: update browserslist dependency

* fix: removes dasherize variable used for attributes

* fix: remove update

* fix: adjust id conditional

* Sage: Integrate Pine into icons (#1890)

* chore: update browserslist dependency

* feat: add pine icons to sage

* feat(icon): work pine-icon into sage-icon

* feat(icon): add pds-icon to both rails and react components

* feat: convert rails button icons to pine

* fix: correct icon z-index

* revert: scripts in manager-head

* feat: convert rails icon to pine

* fix: add expandable card styles for pds-icon

* feat(alert): convert rails icon to pine

* fix(avatar): add styles for pds-icon

* feat(badge): convert rails icon to pine

* feat(banner): convert rails icon to pine

* feat(breadcrumbs): convert rails icon to pine

* feat(choice): convert rails icon to pine

* feat(copytext): convert rails icon to pine

* fix(button): add icon for disclosure btn

* fix(expandablecard): adjust icon spacing

* feat(iconcard): convert rails icon to pine

* fix: correct missing icons

* feat(forminput): convert rails icon to pine

* fix(formsection): correct missing icons

* feat(formselect): convert rails icon to pine

* fix(formselect): add message icon

* feat(textarea): convert rails icon to pine

* fix(hint): correct icon alignment

* feat(link): convert rails icon to pine

* fix: linting errors

* ci: add step to configure authToken for NPM

* test(react-icon): comment out aria-lable test

* feat(navlink): convert rails icon to pine

* feat(pageheading): convert help link icon to pine

* docs(icon): convert icons to pine

* feat(dropdownitem): convert rails icon to pine

* feat(search): convert rails icon to pine

* feat(statusicon): convert rails icon to pine

* feat(sortable): convert rails icon to pine

* feat(label): convert rails icon to pine

* feat(tab): convert rails icon to pine

* fix(tabs): correct icon name typo

* fix(search): correct toolbar alignment

* fix(catalogitem): fix missing icon

* fix: various icon bug fixes

* fix(docs): correct home icon

* fix(pagination): removes sage icon dependency

* feat(toast): convert rails icon to pine

* fix: correct linting errors

* fix: remove commented code

* fix(checkbox): convert check icon to svg

* fix(hero): convert play icon to svg

* fix(select): update icon-base to include pine

* fix: update icon-base to include pine

* fix: removes pine-ds/icons as dependency

* fix(button): convert classes to tokens

* feat(button-react): convert icons to pine

* feat(badge-react): convert icons to pine

* fix(button-react): convert icon classes to function

* fix: correct linter error

* fix(choice): update alignments and convert icons

* feat(copytext-react): convert icons to pine

* feat(link-react): convert icons to pine

* feat(link-react): convert icons to pine

* style: correct missing semicolon

* docs(panel): add icons to preview

* fix(badge): change to self closing

* feat(toast-react): convert icons to pine

* feat(search): convert icons to pine

* docs(search): add disabled search preview

* fix(icon): adjust text alignment variant

* fix: correct linting errors

* fix(iconcard): fix sizing and styling issue

* fix: search styling adjustments

* fix(tag): styling fixes

* fix(button): correct type

* style: lint fixes

* fix: rename icon

* fix: correct style syntax

* docs: provide additional info in preview-head

* feat(property): convert icons to pine

* docs: correct icon names

* docs: remove legacy instructions

* fix: update pds-icon version

* feat(banner): add pine icons

* fix: correct linting errors

* chore: update pine-ds/icons to v7.0.1

---------

Co-authored-by: Julian Skinner <[email protected]>
Co-authored-by: Phillip Lovelace <[email protected]>

---------

Co-authored-by: Monica Wheeler <[email protected]>
Co-authored-by: Julian Skinner <[email protected]>
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.

3 participants