Bruno Windels
|
8c3ae57497
|
fix Iterator vs IterableIterator confusion
|
2021-11-30 17:05:39 +01:00 |
|
Bruno Windels
|
de8995fa7e
|
fix handlers in test missing methods, now that observable list is typed
|
2021-11-30 16:58:56 +01:00 |
|
Bruno Windels
|
ef712b16f5
|
Merge pull request #584 from vector-im/ts-conversion-utils
Convert /utils to typescript
|
2021-11-30 14:13:09 +01:00 |
|
RMidhunSuresh
|
fe77b71c97
|
use transformer function
|
2021-11-30 13:28:28 +05:30 |
|
RMidhunSuresh
|
bb18af414b
|
Convert SessionInfoStorage.js to ts
|
2021-11-25 15:18:03 +05:30 |
|
Bruno Windels
|
f444160c6a
|
feels ok without overflow margin for now
|
2021-11-23 14:33:27 +01:00 |
|
Bruno Windels
|
e4be1702c4
|
add comment for future test
|
2021-11-23 14:32:42 +01:00 |
|
Bruno Windels
|
7b38df45da
|
i think this is fine now?
|
2021-11-23 14:31:23 +01:00 |
|
Bruno Windels
|
e34a92e2ec
|
fix copyright
|
2021-11-23 14:30:11 +01:00 |
|
Bruno Windels
|
35fb84c275
|
remove old js lazylist
|
2021-11-23 14:26:15 +01:00 |
|
Bruno Windels
|
9557178ffb
|
padding needs to be on ul, not scroll container, or the list blows up
|
2021-11-23 14:25:35 +01:00 |
|
Bruno Windels
|
4be2f12a14
|
subscribe before calling list.length
|
2021-11-23 14:25:22 +01:00 |
|
Bruno Windels
|
c64a9c1e23
|
snowpack/esbuild 0.9 doesn't support override keyword
|
2021-11-23 14:25:00 +01:00 |
|
Bruno Windels
|
7897ea88cd
|
add some spaces and comments
|
2021-11-23 14:24:43 +01:00 |
|
Bruno Windels
|
c22718811f
|
more tests for queryMove
|
2021-11-23 08:56:33 +01:00 |
|
Bruno Windels
|
3aa3b7e160
|
fix end growing larger than totalLength when range shrinks in case of remove
|
2021-11-23 08:30:52 +01:00 |
|
Bruno Windels
|
cf9f43ab9e
|
WIP2
|
2021-11-22 20:35:57 +01:00 |
|
Bruno Windels
|
4a64d0ee17
|
WIP
|
2021-11-19 22:49:46 +01:00 |
|
RMidhunSuresh
|
d625d57aa4
|
Fix lastIndex
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:32:00 +01:00 |
|
RMidhunSuresh
|
bbeb909bdc
|
Use createEnum
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:32:00 +01:00 |
|
RMidhunSuresh
|
33ac34b04e
|
Do not break onListChanged
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:31:57 +01:00 |
|
RMidhunSuresh
|
5d54285640
|
Move ItemRange to separate file
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:12:50 +01:00 |
|
RMidhunSuresh
|
aee135a6cd
|
Jsdoc fix
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
da715c70b0
|
Remove forceRender
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
e10b494f0c
|
Improve containsIndex
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
3ae52ea1ca
|
Fix bug in onAdd and onRemove
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
1165683f69
|
Fix onRemove
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
83ff2dd810
|
Fix onAdd
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
587dd3848e
|
Use existing render function for initial render
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
a02b6b68d3
|
Move common code from if-else
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
168312627d
|
Render only diff of ranges
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
61402e798e
|
WIP 2
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
1a28b4f887
|
WIP
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
d4e923f9de
|
Remove code from loadList
We don't need this method so best to leave it empty.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-11-19 12:06:40 +01:00 |
|
RMidhunSuresh
|
6c2aa1bf61
|
Convert hkdf.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
afecac3e3c
|
Convert timeout.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
4ce7634201
|
Convert error.js to ts
|
2021-11-17 20:28:44 +05:30 |
|
RMidhunSuresh
|
ef53a12f7a
|
Fix imports
|
2021-11-17 20:28:44 +05:30 |
|
Bruno Windels
|
efccc1e19e
|
Merge pull request #583 from vector-im/ts-conversion-logging
Convert src/logging to typescript
|
2021-11-17 14:37:42 +01:00 |
|
RMidhunSuresh
|
a7d059b3ed
|
Fix imports
|
2021-11-14 19:42:18 +05:30 |
|
RMidhunSuresh
|
8c7a765e11
|
Convert IDBLogger to ts
|
2021-11-12 15:06:21 +05:30 |
|
Bruno Windels
|
c47f872f6f
|
Merge pull request #578 from vector-im/fix-progressbar
Fix progressbar not working on attachment uploads
|
2021-11-10 11:17:02 +01:00 |
|
RMidhunSuresh
|
8fba3f4ca9
|
Add explaining comment
|
2021-11-09 15:39:24 +05:30 |
|
RMidhunSuresh
|
57e2c4ea45
|
No need for handler to be async
|
2021-11-08 22:20:56 +05:30 |
|
RMidhunSuresh
|
c1a8ffd814
|
respond with only for GET requests
|
2021-11-08 18:03:20 +05:30 |
|
Bruno Windels
|
e9586711e0
|
add scrollbar when > 5 lines in composer
|
2021-11-08 11:19:24 +01:00 |
|
Bruno Windels
|
16918ddb7d
|
ie11 build wip
|
2021-11-08 11:12:13 +01:00 |
|
Bruno Windels
|
b65782e13c
|
ignore tsc errors on vite-specific imports
or not understood by tsc in any case
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
923a1a2057
|
use vite define option to inject version number everywhere
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
216afd45cc
|
vite/rollup plugin to inject and transform manifest & service worker
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
b6fda8865f
|
make all dependencies use vite and remove post-install script / lib dir
|
2021-11-08 11:10:34 +01:00 |
|
Bruno Windels
|
db3e8a9c6b
|
rearrange assets and main.js to make them run with vite
|
2021-11-08 11:10:23 +01:00 |
|
RMidhunSuresh
|
d1491cc203
|
More checks before returning
|
2021-11-08 15:11:41 +05:30 |
|
RMidhunSuresh
|
d31371b486
|
Return on upload in sw
|
2021-11-08 14:37:32 +05:30 |
|
Bruno Windels
|
2dccd36a6d
|
Merge pull request #575 from vector-im/bwindels/composer-layout-improvements
Composer layout improvements
|
2021-11-05 19:24:34 +01:00 |
|
Bruno Windels
|
23494ab630
|
bottom align send button, adjust paddings
|
2021-11-05 19:05:52 +01:00 |
|
Bruno Windels
|
2f15c9a4a7
|
show either attachment or send button, depending on composer value
|
2021-11-05 19:05:35 +01:00 |
|
Bruno Windels
|
c3203fdacd
|
explain this value
|
2021-11-05 19:05:09 +01:00 |
|
Bruno Windels
|
44e7e25cab
|
clear height while sending or clearing, also fix #572 in the process
|
2021-11-05 18:36:59 +01:00 |
|
Bruno Windels
|
fc1b9abe66
|
don't add line when hitting enter to send
|
2021-11-05 18:36:38 +01:00 |
|
Bruno Windels
|
365c8d0953
|
Merge pull request #566 from vector-im/composer-improvements
Support for multiline messages
|
2021-11-05 18:20:02 +01:00 |
|
Bruno Windels
|
8ffd98162c
|
don't make the composer shrink for now, timeline loses scroll position
|
2021-11-05 17:48:44 +01:00 |
|
Bruno Windels
|
c671596c6f
|
only schedule one resize callback per frame
|
2021-11-05 17:48:08 +01:00 |
|
Bruno Windels
|
b22437840d
|
don't set explicit height, rely on rows=1 for default height
|
2021-11-05 17:47:20 +01:00 |
|
RMidhunSuresh
|
96a2dd7c72
|
Add event handler before executing open
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
|
2021-11-04 00:02:50 +05:30 |
|
Bruno Windels
|
ee9c9b33ca
|
fix lint again
|
2021-11-03 02:36:53 +01:00 |
|
Bruno Windels
|
b2d8f5f023
|
fix lint
|
2021-11-03 02:35:22 +01:00 |
|
Bruno Windels
|
6d9d8797fe
|
use same UI as in settings to pick between recovery key and passphrase
|
2021-10-29 16:40:35 +02:00 |
|
Bruno Windels
|
44a26fd340
|
key backup: add disable button,and enabling add dehydrated device option
|
2021-10-29 15:48:28 +02:00 |
|
Bruno Windels
|
3b3751c827
|
remove dehydrated device test button from settings
|
2021-10-29 15:47:14 +02:00 |
|
Bruno Windels
|
6273d723f1
|
fix typo
|
2021-10-29 15:24:24 +02:00 |
|
RMidhunSuresh
|
6863fef7e5
|
Resize composer with text
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
|
2021-10-29 17:00:02 +05:30 |
|
RMidhunSuresh
|
3a6e74ae1c
|
Add css style
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
|
2021-10-29 15:11:34 +05:30 |
|
RMidhunSuresh
|
16bec0a656
|
Convert input to textarea
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
|
2021-10-29 15:11:12 +05:30 |
|
Bruno Windels
|
3ef37c15c7
|
remove import session button as it's not supported anymore
|
2021-10-28 11:47:54 +02:00 |
|
Bruno Windels
|
68a6113c26
|
add logout button to session load error screen
|
2021-10-28 11:47:31 +02:00 |
|
Bruno Windels
|
c89e414bb5
|
WIP3
|
2021-10-27 15:08:53 +02:00 |
|
Bruno Windels
|
7ef19e0ead
|
add export logs button when session fails to load
|
2021-10-26 15:30:52 +02:00 |
|
Bruno Windels
|
af85fe3892
|
confirm before logging out
|
2021-10-26 14:48:37 +02:00 |
|
Bruno Windels
|
f998041748
|
add logout button in settings
|
2021-10-26 12:49:31 +02:00 |
|
Bruno Windels
|
2b884e73db
|
remove action buttons on session picker
and now that we're adding logout, none of them are something we want to support really
|
2021-10-26 11:43:38 +02:00 |
|
Melroy van den Berg
|
a20fe2b5a6
|
Add HTML title & icon
Add missing HTML title and icon
|
2021-10-06 20:38:39 +02:00 |
|
Bruno Windels
|
cc58d27122
|
the build currently does not like override for some reason
|
2021-10-01 14:07:58 +02:00 |
|
Bruno Windels
|
1c06e36c1c
|
add override keyword
|
2021-10-01 10:07:17 +02:00 |
|
Bruno Windels
|
393e2f809e
|
make subscription handle return undefined, so we can reassign optional members in one statement
|
2021-10-01 10:01:52 +02:00 |
|
Bruno Windels
|
a0f443ccc3
|
Merge pull request #521 from DanilaFe/typescript-observable
Start migrating Observable code to TypeScript.
|
2021-10-01 09:54:29 +02:00 |
|
Bruno Windels
|
e42739ec81
|
scroll room list to top when entering query first
|
2021-09-30 17:19:42 +02:00 |
|
Danila Fedorin
|
64ba656043
|
Update ListView and TimelineListView
|
2021-09-29 18:08:13 -07:00 |
|
Danila Fedorin
|
3952c3b969
|
Rename BaseObservableList to TypeScript
|
2021-09-29 17:46:51 -07:00 |
|
Danila Fedorin
|
a7360f409e
|
Rename ObservableValue to TypeScript
|
2021-09-29 17:42:57 -07:00 |
|
Bruno Windels
|
004aa5d3dc
|
Merge pull request #519 from vector-im/bwindels/rickfixes
Fix immediate errors for sdk usage
|
2021-09-29 11:12:17 +02:00 |
|
Bruno Windels
|
6982f55cd7
|
move over word-break lines
this didn't get moved over when converting the timeline tile css to css grid
|
2021-09-24 18:42:47 +02:00 |
|
Bruno Windels
|
71bd797dd4
|
automatically position popups using a simpler algorithm
|
2021-09-24 18:28:06 +02:00 |
|
Bruno Windels
|
b8548afb71
|
export temporary vm typ def
|
2021-09-21 10:41:01 +02:00 |
|
Bruno Windels
|
a020febf8d
|
use mapped value rather than reading parent vm again
|
2021-09-21 10:02:17 +02:00 |
|
Bruno Windels
|
41089e2806
|
remove leftover logging
|
2021-09-16 22:30:03 +02:00 |
|
Bruno Windels
|
c4477a81ea
|
don't create the avatar node when we won't need it
|
2021-09-16 22:29:48 +02:00 |
|
Bruno Windels
|
f02d52ce4c
|
with !interactive, an array of an array is not a valid Child value
why didn't this fail before?
|
2021-09-16 22:29:13 +02:00 |
|
Bruno Windels
|
e978202f36
|
add min-height: 0
|
2021-09-16 17:48:29 +02:00 |
|
Bruno Windels
|
a62627f6db
|
fix lint warning
|
2021-09-16 16:39:17 +02:00 |
|