element-web/src/components/views/elements
Eric Eastwood 9c3439a1aa
Show updated relation reply from edited message - v2 (#6817)
Part of https://github.com/vector-im/element-web/issues/10391

When `m.relates_to` -> `m.in_reply_to` is provided in `m.new_content`
for an edited message, use the updated reply.

ex.

```json
{
  "type": "m.room.message",
  "content": {
    "body": " * foo bar",
    "msgtype": "m.text",
    "m.new_content": {
      "body": "foo bar",
      "msgtype": "m.text",
      "m.relates_to": {
        "m.in_reply_to": {
          "event_id": "$qkjmFBTEc0VvfVyzq1CJuh1QZi_xDIgNEFjZ4Pq34og"
        }
      }
    },
    "m.relates_to": {
      "rel_type": "m.replace",
      "event_id": "$lX9MRe9ZTFOOvnU8PRVbvr1wqGtYvNQ1rSot-iUTN5k"
    }
  }
}
```
2021-09-17 15:18:52 -05:00
..
crypto Auto-fix lint errors 2021-06-29 13:11:58 +01:00
AccessibleButton.tsx Fix ProfileSettings types 2021-08-25 09:05:07 +01:00
AccessibleTooltipButton.tsx Make label clickable on narrow mode context menu 2021-09-07 17:10:09 +01:00
ActionButton.tsx sdk.getComponent shall die 2021-07-20 12:42:21 +02:00
AddressSelector.tsx Types! 2021-07-21 20:48:50 +02:00
AddressTile.tsx Adhere to better eslint rules 2021-07-23 10:35:10 +01:00
AppPermission.tsx Fix [object Object] in Widget Permissions 2021-08-06 13:54:00 +02:00
AppTile.js Remove useless setState 2021-08-19 06:43:12 +02:00
AppWarning.js Convert image URLs in React to require calls 2019-01-17 22:06:49 -06:00
DesktopBuildsNotice.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
DesktopCapturerSourcePicker.tsx Use source id directly 2021-09-02 14:27:55 +02:00
DialogButtons.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
DialPadBackspaceButton.tsx Keep number field in focus when pressing dialpad buttons (#6520) 2021-08-12 18:58:06 +01:00
DirectorySearchBox.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
DNDTagTile.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Draggable.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Dropdown.tsx Fix dropdown keyboard selection accessibility 2021-08-06 14:48:46 +01:00
EditableItemList.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
EditableText.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
EditableTextContainer.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
EffectsOverlay.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ErrorBoundary.tsx Add choose to new issue link 2021-08-23 13:17:40 +02:00
EventListSummary.tsx Merge remote-tracking branch 'upstream/develop' into feature/collapse-pinned-mels/17938 2021-08-06 07:43:19 +02:00
EventTilePreview.tsx Added trailing comma to make eslint happy 2021-08-28 14:04:00 +02:00
FacePile.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Field.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Flair.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ImageView.tsx Add fallbackUserId 2021-09-01 16:50:13 +02:00
InfoTooltip.tsx Merge remote-tracking branch 'upstream/develop' into feature/call-event-tile 2021-07-20 13:15:04 +02:00
InlineSpinner.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
InviteReason.tsx Allow to use basic html formatting in invite reasons 2021-08-27 21:44:34 +02:00
IRCTimelineProfileResizer.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
JoinRuleDropdown.tsx Improve subspaces and some utilities around room/space creation 2021-07-23 08:46:20 +01:00
LabelledToggleSwitch.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
LanguageDropdown.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
LazyRenderList.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
MemberEventListSummary.tsx Fix reactions aria-label not being a string and thus being read as [Object object] 2021-09-17 11:36:22 +01:00
MiniAvatarUploader.tsx Adhere to better eslint rules 2021-07-23 10:35:10 +01:00
PersistedElement.js Revert accidental renaming of dispatcherRef 2021-07-20 13:56:49 +01:00
PersistentApp.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Pill.js Fix clicking pills inside replies 2021-07-29 16:30:07 +02:00
PowerSelector.js Adhere to better eslint rules 2021-07-23 10:35:10 +01:00
ProgressBar.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
QRCode.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ReplyThread.tsx Show updated relation reply from edited message - v2 (#6817) 2021-09-17 15:18:52 -05:00
ResizeHandle.tsx Fix resizer on left panel 2021-08-24 13:05:46 +02:00
RoomAliasField.tsx Improve form handling in and around space creation 2021-09-03 13:34:09 +01:00
RoomName.tsx Fix imports 2021-06-18 16:13:55 +01:00
RoomTopic.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
ServerPicker.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
SettingsFlag.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Slider.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
SpellCheckLanguagesDropdown.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Spinner.tsx Appease the linter 2021-07-13 00:02:44 -06:00
Spoiler.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
SSOButtons.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
StyledCheckbox.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
StyledRadioButton.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
StyledRadioGroup.tsx Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17686 2021-07-21 10:46:41 +01:00
SyntaxHighlight.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
TagComposer.tsx Remove useless spread operator 2021-07-16 23:51:44 -06:00
TagTile.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
TextWithTooltip.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
ToggleSwitch.tsx Sixth batch of burning 2021-07-03 10:44:03 +02:00
Tooltip.tsx Adhere to better eslint rules 2021-07-23 10:35:10 +01:00
TooltipButton.tsx Seventh batch of burning 2021-07-03 10:59:57 +02:00
TruncatedList.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
UserTagTile.tsx Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Validation.tsx Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00