Equipment detail navigation and immediate Next due refresh - #4
Merged
Conversation
The equipment detail page now leads with a Save changes action on the left of the header that returns to the maintenance list, so it is always clear what to do next and how to get back. Mark serviced is removed from this page since it is done from the list; Archive stays on the right. On the maintenance list, editing Last serviced or Interval now updates the Next due and Status cells immediately through out-of-band swaps, instead of waiting for a page reload.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Two fixes to the maintenance module UI.
Equipment detail page
Opening an equipment detail page left the user with no clear next step and no obvious way back other than the breadcrumb. The header now leads with a Save changes action on the left that returns to the maintenance list, so the next step and the way back are always visible. Mark serviced is removed from this page, since that action belongs on the list. Archive stays on the right, keeping destructive actions on the right and primary actions on the left.
Immediate Next due refresh
On the maintenance list, editing Last serviced or Interval did not update the Next due and Status cells until the page was reloaded. Those cells now refresh immediately in the same response through out-of-band swaps, so the recalculated due date and status appear as soon as the edit is saved.