-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[WIP] Fix button saying server offline after it comes back. #3213
Open
psybers
wants to merge
28
commits into
actualbudget:master
Choose a base branch
from
psybers:server-offline
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+35
−13
Open
Changes from 14 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e37583c
Fix button saying server offline after it comes back.
psybers 7511636
add release note
psybers 3c65fb1
Merge branch 'master' into server-offline
psybers e98bd97
Merge branch 'master' into server-offline
psybers f0efcdb
Merge branch 'master' into server-offline
psybers 03e5967
Merge branch 'master' into server-offline
psybers 2c3697c
Merge branch 'master' into server-offline
psybers 29d98c9
Merge branch 'master' into server-offline
psybers 407df34
Merge branch 'master' into server-offline
psybers 8f8f1be
Merge branch 'master' into server-offline
psybers 843d53d
Merge branch 'master' into server-offline
psybers 5a1c1a5
Merge branch 'master' into server-offline
psybers eece002
Merge branch 'master' into server-offline
psybers dcc4982
Merge branch 'master' into server-offline
psybers f72c132
Merge branch 'master' into server-offline
psybers 372dc3d
Merge branch 'master' into server-offline
psybers ec749a0
Merge branch 'master' into server-offline
psybers 7db558a
Merge branch 'master' into server-offline
psybers 5de0e54
Merge branch 'master' into server-offline
psybers 4f145a1
Merge branch 'master' into server-offline
psybers d325722
Merge branch 'master' into server-offline
psybers d595eb3
Merge branch 'master' into server-offline
psybers 0adbeb6
Merge branch 'master' into server-offline
psybers 2b0f5b9
Merge branch 'master' into server-offline
psybers 924f108
Merge branch 'master' into server-offline
psybers e09e770
Merge branch 'master' into server-offline
psybers eaf615f
Merge branch 'master' into server-offline
psybers 2f2b259
Merge branch 'master' into server-offline
psybers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
category: Bugfix | ||
authors: [psybers] | ||
--- | ||
|
||
Fix button saying server offline after it comes back. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. This component is also used on the ManagementApp.jsx screen - can we pass the syncState from there too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I should be able to do this there as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so after looking into this area of the code, it definitely won't work.
This is making me rethink how that button works in general, and the approach used. Perhaps the button needs its own logic to determine the state instead of relying on other components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently working in the latest master so if we merge this branch we'd be breaking it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, like I said it probably needs reworked.