Skip to content

feat(providers): add bulk refresh token management & improve artifact handling#14

Merged
0xtbug merged 5 commits intomainfrom
dev
Feb 13, 2026
Merged

feat(providers): add bulk refresh token management & improve artifact handling#14
0xtbug merged 5 commits intomainfrom
dev

Conversation

@0xtbug
Copy link
Owner

@0xtbug 0xtbug commented Feb 13, 2026

🚀 Summary

This PR introduces improvements to provider management and build robustness:

✨ Features

  • Implement "Copy All" refresh tokens functionality
  • Add ability to copy individual refresh tokens
  • Implement delete all connected accounts functionality

🛠 Improvements

  • Improve artifact handling robustness in release builds
  • Enhance logging for better debugging and observability
  • Add AGENTS.md to document repository guidelines

📦 Impact

  • Improves UX for managing multiple provider accounts
  • Simplifies bulk token handling
  • Makes build/release process more stable
  • Improves maintainability and internal documentation

🧪 Testing

  • Manually tested bulk copy & delete functionality
  • Verified token copy behavior
  • Confirmed build artifacts generate correctly

Update find commands for AppImage updater artifacts to use more generic wildcards.
Configure `action-gh-release` to not fail on unmatched files.
Set `actions/upload-artifact` to warn if signature files are not found.
Enhance log messages for artifact preparation steps.

These changes make artifact matching more resilient to filename variations.
They prevent the release workflow from failing if optional artifacts are missing.
Improved logging provides clearer feedback during artifact preparation.
Adds a "Delete All" button and confirmation dialog to the Providers page.
Introduces `isDeletingAll`, `executeDeleteAll`, `showDeleteAllConfirmation`,
and `setShowDeleteAllConfirmation` states and functions in `useProvidersPresenter`.
Implements the `executeDeleteAll` logic to call the new `authFilesApi.deleteAll`
endpoint. Adds the `deleteAll` method to `authFilesApi` to send a DELETE
request to `/auth-files?all=true`. Includes new internationalization keys
for "Delete All" related texts across all locales. Bumps the application
version to `1.1.0` in `package.json`, `Cargo.toml`, and `tauri.conf.json`.

This provides users with a convenient and efficient way to remove all their
connected provider accounts simultaneously, improving account management.
It also ensures a consistent and localized user experience for this new
functionality and reflects the new feature set in the application's version.
Adds a button to copy the refresh token for each provider directly from the UI.
This allows users to easily retrieve their refresh tokens for debugging or other uses.
Introduces a `copyRefreshToken` function in the presenter to handle the logic.
Adds a new API endpoint to download the content of an authentication file.
Updates the `AuthFile` type to include an optional `name` property.
Adds corresponding translation keys for the new functionality.
Adds a new "Copy All" button to the Providers page, allowing users to copy refresh tokens from multiple selected providers.

This feature includes:
- A new dialog for selecting providers to include in the copy operation.
- State management in `useProvidersPresenter` for the modal, selection, and copying process.
- Logic to fetch and concatenate refresh tokens from selected providers.
- Clipboard integration to copy the combined refresh tokens.
- Internationalization support for new strings related to "Copy All" functionality.

This enhances user convenience by providing a bulk action for managing refresh tokens.
@0xtbug 0xtbug merged commit 14ea213 into main Feb 13, 2026
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.

1 participant