Ghost/ghost/admin/app/templates
Kevin Ansfield c77c150745 Refactored facebook/twitter URL inputs
refs https://github.com/TryGhost/Ghost/issues/14101

Twitter/facebook URL validation doesn't follow our typical validation and was duplicated across multiple screens making the controllers unnecessarily complex.

- extracted url input fields and their validation into separate components
- uses tracked scratch values so that the input field values can reset to the saved value on save
  - twitter/facebook URL inputs are different to our other inputs because invalid values won't prevent saving, instead they are reset to their previous value on save
- added `this.validate()` call after a successful save in `settings` service so the service and underlying model validations are both in sync (fixes validation error sticking around after saving with invalid twitter/facebook values that have been reset)
2022-10-04 17:55:24 +01:00
..
editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Added new members CSV importer (#1797) 2020-12-10 01:02:31 +05:30
posts Moved analytics page to separate component 2022-09-29 12:41:16 +02:00
react-editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
settings Refactored facebook/twitter URL inputs 2022-10-04 17:55:24 +01:00
setup Updated the copy for All Done screen 2022-03-10 11:50:35 +00:00
application-error.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
application.hbs Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
dashboard.hbs Made the attribution widget show if you don't have paid tiers 2022-09-29 19:37:09 +02:00
designsandbox.hbs Added <GhPostBookmark> and displayed on publish flow complete step 2022-05-10 13:26:13 +01:00
editor.hbs Added back button from editor to analytics (#15493) 2022-09-29 14:34:01 +02:00
error.hbs Fixed 404 code alignment 2021-07-08 15:42:46 +02:00
explore.hbs Explore in dark mode 2022-08-18 15:50:28 +01:00
lexical-editor.hbs Switched delete snippet modal to new modal pattern (#15468) 2022-09-25 10:54:07 +01:00
lexicalsandbox.hbs Updated lexical sandbox page structure 2022-09-28 11:06:32 +07:00
member.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
members-activity.hbs Updated member activity page with new breadcrumb styles 2022-10-04 13:51:01 +07:00
members.hbs Improving the members page on mobile 2022-09-01 13:09:23 +01:00
offer.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
offers.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
pages-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
pages.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
posts-clicks.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
posts-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
posts.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
reset.hbs 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
settings.hbs Cleaned up auditLog flag 2022-09-13 12:28:21 +01:00
setup.hbs Fixed flash of failure state when submitting site setup and staff signup forms 2022-05-27 12:13:54 +01:00
signin.hbs Removed oauth experiment (#2390) 2022-05-16 17:37:00 +01:00
signup.hbs Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
site.hbs Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
tag.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
tags-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
tags.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
whatsnew.hbs Cleaned up auditLog flag 2022-09-13 12:28:21 +01:00