Skip to content

Front-end integration for disabled subservers#620

Merged
ellemouton merged 7 commits into
masterfrom
disabled-subservers
Sep 28, 2023
Merged

Front-end integration for disabled subservers#620
ellemouton merged 7 commits into
masterfrom
disabled-subservers

Conversation

@itsrachelfish

@itsrachelfish itsrachelfish commented Aug 8, 2023

Copy link
Copy Markdown
Contributor

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

@jbrill jbrill left a comment

Copy link
Copy Markdown

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

Comment thread app/src/store/store.ts Outdated
Comment thread app/src/store/store.ts
Comment thread app/src/util/tests/sampleData.ts
Comment thread app/src/store/stores/batchStore.ts Outdated
@jbrill

jbrill commented Aug 14, 2023

Copy link
Copy Markdown

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

@dstrukt

dstrukt commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

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

Comment thread app/src/store/stores/subServerStore.ts Outdated
@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
Copy Markdown

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

Comment thread app/src/components/history/HistoryPage.tsx Outdated
@levmi
levmi requested a review from jamaljsr September 22, 2023 15:04

@jamaljsr jamaljsr left a comment

Copy link
Copy Markdown
Member

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.

Comment thread app/src/components/loop/LoopPage.tsx Outdated
Comment thread app/src/store/stores/subServerStore.ts Outdated
Comment thread app/src/store/views/appView.ts Outdated
@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

@jamaljsr jamaljsr left a comment

Copy link
Copy Markdown
Member

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.

Comment thread app/src/types/state.ts
Comment thread app/src/store/stores/subServerStore.ts Outdated

@jbrill jbrill left a comment

Copy link
Copy Markdown

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