426 Commits

Author SHA1 Message Date
da706636a8
Dep Updates 2024-08-22 17:10:44 -04:00
db578071e4
SPT Semvar & Automatic Resolution
This update gives mod versions a supported SPT version field that accepts a semantic version. The latest supported SPT version will be automatically resolved based on the semvar.

Next up: I need to update the ModVersion to SptVersion relationship to be a many-to-many and expand the resolution to resolve multiple versions.
2024-08-22 17:04:07 -04:00
d1bfdf5424
Merge branch 'mod-listing-page' into develop 2024-08-16 00:15:02 -04:00
e3d1e74901
Featured Ribbon
Adds a featured ribbon to featured mods so that they can be visually distinct within the listing.
2024-08-16 00:11:47 -04:00
189275fb0c
Saves Filters to Local Storage
The filters on the mod listing page are now also saved to the browser's local storage system. This means you can set a bunch of filters and a sort order, browse away (or close the browser), and the next time you visit the page the site will remember the filters that you had set.
2024-08-15 23:45:17 -04:00
41714f337f
Filter Count
A count of the number of filters currently applied is now displayed.
2024-08-15 23:05:48 -04:00
6b889d1d01
Container Background
Adds a page container background, like the homepage.
2024-08-15 22:52:32 -04:00
7fe1fad01b
Mod Listing Page Changes
- Updated visual look of the listing to include all filters at the top of the page
- Updated SPT version filter to be able to filter more than one version at a time (defaults to current minor version)
- Moved location of Livewire components into subfolder
- Moved query building methods for the listing into a `ModFilter` class
- Adds a `isLatestMinor` method on the SptVersion model that checks if the current version number is of the latest minor version release
- Livewire filter properties are now saved to the URL when changed
- Updated the top navigation link to include a "Mods" menu item.

