Skip to content
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

Implement UI and functions for initial run details page #78

Merged
merged 33 commits into from
Aug 28, 2020

Conversation

kungpaogao
Copy link
Member

@kungpaogao kungpaogao commented Aug 21, 2020

Summary

This pull request is the first step towards implementing the run details page.

Implemented features:

  • status slider to quickly view run status
    image
  • staff notes that can be edited on the page
    image
  • click pickups and dropoffs to view furniture details (in furniture card dialog)
  • button for updating the run status
    Screen Recording 2020-08-21 at 11 27 38
  • menu actions for archiving and exporting the run (currently disabled)

Other changes:

  • updated Furniture data model - added clientId property
  • updated Run data model - include notes property
  • created Firestore converters for Furniture and Run data models
  • updated EditCard component to include "readonly" mode
  • moved staff notes to top of EditCard (resolves Move staff notes to top of furniture edit card #75)

Test Plan

image

See preview link as well.

Breaking Changes

  • updated data models - see Furniture.ts, furniture/Timing.ts and Run.ts changes
  • fixed the dates in furniture table

Next Steps

  • run details is pretty much done in terms of UI
  • need to optimize the UI for scaling (it's set to 100% width regardless of screen size right now)
  • functions for the run menu items
  • create functions/security rules to allow run detail pages to be shared
  • see Add pages and models for scheduling and viewing runs #53 for tracking

- disables edit toggle and menu actions
- change Timing properties back to Date type
- add a converter toDate() - not sure if necessary
- use converter in bind actions
- update mock data
"variant", pass as prop
@kungpaogao kungpaogao self-assigned this Aug 21, 2020
@kungpaogao kungpaogao added this to the MVP milestone Aug 21, 2020
@kungpaogao kungpaogao added design Design-related features feature New feature or request labels Aug 21, 2020
@github-actions
Copy link

@kungpaogao kungpaogao merged commit 8fa0304 into master Aug 28, 2020
@kungpaogao kungpaogao deleted the kungpaogao/run-details branch August 28, 2020 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design-related features feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move staff notes to top of furniture edit card
1 participant