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

Create/insert data react table into the ‘Offices’ page on the SMB App #63

Closed
HollyJoyPhillips opened this issue Jan 22, 2020 · 0 comments
Assignees
Labels
feature New feature or request front-end Relates to front end issues smb-onboarder Relates to Small Medium Business onboarding app

Comments

@HollyJoyPhillips
Copy link
Contributor

HollyJoyPhillips commented Jan 22, 2020

Dependent on ticket : #62

Summary: To add the spreadsheet component (https://reapit.github.io/elements/?path=/story/spreadsheet--basic) to the 'Offices' page and link to endpoint: / Offices

Columns should contain the following headings with the correct formatting options:

  • Office Name* – Field should allow any text

  • Building Number - Field should allow any text

  • Address 1* - Field should allow any text

  • Address 2 - Field should allow any text

  • Address 3 - Field should allow any text

  • Address 4 - Field should allow any text

  • Postcode* – Postcode validation (TBC)

  • Telephone* – Number only

  • Fax – Number only

  • Email* – Email validation

  • Postcode referrals – TBC

  • The above columns with * indicates they are required fields and must be completed. If a row has been created and those fields are missing, should indicate this by changing the background of the cell. Use colour and opacity settings from https://reapit.github.io/elements/?path=/story/helper--warning

  • Should not post a mutation to the server unless the required fields have been completed.

  • Button: Add New – should add another row and office record when clicked

  • Editing an item should updated the record

  • Buttons to ‘Upload File’ and ‘Download file’

  • Should use Apollo GQL Queries and mutations, tasks to write these on the server side

See mock up:
image

@HollyJoyPhillips HollyJoyPhillips added feature New feature or request smb-onboarder Relates to Small Medium Business onboarding app labels Jan 22, 2020
@HollyJoyPhillips HollyJoyPhillips added this to the SMB App MVP milestone Jan 22, 2020
willmcvay added a commit that referenced this issue Jan 24, 2020
Fixes container issue in desktop mode
willmcvay pushed a commit that referenced this issue Jan 24, 2020
* [CLD-328] Involke save to next button

* [CLD-328] involke save to next func in each step

* [CLD-328] Involke save to next button

* [CLD-328] involke save to next func in each step

* [CLD-328] Fixes tests
@HollyJoyPhillips HollyJoyPhillips added the front-end Relates to front end issues label Feb 10, 2020
@trankhacvy trankhacvy self-assigned this Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request front-end Relates to front end issues smb-onboarder Relates to Small Medium Business onboarding app
Projects
None yet
Development

No branches or pull requests

3 participants