mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
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. |
||
---|---|---|
.. | ||
admin-x-ds | ||
api | ||
assets | ||
components | ||
hooks | ||
styles | ||
unsplash | ||
utils | ||
App.tsx | ||
index.tsx | ||
main.tsx | ||
MainContent.tsx | ||
typings.d.ts | ||
vite-env.d.ts |