0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/apps/admin-x-settings/src
Jono M 48b90e4253
Improved modal save handling in Admin X (#18794)
refs https://github.com/TryGhost/Product/issues/4060

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 55149bc</samp>

Refactored various settings forms and modals in the admin app to use the
updated `useForm` hook, which simplifies the form state management,
validation, and saving logic. Improved the UI and UX of the modal ok
buttons by using the `okProps` object and the `saveState` from the hook.
Added options to save the forms without changes and to fake the saving
when unchanged. Fixed some bugs and removed unused code.
2023-10-30 17:57:19 +00:00
..
admin-x-ds Added Beta label to recommendations settings 2023-10-25 18:29:15 +01:00
api 🐛 Fixed bug preventing Casper from being activated from gallery (#18697) 2023-10-18 15:40:58 -07:00
assets Added Ghost favicon 2023-09-20 14:46:26 +01:00
components Improved modal save handling in Admin X (#18794) 2023-10-30 17:57:19 +00:00
hooks Improved modal save handling in Admin X (#18794) 2023-10-30 17:57:19 +00:00
styles AdminX Settings UX improvements (#18741) 2023-10-25 16:37:58 +02:00
unsplash Cleaned up Unsplash component in Admin (#18603) 2023-10-13 14:15:14 +07:00
utils Using browser local to display time format (#18734) 2023-10-24 13:27:13 +05:30
App.tsx AdminX Settings UX improvements (#18741) 2023-10-25 16:37:58 +02:00
index.tsx Moved Admin-X-Settings to apps/ folder 2023-06-23 14:37:39 +02:00
main.tsx Cleaned up Unsplash component in Admin (#18603) 2023-10-13 14:15:14 +07:00
MainContent.tsx AdminX Settings UX improvements (#18741) 2023-10-25 16:37:58 +02:00
typings.d.ts Updated timezone-data and color-utils to use built in type definitions (#18795) 2023-10-30 16:40:54 +00:00
vite-env.d.ts Moved Admin-X-Settings to apps/ folder 2023-06-23 14:37:39 +02:00