Skip to content

Let users redeem Companion promo codes in Macro Deck - #1140

Merged
manuelmayer-dev merged 1 commit into
mainfrom
feature/redeem-companion-promo-codes-in-desktop-app
Oct 1, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
feature/redeem-companion-promo-codes-in-desktop-app

Conversation

@manuelmayer-dev

Copy link
Copy Markdown
Member

Summary

A signed-in user can now redeem a Companion promo code from the License card in the desktop app. The host posts the code to the Platform with the account token and stores the returned license, and every result in the Platform contract has a localized message.

Testing

Full solution build with warnings as errors, the full .NET suites and the Angular suite pass, with new tests for the Platform call mapping, the license service, the endpoint and the dialog. Verified in a browser against a running host: opening the dialog, a rejected code shown in red, and a redeemed code that stores a license with the Promo code source. Two failures in the full .NET run are unrelated: the Plugin.Cli build test, which also fails locally on main, and one load-dependent plugin contract test that passes when run alone. Syncing the license to a second computer was not verified, see Notes.

Notes

Reading or storing the account license with a desktop token is still refused by the Platform (403), so a license does not yet sync to other computers; Macro-Deck-Platform#84 tracks that. Macro-Deck-2-app.md lists no source values, so only ADR 0087 records promo-code.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added feature New feature or request area:host Host: Domain, Application, Infrastructure area:desktop-ui The Angular desktop UI area:runtime Shared UI runtime consumed by both clients area:localization Translations and localization catalogs area:docs The published developer documentation site labels Oct 1, 2026
@manuelmayer-dev
manuelmayer-dev merged commit b44b4b9 into main Oct 1, 2026
17 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the feature/redeem-companion-promo-codes-in-desktop-app branch October 1, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:desktop-ui The Angular desktop UI area:docs The published developer documentation site area:host Host: Domain, Application, Infrastructure area:localization Translations and localization catalogs area:runtime Shared UI runtime consumed by both clients feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant