Stk 2 - refactor Album page: 1 component for display, one for actions #3048
+1,470
−998
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.
Big refactoring getting rid of the photo page and instead displaying a Photo overlay on top of the Album/Search.
Also reduce the number of results in the search.
This pull request includes changes to improve the handling of album IDs, reduce the search pagination limit, and update multiple language files by removing the "searching" text.
Key changes:
Improvements to album handling:
app/Http/Controllers/VueController.php
: Modified theview
function to handle album IDs more effectively by checking if thealbumId
is not 'all'.Database migration:
database/migrations/2025_03_01_154728_search_pagination_limit_reduction.php
: Added a migration to reduce the search pagination limit from 1000 to 300 to reduce the load on the front-end.Language file updates:
lang/cz/gallery.php
,lang/de/gallery.php
,lang/el/gallery.php
,lang/en/gallery.php
,lang/es/gallery.php
,lang/fr/gallery.php
,lang/hu/gallery.php
,lang/it/gallery.php
,lang/ja/gallery.php
,lang/nl/gallery.php
,lang/no/gallery.php
,lang/pl/gallery.php
,lang/pt/gallery.php
,lang/ru/gallery.php
,lang/sk/gallery.php
,lang/sv/gallery.php
,lang/vi/gallery.php
,lang/zh_CN/gallery.php
: Removed the "searching" text from the search section in multiple language files. [1] [2]