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

No way to remove avatars from user/room settings #8456

Closed
turt2live opened this issue Feb 7, 2019 · 17 comments · Fixed by matrix-org/matrix-react-sdk#3733
Closed

No way to remove avatars from user/room settings #8456

turt2live opened this issue Feb 7, 2019 · 17 comments · Fixed by matrix-org/matrix-react-sdk#3733
Assignees
Labels
A-Avatar A-Room-Settings A-User-Settings P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Design X-Regression

Comments

@turt2live
Copy link
Member

Previously we had a red X floating on the edge of the avatar in the settings. This caused confusion as to what this does as people thought it was a close button. We should consider not using an X and maybe use the literal word "remove" under the avatar.

@t3chguy
Copy link
Member

t3chguy commented Feb 24, 2019

Or a 🗑

@Thatoo
Copy link

Thatoo commented Mar 9, 2019

Getting back a [new] system to delete avatar is important, at least in direct chat for the two "chatter" to be able to get back each other's profile picture as their direct chat room's picture.

@lampholder lampholder added T-Defect ui/ux P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround and removed redesign labels Mar 14, 2019
@nadonomy
Copy link
Contributor

nadonomy commented May 2, 2019

Updated our (internal) Zeplin with a proposal: https://zpl.io/a759PvY

Essentially, changing the hover text when a pic is set, and providing the option to remove with a context menu:

Screenshot 2019-05-02 at 18 27 06

