Feature/add revision structure to analyze between current and previous versions issue 334#344
Merged
oguzhanbukcuoglu merged 17 commits intofeature/add-cms-modulefrom Apr 2, 2026
Conversation
…nt isDraft method
… restoration, and preview functionalities
…nsive tests for Revision and HasRevisions traits
- Included 'revisions', 'restoreUrl', and 'previewUrl' in the form data response for enhanced revision handling capabilities.
…n restoration and preview functionality
…on restoration functionality
…views - Introduced `createPreviewComponent` function to generate Vue components for module previews based on field definitions. - Added `FaqPreview.vue` as a specific implementation of the preview component for FAQs.
… and managing revisions
…ew functionality - Added support for displaying and restoring revisions through new dialog components. - Integrated `RevisionsList` for managing revisions within the form.
… methods for revision management - Changed `getRevisionModel` method from protected to public for broader access. - Introduced `getFormFieldsRevisionsTrait` method to manipulate form fields based on the object and schema. - Added `getRevisions` method to retrieve revisions for a specific model instance.
… revision functionalities - Implemented methods for showing views, listing revisions, and restoring revisions. - Integrated logic for handling active languages and preview views based on module names. - Enhanced response structure for restoring revisions with success messages and form fields.
…solete restoreRevision method - Added ManagePreview trait to enhance preview functionalities. - Removed the restoreRevision method to streamline the controller's responsibilities.
…ling - Created the RevisionHydrate class to manage input hydration for revision-related functionalities. - Defined default requirements and implemented the hydrate method to manipulate input schema structure. - Added endpoints for restoring revisions, showing views, and listing revisions based on the route name.
…ement - Introduced 'restoreRevision', 'showView', and 'listRevisions' to the Module class. - Updated RouteServiceProvider to handle new routes for 'showView' and 'listRevisions', enhancing revision management capabilities.
…evisions - Added a new Revision component to encapsulate the display logic for each revision, including author initials, date formatting, and a restore button. - Updated RevisionsList component to utilize the new Revision component, improving code organization and readability.
…ture-to-analyze-between-current-and-previous-versions-issue-334
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Types of changes
Description
Related Issue