Commit Graph

35 Commits

Author SHA1 Message Date
Muhammet Güler bda19b4b0f feat: add Partners and Bank Accounts pages via Pages module 2026-02-10 19:02:23 +03:00
Muhammet Güler b289cfd829 feat: re-enable image editor and aspect ratios for blog and page settings 2026-02-09 15:18:59 +03:00
Muhammet Güler 177ebff119 feat: Add Logos page, refactor Testimonials to RelationManager, and improve designs 2026-02-08 04:54:32 +03:00
Ümit Tunç 12441517f6 Add Custom Header and Footer Blade Selection: Implemented options for selecting custom Blade files for header and footer templates in the Page settings. Enhanced the PageController to render these templates dynamically, improving modularity and user experience. Updated relevant views to support this new functionality, ensuring better localization and flexibility in template management. 2026-01-01 10:54:38 +03:00
Ümit Tunç b1cd5492c1 Add draft functionality for page management: Implemented a new bulk action to move selected pages to draft status in the PagesTable. Added corresponding localization keys for English and Turkish languages to enhance user experience. 2025-11-05 10:14:37 -03:00
Ümit Tunç 91922ac6bf Add bulk actions for page management: Implemented duplicate and publish functionalities in the PagesTable, allowing users to duplicate selected pages and publish them in bulk. Added corresponding localization keys for English and Turkish languages to enhance user experience. 2025-11-05 09:39:02 -03:00
Ümit Tunç 114a8c047c Refactor PagesTable: Removed the featured image column and replaced it with a text column for the title. This change simplifies the table structure and enhances the overall layout by focusing on essential information. 2025-11-04 15:16:27 -03:00
Ümit Tunç 38850c7e32 Refactor featured image display in PagesTable: Replaced the existing image column with a text column that conditionally displays either the featured image or a default SVG icon. Enhanced the HTML rendering for better visual representation and alignment in the table. 2025-11-04 15:16:05 -03:00
Ümit Tunç 49bff7f2a7 Enhance item label handling in SectionTemplatesSection: Updated the itemLabel method to dynamically retrieve the title of the associated SectionTemplate based on the section_template_id. This improvement ensures accurate labeling in the Repeater component, enhancing user experience and clarity in the form structure. 2025-11-01 17:53:55 -03:00
Ümit Tunç ca47484d65 Update PageForm schema to comment out SectionBuilderSection: Temporarily disable SectionBuilderSection in the PageForm schema for further evaluation. Adjusted existingData retrieval to utilize null-safe operator for improved data handling. 2025-11-01 17:43:08 -03:00
Ümit Tunç 875ea270cd Refactor PageForm schema to modular sections: Introduced dedicated classes for each section (Content, Page Settings, SEO, Section Builder, Header Template, Section Templates, Footer Template, Translations) to enhance maintainability and organization. Each section now encapsulates its own schema, improving clarity and separation of concerns in the form structure. 2025-11-01 17:39:08 -03:00
Ü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ç d1dc8dfe78 Refactor default data handling in PageForm schema: Implemented a recursive function to flatten nested arrays for default data assignment in both section and footer data fields. This enhancement ensures accurate population of fields by checking existing values, improving data consistency and usability in the form. 2025-11-01 04:15:10 -03:00
Ümit Tunç dbce745eb6 Enhance default data handling in PageForm schema: Introduced a recursive function to flatten nested arrays for default data assignment, ensuring proper population of header data fields. This improvement streamlines the logic for filling in default values, enhancing form usability and data consistency. 2025-11-01 04:13:42 -03:00
Ümit Tunç 2a4b8bed42 Fix default value assignment in PageForm schema: Updated logic to ensure that when the default value is an array, the first element is used for header data assignment. This change improves data handling and consistency in form population. 2025-11-01 04:01:00 -03:00
Ümit Tunç 4c516453d6 Add default data population for template selection in PageForm: Implemented afterStateUpdated callbacks for HeaderTemplate, SectionTemplate, and FooterTemplate fields to automatically fill in default values when a template is selected. This enhancement improves user experience by ensuring that relevant fields are pre-populated with appropriate data, streamlining the form completion process. 2025-11-01 03:51:20 -03:00
Ümit Tunç 4d4cbfc7ed Refactor TemplateService and page form schemas for improved data handling: Updated generateDynamicFields method to accept default data as a separate parameter, allowing for better fallback logic. Adjusted page form schemas to pass existing and default data separately, enhancing template management and usability. 2025-11-01 03:41:24 -03:00
Ümit Tunç 5946bbed88 Refactor template form schemas to streamline data handling: Removed redundant afterStateUpdated callbacks for header, section, and footer templates. Enhanced data merging logic to prioritize existing data over defaults, improving template management and usability. Updated localization support for dynamic fields in both English and Turkish. 2025-11-01 03:31:16 -03:00
Ümit Tunç 0d23c20f85 Implement default data functionality for templates: Added 'default_data' field to HeaderTemplate, FooterTemplate, and SectionTemplate models. Enhanced TemplateService to generate dynamic fields based on this new data. Updated form schemas in template forms to include sections for default values, improving template management and usability. Added localization support for new fields in both English and Turkish. 2025-11-01 02:01:07 -03:00
Ümit Tunç c042cb5114 Add dynamic template system: Implemented header, footer, and section templates with corresponding models, migrations, and Filament resources. Enhanced Page model to support dynamic templates and updated localization files for new terms. Added TemplateService for managing template data and rendering. Comprehensive documentation included for usage and best practices. 2025-10-31 14:53:34 -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ç d0a7cd3ef1 Refactor PageForm schema: Removed commented-out minHeight and placeholder properties for HTML and JSON fields in the PageForm schema, streamlining the code and improving readability. 2025-10-30 17:10:23 -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ç 22b39d94a9 Add Page Section Builder functionality: Introduced a new section builder for dynamic page sections in the Filament Admin panel, allowing users to add various section types with flexible key-value data management. Enhanced the Page model with methods for parsed sections and section data retrieval. Updated localization files to support new section-related terms and added comprehensive documentation for usage and best practices. 2025-10-30 16:28:50 -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ç 79a1f5b746 Add Blog module to Citrus Platform: Created Blog resource with CRUD pages, schemas, and models. Implemented localization for English and Turkish, ensuring consistent user experience. Added migrations for blog categories, posts, and comments, including soft delete functionality. Enhanced table and form structures for better organization and usability. 2025-09-29 10:20:40 -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ç 3520861dab Update navigation icon in PageResource for improved clarity: Changed icon from 'OutlinedRectangleStack' to 'OutlinedDocumentText' to better represent page content. 2025-09-27 14:50:03 -03:00
Ümit Tunç c91976b4e9 Refactor PageForm schema in Filament admin panel: Restructured form layout into sections for better organization, including 'İçerik', 'Sayfa Ayarları', and 'SEO Ayarları'. Updated components to enhance user experience and maintainability. 2025-09-27 14:29:58 -03:00
Ümit Tunç ee68472eab Refactor featured image handling in Page model and update PagesTable: Renamed 'featured_image' to 'featured_image_url' in PagesTable for clarity. Added a new accessor method in the Page model to generate the URL for the featured image. 2025-09-27 14:19:48 -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