RMidhunSuresh
b134fa7409
Format swtich case properly
2022-01-14 18:17:49 +05:30
RMidhunSuresh
fee6447e22
Don't call render()
2022-01-14 18:17:49 +05:30
RMidhunSuresh
e99cd41ed0
Change check
2022-01-14 18:17:49 +05:30
RMidhunSuresh
af5a008d0f
Move links to vm
2022-01-14 18:17:49 +05:30
RMidhunSuresh
88f9ad09a2
Move method as local function
2022-01-14 18:17:49 +05:30
RMidhunSuresh
c34d574385
No need to export renderPart
2022-01-14 18:17:49 +05:30
RMidhunSuresh
d69059de68
Use different flag
2022-01-14 18:17:49 +05:30
RMidhunSuresh
dee22f7120
Implement render flags
2022-01-14 18:17:49 +05:30
RMidhunSuresh
46b69b3873
Render error
2022-01-14 18:17:49 +05:30
RMidhunSuresh
687aa5a7e3
Remove dead code
2022-01-14 18:17:49 +05:30
RMidhunSuresh
4df3654166
Prevent reply previews from being nested
2022-01-14 18:17:49 +05:30
RMidhunSuresh
1b9f970d7f
WIP: Render the whole view instead of messageBody
2022-01-14 18:17:49 +05:30
RMidhunSuresh
7f1b3e25e8
Use t instead of tag
2022-01-14 18:17:49 +05:30
RMidhunSuresh
f01d5d95d9
Reuse code from timeline view
2022-01-14 18:17:49 +05:30
RMidhunSuresh
89d6968139
Show decryption error as well
2022-01-14 18:17:49 +05:30
RMidhunSuresh
2773642406
No need to handle redaction specially
2022-01-14 18:17:49 +05:30
RMidhunSuresh
13cba84445
Remove mapSideEffect
2022-01-14 18:17:49 +05:30
RMidhunSuresh
bb45d0eae9
Render non-text messages as well
2022-01-14 18:17:49 +05:30
RMidhunSuresh
e0dc853d74
Fill matrix.to links
2022-01-14 18:17:49 +05:30
RMidhunSuresh
91912bdb8d
Create tile using tileCreator
2022-01-14 18:17:49 +05:30
RMidhunSuresh
54004eef4d
Integrate into update mechanism
2022-01-14 18:17:49 +05:30
RMidhunSuresh
4a12acf157
Improve error code
2022-01-14 18:17:49 +05:30
RMidhunSuresh
67da746b48
Render error
2022-01-14 18:17:49 +05:30
RMidhunSuresh
545aae31d9
WIP
2022-01-14 18:17:49 +05:30
RMidhunSuresh
3aa29cfc65
Do not remove reply preview
2022-01-14 18:17:49 +05:30
RMidhunSuresh
99f4eb6843
Minimize manual dom manipulation where possible
2022-01-14 18:17:49 +05:30
RMidhunSuresh
61f4d0719f
Refactor code
2022-01-14 18:17:49 +05:30
RMidhunSuresh
d6233e7c77
Render static avatar
2022-01-14 18:17:49 +05:30
RMidhunSuresh
31573b3599
Render reply
2022-01-14 18:17:49 +05:30
Bruno Windels
7897ea88cd
add some spaces and comments
2021-11-23 14:24:43 +01:00
Bruno Windels
4a64d0ee17
WIP
2021-11-19 22:49:46 +01:00
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
2f15c9a4a7
show either attachment or send button, depending on composer value
2021-11-05 19:05:35 +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
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
16bec0a656
Convert input to textarea
...
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
2021-10-29 15:11:12 +05:30
Bruno Windels
c89e414bb5
WIP3
2021-10-27 15:08:53 +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
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
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
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
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
a62627f6db
fix lint warning
2021-09-16 16:39:17 +02:00
Bruno Windels
d9ddeaf107
fix TS errors in TimelineView
2021-09-16 15:49:03 +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
69672dd99c
copy Daniel's conversion of html.js to TypeScript from microui
2021-09-16 10:45:06 +02:00
Bruno Windels
e4101ece65
add "jump down" button in timeline
2021-09-15 18:30:08 +02:00
Bruno Windels
1df12b8c89
only allow pixel gaps of < 1px for stick to bottom to prevent eleweb bug
...
https://github.com/matrix-org/matrix-react-sdk/pull/6751
2021-09-15 17:23:53 +02:00
Bruno Windels
2c415e37e7
where ResizeObserver is support, restore anchored node on resize
2021-09-15 17:23:28 +02:00
Bruno Windels
04edff29cf
give more top padding to gaps that appear in the middle of the timeline
2021-09-15 15:57:31 +02:00
Bruno Windels
247d6a2148
add comments
2021-09-14 17:01:30 +02:00
Bruno Windels
8858cffc55
fallback from scrollBy() to setting scrollTop on IE11
2021-09-13 14:53:08 +02:00
Bruno Windels
9411e6f065
WIP
2021-09-10 14:47:05 +02:00
Bruno Windels
d0f122a2be
WIP-ish, batch visible range requests, allow setting empty ranges and...
...
don't try to notify when the tile becomes invisible again,
we don't need it currently
2021-09-09 17:14:16 +02:00
Bruno Windels
ab67ac00b1
restore bottom of timeline initially after attach to DOM
...
this will also load more items if the viewport isn't filled
2021-09-08 12:06:17 +02:00
Bruno Windels
e89f60bac0
fill gap tiles when they become visible
2021-09-08 12:05:59 +02:00
Bruno Windels
7578bfa3d9
let tiles know when they become visible & load more tiles close to top
2021-09-08 12:05:19 +02:00
Bruno Windels
f4b4638ea8
actually, pass in just the tile instances for expressing the range
2021-09-07 19:10:53 +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
c6b020a9e7
Rename TimelineList to TimelineView for consistency
2021-09-06 13:31:43 +02:00
Bruno Windels
6c3a64f020
put switch button below input so it looks less like the big green link is related to the first paragraph
2021-09-01 15:44:14 +02:00
Bruno Windels
e105bc4237
fix lint warnings
2021-08-24 15:31:18 +02:00
Bruno Windels
dbb9e5363c
guard against part types that have not been impl in the view
2021-08-07 09:00:41 +02:00
Danila Fedorin
f239199b1b
Add rendering for horizontal rules
2021-08-06 15:50:03 -07:00
Bruno Windels
2c8e259339
focus composer when replying
2021-08-06 23:43:10 +02:00
Bruno Windels
c3177b06bf
Merge pull request #418 from vector-im/replies
...
Sending replies
2021-08-06 21:28:42 +00:00
Bruno Windels
9f0c3b9cea
await sending a message before clearing composer (this was missing all along)
2021-08-06 23:06:58 +02:00
Danila Fedorin
065b1789be
Remove interactive condition on continuation
2021-08-06 10:44:35 -07:00
RMidhunSuresh
1ce111c317
Css fix
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 21:07:30 +05:30
RMidhunSuresh
b97b9da14a
Link to member-panel from avatar
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 20:51:39 +05:30
Bruno Windels
1862e31396
Merge pull request #417 from MidhunSureshR/member-details
...
Member Panel - PR 2 - UI
2021-08-06 11:18:52 +00:00
RMidhunSuresh
7e8d76a95e
Refactor map into switch-case
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 16:21:31 +05:30
RMidhunSuresh
49be4e64ca
Remove object
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
fea4143af9
Use texttransform
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
0ff0850979
Remove dm user option
...
- I don't know why but I thought .../open-room/<user_id> would open an
invite view to a room with the specified user.
- Does not work like that, so removed.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
16887c3c33
Better formatting
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
4784bcc590
Make the tiles link to details
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
f9b1068bae
Add links
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
fe6551ff3c
Use powerlevel
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30