Repository navigation
Update Sortium - #293
Update Sortium#293SalvadorCorreia wants to merge 2 commits into
Conversation
ricewind012
left a comment
There was a problem hiding this comment.
I just skimmed through the frontend, so there may be another one when I get the time for it.
- cache findModule* values so it doesn't get called on each context menu
- use {after,before,replace}Patch, I think you can most likely avoid cloneElement this way
- PLEASE do not patch Array.prototype.sort (and context menu stuff maybe?), there has to be a better way of doing this dude
I hope you wrote the architecture.md yourself, it's pretty cool. This has to be a crime btw wtf SalvadorCorreia/Sortium@7c10569
|
Haha fair enough, Cleaned all of that up now:
Also did a pass over the Lua backend while I was at it (added in-memory chunk caching so Appreciate the review!!! |
ricewind012
left a comment
There was a problem hiding this comment.
- in settings use the Field (with indentLevel prop), TextField and Toggle components
- in backend there is fs.join instead of concatenating strings with "/" in it, as that may cause issues on windows probably?
- lines 19-48 in frontend/utils/sorting.ts could probably be optimized? but IDK, not sure, it's not that important
- the dropdown gets injected in the "Storage" Steam settings tab, not sure if that's what you'd want
Sortium
Sortium v2.0.0 update. Advanced library sorting for the Steam client based on global completion metrics.
This major update migrates Sortium directly into Steam's native library UI, replacing the legacy custom overlay grid and capsules with native VDOM and prototype hooks. Users can now sort collections by HowLongToBeat and Steam Hunters metrics directly from Steam's native Sort By dropdown, group games into automatic native section shelves (e.g., Over 100 Hours, Over 90%), view metric badges on native game capsules, toggle ascending/descending order on both custom and built-in Steam sort options, and hide unwanted default Steam sort options from the settings menu.
Task Checklist
Developer
Plugin Functionality
Backend Configuration
Community Contribution
Testing Instructions