-
Notifications
You must be signed in to change notification settings - Fork 321
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 CharacterCount component to receive i18n config via JS #2887
Commits on Oct 11, 2022
-
Refactor character count message generation
Introduce a function focused on formatting the message to help with testing
Configuration menu - View commit details
-
Copy full SHA for ed82784 - Browse repository at this point
Copy the full SHA ed82784View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcd3ec1 - Browse repository at this point
Copy the full SHA fcd3ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e8e2d1 - Browse repository at this point
Copy the full SHA 9e8e2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0400810 - Browse repository at this point
Copy the full SHA 0400810View commit details -
Add tests for formatting of numbers in CharacterCount
Provided by the I18n object
Configuration menu - View commit details
-
Copy full SHA for 71b7a3b - Browse repository at this point
Copy the full SHA 71b7a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88fcbc3 - Browse repository at this point
Copy the full SHA 88fcbc3View commit details -
Default character count locale to closest 'lang' attribute
Commit is a bit bulky for what sounds a simple thing, but it's mostly behind the scene logistics: - extracting the helper for creating dom elements in its own file - introducing a function to get the value of an attribute from the closest parent with it
Configuration menu - View commit details
-
Copy full SHA for 66d8a1b - Browse repository at this point
Copy the full SHA 66d8a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74d3b94 - Browse repository at this point
Copy the full SHA 74d3b94View commit details -
Rewrite test checking the closestAttributeValue reads up the DOM tree
Make the HTML structure more apparent than creating a series of elements manually
Configuration menu - View commit details
-
Copy full SHA for 5fe3fc5 - Browse repository at this point
Copy the full SHA 5fe3fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 152c562 - Browse repository at this point
Copy the full SHA 152c562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d6bc2 - Browse repository at this point
Copy the full SHA 10d6bc2View commit details -
Revert translation string for when limit is met
Updates the testing to use the JavaScript configuration
Configuration menu - View commit details
-
Copy full SHA for a2a4934 - Browse repository at this point
Copy the full SHA a2a4934View commit details -
Waiting for further discussion about abstraction in #2894
Configuration menu - View commit details
-
Copy full SHA for 4dcdeae - Browse repository at this point
Copy the full SHA 4dcdeaeView commit details -
Fix out of sync values in JSDoc
Co-authored-by: Colin Rotherham <work@colinr.com>
Configuration menu - View commit details
-
Copy full SHA for a5ed606 - Browse repository at this point
Copy the full SHA a5ed606View commit details