Correct SidePane behavior when no accounts present
This commit is contained in:
parent
b32d88cd95
commit
e70a1d459b
12
TODO.md
12
TODO.md
|
@ -1,13 +1,12 @@
|
||||||
- make pageup/down not slippery again
|
- make pageup/down not slippery again
|
||||||
- test sidepane opacity
|
|
||||||
- better cancel for all boxes
|
- better cancel for all boxes
|
||||||
- get rid of all currentSpacing stuff
|
- get rid of all currentSpacing stuff
|
||||||
|
|
||||||
- Media
|
- Media
|
||||||
- Confirmation box after picking file to upload
|
|
||||||
- Handle set avatar upload errors
|
- Handle set avatar upload errors
|
||||||
- Show real progression for mxc thumbnail loadings
|
|
||||||
- Support encrypted m.file
|
- Support encrypted m.file
|
||||||
|
- Confirmation box after picking file to upload
|
||||||
|
- Show real progression for mxc thumbnail loadings
|
||||||
|
|
||||||
- Show reason under broken thumbnail icons
|
- Show reason under broken thumbnail icons
|
||||||
- Support m.file thumbnails
|
- Support m.file thumbnails
|
||||||
|
@ -62,9 +61,6 @@
|
||||||
- Way to open context menus without a right mouse button
|
- Way to open context menus without a right mouse button
|
||||||
- `smartVerticalFlick()` gradual acceleration
|
- `smartVerticalFlick()` gradual acceleration
|
||||||
|
|
||||||
- Just use Shortcut onHeld instead of analyzing the current velocity
|
|
||||||
in `smartVerticalFlick()`
|
|
||||||
- Thinner expand arrow icon
|
|
||||||
- Restore previous focus after closing right click context menu
|
- Restore previous focus after closing right click context menu
|
||||||
- Choose a better default easing type for animations
|
- Choose a better default easing type for animations
|
||||||
- Make HListView scrollbars visible
|
- Make HListView scrollbars visible
|
||||||
|
@ -85,8 +81,6 @@
|
||||||
- Which element was focused
|
- Which element was focused
|
||||||
- Room member filter field
|
- Room member filter field
|
||||||
|
|
||||||
- Prevent others from having a too similar hue as us, or our own accounts
|
|
||||||
from sharing a too similar hue
|
|
||||||
- Combine events so they take less space
|
- Combine events so they take less space
|
||||||
- After combining is implemented, no need to hide profile changes anymore.
|
- After combining is implemented, no need to hide profile changes anymore.
|
||||||
- Replies
|
- Replies
|
||||||
|
@ -117,7 +111,7 @@
|
||||||
- Better look when reduced to minimum size
|
- Better look when reduced to minimum size
|
||||||
|
|
||||||
- Server selection
|
- Server selection
|
||||||
- Register/Forgot? for SignIn dialog
|
- Register/Reset for AddAccount page
|
||||||
- Prevent using the composer if no permission (power levels)
|
- Prevent using the composer if no permission (power levels)
|
||||||
- Prevent using an alias if that user is not in the room or no permission
|
- Prevent using an alias if that user is not in the room or no permission
|
||||||
- Spinner when loading past room events
|
- Spinner when loading past room events
|
||||||
|
|
|
@ -5,7 +5,6 @@ import "../utils.js" as Utils
|
||||||
|
|
||||||
HDrawer {
|
HDrawer {
|
||||||
id: sidePane
|
id: sidePane
|
||||||
opacity: mainUI.accountsPresent ? 1 : 0
|
|
||||||
color: theme.sidePane.background
|
color: theme.sidePane.background
|
||||||
normalSize: window.uiState.sidePaneManualWidth
|
normalSize: window.uiState.sidePaneManualWidth
|
||||||
minNormalSize: theme.controls.avatar.size + theme.spacing * 2
|
minNormalSize: theme.controls.avatar.size + theme.spacing * 2
|
||||||
|
@ -34,6 +33,13 @@ HDrawer {
|
||||||
|
|
||||||
Behavior on opacity { HOpacityAnimator {} }
|
Behavior on opacity { HOpacityAnimator {} }
|
||||||
|
|
||||||
|
Binding {
|
||||||
|
target: sidePane
|
||||||
|
property: "visible"
|
||||||
|
value: false
|
||||||
|
when: ! mainUI.accountsPresent
|
||||||
|
}
|
||||||
|
|
||||||
HColumnLayout {
|
HColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user