Stk 1 - Refactor Album page into 2 components: display - actions #3045
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.
This pull request introduces several significant changes to the gallery module, focusing on improving the user interface and state management. The most important changes include the addition of a new album panel template, updates to the sensitive content warning component, and enhancements to the modal state management.
User Interface Improvements:
resources/js/components/gallery/albumModule/AlbumPanel.vue
: Added a new album panel template to improve the layout and interaction of album components.resources/js/components/gallery/albumModule/SensitiveWarning.vue
: Updated the sensitive content warning to include a consent mechanism. [1] [2]State Management Enhancements:
resources/js/composables/modalsTriggers/galleryModals.ts
: Refactored modal visibility state management to usestoreToRefs
for better reactivity and state management. [1] [2]resources/js/stores/ModalsState.ts
: Added new state properties for modal visibility and selection indices to theTogglablesStateStore
.Code Simplification:
resources/js/components/headers/AlbumHeader.vue
: Simplified import statements and variable names for consistency. [1] [2] [3]resources/js/composables/album/albumRefresher.ts
: Removed unused variables and streamlined the album refresher function. [1] [2] [3] [4]