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

feat(connectors): add raspiblitz #683

Closed
wants to merge 110 commits into from

Conversation

secondl1ght
Copy link
Contributor

@secondl1ght secondl1ght commented Mar 12, 2022

Link this PR to an issue

Fixes #673

Type of change

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

Describe the changes you have made in this PR -

Begin to add the RaspiBlitz connector, I repurposed the LND one for this because the backend should be the same. I still need to add the RaspiBlitz specific steps to this so if anyone knows those can they please post them here.

Screenshots of the changes (If any) -

image

How Has This Been Tested?

I added a LND node successfully.

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 have made corresponding changes to the documentation (If Any)

@secondl1ght
Copy link
Contributor Author

Note: This PR is not ready to be merged, we need to add the Raspi specific details first.

@escapedcat
Copy link
Contributor

Note: This PR is not ready to be merged

Wanna switch it to draft till it's ready to indicate it?

@secondl1ght
Copy link
Contributor Author

I don't see the button to do that..?

@escapedcat
Copy link
Contributor

escapedcat commented Mar 12, 2022

Upper right:
image

Or when you open a PR you can select it here:
image

@secondl1ght secondl1ght marked this pull request as draft March 12, 2022 14:45
@secondl1ght
Copy link
Contributor Author

Ok I have added the instructions for this and it is now ready for review, @MoritzKa do you want to verify everything looks correct?

image

@secondl1ght secondl1ght marked this pull request as ready for review March 18, 2022 01:21
@MoritzKa
Copy link
Contributor

Thanks. I´ve two points to report

  1. adjust instruction to ...":8080 at the end"
  2. I could not test the connection. The build has different ID than the companion app is configured for.
    image

@bumi
Copy link
Collaborator

bumi commented Mar 18, 2022

@MoritzKa you can change the ID in that JSON file.

@MoritzKa
Copy link
Contributor

Changed the ID. Connection works fine!

@bumi
Copy link
Collaborator

bumi commented Mar 18, 2022

We don't need the macaroon drag&drop here - we have specific instructions how users get the macaroon hex above. So we should remove that.

@secondl1ght
Copy link
Contributor Author

Ok I have made all the changes, have a look:

image

@MoritzKa
Copy link
Contributor

ACK

@secondl1ght secondl1ght requested a review from bumi March 21, 2022 00:19
@secondl1ght
Copy link
Contributor Author

I updated the code so that https:// and port:8080 get added automatically to keep it as simple as possible for the user.

bumi and others added 16 commits March 31, 2022 00:26
feat: new wallet account creation with lightning address
…e-internet-explorer

feat: upgrade to react 18
setup i18next react-i18next browser-language-detector
create locale switcher
styling for both light and dark mode
translate heading
enable json imports in tsconfig
language persistence throughout different components
language persistence between different sessions
browser language detections
format JSON translation file using built-in eslint JSON formatted and run automated using lintstaged
format existing json file
place language switcher on intro and under settings (for intro under development mode)
store locale in extensions storage
signed-off-by: pavan joshi <[email protected]>
@secondl1ght
Copy link
Contributor Author

Ok I refactored the code so that it now checks for http and adds https if the user does not enter that themselves.

All that we need to do now is resolve the merge conflicts - but for some reason GitHub won't let me resolve them. The 'resolve conflicts' button is disabled for me...

@secondl1ght secondl1ght mentioned this pull request Apr 5, 2022
@secondl1ght
Copy link
Contributor Author

Ok so resolving the merge conflicts was a bit of a hassle! GitHub wouldn't let me do it on the website because it said the conflicts were too complex. So I did it locally, I ended up having to create a new branch on this repo and merging this PR onto master on that new branch. I then tried to push those changes back to this PR but it looks like something happened during that so this PR is now not correct. Easiest solution was to to create a new PR from the new branch and I did that with #777. We can leave this PR open to track the conversation history but we should merge #777 and then close this one when it gets merged. Hopefully what I explained here makes sense.

@bumi bumi closed this Apr 11, 2022
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.

Add RaspiBlitz connector