TODO:
- Search codebase for "TODO". I've left notes. :|
2024-08-15 17:57:35 -04:00
411514148b Merge pull request 'setup mod index page' (#20) from waffle.lord/forge:impl/mod-listing-page into mod-listing-page
Reviewed-on: SPT/forge#20
2024-08-13 13:50:41 +00:00
cc8accfb5a handle mobile and light theme 2024-08-12 14:42:28 -04:00
cc3cdddce3 display filtered spt version 2024-08-12 11:20:03 -04:00
5dade5dfcf update mod card 2024-08-10 14:18:56 -04:00
651979ccea Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-10 14:15:11 -04:00
a679cec98d wire up spt version filter
this isn't working correctly from what I can tell, but it's a start.
2024-08-10 14:04:00 -04:00
45506f4808
Merge branch 'develop' 2024-08-09 23:23:44 -04:00
d511d0c546
Version Scope Null Check
Checks for the existence of a version scope on the homepage mods lists.
2024-08-09 23:23:17 -04:00
1e8a55fdcd
Merge branch 'develop' 2024-08-09 23:13:52 -04:00
3d5697e04b
Mod Teaser Updates
- Updates the import script to import the full mod teaser text, up to 255 characters.
- Updates mod detail page to show teaser in the main detail card.
- Updates mod listing component to show the first 100 characters of the teaser.
- Adjusts padding on the mod listing component.

Resolves #22
2024-08-09 15:22:42 -04:00
593b44150c
Resolves Mod Detail Page Version Issue
The latest version on the mod detail page was being selected by created date instead of highest version number. This has been resolved. Also adds a test for this issue.
2024-08-09 12:35:46 -04:00
5c02d237e3 add featured section filter 2024-08-09 11:45:53 -04:00
f3cedfbb0f update mod card 2024-08-09 11:31:11 -04:00
c1e73dc73b Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-09 11:31:00 -04:00
9244d48713 wire up search and section filters 2024-08-09 11:21:46 -04:00
7acdee1b6c switch to using livewire 2024-08-09 10:15:05 -04:00
713ea7e076
Download Number Macro
Adds a `Number:downloads()` macro to format the number of downloads depending on how many there are. Example: 1259000 is converted into 1.25M, 125900 is converted into 125.9K.

Updated the views to use this macro. Also included a title tag with the exact number so they can be viewed on hover.
2024-08-09 00:35:18 -04:00
3aefae4bb8
Resolves Mod Dependancy Display Error
Fixes a display error when a mod dependancy is created, but can not be resolved into an actual available version.
2024-08-09 00:11:32 -04:00
40884ae1c4
Mobile Download Button Location
Moves the mobile download button to above the tabs.

Resolves #23
2024-08-08 23:54:43 -04:00
d247b8cbe6
Resolves CSS Link/Container Issue
This resolves an issue with the mod cards where the anchor tag was larger than the containing div on smaller breakpoints.

Resolves #21
2024-08-08 23:46:24 -04:00
0978aa14b9
Adds Social Links
Social links to our Discord server and our Subreddit have been added to the footer.

Resolves #30
2024-08-08 23:19:23 -04:00
ecc2d1ca1a
Mod Detail Page Main Card
Cleans up the main card on the mod detail page to make the SPT version more in-sync with the rest of the site.

Resolves #28
2024-08-08 23:02:48 -04:00
23a9cabf99
Implements API Sorting
You can now sort mod and user data by whitelisted attributes.
2024-08-08 18:18:05 -04:00
3a334033fe
API Updates
Brings the API in close sync to the rest of the site.
- Adds resources for License, UserRole, and ModVersion models
- Adds filtering on attribute data
- The `includes` data is now disabled by default and available conditionally
2024-08-08 16:11:50 -04:00
1d174ab8b3 layout WIP 2024-08-08 15:50:50 -04:00
65e416e4d9
Merge branch 'user-profiles' into develop 2024-08-08 14:01:29 -04:00
0ed25fec03
User API Updates
Adds user profile links to the user API resource.
Fixes structure of relationship data and link sections.
Adds parameter to include related user data when requesting mod data.
2024-08-07 23:30:09 -04:00
c2f1eed35c
Adds link to profile in user navigation. 2024-08-07 17:04:02 -04:00
35cd00e39d
Adds Cover Photo Field
Adds the cover photo field to the Jetstream edit profile form.
2024-08-07 16:23:55 -04:00
b868b5a75c setup mod index pagination 2024-08-07 14:33:11 -04:00
aa61c63bd1 create mod card component 2024-08-07 14:32:37 -04:00
a05b5499de revert mod.index on list section
I have no idea how this was changed, but it breaks stuff
2024-08-05 10:10:00 -04:00
632799cb44 Merge remote-tracking branch 'upstream/develop' into impl/mod-listing-page 2024-08-05 09:31:20 -04:00
55273e5a90
Hub Imports of User Avatars and Cover Photos
TODO: Cover photos need to be added to the profile page so users can edit them.
2024-08-03 17:36:33 -04:00
11453db596
Model Comments, Yay! 2024-08-03 17:36:33 -04:00
0e3d32c4d5
Start of Profile Page
Profile photo is linked up, cover photo is not. Both profile and cover photos need to be migrated over from the hub. That's next.
2024-08-03 17:34:41 -04:00
115f81fe96
Basic structure to load user profile view 2024-08-03 17:34:41 -04:00
2680e21325
Import Script - Temp Table Charset/Collation
Sets the charset to `utf8mb4` and the collation to `utf8mb4_0900_ai_ci` when the temporary tables are created in the import script. Prevents conversion errors when the MySQL defaults are not set to match the expected charset and collation.
2024-08-03 12:06:01 -04:00
5d6dcd4a2c setup mod index page 2024-08-02 12:23:05 -04:00
c6fcca6063
Merge branch 'mod-dependencies' into develop 2024-08-01 17:20:54 -04:00
b46dbf58b7
Updates Deps 2024-08-01 17:16:28 -04:00
c6f252ace7
Mod Version Dependency Updates
- Handles circular mod version dependencies
- Optimizes mod show query to only pull the versions relationship
- Adds a mod dependency factory
- Refactored tests to use mod dependency factory
- Adds mod dependency generation into the default seeder
- Adds unique index on mod dependencies table
- Adds mod dependencies on the mod show view
2024-08-01 17:15:02 -04:00