This repository was archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Integrate mention parsing #719
Merged
Merged
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
df6b832
add new mention node types
93c97c8
add TODOs to clear match errors
1e2b95f
bit more type manipulation
437feee
handle invalid URIs early in `insert*` methods
5fb76eb
move at-room logic check to dom node layer
64de4f6
export MentionKind
d60112f
move to `Room` and `User` mention types
2d2cdad
fix most tests
6e16114
get all tests passing
4a56495
make `new` Mention return a `Result`, fix all tests/uses
3a82ef8
tidy up the logic
65bfbaf
rename function
8712fc1
update comment
8e159f8
update comments, strip out unused code
8e7c42d
make the message output use mx_id for room mentions
e0d2f1c
tidy up parsing
834e5cc
tidy up match branches and functions
1b0568b
tidy
1cd484a
fix clippy errors
d011a5b
fix typo
d3a0b74
extract `@room` checking/setting
d2f0edf
add import
1108eca
add test
e018d42
try to fix wasm error
b6d86e6
put import in correct place
7a6bf6f
get solution for custom links working
09e6c5d
add test and get it passing
e28717c
tidy up code
dde0295
add more tests
e383123
fix clippy error
4c08a5f
reinstate removed comment
a2e3361
separate out user and room in markdown
cacc965
extract AT_ROOM to constant in other crate
66ede7e
extract at room utils to matrix mention crate
6e90343
first hack at splitting at-room behaviour
38dc7cc
split dom node methods apart
e46895e
fix broken tests
554c049
remove unused import
3720b6c
add special case for example app
c5802f4
change function call
c946c94
change function name
b6b07bd
read new functions across to mobile
ca571d7
add test
a1aaf8b
remove unused code
393d0d9
reduce repeated code
afd8efb
refactor
a5f4fd5
redo comments
4d55895
get all tests passing
24e03cb
move AT_ROOM back where it belongs
2b81075
reinstate whitespace
98bb0f3
correct bindings error, update udl
c7fc5ec
update comment
18910a0
add TODOs, fix issues from call
8417740
add the configuration for the matrix_mentions crate
4028efc
fix TODO
46f48cb
address comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
|
||
mod mention; | ||
|
||
pub use crate::mention::Mention; | ||
pub use crate::mention::{Mention, MentionKind}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.