Bruno Windels
081820d8fb
also update view when going to an not-found room
2020-10-13 15:14:07 +02:00
Bruno Windels
a14795e3f8
unused
2020-10-13 15:05:11 +02:00
Bruno Windels
d1d675ed7a
make navigation observables already return new value before they emit
2020-10-13 14:54:57 +02:00
Bruno Windels
7f3e0f237b
also do redirect after initial navigation
2020-10-13 14:43:45 +02:00
Bruno Windels
1780f334ea
more tests
2020-10-13 13:13:47 +02:00
Bruno Windels
d9c8a6339e
support empty strings for rooms segment
2020-10-13 13:13:35 +02:00
Bruno Windels
7b13e45e19
fix creating the rooms segment
2020-10-13 13:13:15 +02:00
Bruno Windels
a360d0a2b9
also unset room vm if moving away from room
2020-10-13 13:12:49 +02:00
Bruno Windels
379d65edf1
also create new vm when coming for grid if transfering vm fails
2020-10-13 13:12:30 +02:00
Bruno Windels
77a58041eb
clean-up room grid initialization with vm transfering
...
also handle duplicate rooms, and add unit tests for grid vm
2020-10-13 13:11:19 +02:00
Bruno Windels
c8dd7b42e7
encountered this very unlikely race while testing, so prevent it
2020-10-13 13:10:35 +02:00
Bruno Windels
db5c98a706
support reassigning to null from untrack
2020-10-13 13:10:27 +02:00
Bruno Windels
4e8e9eae26
first round of fixes
2020-10-12 18:31:55 +02:00
Bruno Windels
14d2dcbc60
remove dead code
2020-10-12 17:49:41 +02:00
Bruno Windels
b2d6b7014b
first draft of url navigation for grid
2020-10-12 17:49:06 +02:00
Bruno Windels
6c2c29a7da
WIP
2020-10-09 19:43:11 +02:00
Bruno Windels
83ac3eccc5
apply url changes to view gallery
2020-10-09 17:04:25 +02:00
Bruno Windels
56e51fc2aa
idea comment
2020-10-09 17:04:17 +02:00
Bruno Windels
927e8134d3
use url navigation in root view model
...
also track all view models as it is
important everything is properly disposed now
2020-10-09 17:03:38 +02:00
Bruno Windels
33627edcb3
use url to go back in login view
2020-10-09 17:03:24 +02:00
Bruno Windels
35e85c55e0
use urls instead of callbacks to navigate in session picker
2020-10-09 17:03:13 +02:00
Bruno Windels
7b86b483ed
confirm before clearing
2020-10-09 17:02:19 +02:00
Bruno Windels
3ab68ef438
throw when something tracked is not disposable, fail early
2020-10-09 17:01:54 +02:00
Bruno Windels
1289f065d6
implement root view as template view
2020-10-09 17:01:39 +02:00
Bruno Windels
0f8f558889
dispose session container from view model
2020-10-09 17:01:22 +02:00
Bruno Windels
d48bbd122a
make applyUrl and history public
...
so we don't need to bother with silent flags in replaceUrl
2020-10-09 17:00:19 +02:00
Bruno Windels
35b83b7976
make SessionLoadViewModel transfer ownership of container with callback
...
also, deleting the session when navigating away is now done by
LoginViewModel
2020-10-09 16:59:34 +02:00
Bruno Windels
4ae622bdd3
make pushUrl silent again
2020-10-09 16:58:53 +02:00
Bruno Windels
41c1c9a6c3
rename Brawl -> Root
...
one of the last occurrences of brawl
2020-10-09 09:59:59 +02:00
Bruno Windels
c9bb18b87e
make loading screen a bit prettier
...
by wrapping it in a view with common pre-session chrome
this renames the existing SessionLoadView to SessionLoadStatusView
so we can call the wrapper the former.
2020-10-09 09:58:00 +02:00
Bruno Windels
696e7856f8
some cleanup
2020-10-09 09:56:01 +02:00
Bruno Windels
da9798979c
Merge branch 'master' into bwindels/url-routing
2020-10-09 09:30:38 +02:00
Bruno Windels
24690f8035
fix placeholder not being hidden in mobile layout
2020-10-09 09:30:06 +02:00
Bruno Windels
0d54f88670
early draft of showing load progress of a session loaded through url
2020-10-08 18:23:53 +02:00
Bruno Windels
00bd4364f0
early draft of loading session via url scheme
2020-10-08 18:23:37 +02:00
Bruno Windels
087aff4ef4
set to true if undefined passed in as well
2020-10-08 18:23:08 +02:00
Bruno Windels
4fe971775c
more url router work, differentiate between path and url
...
rename hashobservable to history
2020-10-08 18:22:36 +02:00
Bruno Windels
547241f577
Merge branch 'master' into bwindels/url-routing
2020-10-08 16:42:14 +02:00
Bruno Windels
ca0f8fd142
leave some space between room list tile and edge
2020-10-08 16:37:24 +02:00
Bruno Windels
5c2425796c
Merge branch 'master' into bwindels/url-routing
2020-10-08 16:33:19 +02:00
Bruno Windels
cb0ef1a1ae
this makes the caret huge on gnome web
2020-10-08 16:29:38 +02:00
Bruno Windels
0db3842fcc
release v0.1.9
2020-10-08 16:18:55 +02:00
Bruno Windels
30ffe72a7c
Merge pull request #142 from vector-im/bwindels/grid-and-other-css-polish
...
Grid and other css polish
2020-10-08 14:18:08 +00:00
Bruno Windels
35832e387a
Swap grid tile description based on focus
...
swap RoomPlaceholderView for generic StaticView
2020-10-08 16:14:59 +02:00
Bruno Windels
93e301e4fa
fix spinner margins
2020-10-08 15:53:12 +02:00
Bruno Windels
4783e03871
fix room header margin issue with hidden back button
2020-10-08 15:21:16 +02:00
Bruno Windels
868b1a1045
style composer
2020-10-08 15:20:52 +02:00
Bruno Windels
59802d1812
style room header
2020-10-08 15:00:20 +02:00
Bruno Windels
2cbe349a4d
don't read private parts
2020-10-08 14:21:34 +02:00
Bruno Windels
cdd1efe477
ignore build packages
2020-10-08 14:19:02 +02:00