Skip to content

Select provider#285

Merged
arhtudormorar merged 7 commits intodevelopmentfrom
tm/feature/select-provider
Jan 13, 2026
Merged

Select provider#285
arhtudormorar merged 7 commits intodevelopmentfrom
tm/feature/select-provider

Conversation

@arhtudormorar
Copy link
Copy Markdown
Collaborator

Add provider selection handling to unlock panel

  • Subscribed to SELECT_PROVIDER event to handle provider selection.
  • Implemented handleProviderSelection method to initiate login with the selected provider.
  • Updated unsubscribe functions to include the new subscription.

iuliacimpeanu and others added 4 commits December 11, 2025 16:38
* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

* Fixed copy button (#276)

* Fixed copy button

* Upgraded version

* Sync development with main (#278)

* 0.1.5 (#275)

* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Fixed compatibility issue on stencil/core (#279)

* Updated package version

* Updated changelog

* Updated lockfile

* Upgraded version

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>
Co-authored-by: Tudor Morar <tudor.morar@multiversx.com>
- fix SidePanel WalletConnect issues
- (temp) fix sdk-dapp 5.5.1 breaking changes
- update publish script
- pnpm test fix
- Subscribed to SELECT_PROVIDER event to handle provider selection.
- Implemented handleProviderSelection method to initiate login with the selected provider.
- Updated unsubscribe functions to include the new subscription.
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @arhtudormorar, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the user experience of the unlock panel by introducing explicit provider selection capabilities. Users can now choose a specific provider, which triggers a dedicated login process. This change streamlines the authentication flow and improves the panel's responsiveness to user choices, making the connection process more intuitive.

Highlights

  • Provider Selection Handling: Implemented logic within the unlock panel to handle the selection of a specific provider, enabling a more direct login flow.
  • Event Subscription: A new SELECT_PROVIDER event has been introduced and subscribed to, allowing the unlock panel to react to provider selection actions.
  • Login Initiation: The handleProviderSelection method was added to process the selected provider type and initiate the login sequence with the chosen provider.
  • Cleanup and Versioning: The unsubscribe mechanism was updated to include the new event subscription, and the package version was bumped to 0.1.8 with corresponding changelog entries.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds provider selection handling to the unlock panel. The changes include subscribing to a new SELECT_PROVIDER event, implementing the handler to initiate login with the selected provider, and updating the changelog and package version. The implementation is straightforward and correct. I have one suggestion to improve code clarity and maintainability by defining a dedicated type for the event payload, consistent with existing patterns in the component.

this.allowedProviders = [];
}

private readonly handleProviderSelection = ({ providerType }: { providerType: IProviderBase['type'] }) => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

For better type safety and code clarity, it's recommended to define a dedicated interface for the event payload instead of using an inline type. This makes the code more maintainable and reusable, and is consistent with how other event handlers like unlockPanelUpdate are typed in this component.

You can add the following interface to src/components/functional/unlock-panel/unlock-panel.types.ts:

export interface ISelectProviderEventPayload {
  providerType: IProviderBase['type'];
}

And then use it here after importing it:

private readonly handleProviderSelection = ({ providerType }: ISelectProviderEventPayload) => {
  // ...
};

@arhtudormorar arhtudormorar merged commit 05ffe8d into development Jan 13, 2026
1 of 2 checks passed
@arhtudormorar arhtudormorar deleted the tm/feature/select-provider branch January 13, 2026 09:54
arhtudormorar added a commit that referenced this pull request Jan 13, 2026
* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

* Fixed copy button (#276)

* Fixed copy button

* Upgraded version

* Sync development with main (#278)

* 0.1.5 (#275)

* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Fixed compatibility issue on stencil/core (#279)

* Updated package version

* Updated changelog

* Updated lockfile

* Upgraded version

* Refactored pagination component (#282)

* Refactored pagination comp

* Refactored pagination ellipsis

* Work on pagination

* Refactor components

* Work on pagination

* Fixed pagination story

* Move pagination to address-table

* Update CHANGELOG

* Try fix tests

* Remove log

* Remove unused contentclass

* Remove logs

* Minor edits

* /gemini review

---------

Co-authored-by: Tudor Morar <tudor.morar@multiversx.com>

* Select provider (#285)

* 0.1.7 (#281)

* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

* Fixed copy button (#276)

* Fixed copy button

* Upgraded version

* Sync development with main (#278)

* 0.1.5 (#275)

* Refactored sign transactions panel internal components (#267)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Fixed test

* Updated changelog

* Updated files

* Fixes after review

* Eslint and prettierrc fixes (#270)

* Eslint fixes

* Prettierrc fixes

* Updated changelog

* Added minimize/maximize toasts (#272)

* Added min/max toasts

* Update changelog

* Replace icon

* Fixed trimmed address not showing in address-table (#273)

* Fixed addresses not showing

* Fix issue with trimWrapperVisible

* Fixed unlockPanelFooter styles

* Updated Trim

* Updated Trim

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Refactored side panel components (#271)

* Update styles

* Refactored sign transactions footer

* Refactored copy button

* Refactored button component

* Refactored tooltip component

* Refactored spinner icon component

* Refactored arrow right component

* Updated copy button

* Updated styles

* Refactored sign transactions overview

* Refactored sign-transactions-advanced and sign-transactions-header

* Updated styles

* Updated styles

* Fixed test

* Updated changelog

* Updated changelog

* Updated files

* Fixes after review

* Fixes after review

* Updates files location

* Refactored side-panel-header comp

* Refactored side-panel comp

* Refactored side-panel-swipper styles

* Refactored side panel swiper component.

* Updated components

* Updated styles

* Updated changelog

* Fixed test

* Fixes after review

* Refactored transaction list item (#274)

* Refactored styles

* Refactored transaction-list-item component

* Updated changelog

* Fixed tests

* Fixes after review

* Upgraded version

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Updated changelog

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>

* Fixed compatibility issue on stencil/core (#279)

* Updated package version

* Updated changelog

* Updated lockfile

* Upgraded version

---------

Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>
Co-authored-by: Tudor Morar <tudor.morar@multiversx.com>

* v0.1.8 (#283)

- fix SidePanel WalletConnect issues
- (temp) fix sdk-dapp 5.5.1 breaking changes
- update publish script
- pnpm test fix

* Add provider selection handling to unlock panel

- Subscribed to SELECT_PROVIDER event to handle provider selection.
- Implemented handleProviderSelection method to initiate login with the selected provider.
- Updated unsubscribe functions to include the new subscription.

* Update CHANGELOG

* Update CHANGELOG

* Update version

---------

Co-authored-by: Iulia Cimpeanu <72752718+iuliacimpeanu@users.noreply.github.com>
Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>
Co-authored-by: Radu Mojic <radu.mojic@multiversx.com>

* Remove unused file

---------

Co-authored-by: Iulia Cimpeanu <72752718+iuliacimpeanu@users.noreply.github.com>
Co-authored-by: Gavrila Andrei <andrei.gavrila@multiversx.com>
Co-authored-by: Iulia Cimpeanu <iuliaalexandra.ignat@gmail.com>
Co-authored-by: Radu Mojic <radu.mojic@multiversx.com>
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.

4 participants