Commit Graph

10 Commits

Author SHA1 Message Date
Ümit Tunç af0d7964ca Enhance translation handling in EditPage and TranslationTabs: Implemented eager loading for translations to optimize performance and avoid N+1 query issues. Updated the EditPage mount method to load translations, and modified the fillFromRecord method in TranslationTabs to utilize eager-loaded translations. Disabled old format conversion in mutateFormDataBeforeFill to prevent memory exhaustion with nested arrays, ensuring data integrity while maintaining original format. 2025-11-01 16:40:20 -03:00
Ümit Tunç 5fb74384ce Refactor MenuTree page and PagesMenuWidget: Removed the view property from MenuTree, updated header widget method to footer widget method, and eliminated the menu-tree Blade view file. Enhanced tree title handling in PagesMenuWidget by introducing a dedicated method for retrieving the title using localization. 2025-11-01 16:27:35 -03:00
Ümit Tunç ad20ba575a Add Menu Tree functionality and integrate Filament Tree plugin: Introduced a new MenuTree page for managing page structures, added PagesMenuWidget for displaying a tree layout of pages, and updated localization files for menu-related actions. Enhanced Page model with tree management capabilities and included necessary CSS and JS files for the Filament Tree plugin. 2025-11-01 16:13:59 -03:00
Ümit Tunç 0f78292c46 Implement auto-save feature and sticky header in EditPage: Added auto-save functionality with silent notifications for successful saves, enhancing user experience. Introduced a new Blade view for sticky header and footer, ensuring accessibility of actions during editing. Updated custom block rendering to support markdown formatting. 2025-10-30 17:38:17 -03:00
Ümit Tunç d5458ec0e3 Refactor EditPage class: Updated getRedirectUrl method to return null for staying on the same page, enhancing user experience. Added new custom Blade view for rendering dynamic data blocks, improving flexibility in content management. 2025-10-30 17:21:39 -03:00
Ümit Tunç 128adb7a9c Implement sticky header actions in edit pages: Added save and cancel actions with localization support to the header of EditBlog, EditCustomer, EditLanguage, EditPage, EditSetting pages. Introduced a new Blade view for sticky actions, enhancing user experience by keeping action buttons accessible during form editing. 2025-10-30 17:09:06 -03:00
Ümit Tunç 8a58e63259 Enhance Page Edit functionality: Implemented conversion of old format sections to a new structured format in the EditPage class, allowing for better data management. Updated PageForm schema to conditionally hydrate fields based on their type, improving the user experience and ensuring proper data handling for various input types. 2025-10-30 16:48:30 -03:00
Ümit Tunç 97a6ad2372 Implement Translation Tabs Component: Added TranslationTabs component for managing translations in Blog and Page resources. Integrated translation fields into forms, ensuring localization support for titles, content, and metadata. Updated existing pages to save and load translations, enhancing the universal translation system. Added relevant localization keys for English and Turkish. 2025-10-01 04:43:27 -03:00
Ümit Tunç 26401cdb91 Add localization support for Pages in Filament admin panel: Introduced language files for English and Turkish, added translation methods for page titles and notifications in Create, Edit, and List pages, enhancing user experience and accessibility. 2025-09-27 14:52:55 -03:00
Ümit Tunç d54601cb6b Add Page resource to Filament admin panel: Implemented Page model, resource, and associated pages (create, edit, list). Defined page form schema and table configuration. Added migration for pages table. 2025-09-27 14:03:03 -03:00