Commit Graph

34 Commits

Author SHA1 Message Date
Ümit Tunç a85e6eebe0 Implement Product and ProductCategory Resources: Created new Filament resources for managing products and product categories, including pages for listing, creating, and editing. Added schemas for forms and tables, integrated translation support, and established relationships between products and categories. Enhanced the navigation structure to include product and service links in the frontend menu, improving overall site organization and user experience. 2025-12-30 22:16:45 +03:00
Ümit Tunç 605f0d158f Refactor Blog and Page Controllers: Updated BlogController and PageController to utilize the new Blog model and integrated dynamic header and footer templates. Removed the DatabaseSeeder file as it is no longer needed. Enhanced the TemplateService to support dynamic content rendering for both blog and page templates, improving the overall template management system. 2025-11-06 16:49:02 -03:00
Ümit Tunç 920502c5d3 Enhance placeholder functionality: Updated TemplateService to support 'setting' placeholders, allowing dynamic retrieval of settings values. Modified the placeholder picker to include setting types and added localization for new placeholder types in both English and Turkish. Improved site layout by integrating settings for favicon and custom CSS. 2025-11-05 17:18:02 -03:00
Ümit Tunç 9248df9a99 Update placeholder picker component: Added support for special placeholders in the placeholder picker, enhancing the user experience by allowing easier insertion of predefined placeholders. Removed the dedicated section for special placeholders to streamline the interface. 2025-11-05 11:09:14 -03:00
Ümit Tunç d72ce2434a Enhance template placeholder functionality: Updated the TemplateService to support new placeholders for page content, title, and excerpt. Modified related components and views to utilize these placeholders, improving dynamic content rendering. Added special placeholder buttons in the placeholder picker for easier insertion. 2025-11-05 10:24:43 -03:00
Ümit Tunç f1b1f6e266 Add locale management middleware: Introduced SetLocale middleware to handle language settings based on user session and available languages. Updated app bootstrap to include the middleware, ensuring proper localization support throughout the application. Enhanced language selector component for improved user experience. 2025-11-04 15:40:53 -03:00
Ümit Tunç 8a99a36ee9 Enhance placeholder parsing functionality: Updated the TemplateService to support both dot and kebab-case formats for placeholders in HTML content. Improved regex patterns for parsing placeholders and custom blade components, ensuring better flexibility in template customization. 2025-11-04 15:38:15 -03:00
Ümit Tunç 45534be05e Add language switch functionality: Implemented a new route for switching languages, allowing users to change the application language dynamically. Introduced a language selector component in the navbar for improved user experience, ensuring proper localization support. Updated the switch_language helper function to streamline locale management. 2025-11-04 15:28:24 -03:00
Ümit Tunç 7da35f79bb Update menu component localization: Enhanced the menu blade template to utilize the translation feature for item titles, ensuring proper localization support for both English and Turkish languages. This change improves the user experience by dynamically displaying translated titles when available. 2025-11-04 15:24:13 -03:00
Ümit Tunç 9dd1bde863 Enhance placeholder picker functionality: Added support for custom placeholders in the placeholder picker component, allowing dynamic loading of custom blade files. Updated localization for both English and Turkish languages to include new placeholder types, improving user experience and flexibility in template customization. 2025-11-04 12:08:31 -03:00
Ümit Tunç 01ef804c03 Add custom menu and navbar components: Introduced a new menu component to dynamically render menu items from the Pages model, including nested children. Added a social media navbar component for enhanced user engagement. Implemented an offcanvas footer for additional contact information and social links, improving overall site navigation and accessibility. 2025-11-04 11:48:24 -03:00
Ümit Tunç ae7d85fc88 Enhance placeholder picker component: Updated the placeholder picker to improve usability by adding drag-and-drop functionality for placeholder insertion. Adjusted the styling of the placeholder list for better visibility and user experience. 2025-11-04 11:39:16 -03:00
Ümit Tunç 6060fe1b23 Add template save event handling and update preview functionality: Implemented afterSave method in Footer, Header, Menu, and Section templates to dispatch a 'template-saved' event for Livewire. Updated template preview components to listen for this event, ensuring previews are refreshed after template modifications. Enhanced viewData method in template forms for better record ID handling. 2025-11-04 06:10:35 -03:00
Ümit Tunç f9730a64f7 Add User Guide functionality: Created UserGuide page and GuideService to manage and display user guides. Implemented localization for user guide labels and integrated a search feature for easy navigation. Added markdown support for guide content and established a structured layout for guide selection and display. 2025-11-03 17:08:15 -03:00
Ümit Tunç 6a5e26638c Add placeholder picker component to template forms: Integrated a new placeholder picker component in Footer, Header, Menu, and Section template forms to enhance user experience by allowing easy insertion of placeholder variables. Updated the TemplateService to support custom blade components and added localization for the new placeholder picker functionality. 2025-11-03 16:30:50 -03:00
Ümit Tunç 5b14260622 Add data transformation for default_data fields in template forms: Implemented mutateFormDataBeforeSave method in Create and Edit pages for Footer, Header, and Section templates to properly format nested default_data fields into an array structure before saving. This enhancement improves data handling and ensures consistency across template forms. 2025-11-03 16:16:06 -03:00
Ümit Tunç 4a2a66c55c Add Menu Template functionality: Created MenuTemplate resource with CRUD pages, schemas, and table configuration. Implemented localization for menu template fields and integrated menu rendering capabilities. Enhanced TemplatePreviewController to support menu templates and updated dynamic template documentation accordingly. 2025-11-03 15:43:47 -03:00
Ümit Tunç 9629652d0a Refactor template preview data handling in Footer, Header, and Section templates: Updated the viewData method in FooterTemplateForm, HeaderTemplateForm, and SectionTemplateForm schemas to use a closure for dynamic record ID retrieval. Enhanced the template-preview Blade component to accept the record ID, improving data handling and ensuring accurate template previews based on the current record context. 2025-11-03 03:15:31 -03:00
Ümit Tunç 4718535fda Update view component usage in template forms: Replaced extraAttributes with viewData method in HeaderTemplateForm, FooterTemplateForm, and SectionTemplateForm schemas to align with Filament 4.x standards. Enhanced the template-preview Blade component to utilize local variables for type and field name, improving data handling and consistency. 2025-11-01 15:52:22 -03:00
Ümit Tunç 78d3bce584 Refactor TemplatePreviewController to support template content retrieval by ID: Updated the preview method to accept a record ID for fetching template content from the database. Introduced a private method to handle content retrieval for header, footer, and section templates. Enhanced error handling for empty content scenarios, improving the overall robustness of the template preview functionality. 2025-11-01 15:31:53 -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ç 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ç 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ç 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ç 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
Ü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
Ümit Tunç fa136f4948 Remove unnecessary blank lines in PageController, footer, and navigation Blade templates for cleaner code structure. 2025-10-03 13:01:37 -03:00
Ümit Tunç 736f9c536d Add initial website setup: Created essential files including package-lock.json, setup documentation, and foundational Blade templates. Implemented PageController for homepage and page display, integrated navigation and footer components, and established dark mode functionality. Enhanced CSS for custom scrollbar and smooth scrolling. Added SVG logos for branding. Updated routes for page handling. 2025-10-01 02:21:31 -03:00