Michael Telatynski
90d380c8ae
Cache value of feature_spaces* flags as they cause page refresh so are immutable
2021-07-15 08:26:49 +01:00
Šimon Brandner
9d569c378e
Second batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-02 17:08:27 +02:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
9dc8493a5c
Hide communities invites and the community autocompleter when Spaces Beta is enabled
2021-06-22 22:07:42 +01:00
Michael Telatynski
59258585b3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/5
2021-06-22 17:28:19 +01:00
Šimon Brandner
7bf230e665
Prefer canonical aliases over non-canonical ones
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 11:17:42 +02:00
Šimon Brandner
d0ea842f1e
Remove sorting by index as it is already done here: e9ea3cad76/src/autocomplete/QueryMatcher.ts (L120)
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 10:29:08 +02:00
Michael Telatynski
058cbbbd0c
Fix imports
2021-06-18 16:13:55 +01:00
Michael Telatynski
02e72d8b04
Fix more type definitions
2021-06-17 14:24:53 +01:00
Michael Telatynski
f929d2ee5f
Typescript fixes due to MatrixEvent being TSified
2021-06-17 14:06:03 +01:00
Michael Telatynski
edb2026780
Support any alias not just first
2021-05-18 13:31:53 +01:00
Michael Telatynski
19a94d55bd
Create SpaceProvider and hide Spaces from the RoomProvider autocompleter
2021-05-18 09:39:01 +01:00
Germain
bd2917aa69
Add a limit option for autocomplete results ( #6016 )
2021-05-12 12:18:56 +01:00
Germain Souquet
c81847689a
Remove query matcher shouldMatchPrefix support
2021-03-31 18:21:02 +01:00
Germain Souquet
377b6c8a05
Make user autocomplete query search beyond prefix
2021-03-31 11:41:22 +01:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Robin Townsend
dba52fb5b1
Autocomplete invited users
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 16:01:46 -05:00
Michael Telatynski
6c166f0560
If no bug_report_endpoint_url, hide rageshaking from the App
2020-09-15 15:49:25 +01:00
Michael Telatynski
97ebfa02c3
Merge pull request #5162 from matrix-org/t3chguy/lodash
...
Consolidate Lodash files in bundle
2020-09-03 15:54:43 +01:00
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
Michael Telatynski
1fc55b33c1
Stash lodash import optimization
2020-08-28 18:53:43 +01:00
resynth1943
2c20afc047
Fix lodash imports
...
Signed-off-by: resynth1943 <resynth1943@tutanota.com>
2020-08-26 23:23:18 +01:00
J. Ryan Stinnett
7748e3ae1a
Merge pull request #5083 from matrix-org/jryans/riot-to-element
...
Replace Riot with Element in docs and comments
2020-08-05 12:25:45 +01:00
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
Bruno Windels
5c05b494df
remove emoji icons in autocomplete/reply by designer request
2020-07-31 14:14:37 +02:00
Michael Telatynski
94acc02b25
Fix Query Matcher regression with certain unhomoglyph'd characters like M
vs m
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 12:08:51 +01:00
Michael Telatynski
0075ae2187
update emoji provider regex
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 17:53:16 +01:00
Jorik Schellekens
b3fa855bd8
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/eslint-config
2020-07-20 16:22:32 +01:00
Michael Telatynski
918683c232
fix import. wtf webstorm
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 05:10:05 +01:00
Michael Telatynski
13775f897c
consolidate properties
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 04:59:35 +01:00
Michael Telatynski
31e0d74adc
Query Matcher apply js-sdk's removeHiddenChars
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 04:58:13 +01:00
Michael Telatynski
7d7bafb1ea
De-duplicate rooms from the room autocomplete provider
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 16:23:52 +01:00
Jorik Schellekens
7699aafcaf
Use new eslint package- fix lint issues in ts and js
2020-06-23 17:01:19 +01:00
Michael Telatynski
69c5aecfc7
Merge pull request #4784 from bocoup/extend-querymatcher-heuristic
...
Extend QueryMatcher's sorting heuristic
2020-06-18 19:36:42 +01:00
Mike Pennisi
2e0cb4746a
fixup! Extend QueryMatcher's sorting heuristic
2020-06-18 14:20:40 -04:00
Mike Pennisi
4ffc54d143
fixup! Extend QueryMatcher's sorting heuristic
2020-06-18 13:24:02 -04:00
Jorik Schellekens
05d0309081
Lint a few semicolons
2020-06-18 14:32:43 +01:00
Mike Pennisi
6af4d82ce7
Extend QueryMatcher's sorting heuristic
...
Use the order of the input keys as a signal for relative importance of
matches.
Signed-off-by: Mike Pennisi <mike@mikepennisi.com>
2020-06-17 23:41:41 -04:00
Matthew Hodgson
c171bdfec7
fix emoji in safari
...
1. emoji sometimes vanished from the autocompleter due to a rounding error
combined with maxWidth: 1em on the emoji span kicking in at arbitrary
font sizes/zooms
2. apparently safari needs explicit VS-16 ligatures, as per
ff7dec427f
2020-06-04 22:01:16 +01:00
Michael Telatynski
bc83984a62
tidy up the ref to ref with a forwardRef and initialComponent signature
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-30 13:30:59 +01:00
Michael Telatynski
8087b521e6
Autocomplete: use scrollIntoView for auto-scroll instead of broken manual scrollTop calculation
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-29 21:42:33 +01:00
Jorik Schellekens
ba3fe850e0
Implement review
...
- lint member order
- cleaner type coersion
- specify access modifiers everywhere
2020-05-26 12:09:23 +01:00
Jorik Schellekens
d10d887996
Explain unsafe coerce
2020-05-25 16:53:09 +01:00
Jorik Schellekens
5c9398a6b1
Types exiliary files
2020-05-25 16:47:57 +01:00
Michael Telatynski
fc828378fa
Fix post-ts autocomplete, it is not null
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:18:54 +01:00
Michael Telatynski
598cf21684
discard propTypes.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:01:23 +01:00
Michael Telatynski
bf891c85e8
Enable esModuleInterop and iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 10:01:05 +01:00
Michael Telatynski
3b245ee678
add more type annotations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 21:05:00 +01:00
Michael Telatynski
66d2a67142
deduplicate emojibase loading
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 19:17:58 +01:00
Michael Telatynski
5c57b9ab9b
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 19:04:55 +01:00