(Note that this comp is using our old palette as it's from a legacy source file)

@Thatoo
Copy link

Thatoo commented May 8, 2019

Today, I could find a way to delete the room picture of a direct chat thanks to Fluffychat.
After that, the room picture became, for me, the profile picture of my friend, as expected, in Fluffychat and in Riot webapp (on desktop Ubuntu).
However, in Riot Android, the room picture became the first letter of my friend's nickname, not his profile picture and stayed like that even after he decided to change his profile picture...
Is it related to this issue or should I open an other issue?

@t3chguy
Copy link
Member

t3chguy commented May 16, 2019

context menu in modal is surprisingly finnicky, all clicks inside the context menu get ignored for some reason :((

@t3chguy t3chguy self-assigned this May 16, 2019
@turt2live
Copy link
Member Author

@t3chguy There's a whole comment somewhere saying "GAHHHH LAYERING!" or something along that lines - may have to take a peek at how that works. I think the example was the "Copied!" text for the share dialog.

@t3chguy
Copy link
Member

t3chguy commented May 17, 2019

I narrowed it down to the focus trap in BaseDialog, the copied in share dialog I did a long time back and it does no click handling so is unaffected.

Any chance you could explain why we need this focus trap thingy? I seem to be missing the point

@t3chguy
Copy link
Member

t3chguy commented May 17, 2019

Chrome's inspector being able to breakpoint all mouse click handlers is infinitely useful, also kinda scary that all my clicks get sent to my chrome extensions, should really investigate which extension was installing a global click handler.

@t3chguy
Copy link
Member

t3chguy commented May 17, 2019

@turt2live
Copy link
Member Author

the copied in share dialog I did a long time back and it does no click handling so is unaffected.

Although it does no click handling, the layering of context menus (and thus tooltips) was changed recently. Suspected it to be something strange in the element having a high z-index but the click being under a transparent pane.

@t3chguy
Copy link
Member

t3chguy commented May 17, 2019

It isn't that, I tested with an anchor tag and left click didn't work but middle click opened a new tab. I am 100% certain this is focus trap capturing the click before react propagates it, I verified this by stepping through the code.

It's because focus trap checks to see if the click was inside the trapped dom element but context menus and modal are portals so live in their own DOM trees.

@t3chguy
Copy link
Member

t3chguy commented Aug 30, 2019

This should be easier after #10697

@dt-flo
Copy link

dt-flo commented Nov 9, 2019

Any updates??

@t3chguy
Copy link
Member

t3chguy commented Nov 9, 2019

I am soon rewriting context menus for accessibility purposes, this might unblock this but it is not guaranteed

@dt-flo
Copy link

dt-flo commented Dec 11, 2019

May I ask why this was even removed in the first place?

@turt2live
Copy link
Member Author

The design was changed, and was likely just an oversight.

@t3chguy
Copy link
Member

t3chguy commented Dec 11, 2019

Rewriting context menus simplified this due to React Portals

su-ex added a commit to SchildiChat/element-web that referenced this issue Jun 7, 2022
* Make Lao translation available ([\element-hq#22358](element-hq#22358)). Fixes element-hq#22327.
* Option to disable hardware acceleration on Element Desktop ([\element-hq#22295](element-hq#22295)). Contributed by @novocaine.
* Configure custom home.html via `.well-known/matrix/client["io.element.embedded_pages"]["home_url"]` for all your element-web/desktop users ([\element-hq#7790](matrix-org/matrix-react-sdk#7790)). Contributed by @johannes-krude.
* Live location sharing - open location in OpenStreetMap ([\element-hq#8695](matrix-org/matrix-react-sdk#8695)). Contributed by @kerryarchibald.
* Show a dialog when Jitsi encounters an error ([\element-hq#8701](matrix-org/matrix-react-sdk#8701)). Fixes element-hq#22284.
* Add support for setting the `avatar_url` of widgets by integration managers. ([\element-hq#8550](matrix-org/matrix-react-sdk#8550)). Contributed by @Fox32.
* Add an option to ignore (block) a user when reporting their events ([\element-hq#8471](matrix-org/matrix-react-sdk#8471)).
* Add the option to disable hardware acceleration ([\element-hq#8655](matrix-org/matrix-react-sdk#8655)). Contributed by @novocaine.
* Slightly better presentation of read receipts to screen reader users ([\element-hq#8662](matrix-org/matrix-react-sdk#8662)). Fixes element-hq#22293. Contributed by @pvagner.
* Add jump to related event context menu item ([\element-hq#6775](matrix-org/matrix-react-sdk#6775)). Fixes element-hq#19883.
* Add public room directory hook ([\element-hq#8626](matrix-org/matrix-react-sdk#8626)).
* Stop Jitsi if we time out while connecting to a video room ([\element-hq#22301](element-hq#22301)). Fixes element-hq#22283.
* Remove inline margin from UTD error message inside a reply tile on ThreadView ([\element-hq#8708](matrix-org/matrix-react-sdk#8708)). Fixes element-hq#22376. Contributed by @luixxiul.
* Move unread notification dots of the threads list to the expected position ([\element-hq#8700](matrix-org/matrix-react-sdk#8700)). Fixes element-hq#22350. Contributed by @luixxiul.
* Prevent overflow of grid items on a bubble with UTD generally ([\element-hq#8697](matrix-org/matrix-react-sdk#8697)). Contributed by @luixxiul.
* Create 'Unable To Decrypt' grid layout for hidden events on a bubble layout ([\element-hq#8704](matrix-org/matrix-react-sdk#8704)). Fixes element-hq#22365. Contributed by @luixxiul.
* Fix - AccessibleButton does not set disabled attribute ([\element-hq#8682](matrix-org/matrix-react-sdk#8682)). Contributed by @kerryarchibald.
* Fix font not resetting when logging out ([\element-hq#8670](matrix-org/matrix-react-sdk#8670)). Fixes element-hq#17228.
* Fix local aliases section of room settings not working for some homeservers (ie ([\element-hq#8698](matrix-org/matrix-react-sdk#8698)). Fixes element-hq#22337.
* Align EventTile_line with display name on message bubble ([\element-hq#8692](matrix-org/matrix-react-sdk#8692)). Fixes element-hq#22343. Contributed by @luixxiul.
* Convert references to direct chat -> direct message ([\element-hq#8694](matrix-org/matrix-react-sdk#8694)). Contributed by @novocaine.
* Improve combining diacritics for U+20D0 to U+20F0 in Chrome ([\element-hq#8687](matrix-org/matrix-react-sdk#8687)).
* Make the empty thread panel fill BaseCard ([\element-hq#8690](matrix-org/matrix-react-sdk#8690)). Fixes element-hq#22338. Contributed by @luixxiul.
* Fix edge case around composer handling gendered facepalm emoji ([\element-hq#8686](matrix-org/matrix-react-sdk#8686)).
* Fix a grid blowout due to nowrap displayName on a bubble with UTD ([\element-hq#8688](matrix-org/matrix-react-sdk#8688)). Fixes element-hq#21914. Contributed by @luixxiul.
* Apply the same max-width to image tile on the thread timeline as message bubble ([\element-hq#8669](matrix-org/matrix-react-sdk#8669)). Fixes element-hq#22313. Contributed by @luixxiul.
* Fix dropdown button size for picture-in-picture CallView ([\element-hq#8680](matrix-org/matrix-react-sdk#8680)). Fixes element-hq#22316. Contributed by @luixxiul.
* Live location sharing - fix square border for image-less avatar (PSF-1052) ([\element-hq#8679](matrix-org/matrix-react-sdk#8679)). Contributed by @kerryarchibald.
* Stop connecting to a video room if the widget messaging disappears ([\element-hq#8660](matrix-org/matrix-react-sdk#8660)).
* Fix file button and audio player overflowing from message bubble ([\element-hq#8666](matrix-org/matrix-react-sdk#8666)). Fixes element-hq#22308. Contributed by @luixxiul.
* Don't show broken composer format bar when selection is whitespace ([\element-hq#8673](matrix-org/matrix-react-sdk#8673)). Fixes element-hq#10788.
* Fix media upload http 413 handling ([\element-hq#8674](matrix-org/matrix-react-sdk#8674)).
* Fix emoji picker for editing thread responses ([\element-hq#8671](matrix-org/matrix-react-sdk#8671)). Fixes matrix-org/element-web-rageshakes#13129.
* Map attribution while sharing live location is now visible ([\element-hq#8621](matrix-org/matrix-react-sdk#8621)). Fixes element-hq#22236. Contributed by @weeman1337.
* Fix info tile overlapping the time stamp on TimelineCard ([\element-hq#8639](matrix-org/matrix-react-sdk#8639)). Fixes element-hq#22256. Contributed by @luixxiul.
* Fix position of wide images on IRC / modern layout ([\element-hq#8667](matrix-org/matrix-react-sdk#8667)). Fixes element-hq#22309. Contributed by @luixxiul.
* Fix other user's displayName being wrapped on the bubble message layout ([\element-hq#8456](matrix-org/matrix-react-sdk#8456)). Fixes element-hq#22004. Contributed by @luixxiul.
* Set spacing declarations to elements in mx_EventTile_mediaLine ([\element-hq#8665](matrix-org/matrix-react-sdk#8665)). Fixes element-hq#22307. Contributed by @luixxiul.
* Fix wide image overflowing from the thumbnail container ([\element-hq#8663](matrix-org/matrix-react-sdk#8663)). Fixes element-hq#22303. Contributed by @luixxiul.
* Fix styles of "Show all" link button on ReactionsRow ([\element-hq#8658](matrix-org/matrix-react-sdk#8658)). Fixes element-hq#22300. Contributed by @luixxiul.
* Automatically log in after registration ([\element-hq#8654](matrix-org/matrix-react-sdk#8654)). Fixes element-hq#19305. Contributed by @justjanne.
* Fix offline status in window title not working reliably ([\element-hq#8656](matrix-org/matrix-react-sdk#8656)).
* Align input area with event body's first letter in a thread on IRC/modern layout ([\element-hq#8636](matrix-org/matrix-react-sdk#8636)). Fixes element-hq#22252. Contributed by @luixxiul.
* Fix crash on null idp for SSO buttons ([\element-hq#8650](matrix-org/matrix-react-sdk#8650)). Contributed by @hughns.
* Don't open the regular browser or our context menu on right-clicking the `Options` button in the message action bar ([\element-hq#8648](matrix-org/matrix-react-sdk#8648)). Fixes element-hq#22279.
* Show notifications even when Element is focused ([\element-hq#8590](matrix-org/matrix-react-sdk#8590)). Contributed by @sumnerevans.
* Remove padding from the buttons on edit message composer of a event tile on a thread ([\element-hq#8632](matrix-org/matrix-react-sdk#8632)). Contributed by @luixxiul.
* ensure metaspace changes correctly notify listeners ([\element-hq#8611](matrix-org/matrix-react-sdk#8611)). Fixes element-hq#21006. Contributed by @justjanne.
* Hide image banner on stickers, they have a tooltip already ([\element-hq#8641](matrix-org/matrix-react-sdk#8641)). Fixes element-hq#22244.
* Adjust EditMessageComposer style declarations ([\element-hq#8631](matrix-org/matrix-react-sdk#8631)). Fixes element-hq#22231. Contributed by @luixxiul.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Avatar A-Room-Settings A-User-Settings P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Design X-Regression
Projects
None yet
8 participants