Fixes page: add Recent sub-tab with newly published fixes feed - #20
Open
deadpoolook wants to merge 1 commit into
Open
Fixes page: add Recent sub-tab with newly published fixes feed#20deadpoolook wants to merge 1 commit into
deadpoolook wants to merge 1 commit into
Conversation
Owner
|
Can you add some screenshots of what this looks like please |
Author
Author
AE COMO FICOU |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Summary
Adds a Recent sub-tab to the Fixes page, showing the most recently published Denuvo fixes across all games (a "what's new" feed), alongside the existing Games grid.
The feed reads the public
denuvo_fixestable directly from PostgREST (anon key, same pattern asGetStandardUsageAsyncreadinguser_downloads), embedding each fix's game name/header image and tags in a single bounded query (order=created_at.desc&limit=25). There's no/api/denuvo"recent" endpoint, so no backend change is needed.What's included
FixesView.xaml: new Games | Recent tab bar; the recent feed panel (loading ring, empty/error state, card list with cover, game name, "New" badge for fixes published within the last 3 days, description); search + tag pills + pager are gated to Games mode only.FixesViewModel.cs:FixesPageenum,ShowGames/ShowRecent/OpenRecentFixcommands,RecentFixescollection +RecentFixVm,LoadRecentAsync(warm-started on page load, reloaded on Refresh), loading/empty/error state.LuaToolsApiClient.cs:GetRecentDenuvoFixesAsync(limit, ct)— bounded anon PostgREST read with embedded joins; returnsnullon failure.FixModels.cs:DenuvoRecentFix,DenuvoRecentGame,DenuvoRecentFixTag.Fixes_Tab_Games,Fixes_Tab_Recent,Fixes_New,Fixes_Recent_Empty,Fixes_Recent_Err_Load) added toStrings.resx/Strings.Designer.csand translated in all 29 language files. Since every key is now translated,PENDING_TRANSLATIONincheck-i18n.pyis left empty (unchanged from upstream).Verification
python scripts/check-i18n.py→i18n check OK: 29 language files, 465 keys each, XML valid, placeholders consistent.dotnet build LuaToolsGui.sln→ 0 warnings, 0 errors.dotnet test→ 207/207 passing.db.lua.toolsand opens a game's fix view on click.