docbrown/app/views/users
Ridhwana 8060f78893
Dynamically update the brand colors (#15432)
* 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>
2021-11-23 09:46:17 +02:00
..
_account.html.erb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
_account_providers_emails.html.erb Settings padding on mobile (#11183) 2020-10-30 17:26:41 +01:00
_account_providers_settings.html.erb Display all authentication providers in mailer footer (#9961) 2020-08-24 21:02:05 +02:00
_account_set_password.html.erb [15-minute fix] Update password reset wording (#14125) 2021-07-05 09:33:51 +07:00
_additional_authentication.html.erb Take Apple Authentication out of Beta (#12114) 2021-08-03 15:04:00 -06:00
_badges_area.html.erb views/badges etc i18n (#15021) 2021-10-20 09:36:30 -06:00
_billing.html.erb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
_comments_section.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00
_customization.html.erb Theme data update script, remove theme choices from UI (#15225) 2021-11-08 08:38:43 -05:00
_editor_selector.html.erb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
_errors.html.erb crayons-notice accessibility improvements (#13273) 2021-04-14 13:32:57 +01:00
_experience_selector.html.erb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
_extensions.html.erb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
_font_selector.html.erb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
_github_repositories_area.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00
_integrations.html.erb Fixing gap property for all occurrences of flex to work in Safari (#12667) 2021-02-17 11:40:38 +01:00
_integrations_github_repositories.html.erb Remove GitHub repositories when GitHub identity is removed (#11951) 2020-12-20 15:15:40 +01:00
_liquid.html.erb Accessible names for follow buttons (#14389) 2021-09-07 16:09:06 +01:00
_main_feed.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00
_meta.html.erb views/stories, views/layouts and other homepage i18n (#15083) 2021-11-10 07:38:43 -06:00
_metadata.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00
_navbar_selector.html.erb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
_notifications.html.erb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
_org_admin.html.erb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
_org_guest.html.erb Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
_org_member.html.erb [15 minute fix] Fix accessibility concerns in settings UI (#13813) 2021-05-24 14:50:24 -05:00
_org_non_member.html.erb [15 minute fix] Fix accessibility concerns in settings UI (#13813) 2021-05-24 14:50:24 -05:00
_organization.html.erb Update call to action box text styling (#6795) 2020-03-24 10:49:37 +01:00
_profile.html.erb Remove chars-count from user fields; fix inconsistent loading (#15309) 2021-11-09 08:27:18 -05:00
_publishing_from_rss.html.erb Consolidate and internationalize various 'contact us' prompts (#14951) 2021-10-07 12:05:21 -04:00
_response_templates.html.erb Fixing gap property for all occurrences of flex to work in Safari (#12667) 2021-02-17 11:40:38 +01:00
_sidebar.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00
_theme_selector.html.erb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
confirm_destroy.html.erb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
edit.html.erb Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
index.json.jbuilder Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
show.html.erb Dynamically update the brand colors (#15432) 2021-11-23 09:46:17 +02:00
signout_confirm.html.erb I18nize users (non-settings) & logo designer (#15078) 2021-10-27 17:11:28 -04:00