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

feat(www): polish the contact view UI #1746

Merged
merged 7 commits into from
Oct 9, 2023
Merged

Conversation

sbruens
Copy link
Contributor

@sbruens sbruens commented Oct 6, 2023

Screenshots:

Issue wizard
Form

@sbruens sbruens requested a review from a team as a code owner October 6, 2023 18:40
@sbruens sbruens requested a review from daniellacosse October 6, 2023 18:40
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

All modified lines are covered by tests ✅

see 40 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@sbruens sbruens force-pushed the sbruens/contact-view-polish branch from cbec0e3 to 7ffd26b Compare October 6, 2023 19:55
Copy link
Contributor

@daniellacosse daniellacosse left a comment

Choose a reason for hiding this comment

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

Do you mind posting a screenshot of the form pages in the description? Since the app is currently static for the most part let's not worry about responsiveness so much at the moment (probably would require a lot more changes anyway)

src/www/views/contact_view/index.ts Show resolved Hide resolved
src/www/ui_components/app-root.js Outdated Show resolved Hide resolved
@sbruens sbruens requested a review from daniellacosse October 9, 2023 15:51
@daniellacosse
Copy link
Contributor

daniellacosse commented Oct 9, 2023

Okay, design nits:

  1. Does selected the radio button turn green when the control is focused? It should probably be green always, to ensure contrast is high enough
  2. Can we fill in the dropdown with white so it sticks out more? I'm not sure about the copy Outline issue too, I'd prefer something a bit more specific/action oriented like What are you having trouble with? or Select issue category - Maybe @hilary-ops can weigh in here.
  3. I'd say the spacing above the card is a little too tight, my gut tells me it should at least be as wide as the gutter between the card and the edge of the screen.

@sbruens
Copy link
Contributor Author

sbruens commented Oct 9, 2023

Okay, design nits:

  1. Does selected the radio button turn green when the control is focused? It should probably be green always, to ensure contrast is high enough

Yes, but the buttons are disabled once you pick them. I am actually going to undo that, since you can already step back and they get re-enabled so it's kind of pointless right now.

  1. Can we fill in the dropdown with white so it sticks out more? I'm not sure about the copy Outline issue too, I'd prefer something a bit more specific/action oriented like What are you having trouble with? or Select issue category - Maybe @hilary-ops can weigh in here.

The white background on an outlined select would be against spec. The point is that outlined fields have less emphasis to simplify the layout. I made the change, but it does look kind of odd to be honest.

I agree re: copy, though we're trying to stick to the same copy as https://support.getoutline.org/s/contactsupport, which uses the generic "Outline issue".

  1. I'd say the spacing above the card is a little too tight, my gut tells me it should at least be as wide as the gutter between the card and the edge of the screen.

Set the same gutter. I'll update the screenshots.

@sbruens sbruens force-pushed the sbruens/contact-view-polish branch from ab50dd0 to bce9d33 Compare October 9, 2023 17:46
@daniellacosse
Copy link
Contributor

Okay, design nits:

  1. Does selected the radio button turn green when the control is focused? It should probably be green always, to ensure contrast is high enough

Yes, but the buttons are disabled once you pick them. I am actually going to undo that, since you can already step back and they get re-enabled so it's kind of pointless right now.

  1. Can we fill in the dropdown with white so it sticks out more? I'm not sure about the copy Outline issue too, I'd prefer something a bit more specific/action oriented like What are you having trouble with? or Select issue category - Maybe @hilary-ops can weigh in here.

The white background on an outlined select would be against spec. The point is that outlined fields have less emphasis to simplify the layout. I made the change, but it does look kind of odd to be honest.

I agree re: copy, though we're trying to stick to the same copy as https://support.getoutline.org/s/contactsupport, which uses the generic "Outline issue".

  1. I'd say the spacing above the card is a little too tight, my gut tells me it should at least be as wide as the gutter between the card and the edge of the screen.

Set the same gutter. I'll update the screenshots.

Yeah it looks weird - okay, what if we put the radio button and the dropdown in it's own card/white box? That way it's consistent with the other pages. Maybe that's what was bothering me.

@sbruens
Copy link
Contributor Author

sbruens commented Oct 9, 2023

Okay, design nits:

  1. Does selected the radio button turn green when the control is focused? It should probably be green always, to ensure contrast is high enough

Yes, but the buttons are disabled once you pick them. I am actually going to undo that, since you can already step back and they get re-enabled so it's kind of pointless right now.

  1. Can we fill in the dropdown with white so it sticks out more? I'm not sure about the copy Outline issue too, I'd prefer something a bit more specific/action oriented like What are you having trouble with? or Select issue category - Maybe @hilary-ops can weigh in here.

The white background on an outlined select would be against spec. The point is that outlined fields have less emphasis to simplify the layout. I made the change, but it does look kind of odd to be honest.
I agree re: copy, though we're trying to stick to the same copy as https://support.getoutline.org/s/contactsupport, which uses the generic "Outline issue".

  1. I'd say the spacing above the card is a little too tight, my gut tells me it should at least be as wide as the gutter between the card and the edge of the screen.

Set the same gutter. I'll update the screenshots.

Yeah it looks weird - okay, what if we put the radio button and the dropdown in it's own card/white box? That way it's consistent with the other pages. Maybe that's what was bothering me.

Done.

@github-actions github-actions bot added size/M and removed size/XS labels Oct 9, 2023
Copy link
Contributor

@daniellacosse daniellacosse left a comment

Choose a reason for hiding this comment

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

The space above "Do you have an open ticket [..] ?" is a bit big, but otherwise looks great.

Copy link
Contributor

@daniellacosse daniellacosse left a comment

Choose a reason for hiding this comment

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

lol i meant to approve

@sbruens sbruens merged commit afd41e0 into master Oct 9, 2023
14 checks passed
@sbruens sbruens deleted the sbruens/contact-view-polish branch October 9, 2023 20:00
@fortuna
Copy link
Collaborator

fortuna commented Oct 9, 2023

This seems to break consistency with other text fields across our apps. Let's discuss. See the "Outline Design" email thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants