Closed johnhbenetech closed 4 years ago
@johnhbenetech a few questions popped up
I'll work on that now. It should be largely the same - the only thing im considering is if the go back/add/finished options would move to a static bottom nav bar. I'm trying to go for a vaguely material design approach.
It would be fed from the 'taxonomy' entities. All "Service Provider" records will have the same taxonomy options. I'll provide the list shortly, but it will be ~20 options and would be 1 to many.
Yes. This is what I'm currently thinking. It would be a multiselect dropdown listing like: "Address 1, City" for each location entered on previous step.
Hi @johnhbenetech, I have a few questions regarding the inputs:
We should make a new taxonomy set for the "Service Provider" system account. For now it can copy the ShelterTech values. This should be a mutiselect that hopefully has the type to filter interaction we currently have on our taxonomy filter.
This should be the 50 US state abbreviations. These are the USPS column here: https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations but dont include the blue highlighted rows for the territories. It should always be prepopulated to CA for california since that's where we expect 99% of the resources to be located.
lets do concatenated "Address 1, Address 2, City"
That's a good point. I can work on a mockup, but we can put a grey remove button at the same level as the add button. remove left aligned, add right aligned.
For the 1st record, hitting that button will just clear all values but still display the blank form. For any latter record it will remove that record but keep the remaining records in place
Verified on staging env
Verified cases
I was able to create a new Organization with needed information
Validation is correct
"Remove" button removes the last entry on Locations and Services pages. Should user have a possibility to choose which entry is to remove? @johnhbenetech what do you think?
I created 2 Locations, added the second one to created Service, went back, removed chosen Location. Should this be removed?
I tried to save the Organization from point 4 and got "Internal server error". I removed this empty element and tried to save the Organization and got "Bad request". I had to add existing Location to save the Organization, but this field is not validated.
Locations are counted from 1 on Locations page and from 0 on Services page.
Mobile UI issues: 7.1. Fields are not placed even (the first one is visible on a browser as well):
7.2. "Add another" button is not placed even:
7.3. Is it possible to make tabs display title in the same way?
UI for browser is proof for zooming in and out.
Used resolutions:
I rechecked this issue and all of the raised issues are fixed but one:
Locations are counted from 1 on Locations page and from 0 on Services page.
@jkondrat can you look into that?
Tested with success
Verified on staging env Used resolutions:
Verified cases
Summary All of the issues are resolved, this feature works correctly and elements look as expected.
Attachment Fixed Locations count on Services page:
When a user clicks the 'add a record' option, they will enter into a workflow to collect a reduced set of fields from our full data standard. It will walk them through first adding org details, then locations, then service information.
One new thing is the ability to attach services to locations. We can discuss this in more detail, but refer to: https://openreferral.readthedocs.io/en/latest/hsds/reference/#service_at_location
The entered data will be saved to a new record with the logged in user set as owner.