Skip to content

Fix adding USD subscriptions when USD is not the default currency - #129

Open
zbrox wants to merge 1 commit into
bscott:mainfrom
zbrox:fix/currency-change
Open

Fix adding USD subscriptions when USD is not the default currency#129
zbrox wants to merge 1 commit into
bscott:mainfrom
zbrox:fix/currency-change

Conversation

@zbrox

@zbrox zbrox commented Jul 18, 2026

Copy link
Copy Markdown

Hey,

I experienced this issue when trying to add subscriptions which are predominantly in SEK. But I have a few in USD.

When opening the add new subscription modal the dropdown for currency was still showing USD and the prefix for the cost input was however "kr" (the symbol for SEK). Selecting a different currency in the dropdown did not change the prefix.

Furthermore when leaving it as USD it would still add the subscription as the default currency.

This PR fixes the issue.

@bscott

bscott commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Almost done reviewing this

@bscott bscott left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. New subscription forms now use the preferred currency, edit forms preserve the subscription's original currency, and the visible cost symbol stays synchronized with the selection. The handler and template coverage is useful rather than incidental. GitHub CI passes; I also ran the new Chromium flow successfully and ran go test ./..., go vet ./..., and go build ./... with the other ready v0.6.5 candidates. Ready to stage.

@bscott bscott self-assigned this Aug 21, 2026
@bscott

bscott commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Approved and queued — this merges right after the v0.6.5 release ships, and then #131 rebases on top of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants