-
Notifications
You must be signed in to change notification settings - Fork 894
feat: Workspace StatusBar #1362
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
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
b1cc9d6
Move component and prep
presleyp 0da5e7e
Make WorkspaceSection more reusable
presleyp 580e801
Lay out elements
presleyp b995f4a
Layout tweaks
presleyp e7dc082
Add outdated to Workspace type
presleyp 7f6bbda
Fill out status bar component
presleyp 08b01c0
Merge branch 'main' into statusbar/presleyp/1032
presleyp 1bc3e35
Format
presleyp ccbf527
Add transition to types
presleyp f6bcbaa
Add api handlers for build toggle
presleyp db348a6
Format
presleyp 8d5fcfd
Parallelize machine
presleyp 62c40f4
Lay out basics of build submachine
presleyp eaa353d
Pipe start and stop events through - needs status
presleyp 399390e
Attempt at a machine
presleyp c100ec5
Update mock
presleyp 903e8ee
Render status and buttons
presleyp e8e81ce
Fix type error on template page
presleyp 2226fea
Move Settings
presleyp df0bc5b
Format
presleyp 14bd598
Keep refreshed workspace
presleyp c93dde3
Merge branch 'main' into statusbar/presleyp/1032
presleyp 1093103
Make it switch workspaces
presleyp 478db51
Lint
presleyp 40a62a8
Fix relative api path
presleyp bd3a026
Test
presleyp 9786f6c
Fix polling
presleyp 7727a1b
Add loading workspace state
presleyp 4a57152
Format
presleyp e3ae1b8
Add stub settings page
presleyp 2695a29
Format
presleyp 44e4552
Merge branch 'main' into statusbar/presleyp/1032
presleyp d83e5ac
Lint
presleyp f909a86
Get rid of let
presleyp 5dcec61
Merge branch 'main' into statusbar/presleyp/1032
presleyp be86750
Add update
presleyp 992ee0c
Make start use version id
presleyp 9903c96
Merge branch 'main' into statusbar/presleyp/1032
presleyp 91d5811
Merge branch 'main' into statusbar/presleyp/1032
presleyp 9cd386e
Fix imports
presleyp 1a09166
Add polling for outdated
presleyp aee54a0
Merge branch 'main' into statusbar/presleyp/1032
presleyp e9758c7
Rely on context instead of finite state for status
presleyp 87fee06
Handle canceling
presleyp b3f6b8c
Fix tests
presleyp 39e84d9
Format
presleyp 06abf62
Display errors so users know when button presses didn't work
presleyp 8552ea2
Fix api typo, remove logging
presleyp 72c856e
Lint
presleyp 259d517
Merge branch 'main' into statusbar/presleyp/1032
presleyp 24829be
Simplify type
presleyp 542d865
Add type, extract helper
presleyp 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
Handle canceling
- Loading branch information
commit 87fee0668a27fcc307826e707d421d7cfda3256a
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Suggestion(if-minor): This is the type of logic I like to break out as it says something about our model, something like:
We get cheap unit tests, reuse and refined concepts (I don't have to read the code + comment to understand the model, the function name is self-descriptive).
I don't have a satisfying answer yet as to where to put these kinds of model functions. They technically enrich the
api
package.Can we discuss at a FE V and skip for now?
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.
Instead of hiding the button, should we just be disabling 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.
@Kira-Pilot my thinking was that if you see a disabled Update button you might think there's something you should do to enable it (like how a disabled Submit button means fill out your form better), but it's only possible when the template is updated, which you may or may not be able to do. But if you have a different perspective I'm happy to hear 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.
Yeah, I can totally see that. I was thinking it might be confusing to have the button disappearing and reappearing but I'm honestly not sure which is preferable. If there are no strong opinions from elsewhere, I suggest we just leave it and see what feedback we get, if any.
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.
@vapurrmaid I extracted the function and left it in the file for now, adding the "where" question to FE V