Repository navigation
Let users redeem Companion promo codes in Macro Deck - #1140
Merged
manuelmayer-dev merged 1 commit intoOct 1, 2026
Merged
Conversation
manuelmayer-dev
deleted the
feature/redeem-companion-promo-codes-in-desktop-app
branch
October 1, 2026 15:09
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
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