8 Commits

Author SHA1 Message Date
b895cdc922
Mod Listing Page - Default Value Method
Small refactor to use a method to fetch the default value for SPT Version filters.
2024-10-07 09:54:39 -06:00
75b8be1e1e
Mod Filter Page - Per Page Option - Validate Value
This change validates the input of the per page option so that it has to be one of the provided options. If an option does not match a provided option, it's set to the closest available option. For example, manually setting it to 100000 in the URL param will have it automatically set to the largest option, 50, while manually setting it to 1 will change it to 6, the smallest option.

Also made some small language adjustments to get everything to fit a little nicer in the mobile views.
2024-10-07 09:53:30 -06:00
53e3fd36da Merge pull request 'Add Results Per Page Dropdown to Mods Index Page' (#55) from waffle.lord/forge:impl/results-per-page into listing-per-page
Reviewed-on: SPT/forge#55
2024-10-07 03:59:46 +00:00
348e7aa532
Saves Filter Data in Session
Adds back in the Session attribute. Apparently if you add it first, before the Url attribute, you can alter the variables in the URL and the changes will stick around.
2024-10-06 20:19:48 -06:00
4ea50fb0ef add initial dropdown
still need to handle size constraints
2024-09-26 16:22:27 -04:00
2cca45bcea
Removes Array Definition Docblock Information
Part of moving back to PHPStan level 5 means we can remove some of these. They're very busy and don't give enough context to outweigh the ugly.
2024-09-17 13:30:11 -04:00
45a211b66d
Listing Query & Relationship Clean-up
Rebuilt the filtering queries and many of the mod-to-modVersion-to-sptVersion relationships.

Resolves #38
2024-09-15 23:05:38 -04:00
d1b142c2ee
Reworked Mod Listing
Updates the mod listing components to be a little more friendly.
2024-09-13 00:08:00 -04:00