Rename SendBox to Composer
This commit is contained in:
parent
97b1608bcb
commit
399a35dacb
17
TODO.md
17
TODO.md
|
@ -4,11 +4,12 @@
|
||||||
- Theming
|
- Theming
|
||||||
- File format
|
- File format
|
||||||
- Make all icon SVG files white/black, since we can now use ColorOverlay
|
- Make all icon SVG files white/black, since we can now use ColorOverlay
|
||||||
|
- Gray colored buttons when disabled
|
||||||
- Make the icon blue in EditAccount when hovering and no avatar set
|
- Make the icon blue in EditAccount when hovering and no avatar set
|
||||||
- Remove the filled theme
|
- Remove the filled theme
|
||||||
- Have a default background
|
- Have a default background
|
||||||
|
|
||||||
- Sendbox
|
- Composer
|
||||||
- Room Sidepane
|
- Room Sidepane
|
||||||
- Hide when window too small
|
- Hide when window too small
|
||||||
- Also save/load its size
|
- Also save/load its size
|
||||||
|
@ -32,6 +33,9 @@
|
||||||
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
||||||
|
|
||||||
- UI
|
- UI
|
||||||
|
- When starting a long task, e.g. importing keys, quitting the page,
|
||||||
|
and coming back, show the buttons as still loading until operation is done
|
||||||
|
|
||||||
- Choose a better default easing type for animations
|
- Choose a better default easing type for animations
|
||||||
- Make invite icon blink if there's no one but ourself in the room,
|
- Make invite icon blink if there's no one but ourself in the room,
|
||||||
but never do it again once the user hovered it long enough to show tooltip
|
but never do it again once the user hovered it long enough to show tooltip
|
||||||
|
@ -40,11 +44,8 @@
|
||||||
- Remove first html lists left margin
|
- Remove first html lists left margin
|
||||||
- Adapt UI for small heights
|
- Adapt UI for small heights
|
||||||
|
|
||||||
- Popup:
|
|
||||||
- Transitions
|
|
||||||
|
|
||||||
- Restoring UI state:
|
- Restoring UI state:
|
||||||
- Sendbox content
|
- Composer content
|
||||||
- Which element was focused
|
- Which element was focused
|
||||||
- Room member filter field
|
- Room member filter field
|
||||||
|
|
||||||
|
@ -52,8 +53,6 @@
|
||||||
from sharing a too similar hue
|
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 our own profile changes.
|
- After combining is implemented, no need to hide our own profile changes.
|
||||||
- When starting a long task, e.g. importing keys, quitting the page,
|
|
||||||
and coming back, show the buttons as still loading until operation is done
|
|
||||||
- Make invite/left banners look better in column mode
|
- Make invite/left banners look better in column mode
|
||||||
- Replies
|
- Replies
|
||||||
- Messages editing
|
- Messages editing
|
||||||
|
@ -89,7 +88,7 @@
|
||||||
- Register/Forgot? for SignIn dialog
|
- Register/Forgot? for SignIn dialog
|
||||||
- Add room
|
- Add room
|
||||||
- Logout & leave/forget room warning popup
|
- Logout & leave/forget room warning popup
|
||||||
- Prevent using the SendBox 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 or images
|
- Spinner when loading past room events or images
|
||||||
|
|
||||||
|
@ -116,7 +115,7 @@
|
||||||
- Edit/delete own devices
|
- Edit/delete own devices
|
||||||
- Request room keys from own other devices
|
- Request room keys from own other devices
|
||||||
- Auto-trust accounts within the same client
|
- Auto-trust accounts within the same client
|
||||||
- Import/export keys
|
- Export keys
|
||||||
- Uploads & proper http thumbnails
|
- Uploads & proper http thumbnails
|
||||||
- Reduce messages ListView cacheBuffer height once http thumbnails
|
- Reduce messages ListView cacheBuffer height once http thumbnails
|
||||||
downloading is implemented
|
downloading is implemented
|
||||||
|
|
|
@ -7,7 +7,7 @@ import "RoomSidePane"
|
||||||
|
|
||||||
HSplitView {
|
HSplitView {
|
||||||
id: chatSplitView
|
id: chatSplitView
|
||||||
Component.onCompleted: sendBox.setFocus()
|
Component.onCompleted: composer.setFocus()
|
||||||
|
|
||||||
HColumnLayout {
|
HColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
@ -30,8 +30,8 @@ HSplitView {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
SendBox {
|
Composer {
|
||||||
id: sendBox
|
id: composer
|
||||||
visible: ! inviteBanner.visible && ! leftBanner.visible
|
visible: ! inviteBanner.visible && ! leftBanner.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,12 +45,12 @@ Rectangle {
|
||||||
// "ltuc <" + lineTextUntilCursor + ">", "dob",
|
// "ltuc <" + lineTextUntilCursor + ">", "dob",
|
||||||
// deleteCharsOnBackspace, "m", lineTextUntilCursor.match(/^ +$/))
|
// deleteCharsOnBackspace, "m", lineTextUntilCursor.match(/^ +$/))
|
||||||
|
|
||||||
id: sendBox
|
id: composer
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.minimumHeight: theme.baseElementsHeight
|
Layout.minimumHeight: theme.baseElementsHeight
|
||||||
Layout.preferredHeight: areaScrollView.implicitHeight
|
Layout.preferredHeight: areaScrollView.implicitHeight
|
||||||
Layout.maximumHeight: pageLoader.height / 2
|
Layout.maximumHeight: pageLoader.height / 2
|
||||||
color: theme.chat.sendBox.background
|
color: theme.chat.composer.background
|
||||||
|
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -65,7 +65,7 @@ Rectangle {
|
||||||
HScrollableTextArea {
|
HScrollableTextArea {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: Math.max(0, sendBox.Layout.minimumHeight - 34)
|
Layout.topMargin: Math.max(0, composer.Layout.minimumHeight - 34)
|
||||||
|
|
||||||
id: areaScrollView
|
id: areaScrollView
|
||||||
placeholderText: qsTr("Type a message...")
|
placeholderText: qsTr("Type a message...")
|
|
@ -282,5 +282,5 @@ chat:
|
||||||
typingMembers:
|
typingMembers:
|
||||||
color background: colors.mediumBackground
|
color background: colors.mediumBackground
|
||||||
|
|
||||||
sendBox:
|
composer:
|
||||||
color background: colors.strongBackground
|
color background: colors.strongBackground
|
||||||
|
|
Loading…
Reference in New Issue
Block a user