Conversation
- Migrates authentication from client-side wallet connection to a JWT-based flow with `AuthService`, refresh token rotation, and an automated auth interceptor. - Refactors `AssetService` to interface with a central backend API for NFT metadata and wallet holdings, removing legacy client-side CID calculation and indexer logic. - Adds a profile picture picker in the Settings window, enabling users to select held NFTs as their account avatar. - Introduces a `CallbackComponent` and dedicated routing to handle authentication redirects. - Enhances `MainViewComponent` with window state persistence to restore the workspace after authentication-related page reloads. - Removes the legacy Pera Wallet login overlay in favor of the new redirect-based authentication flow.
Switches the environment import from production to local settings to support the development environment.
- Migrates `AuthService` from RxJS `BehaviorSubject` to a Signal-based user state management. - Removes redundant `isAuthenticated` signals and inputs across `MainViewComponent` and `SettingsWindowComponent`. - Updates components to use `authService.user()` as the single source of truth for authentication status. - Replaces manual observable subscriptions in `MainViewComponent` with an `effect` to handle login success logic.
- Uninstalls `@perawallet/connect` and `algosdk` following the migration to JWT-based authentication. - Deletes the `LoginPromptComponent` and associated Pera Wallet interface definitions. - Refactors components to use the `inject()` function for service dependency injection. - Cleans up unused imports and reorganizes existing ones across the codebase. - Updates polyfills to reflect the removal of Node.js-specific requirements for Algorand SDKs.
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.
No description provided.