You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: update dependencies and improve type definitions
- Updated various dependencies in package.json to their latest versions for better performance and security.
- Removed the `readOnlyWriteOnlyBehavior` option from the OpenAPI TypeScript configuration.
- Enhanced type definitions in sdk.gen.ts and types.gen.ts to support new blog and comment features, including CRUD operations for blogs and tags.
* feat: enhance admin functionality with comments and CMS features
- Added new menu items for Comments and CMS in the admin panel.
- Updated AdminIndex to utilize ApplicationConfigurationDto for improved type safety.
- Enhanced API request handling with error logging and timeout management.
- Introduced new query constants for comments and pages.
- Improved app configuration hook to handle undefined responses gracefully.
- Expanded granted policies to include CRUD operations for comments and pages.
* feat: enhance admin navigation and CMS management
- Added support for nested submenus in AdminMenus for improved navigation.
- Updated the CMS page layout to utilize cards for better content management.
- Removed the deprecated Comments page component.
- Enhanced the mobile and desktop side navigation bars to handle submenu expansion and active states.
* feat: implement comprehensive admin dashboard with user and system information
- Redesigned AdminIndex to display a modern admin dashboard featuring user profile details, system status, and quick action buttons.
- Introduced user profile card with authentication status, email verification, and role management.
- Added system information cards for multi-tenancy status, current tenant details, and session information.
- Enhanced layout with responsive design and improved user experience through card components and badges.
* feat: enhance side navigation with submenu toggle functionality
- Added onClick handler to links in both mobile and desktop side navigation bars to toggle submenus when applicable.
- Improved user experience by ensuring submenu expansion is handled correctly based on the current state.
* feat: enhance CMS page creation and editing experience
- Introduced a rich text editor for content input with HTML support and keyboard shortcuts for formatting.
- Implemented auto-slug generation based on the page title.
- Added draft saving functionality to localStorage with alerts for unsaved changes.
- Enhanced form validation and error handling for better user feedback.
- Redesigned the layout to include tabs for content, advanced settings, and preview, improving user navigation and experience.
* feat: add menu management features to admin panel
- Introduced new menu item for managing menu items in the admin navigation.
- Added query constants for fetching menu items and individual menu items, enhancing data retrieval capabilities.
* feat: enhance page management with new view functionality and prose styling
- Added a new view action in the PageList component for navigating to individual page views.
- Introduced prose styling in globals.css for improved content presentation across pages.
- Updated the usePages hook to include a new method for fetching pages by slug, enhancing data retrieval capabilities.
* feat: enhance comment functionality and page view component
- Removed unused policy checks in AddComment component for cleaner code.
- Improved error handling in AddComment to provide user feedback on comment creation.
- Updated PageView component to include comments section and added documentation for custom styles and scripts.
- Introduced new query constant for fetching public comments, enhancing data retrieval capabilities.
* feat: update client types and enhance form handling
- Refactored client types to improve type safety by replacing readable/writable types with unified types across components.
- Updated form handling in various components to utilize new input types, enhancing consistency and reducing errors.
- Improved error handling in hooks to allow for undefined responses, ensuring better resilience in data fetching.
- Enhanced comment and page management components to align with updated type definitions, improving overall functionality.
* feat: refactor permission handling across CMS components
- Replaced hardcoded permission strings with a centralized Permissions enum for better maintainability and consistency.
- Updated various components including page, menu, and comment management to utilize the new Permissions structure.
- Enhanced user experience by ensuring proper permission checks for actions like creating, updating, and deleting pages and menus.
- Improved code readability and reduced duplication by standardizing permission checks across the application.
* docs: Enhance documentation with comprehensive guides and improvements
Co-authored-by: antosubash <antosubash@live.com>
* Add comprehensive documentation for authentication, admin interface, and deployment
Co-authored-by: antosubash <antosubash@live.com>
* Add comprehensive CRUD tutorial for product management with auth
Co-authored-by: antosubash <antosubash@live.com>
* CMS page working
puck working
wip: puck
Refactor CMS page builder and add Puck error suppression
Replaces the HTML/Puck tabbed editor with a full-screen Puck visual editor, introduces quick-add component actions, and ensures all content blocks have unique IDs. Adds a WelcomeBlock component and integrates global and local error suppression for React key warnings from Puck. Updates Puck config, styles for a full-screen editor experience, and refactors editor components for improved reliability and UX.
Refactor Puck editor components and enhance content handling
This update replaces the existing Puck editor with a more robust version that includes a fallback mechanism for rendering. It improves the handling of Puck data by ensuring all components have unique keys and supports nested components through a new Slots API. The configuration has been updated to include new components like Flexbox, Grid, and TemplateBlock, enhancing layout flexibility. Additionally, error suppression for Puck-related warnings has been refined, improving the overall user experience in the CMS page builder.
Enhance PuckEditorFallback with improved error handling and data processing
This update introduces robust error handling in the PuckEditorFallback component, allowing for better management of various data formats, including JSON and HTML. It adds state management for error messages and integrates error feedback during component operations such as adding, removing, and updating components. The overall user experience is improved by providing clear error messages and ensuring that the editor remains functional even when data processing encounters issues.
Enhance EditPage component with improved data handling and user experience
This update refines the EditPage component by implementing better data fetching and error handling mechanisms. It introduces forced refetching of page data on mount and invalidates cache to ensure fresh data is loaded. Additionally, it enhances the user interface with loading indicators and retry options for failed data loads. The content handling has been improved to support both JSON and HTML formats, ensuring compatibility with the Puck editor. Debug logging has been added for better traceability during development.
Refactor Puck editor components and remove deprecated files
This update refines the Puck editor by replacing the PuckEditorFallback with a more robust PuckEditor that features a modular layout using resizable panels. It enhances the user experience with improved error handling, loading states, and a clear structure for component management. Additionally, deprecated files related to previous editor versions have been removed to streamline the codebase. The README has been updated to reflect the new architecture and features, ensuring clarity for future development.
Refactor Puck editor and enhance data validation
This update refines the Puck editor by introducing a new data validation mechanism to ensure the integrity of Puck data structures. It replaces deprecated components and improves error handling during data processing. The editor now features a more modular layout with custom header actions, enhancing user experience. Additionally, the default content structure for new pages has been streamlined, and loading states have been improved for better feedback during operations.
Enhance EditPage and CreatePage components with improved content handling and loading states
This update introduces a new state management for form loading in the EditPage component, ensuring a smoother user experience during data fetching. It enhances content processing by refining how JSON and HTML formats are handled, including better default content structures. Additionally, the CreatePage component has been updated to improve logging and error handling during form submissions. The PuckEditor has also been optimized for immediate data updates without debouncing, enhancing responsiveness during content editing.
Refactor EditPage and CreatePage components for improved content handling and UI consistency
This update enhances the EditPage and CreatePage components by refining content processing and ensuring a consistent user interface. It introduces better handling of Puck data structures, including default content setups and improved error logging. The layout has been streamlined for better readability, and loading states have been optimized for a smoother user experience during data operations. Additionally, the PuckEditor has been updated to ensure proper data structure validation and immediate updates during content changes.
clean up
Refactor EditPage component to streamline data fetching and cache management. Removed unnecessary refetching logic and improved cache invalidation on successful updates. Updated usePage hook to enhance data freshness and logging.
Remove PageViewPage component and update navigation in PageList to reflect new URL structure.
Enhance PageViewPage with improved error handling and user experience
- Refactored PageViewPage to include better loading states and error handling for various scenarios, including connection errors and page not found.
- Introduced a retry mechanism for failed data fetching attempts, enhancing user experience during network issues.
- Added an ErrorBoundary component to gracefully handle rendering errors and provide user feedback.
- Updated the AddComment component to improve submission handling and error messaging, ensuring a smoother commenting experience.
- Enhanced PageComments component with better error display and retry options for loading comments.
- Improved hooks for data fetching to ensure valid responses and added retry logic for better resilience.
* Refactor EditPage and CreatePage components to improve content handling and remove debug logging
This update enhances the EditPage and CreatePage components by streamlining content processing and ensuring a consistent user interface. It removes unnecessary debug logging to clean up the codebase and improve performance. Additionally, it refines how Puck data structures are handled, ensuring better default content setups and improved error handling during form submissions.
* Enhance Puck configuration and editor components with new block support and improved UI
This update expands the Puck configuration to include additional components such as ButtonBlock, ContainerBlock, and others, enhancing layout flexibility. The PuckEditor has been redesigned with a new header for better branding and user experience, incorporating a publish button with status indicators. Error handling has been improved, and the overall UI has been refined for a more cohesive editing experience. Additionally, the utility functions have been updated to validate new block types, ensuring robust data handling.
* Refactor AdminIndex and CMS page components for improved data handling and error management
This update enhances the AdminIndex component by adding fallback data for application configuration and improving date formatting with error handling. The EditPage and CreatePage components have been streamlined by removing the publish state, optimizing content submission, and enhancing user feedback during form operations. Additionally, various Puck components have been updated to ensure text properties are always strings, improving robustness and user experience across the application.
* Enhance admin layout and page components with forced dynamic rendering
This update introduces forced dynamic rendering for the admin layout and page components to support server-side features and cookie handling. Additionally, it refines the Puck component structure by ensuring that items are conditionally rendered, improving robustness. Default item values in ContainerBlock, FlexBlock, and GridBlock have been updated to undefined for better handling of empty states.
* Refactor PuckEditor component by removing the custom header and associated publish functionality. Simplify imports and enhance layout structure for improved readability and maintainability. This update streamlines the editor's design while retaining core functionality.
* Enhance Hero component with new preset configurations and improved styling options. This update introduces multiple preset styles for background and button configurations, along with enhanced animation support. Additionally, the HeroFields and HeroDefaults have been updated to reflect these changes, providing a more flexible and visually appealing user experience.
* Enhance CardBlock component with Tailwind CSS styling and improved layout features. This update introduces dynamic alignment, padding, and border radius classes, along with enhanced visual effects for titles, descriptions, and buttons. The overall user experience is improved with subtle animations and a more cohesive design, ensuring a modern and responsive interface.
* Enhance EditPage component with a new "View Page" button for quick access to the published page. This update improves user experience by allowing admins to easily preview the page in a new tab. Additionally, the GridBlock component has been refactored to utilize Tailwind CSS for styling, enhancing layout flexibility and visual appeal with responsive design features and improved spacing management.
* Add custom scrollbar utility and integrate GalleryBlock into Puck configuration
This update introduces a new utility class for hiding scrollbars in the global CSS, enhancing the visual aesthetics of components. Additionally, the GalleryBlock has been added to the Puck configuration, allowing for improved media handling and layout flexibility. The utility functions have also been updated to validate the new block type, ensuring robust data management.
* feat: enhance navigation and layout components
- Updated PublicMenus to include new items: 'Getting Started', 'Components', and 'Documentation'.
- Refactored Home component to provide a comprehensive landing page with sections for features, getting started, and call-to-action.
- Improved SideNavBar and TopNavBar for better user experience, including submenu handling and quick action buttons.
- Enhanced PublicLayout to streamline the main content area and footer.
- Added responsive design improvements and updated icon usage across navigation components.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
0 commit comments