]> BookStack Code Mirror - bookstack/commit
Sorting: Renamed sort set to sort rule
authorDan Brown <redacted>
Tue, 11 Feb 2025 14:36:25 +0000 (14:36 +0000)
committerDan Brown <redacted>
Tue, 11 Feb 2025 14:36:25 +0000 (14:36 +0000)
commitb9306a9029f41f3779b755d08c907a2edafc33df
tree4d323ee9f897f83a6022fb3e05c1256ced9cfab7
parenta208c46b628505cfdd5caf5294a248560c485f50
Sorting: Renamed sort set to sort rule

Renamed based on feedback from Tim and Script on Discord.
Also fixed flaky test
30 files changed:
app/Activity/ActivityType.php
app/Console/Commands/AssignSortSetCommand.php
app/Entities/Models/Book.php
app/Entities/Repos/BookRepo.php
app/Sorting/BookSortController.php
app/Sorting/BookSorter.php
app/Sorting/SortRule.php [moved from app/Sorting/SortSet.php with 77% similarity]
app/Sorting/SortRuleController.php [moved from app/Sorting/SortSetController.php with 51% similarity]
app/Sorting/SortRuleOperation.php [moved from app/Sorting/SortSetOperation.php with 74% similarity]
database/factories/Entities/Models/BookFactory.php
database/factories/Sorting/SortRuleFactory.php [moved from database/factories/Sorting/SortSetFactory.php with 70% similarity]
database/migrations/2025_01_29_180933_create_sort_rules_table.php [moved from database/migrations/2025_01_29_180933_create_sort_sets_table.php with 82% similarity]
database/migrations/2025_02_05_150842_add_sort_rule_id_to_books.php [moved from database/migrations/2025_02_05_150842_add_sort_set_id_to_books.php with 79% similarity]
lang/en/entities.php
lang/en/settings.php
resources/js/components/index.ts
resources/js/components/sort-rule-manager.ts [moved from resources/js/components/sort-set-manager.ts with 93% similarity]
resources/views/books/parts/sort-box.blade.php
resources/views/books/sort.blade.php
resources/views/settings/categories/sorting.blade.php
resources/views/settings/sort-rules/create.blade.php [moved from resources/views/settings/sort-sets/create.blade.php with 70% similarity]
resources/views/settings/sort-rules/edit.blade.php [moved from resources/views/settings/sort-sets/edit.blade.php with 83% similarity]
resources/views/settings/sort-rules/parts/form.blade.php [moved from resources/views/settings/sort-sets/parts/form.blade.php with 53% similarity]
resources/views/settings/sort-rules/parts/operation.blade.php [moved from resources/views/settings/sort-sets/parts/operation.blade.php with 100% similarity]
resources/views/settings/sort-rules/parts/sort-rule-list-item.blade.php [moved from resources/views/settings/sort-sets/parts/sort-set-list-item.blade.php with 52% similarity]
routes/web.php
tests/Commands/AssignSortSetCommandTest.php
tests/Entity/PageTest.php
tests/Sorting/BookSortTest.php
tests/Sorting/SortRuleTest.php [moved from tests/Sorting/SortSetTest.php with 58% similarity]