* Added alias for app/javascript/controllers * Added hooks for Stimulus controller. * Fixed eslint issue with @controllers alias. * Initial working logo preview. * Added explicit accept values for png and svg files only for a logo. * Fixed content layout shift issue and resize to max height 80px. * Cleaned up logo preview resizing. * Added focus style to Upload logo label. * Now the logo preview image has empty alt text as it's visual only. * Fixed position of upload logo button. * Removed tooltip for logo. * Fixed check to load client-side controller. * Put back tooltip, minus the aria-describedby * Fixed E2E tests I broke. * Made the logo preview visible to the accessibility tree. * feat: update the brand colors on the page when we select a new one * feat: update the radio button_tags to use crayons-radio * feat: remove the fill attributes in the svg * Added support for JPG image upload. * Fixed height adjustment when width exceeds max preview width. * feat: add form-background class with an accent * feat: update the briightness accent on the page * Fixed JS error if user cancelled file selection for a logo. * Added the @routes webpack alias for routes.js.erb. * Fixed data tooltip for assistive technologies. * Fixed preview logo alignment with upload logo button. * remove required as it's not doing anything * feat: update the code brigtness code * Opting to not show friendly error message if route fails to load. * Fixed validation message not appearing for logo. * Revert "Added the @routes webpack alias for routes.js.erb." This reverts commit 3b6621dcde541f2fa05df6ff75af38955842b88e. * Reverted to default styling of input[type="file"]. * Moved creator_settings_controller to admin/controllers. * Updated E2E test for logo preview on the creator settings page. * create tests for the brand color updates * feat: update the description * Update cypress/integration/creatorOnboardingFlows/creatorSettings.spec.js Co-authored-by: Nick Taylor <nick@iamdeveloper.com> * Update app/javascript/admin/controllers/creator_settings_controller.js Co-authored-by: Suzanne Aitchison <suzanne@forem.com> * feat: do not update branding if an invalid color is provided * feat: move the brightness code to its own accent calculator file in js utilities * test: brightness ratios * chore: remove whitespace Co-authored-by: Nick Taylor <nick@dev.to> Co-authored-by: Nick Taylor <nick@iamdeveloper.com> Co-authored-by: Suzanne Aitchison <suzanne@forem.com> |
||
|---|---|---|
| .. | ||
| color | ||
| dragAndDrop.test.js | ||
| getUserDataAndCsrfToken.test.js | ||
| moderation.test.js | ||
| pasteImage.test.js | ||
| search.test.js | ||
| textAreaUtils.test.js | ||
| timeAgo.test.js | ||