Skip to content

Chore/clean up non used#27

Open
0xGaspar wants to merge 5 commits intomainfrom
chore/clean-up-non-used
Open

Chore/clean up non used#27
0xGaspar wants to merge 5 commits intomainfrom
chore/clean-up-non-used

Conversation

@0xGaspar
Copy link
Collaborator

No description provided.

- 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.
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