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

Unit floor plan upload #871

Merged
merged 10 commits into from
Sep 3, 2019
Merged

Conversation

nbiton
Copy link
Contributor

@nbiton nbiton commented Aug 30, 2019

Takes care of a portion of issue #855

image
image
image
image

@nbiton nbiton temporarily deployed to unee-t-pr-871 August 30, 2019 07:34 Inactive
@nbiton nbiton temporarily deployed to unee-t-pr-871 August 30, 2019 07:44 Inactive
@nbiton nbiton temporarily deployed to unee-t-pr-871 August 30, 2019 08:03 Inactive
@franck-boullier
Copy link
Member

Test went OK

Minor Issue 1:

@nbiton I noticed that the user has to click on the "Edit" icon to be allowed to upload a floor plan.
Can we skip this step <--- no need to click on the "Edit" icon if there is no floor plan for that unit?

Minor issue #2:

The "Edit" icon switches from
image
to
image

This is confusing.
Can we use a "Tick" icon instead of an "x" icon?

Minor Issue #3:

The order of the blocks is

  • Address
  • Floor Plan

image

Can we switch the order to

  • Floor Plan
  • Address

Minor Issue #4:

The format of the Text "Floor plan"
image
is not consistent with the format of the text "Address"
image
Can we standardize this and make sure that the text format for "Floor Plan" is changed to the formart we are currently using for the text "Address"

@franck-boullier
Copy link
Member

Major Issue:

I'm not able to add a floor plan to some unit: The "Edit" icon is not visible.

How to reproduce the issue:

On the Heroku App
Log in as nath
go to unit 944.
There is no way to add a floor plan
image

@nbiton
Copy link
Contributor Author

nbiton commented Aug 30, 2019

The edit icon is visible only if you're the owner of the unit. That's also the reason the upload is made available after clicking the edit button

@franck-boullier
Copy link
Member

The edit icon is visible only if you're the owner of the unit. That's also the reason the upload is made available after clicking the edit button

This should NOT work like this.
We want to make it very simple for user to add a floor plan to the unit.
Even if the user is NOT the owner of the unit, if the user has access to the unit, then the user should be allowed to upload a floor plan.

@nbiton
Copy link
Contributor Author

nbiton commented Aug 30, 2019

@franck-boullier What about changing or removing the floor plan?

@franck-boullier
Copy link
Member

Minor issue #2 - clarification:

The "Edit" icon switches from
image
to
image

This is confusing <--- why is this confusing? Because I don't see a "Save" button that I can press once I've made the change to the unit information.

Can we use a "Tick" icon somewhere (Save)?
Today, because we have an "x" icon I understand how we can cancel but because we are missing a "Save" icon I don't understand how I can save my changes.

@nbiton
Copy link
Contributor Author

nbiton commented Sep 1, 2019

Because I don't see a "Save" button that I can press

The "Save" button is in the top right of the screen. It has been discussed before (when Liron was working on it), but still remained that way.
Before we make any changes to the design, I think it would be best to have @ongdominick and @kiatlim involved

@franck-boullier
Copy link
Member

The "Save" button is in the top right of the screen.

OK I just noticed it <--- it was totally invisible for me and I only saw it when @nbiton specifically reminded me that the save button was there.

We definitely need to put the "Save" button where all the other "Save" buttons are <--- usually docked at the bottom of the screen (if memory serves)

@ongdominic I'll let you update the design with your recommended improvement

@nbiton nbiton temporarily deployed to unee-t-pr-871 September 2, 2019 06:36 Inactive
@nbiton nbiton temporarily deployed to unee-t-pr-871 September 2, 2019 06:49 Inactive
@franck-boullier
Copy link
Member

Fixed in the latest version of the PR: anyone can add a floor plan to a unit

@ongdominic
Copy link

Here is the design for this issue. Details are in figma
Screenshot 2019-09-02 at 4 22 45 PM

Important note: the footer with the save and cancel button is sticky at the bottom of the screen

@nbiton nbiton temporarily deployed to unee-t-pr-871 September 2, 2019 10:37 Inactive
@nbiton
Copy link
Contributor Author

nbiton commented Sep 2, 2019

I implemented the new design for "save" and "cancel" and rearranged the floor plan "card" to be second in row

@nbiton nbiton temporarily deployed to unee-t-pr-871 September 2, 2019 10:41 Inactive
Copy link
Member

@franck-boullier franck-boullier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as intended in the Heroku app but the tests seem to be failing for some reason

@franck-boullier franck-boullier merged commit 6557d9c into unee-t:master Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants