Skip to content

Front-end integration for disabled subservers #620

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

Merged
merged 7 commits into from
Sep 28, 2023
Merged

Conversation

itsrachelfish
Copy link
Contributor

@itsrachelfish itsrachelfish commented Aug 8, 2023

This PR creates a new SubServerStatus store which checks which services are being run by litd. When loop and pool are not running or are in an error state, the page displays an error message:

image

Depends on #541

@itsrachelfish itsrachelfish force-pushed the disabled-subservers branch 2 times, most recently from de981bf to b8edfc8 Compare August 9, 2023 20:58
@itsrachelfish itsrachelfish marked this pull request as ready for review August 9, 2023 21:01
@itsrachelfish itsrachelfish requested a review from jbrill August 9, 2023 21:05
Copy link

@jbrill jbrill left a comment

Choose a reason for hiding this comment

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

Looks great! Just a few minor things

@jbrill
Copy link

jbrill commented Aug 14, 2023

Also for the svg, we might want to tweak the color to be fill="currentColor" instead of fill="none"

@dstrukt
Copy link
Contributor

dstrukt commented Aug 14, 2023

ACK to @jbrill's SVG comment! Always have to remember that one when dealing with icons 😂

@itsrachelfish itsrachelfish force-pushed the disabled-subservers branch 3 times, most recently from 43f32c7 to 538f582 Compare August 23, 2023 18:19
@itsrachelfish itsrachelfish requested a review from jbrill August 23, 2023 18:19
@itsrachelfish itsrachelfish force-pushed the disabled-subservers branch 2 times, most recently from 4b32e5b to e340e62 Compare August 24, 2023 07:33
@lightninglabs-deploy
Copy link

@jbrill: review reminder
@itsrachelfish, remember to re-request review from reviewers when ready

@levmi levmi requested a review from jamaljsr September 22, 2023 15:04
Copy link
Member

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

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

tACK. Great work on this @itsrachelfish! I tested and confirmed both the disabled and error statuses. The functionality is good to go, so approved from my end.

I left some comments on code improvements that could be made if time permits, or saved for a follow-up PR.

@guggero guggero force-pushed the disabled-subservers branch from 070fdd0 to 861d64c Compare September 23, 2023 07:09
@itsrachelfish itsrachelfish force-pushed the disabled-subservers branch 3 times, most recently from 54d04cb to e29cfe9 Compare September 27, 2023 01:53
Copy link
Member

@jamaljsr jamaljsr left a comment

Choose a reason for hiding this comment

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

Fantastic update! The code looks so much cleaner now.

Just have one more small suggestion.

Copy link

@jbrill jbrill left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for the updates! 🚀

@ellemouton ellemouton merged commit e771594 into master Sep 28, 2023
@ellemouton ellemouton deleted the disabled-subservers branch September 28, 2023 16:59
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.

6 participants