Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update "jump to related event" for design requirements & dev tooling #8652

Merged
merged 1 commit into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion res/css/views/context_menus/_MessageContextMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ limitations under the License.
}

.mx_MessageContextMenu_jumpToEvent::before {
mask-image: url('$(res)/img/element-icons/left-arrow.svg');
mask-image: url('$(res)/img/element-icons/child-relationship.svg');
}
}
1 change: 1 addition & 0 deletions res/img/element-icons/child-relationship.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion res/img/element-icons/left-arrow.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ export default class MessageContextMenu extends React.Component<IProps, IState>

let jumpToRelatedEventButton: JSX.Element;
const relatedEventId = mxEvent.getWireContent()?.["m.relates_to"]?.event_id;
if (relatedEventId) {
if (relatedEventId && SettingsStore.getValue("developerMode")) {
jumpToRelatedEventButton = (
<IconizedContextMenuOption
iconClassName="mx_MessageContextMenu_jumpToEvent"
Expand Down