Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kollider): routes #2309

Merged
merged 11 commits into from
May 3, 2023
Merged

Conversation

fczuardi
Copy link
Contributor

@fczuardi fczuardi commented Apr 6, 2023

Describe the changes you have made in this PR

Kollider wallet variants (buttons signup and login) were not working as expected.

Link this PR to an issue [optional]

Fixes #2355

Type of change

(Remove other not matching type)

  • fix: Bug fix (non-breaking change which fixes an issue)
  • feat: New feature (non-breaking change which adds functionality)
  • feat!: Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • docs: Documentation update

Screenshots of the changes [optional]

Add screenshots to make your changes easier to understand. You can also add a video here.

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist

  • My code follows the style guidelines of this project and performed a self-review of my own code
  • New and existing tests pass locally with my changes
  • I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@github-actions
Copy link

github-actions bot commented Apr 6, 2023

🚀 Thanks for the pull request!

Here are the current build files for testing:

Download and unzip the file for your browser. Refer to the readme for detailed install instructions.


This build is brought to you by: channel.ninja (who recently dropped 1000 sats):


Want to sponsor the next build? send some sats to ⚡️builds@getalby.com (don't forget to provide your name)

Don't forget: keep earning sats!

@reneaaron reneaaron requested a review from im-adithya April 6, 2023 08:40
@im-adithya
Copy link
Member

Thanks for the PR, but this change makes /kollider route empty

Also I am not able to reproduce the issue mentioned here: #2250 (comment)

cc @reneaaron

@fczuardi
Copy link
Contributor Author

fczuardi commented Apr 6, 2023

Thanks for the PR, but this change makes /kollider route empty

Also I am not able to reproduce the issue mentioned here: #2250 (comment)

cc @reneaaron

Here is a video displaying the steps to reproduce and the clicks:

Kollider-routes.webm

Basically, it is :

  • clone the repo
  • yarn
  • yarn dev:chrome
  • load unpacked extension

I was able to reproduce it on the master branch for both Brave, Chrome and Firefox. With node versions v16.18.0 and v18.15.0.

@fczuardi
Copy link
Contributor Author

fczuardi commented Apr 6, 2023

makes /kollider route empty

nope, since there is an "index" child

@lujakob
Copy link
Contributor

lujakob commented Apr 19, 2023

@im-adithya could you please explain what the cause of the bug was and what the reasoning behind the solution is. These changes will cause merge-conflicts with #2272 that I'm working on.

@im-adithya
Copy link
Member

My commit basically adds recursive looping for those routes instead of the hardcoded mapping (which assumes one child at max) and also expects the parent to have an element property which has now been changed after @fczuardi's commit to have the component as the index child

src/i18n/locales/en/translation.json Outdated Show resolved Hide resolved
Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

tACK

@reneaaron reneaaron merged commit 997966b into getAlby:master May 3, 2023
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.

[BUG] Onboarding connectors: Kollider wallet Signup and Login buttons dont work
4 participants