Skip to content

Alpha being merged rn#155

Merged
sh1ftred merged 88 commits into
mainfrom
alpha
Jan 25, 2026
Merged

Alpha being merged rn#155
sh1ftred merged 88 commits into
mainfrom
alpha

Conversation

@sh1ftred

Copy link
Copy Markdown
Contributor

No description provided.

sh1ftred and others added 30 commits December 24, 2025 10:23
sh1ftred and others added 29 commits January 17, 2026 06:44
* feat: add payment processing loading indicator

* fix: change loading text to 'Processing payment...'
* fix: prevent API key refund during top-up

Fixed a bug where API keys were being refunded when topping up balance.
The condition check for reusing stored tokens has been corrected to only
reuse when the reuseToken flag is set and sufficient balance is available.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fixed the automatic model switching bug.

* pending cashu balances are taken into account for model availability.

* the page now prevents refresh when creating cashu token.

* shifted to indexed DB as events will overflow the localstorage.

* fix: remove cached Cashu token after API key creation (#149)

- Add removeLocalCashuToken() call after successful API key creation
- Ensures consistency with topup flow which already removes cached tokens
- Prevents potential cache issues when creating API keys

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: redshift <213178690+1ftredsh@users.noreply.github.com>
- Auto-display create API key form inline when no keys exist after syncing
- Show modal for API key creation only when keys already exist
- Add hardcoded recommended providers with custom ordering (Nonkycai, Routstr, Redsh1ft, Privateprovider)
- Display "(recommended)" label next to recommended providers in all provider selection lists
- Only show recommended labels if provider is available in fetched list
- Replace alert with toast error for better UX
- Create new ProviderSelector component to eliminate duplicate code across 3 forms
- Replace provider selection in inline create form, modal create, and manual add modal
- Add showRecommendedLabels prop to control recommended label visibility
- Manual add API key form no longer shows recommended provider labels
- Ensure consistent provider ordering across all provider selection forms
- Reduce code duplication by ~130 lines while maintaining functionality
@sh1ftred sh1ftred merged commit 224b15f into main Jan 25, 2026
2 checks passed
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.

3 participants