Page MenuHomePhabricator

[web] [remove] [ENG-1022] add long arrow and implement in sidebar
ClosedPublic

Authored by benschac on Apr 25 2022, 11:25 AM.
Tags
None
Referenced Files
F3376473: D3839.diff
Wed, Nov 27, 12:30 AM
Unknown Object (File)
Fri, Nov 22, 8:34 PM
Unknown Object (File)
Fri, Nov 15, 9:06 AM
Unknown Object (File)
Mon, Nov 11, 11:52 PM
Unknown Object (File)
Sat, Nov 9, 7:10 AM
Unknown Object (File)
Mon, Nov 4, 8:34 AM
Unknown Object (File)
Sat, Nov 2, 4:22 PM
Unknown Object (File)
Sat, Nov 2, 4:22 PM
Subscribers

Details

Summary

remove current implementation, that's the icomoon icons + border-left extensions.
Add -- a longer svg arrow for Chat TheadItems that have more than one sidebar.

This is just to add the second arrow for a Chat Thread Item with more than one sidebar.

image.png (798×916 px, 72 KB)

Note:

  • ENG-1053 added updated arrow here
  • I still need to update the ChatThreadItem styling a bit outlined here: ENG-1073
Test Plan

Icons should be completely removed. The design is pretty close to figma: https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=1170%3A79456

The ChatThreadItems height needs to be adjusted a bit more.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested changes to this revision.Apr 27 2022, 6:29 AM

This diffs structure doesn't look like a good idea to me. We're removing some code here just to add it in the next diff. Maybe in this case merging the diffs makes the most sense?

web/chat/sidebar-item.react.js
19 ↗(On Diff #11885)

I don't think it is useful to remove this in this diff and add again in the next

This revision now requires changes to proceed.Apr 27 2022, 6:29 AM

Replying to @palys-swm's comments from D3841 since squashing the two diffs seemed like an easier review option. Closing D3841 in favor of this diff.

keyserver/images/arrow.svg
1 ↗(On Diff #11983)

From D3841

Why do we define xml version in one file and not in the other?

That's from @atul's sketch program. I don't think we need it. I'll remove it.

web/chat/sidebar-item.react.js
33 ↗(On Diff #11983)

D3841

I don't think this will be displayed, but if alt is visible, I think it would be better to be e.g. > or -> instead of this long text

I don't alt text is for screen readers. A blind person is going to want the image read to them so they know what it is. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

Last question from the D3841

In D3841#107354, @palys-swm wrote:

I need to adjust the size of the chat thread item in another diff.
Are you sure we should do that?

Yes, it's a couple of pixels off and it's messing with the layout of the chat thread items.

Please update the title, summary and test plan

web/chat/sidebar-item.react.js
33 ↗(On Diff #11983)

Ok, that makes sense. But I'm also wondering: if we care about accessibility and users with screen readers, shouldn't we test our app on a screen reader?

This revision is now accepted and ready to land.Apr 29 2022, 5:20 AM

Adding @def-au1t as a blocking reviewer, so that he can verify if summary and test plan make sense after they're updated

This revision now requires review to proceed.Apr 29 2022, 5:22 AM
benschac retitled this revision from [web] [remove] [ENG-1022] remove arrow and extender from sidebar to [web] [remove] [ENG-1022] add long arrow and implement in sidebar.
benschac edited the summary of this revision. (Show Details)

I got a 2px shorter arrow from @atul. I need to update the img in the keyserver directory.

this needs a little more work.

benschac edited the summary of this revision. (Show Details)

fixup arrows

(cleaning queue, looks like two other reviewers have/are taking a look)

I feel like the test plan still hasn't been updated. Am I right?

This revision now requires changes to proceed.May 9 2022, 3:15 AM
benschac edited the test plan for this revision. (Show Details)
benschac edited the test plan for this revision. (Show Details)
In D3839#110920, @def-au1t wrote:

I feel like the test plan still hasn't been updated. Am I right?

You're right. I missed it. Updated the test plan.

This revision is now accepted and ready to land.May 10 2022, 1:35 AM