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 |
|
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 |
|
Bruno Windels
|
71bd797dd4
|
automatically position popups using a simpler algorithm
|
2021-09-24 18:28:06 +02:00 |
|
Bruno Windels
|
a6bcfac597
|
rename UIView to IView
|
2021-09-16 15:58:48 +02:00 |
|
Bruno Windels
|
b71a26b04a
|
avoid using ! in ListView
|
2021-09-16 15:56:57 +02:00 |
|
Bruno Windels
|
81ec8dca8c
|
improve typing in utils
|
2021-09-16 15:51:45 +02:00 |
|
Bruno Windels
|
00aa40ea7b
|
copy Daniel's conversion of TemplateView to TypeScript from microui
with some minor type adjustments
|
2021-09-16 15:46:02 +02:00 |
|
Bruno Windels
|
ea4d833a43
|
reuse ViewNode in Child type
|
2021-09-16 15:39:25 +02:00 |
|
Bruno Windels
|
040efa970c
|
make className binding always have a value (may be undefined through T)
|
2021-09-16 15:39:17 +02:00 |
|
Bruno Windels
|
68fb093c9e
|
don't require mount args in mountView, like in UIView interface
|
2021-09-16 15:23:48 +02:00 |
|
Bruno Windels
|
060f4aa297
|
change extension in preparation for TS conversion
|
2021-09-16 14:02:36 +02:00 |
|
Bruno Windels
|
65f69a121b
|
copy Daniel's conversion of BaseUpdateView to TypeScript from microui
|
2021-09-16 14:01:33 +02:00 |
|
Bruno Windels
|
69672dd99c
|
copy Daniel's conversion of html.js to TypeScript from microui
|
2021-09-16 10:45:06 +02:00 |
|
Bruno Windels
|
b3cd2a0e03
|
express the visible range with EventKeys rather than list indices
This is less ambiguous in case the DOM and the ObservableList would be
out of sync.
|
2021-09-07 17:48:49 +02:00 |
|
Bruno Windels
|
c78a83d398
|
restore most bottom tile in VP on any list change
and tell view model visible range so it can load more or fill gaps, ...
|
2021-09-07 15:17:27 +02:00 |
|
Bruno Windels
|
ad4ec5f04c
|
convert TimelineView to typescript
|
2021-09-06 17:51:32 +02:00 |
|
Bruno Windels
|
632d29795a
|
convert ListView to typescript
|
2021-09-06 17:12:14 +02:00 |
|
Bruno Windels
|
e105bc4237
|
fix lint warnings
|
2021-08-24 15:31:18 +02:00 |
|
Danila Fedorin
|
f239199b1b
|
Add rendering for horizontal rules
|
2021-08-06 15:50:03 -07:00 |
|
RMidhunSuresh
|
281dc8bdb4
|
Add missing license headers
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-23 18:05:48 +05:30 |
|
Danila Fedorin
|
c835dc324e
|
Merge branch 'master' of github.com:vector-im/hydrogen-web into formatted-messages
|
2021-07-16 14:05:43 -07:00 |
|
RMidhunSuresh
|
66d5f4d1a3
|
Make code clearer
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
9fdfebf00d
|
Replace get with iterator and remove lambda
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
f366479c16
|
Fix move bug
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
0bd1d2b291
|
Improve code
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
829830c0fa
|
Fix lazylist
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
0e0976c7f5
|
Inline method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
611524cdda
|
Log instead of throwing error
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
1f67aa34d3
|
Move LoadingView.js
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
fe4f6d2308
|
Remove listHasChangedSize
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
c073d4c0d0
|
Unmount child views correctly
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
d1f465e6cc
|
Replace slice with iterator
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
d3a8e95962
|
Find height of container from DOM
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
5338457ea0
|
Use normalized index in recreateItem
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
85924aba92
|
Fix update method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
4cb9adc9ea
|
Remove misleading comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
9a00143623
|
Improve comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
96e2bb0b1a
|
Add explaining comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
f05574f579
|
Fix updates
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
452eee6767
|
Incorporate lazyrender code from element
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
0b9f4a5e1d
|
Add LazyListView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
1d5b16395f
|
Export function
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
Danila Fedorin
|
d69b78469c
|
Add table viewing code.
|
2021-07-15 13:19:54 -07:00 |
|
Danila Fedorin
|
78d7d556e4
|
Add blockquote and del elements.
|
2021-07-14 12:38:55 -07:00 |
|
Danila Fedorin
|
cc506756a1
|
Add code tag to HTML
|
2021-07-01 13:55:01 -07:00 |
|
Bruno Windels
|
09aba78803
|
Merge branch 'master' into room-info
|
2021-06-24 15:06:37 +00:00 |
|
Bruno Windels
|
4312610e7d
|
support menu options with custom DOM
|
2021-06-17 16:45:53 +02:00 |
|
RMidhunSuresh
|
008f3601ca
|
Remove link support from Menu
- Not needed anymore since every link item has been rewritten as a
button.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
4c962943b2
|
Modify setters in MenuOption to support chaining
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|