R Midhun Suresh
3ff55204f3
No need for lambda here
...
Co-authored-by: Bruno Windels <bruno@windels.cloud>
2021-08-06 16:04:51 +05:30
RMidhunSuresh
86ddfc1e9e
Only need to emit
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-06 13:06:38 +05:30
R Midhun Suresh
974d9bf199
Don't cache powerlevel value
...
Co-authored-by: Bruno Windels <bruno@windels.cloud>
2021-08-06 13:02:58 +05:30
RMidhunSuresh
d3ea26a38a
Use i8n in role
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
862e8569a9
Describe what changed in emitChange()
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
a16c3aacab
Create getter
...
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
d056a9f961
Keep memberlist until rightpanel is closed
...
- This should make switching between memberlist and
member-details panel smoother for large rooms
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
65b1a1958a
Add link to open member details
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
7dacbdb700
Show back button
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
ef17808fbd
Fallback to memberlist if member not available
...
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
RMidhunSuresh
c2b9c3f726
Add isEncrypted to vm
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
7ef7c419e3
Add basic UI and styling
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
acdba8fc02
Add license headers
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
e4bb20575b
Create navigation and add to right panel
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
RMidhunSuresh
fdd4caa0b7
Create vm and view
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-08-05 16:32:30 +05:30
Danila Fedorin
0c0633fdd4
Fix body.string in BaseMessageTile
2021-07-16 14:28:18 -07:00
Danila Fedorin
fb29913ef0
Add lint fixes
2021-07-16 14:21:39 -07:00
Danila Fedorin
c835dc324e
Merge branch 'master' of github.com:vector-im/hydrogen-web into formatted-messages
2021-07-16 14:05:43 -07:00
Danila Fedorin
3e4314e7f3
Update comment based on 'small object' version of code.
2021-07-16 13:53:14 -07:00
Danila Fedorin
da48ddec83
Fix == typo
2021-07-16 13:49:33 -07:00
Danila Fedorin
7cfdd4f663
Rename TextTileFormat to BodyFormat
2021-07-16 13:46:25 -07:00
Danila Fedorin
031ce42831
Properly cache message format.
2021-07-16 13:43:40 -07:00
Danila Fedorin
9e1f57a2b1
Switch tiles to using enums and checking format.
2021-07-16 13:36:26 -07:00
Danila Fedorin
1e2945ca54
Add license headers to new files.
2021-07-16 13:12:26 -07:00
Danila Fedorin
900ebfe289
Properly pass children to list block
2021-07-16 13:05:47 -07:00
Danila Fedorin
cdf85edad9
Move pill parsing into deserialize and avoid intermediate objects.
2021-07-16 13:01:33 -07:00
Danila Fedorin
eacc033929
Make code blocks accept non-code tags.
2021-07-16 11:38:41 -07:00
Bruno Windels
b5b19abb24
only allow links for the schemas mentioned in the spec
2021-07-16 18:32:40 +02:00
RMidhunSuresh
ec4a783759
Fix disambiguator
...
- Do not disambiguate name on room rejoin
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
ec8b6f9dd2
Inline method
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
694b627309
Inline method
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
da733f9f8a
Move files to members directory
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
60793798c7
Subscribe to powerLevels
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
960f2c283e
Remove comment
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
5873ab63ba
Release memberlist after panel is closed
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
c7e12c98b5
Make addPanelIfNeeded more generic
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
f98a8847e3
Implement UX
...
- Add chevron to member count in room details
- Make some rows in panel buttons
- Add user chrome to right panel
- Style UI
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
8e55967db3
Create UI to open memberlist from details panel
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
2502c4024a
Fix broken tests
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
8a976ef24b
Make powerLevels observable
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
ea0851eb94
Keep memberlist panel open on room/grid change
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
db515d48c1
Inline flatten method
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
53fc6a7af9
Check prev name is string
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
11d411c9a9
Add failing test
...
For empty names not un-disambiguating
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
89e256e563
Return array to prevent fetching again
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
ea06d4f88e
Eliminate double lookup
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30
RMidhunSuresh
da1e981948
name changes
...
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
2021-07-16 17:08:18 +05:30