RMidhunSuresh
|
d1f465e6cc
|
Replace slice with iterator
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
c539c38699
|
Account for padding in itemHeight
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
f506cf615b
|
div --> li
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
|
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
|
ee072343f5
|
Switch to lazy list
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 |
|
RMidhunSuresh
|
35f6043d06
|
Support slice
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 |
|
RMidhunSuresh
|
ad6122a5b6
|
Add explaining comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
41806b5e82
|
Remove duplication
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
ab0a48ab31
|
rename rightpanel to right-panel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
3bb82e55bf
|
Disambiguator is not async
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
e935423814
|
Remove duplication in RightPanelViewModel
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
bcfd1bd135
|
Support loading view for all panels
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
d64d07aee5
|
Move loading view into separate file
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
3fb89a81bc
|
Add some initial styling
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
7139711314
|
Add avatar to tile
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
86c1550850
|
Switch to collator for perf reasons
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
3d4ba20150
|
Put up a temporary loading view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
ef40027502
|
Call disambiguate on update/map
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
bcb46fc54a
|
Make tile vm support disambiguation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
b8542c6754
|
Implement name disambiguation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
dea0cad252
|
Fix bug in FilteredMap
Caused multiple updates to be triggered.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
404129f60e
|
Settle on MappedMap
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
f41c835e91
|
Support updater in MappedMap
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
0819dcb29e
|
Use MappedList instead of MappedMap
- MappedList supports an optional updater method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
b62473ae79
|
Add update method
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
4fcaac3865
|
Add binding in view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
11eb9c7783
|
Use set instead of add in memberlist
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
2e8c4563aa
|
Implement set method to support update from value
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
a1e3ff3ed8
|
Use name instead of displayName
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
a9ff6ab026
|
Sort memberlist using powerlevel
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
3e23392a0e
|
Consider powerlevels in comparator and add tests
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
cb5e598e95
|
Getter for powerlevel from room
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
f7a6fbd901
|
Make getUserLevel() public
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|
RMidhunSuresh
|
ddb7a16fb8
|
Make member private
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-07-16 17:08:18 +05:30 |
|