Commit Graph

256 Commits

Author SHA1 Message Date
Ümit Tunç 9d36cce513 Update template form schemas to eliminate fallback for default data: Modified the generateDynamicFields method calls in HeaderTemplateForm, FooterTemplateForm, and SectionTemplateForm to remove unnecessary fallback parameters, ensuring that the templates utilize their own default data directly. This change enhances clarity and consistency in template management. 2025-11-01 03:41:32 -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ç c5e09296a4 Enhance TemplateService for dynamic file handling: Updated generateDynamicFields method to include disk and directory specifications for file uploads. Added formatFileUrl method to standardize URL formatting for images and files, ensuring proper asset handling and improved template rendering accuracy. 2025-11-01 01:15:49 -03:00
Ümit Tunç 0ac4630695 Update SectionTemplateForm to adjust HTML content field styling: Changed minimum height from 400px to 200px and added horizontal overflow for improved usability in the form schema. 2025-11-01 01:05:31 -03:00
Ümit Tunç e7d6355b5c Refactor template preview button and loading indicators: Updated the template preview Blade view to replace the fullscreen editor button with a preview update button, enhancing user interaction. Improved loading indicators with a new play icon for better visual feedback during content processing. 2025-10-31 17:59:13 -03:00
Ümit Tunç 6ec04cfdde Add language support for HTML in template forms: Updated HeaderTemplateForm and SectionTemplateForm to include language specification for CodeEditor components. Introduced a method in TemplatePreviewService to convert relative asset paths to absolute URLs in HTML content, enhancing template rendering accuracy. 2025-10-31 17:24:13 -03:00
Ümit Tunç 8d7b3f0914 Implement fullscreen editor for template preview: Added a fullscreen editing feature with collapsible editor functionality and improved loading indicators. Enhanced the template preview Blade view for better user interaction and experience during content editing and previewing. 2025-10-31 17:14:21 -03:00
Ümit Tunç 6f12dda0d9 Enhance template preview functionality: Added a loading button for manual preview updates, improved loading indicators, and removed automatic content updates to streamline user interaction. Updated the template preview Blade view for better user feedback during content processing. 2025-10-31 17:06:25 -03:00
Ümit Tunç 8d6d0b52b9 Refactor template preview components: Moved preview component placement after the CodeEditor in footer, header, and section template forms for improved user experience. Enhanced loading indicators in the template preview Blade view for better feedback during content processing. 2025-10-31 17:01:27 -03:00
Ümit Tunç 52c4ba1b19 Add template preview functionality: Introduced TemplatePreviewController and TemplatePreviewService for rendering dynamic previews of header, footer, and section templates. Updated form schemas to include preview components and enhanced real-time content updates. Added configuration for template assets and integrated preview functionality into the admin panel. 2025-10-31 16:48:36 -03:00
Ümit Tunç 67d8b4c781 Update site layout scripts: Replaced optional theme JS comment with inclusion of plugins.js and theme.js for improved functionality and design consistency. 2025-10-31 15:54:47 -03:00
Ümit Tunç e3ecd9078a Add stylesheets for enhanced layout: Included additional CSS files for fonts and plugins in the site layout to improve visual presentation and user experience. 2025-10-31 15:53:42 -03:00
Ümit Tunç 02e4f46694 Implement dynamic template rendering and page observer: Enhanced PageController to support dynamic header and footer templates, utilizing TemplateService for placeholder replacement. Introduced PageObserver to manage homepage status across pages. Updated routes for improved debugging and dynamic homepage display. Refactored views to accommodate new templating system. 2025-10-31 15:49:29 -03:00
Ümit Tunç 2380e9cc39 Update localization for footer, header, and section templates: Changed navigation labels to be more concise by removing "Templates" from the labels, enhancing clarity and consistency across the application. 2025-10-31 15:21:53 -03:00
Ümit Tunç b766415b0d Remove line numbers from CodeEditor fields in footer, header, and section templates, as well as in the TemplateService and documentation, to streamline the user interface and improve readability. 2025-10-31 14:56:56 -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ç 0615bbecb1 Revamp Navbar Structure and Design: Replaced the existing navbar with a new responsive design featuring dropdown menus for demos, pages, projects, and documentation. Enhanced user experience with improved navigation and accessibility, while maintaining localization support for menu items. 2025-10-30 16:02:32 -03:00
Ümit Tunç 4a98a6d8f0 Add sections and data fields to Page model, create migration for sections column, and implement PageSeeder for initial page data: Enhanced the Page model with new fields for sections and data, added a migration to include a JSON column for sections in the pages table, and created a PageSeeder to populate the database with example pages including structured sections for content management. 2025-10-30 15:55:32 -03:00
Ümit Tunç 05eb3bf34a Update SettingsTable to conditionally display group column: Re-enabled the group column with visibility control based on the active tab, while maintaining localization support for the column labels. 2025-10-30 15:30:46 -03:00
Ümit Tunç 75ea4e9618 Remove unused getTabsContentComponent method from ListSettings page: Streamlined the code by eliminating the method that managed tab content dynamically, as it was no longer necessary for the current implementation. 2025-10-30 15:30:46 -03:00
Ümit Tunç 03318e8fd5 Comment out group column in SettingsTable: Temporarily disabled the group column display in the settings table to streamline the interface while maintaining localization support for active status. 2025-10-30 15:30:46 -03:00
Ümit Tunç e626436e4f Add max content width for ListSettings page: Implemented getMaxContentWidth method to set the maximum content width to full, enhancing the layout and responsiveness of the settings page. 2025-10-30 15:30:46 -03:00
Ümit Tunç 9b8ad68b0e Implement dynamic tab content for ListSettings page: Added getTabsContentComponent method to manage tab content dynamically, enhancing the tab functionality and improving user experience in settings navigation. 2025-10-30 15:30:46 -03:00
Ümit Tunç 11d9895a8d Update cursor rules for Filament 4.x: Refined tab usage guidelines, clarified namespace imports, and emphasized the distinction between resource list page tabs and form/schema tabs. Added critical notes on incorrect usage of Tab components and provided examples for proper implementation. 2025-10-30 15:30:46 -03:00
Ümit Tunç 58e1d55881 Refactor ListSettings page to implement tabbed navigation: Removed custom Blade view and integrated tab functionality for settings groups. Enhanced group filtering and localization support for settings display. 2025-10-30 15:30:46 -03:00
Ümit Tunç 3669e17119 Add DatabaseSeeder and enhance settings management: Created DatabaseSeeder to seed initial data, including a test user. Updated ListSettings page to support group filtering and added new settings groups in localization files. Enhanced SettingForm and SettingsTable to accommodate new group options and improved UI for settings management. 2025-10-30 15:30:46 -03:00
Ümit Tunç 1791108b1e Add Blocks Usage Documentation: Created a comprehensive guide for the block-based page creation system, detailing the available blocks, their usage, and customization options. Included example data and instructions for integrating blocks into the admin panel. 2025-10-30 15:28:57 -03:00
Truncgil Technology 714c7c871d Merge pull request #11 from truncgil/app-setting-seeders
App setting seeders
2025-10-30 21:28:11 +03:00
Ümit Tunç 3b238d23cc Add Team Block Component: Created a new Blade component for displaying team members, including support for section titles, subtitles, member details, and social links. Implemented responsive design using Tailwind CSS. 2025-10-30 15:26:23 -03:00
Ümit Tunç 08e07a9e63 Add Blog functionality: Created BlogController with index and show methods, added blog views, and integrated localization for meta tags. Updated routes to include blog paths. 2025-10-30 15:26:11 -03:00
Truncgil Technology 61dfb4125c Merge pull request #10 from truncgil/template
Template
2025-10-30 21:25:18 +03:00
Ümit Tunç 1cd55f4a1d Add new HTML templates and CSS styles: Introduced multiple HTML pages including demo templates, a README file, and a comprehensive Tailwind CSS stylesheet. Enhanced the overall design and structure of the web application. 2025-10-30 14:39:47 -03:00
Ümit Tunç e3ed4438e0 Add new HTML pages and CSS styles: Introduced multiple HTML templates including 404, about, blog, and career pages, along with a new Tailwind CSS stylesheet for styling. Enhanced the overall structure and design of the web application. 2025-10-30 14:39:14 -03:00
Ümit Tunç 139afa8105 add html pages 2025-10-30 14:39:12 -03:00
Ümit Tunç f8e63a7720 add assets 2025-10-30 14:39:00 -03:00
Ümit Tunç 22a955a79e Update SettingsTable to conditionally display group column: Re-enabled the group column with visibility control based on the active tab, while maintaining localization support for the column labels. 2025-10-29 17:51:14 -03:00
Ümit Tunç a30f3ce86a Remove unused getTabsContentComponent method from ListSettings page: Streamlined the code by eliminating the method that managed tab content dynamically, as it was no longer necessary for the current implementation. 2025-10-29 17:34:02 -03:00
Ümit Tunç 50fff6332b Comment out group column in SettingsTable: Temporarily disabled the group column display in the settings table to streamline the interface while maintaining localization support for active status. 2025-10-29 17:28:39 -03:00
Ümit Tunç 307a94d6fd Add max content width for ListSettings page: Implemented getMaxContentWidth method to set the maximum content width to full, enhancing the layout and responsiveness of the settings page. 2025-10-29 17:12:06 -03:00
Ümit Tunç 50b998b9d3 Implement dynamic tab content for ListSettings page: Added getTabsContentComponent method to manage tab content dynamically, enhancing the tab functionality and improving user experience in settings navigation. 2025-10-29 17:10:05 -03:00
Ümit Tunç e704146df9 Update cursor rules for Filament 4.x: Refined tab usage guidelines, clarified namespace imports, and emphasized the distinction between resource list page tabs and form/schema tabs. Added critical notes on incorrect usage of Tab components and provided examples for proper implementation. 2025-10-29 17:06:12 -03:00
Ümit Tunç edf8949a6a Refactor ListSettings page to implement tabbed navigation: Removed custom Blade view and integrated tab functionality for settings groups. Enhanced group filtering and localization support for settings display. 2025-10-29 17:02:43 -03:00