Changelogs: Added: - `hideMembershipEvents` setting in config file, controls whether events such as "x joined the room" are shown in the timeline - `hideProfileChangeEvents` setting in config file, controls whether display name and avatar change events are shown in the timeline - Compact mode to make accounts, rooms, messages and room members take only one line as well as reducing vertical spacing between them. Set by the new `compactMode` setting in config file, and can also be toggled with the `keys.toggleCompactMode` keybind which defaults to Alt+Ctrl+C - `keys.focusRoomAtIndex` in config file, a `{"<index>": "<keybind>"}` mapping which by default binds Alt+1-9 and Alt-0 to focus room 1 to 10 in the current account - User ID, display names, room ID and room aliases are now automatically transformed to matrix.to links and will be rendered as mentions by clients. In Mirage, this results in user ID/names being colored with the same color seen when they send messages - Track the number of times your user was mentioned in rooms. The visual counter is not yet displayed, since there currently is no way to mark messages as read and make the counter go down Fixed: - Python exceptions occuring in the asyncio loop not being printed in the terminal - Extra newline shown after code blocks in messages - Constant CPU usage due to button loading animations still being rendered while uneeded and invisible Theme changes: - Added `controls.avatar.compactSize` property - Added `.mention` class styling to `chat.message.styleSheet`
9.8 KiB
TODO
Goals before 0.5.0
-
Redacting messages
-
Download progress bar for file events, "Save as..."
-
Make rooms fully manageable within Mirage: settings, permissions, kick, etc
-
See about FlatPak packaging
-
Add AppImage metadata file
-
Pillow now bundle image libraries?
Update AppImage building script and INSTALL.md
Refactoring
-
Rewrite the message text selection buggy mess
-
Put keybindings in the components they belong to instead of shoving them
all in one central file -
Rewrite account settings using
HTabbedContainer
- Get rid of all
currentSpacing
stuff - Use new default/reset controls system
- Display name field text should be colored
- Get rid of all
-
Split
HScrollableTextArea
intoHTextArea
andHScrollView
components -
Refactor
Composer
-
Make sure we don't store any state in delegates
-
Drop the
HBox
buttonModel
/buttonCallbacks
HBox
approach,
be more declarative -
Look into Kirigami for QML
Issues
-
When zooming in enough, "Mirage " label overflows
-
Catch server 5xx errors when sending message and retry
-
Popups and room settings can't be scrolled when not enough height to show all
-
Handle cases where a known account's access token is invalid
-
If an account is gone from the user's config, discard UI state last page
-
First sent message in E2E room is sometimes undecryptable
(can be fixed by logging out and in again) (still valid?) -
After forgetting a room, it comes back because of the "you left" event
-
code
and links in quote ("> http://example.com") aren't properly colored
in room "last message" subtitle -
Timer
andAnimation
are bound to framerate -
Terrible performance using
QT_QPA_PLATFORM=wayland-egl
, must usexcb
-
Can't use
QQmlApplicationEngine
, problem with QApplication?
See https://bugreports.qt.io/browse/QTBUG-50992 -
not rendered -
Pausing uploads doesn't work well, servers ends up dropping the connection
(no real solution possible?)
Interface
-
Make clicking on user/room mentions open relevant UI instead of matrix.to
URL in browser -
Labeled text area component, use it for room creation/settings topic
- Linkify URLs in topic text areas
-
Expand the room pane if it's currently too small to show room settings
-
Use a loader for items not in view for the
HTabContainer
'sSwipeView
-
Make "Cancel" buttons consistent, and able to cancel running Backend
coroutines. SetdisabledWhileLoading
tofalse
for all "OK" buttons where
it makes sense. -
Add missing room keybindings (e.g. to open the invite members popup)
-
Room pane keybindings
-
Remember the previously focused item in page for ctrl+tab
-
https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
-
Improve when HDrawer should collapse when the ui is zoomed
-
Way to open context menus without a right mouse button
-
Make room invite/left banner buttons look better
-
Choose a better easing types for animations
-
Make HListView scrollbars more visible
-
In messages, remove the HTML lists excess left margin
-
Improve UI for very small window heights
-
In room creation, click avatar to set the future room's avatar
-
In join room page, show the matching room's avatar when typing
-
In direct chat page, show the matching user's avatar when typing
-
Combine events so they take less space
- After combining is implemented,
no need to hide profile changes by default anymore
- After combining is implemented,
-
Animate
DayBreak
apparition -
Device settings
-
Replies
-
Messages editing and redaction
-
Code highlighting
-
Adapt shortcuts flicking speed to font size
-
Accept drag and drop to upload files or set a new avatar
-
Improve room tooltips, e.g. show last messages
-
Warn user when connection is lost or 429s happen
-
"Rejoin" LeftBanner button if room is public
-
Daybreak color
-
Conversation breaks: show time of first new msg after break instead of big
blank space -
MainPane
:- Animate when logging out last account and sidepane turns invisible
-
Server selection
-
Implement Register/Reset pages
-
Theming
- Use a standard file format
- icons.preferredPack: accept multiple values
- Find icon packs in user data dir
- See Text.fontSizeMode
-
Settings page
-
Notifications
-
Opening links with keyboard
-
Better
<pre>
-
Replace the rubbish default filepicker on Linux
Media-related
-
Add upload keybindings (close failed upload, pause, resume)
-
Handle errors when setting an avatar
-
Show confirmation box when picking file to upload or uploading from clipboard
-
Show proper progress ring for mxc thumbnails loading
-
Sentinel function to report local file paths for already downloaded media,
without having to click and try downloading first -
EventFile "Save as..." context menu entry
-
UI for download progress (using
Transfer
like for uploads) -
Show a reason or HTTP error code for thumbnails that fail to load
-
Support
m.file
thumbnails -
Generate video thumbnails
-
Display GIF static thumbnails while the real GIF is loading
-
Audio/video player
- Can GIFs use it?
-
EventLink
for client-side URL previews- Special UI for matrix.to URLs
-
Prevent using upload keybindings in rooms where user doesn't have permission
to upload
Backend
-
Saving the room settings
-
Optimize Model item replacement
-
Refetch profile after manual profile change, don't wait for a room event
-
Better config file format
-
Prevent starting multiple client instances, causes problems with E2E DB
-
Check if username exists on login screen
-
Logout previous session when adding an account that's already connected
-
Startup improvements:
- Initial sync filter to get more events on first sync
- Lazy loading members
- Cache and restore profiles, room events and states
- Use AsyncClient
store_sync_tokens
- Make sure to all members are fetched before sending an E2E message
- Fetch all members when using the filter members bar
-
Properly handle direct chats
-
Live-reloading accounts.json
-
E2E
- Device verification
- Edit/delete own devices
- Request room keys from own other devices
- Auto-trust accounts within the same client
- Provide help when undecryptable messages occur, including:
- Trigger
nio.AsyncClient.request_room_key
- Option to export-logout-login-import to fix one-time key problems
- Trigger
-
Read receipts
-
Status message and presence
Nio contributions
-
Streaming download & decrypt
-
Running blocking DB function calls in executor (WIP)
-
AsyncClient.share_group_session
: send device batches concurrently (WIP) -
Dedicated error for invalid password on key import
-
RoomMessageMedia
andRoomAvatarEvent
info attributes -
Handle
m.room.aliases
events -
Support "Empty room (was ...)" after peer left
-
Left room events after client reboot
-
Previewing room without joining
-
Add the
resume()
account "login" method
Distribution and dependencies
- Update to Mistune v2.0
Notable changes for future Qt version upgrade
Qt 5.13
- Added
SplitView
- Added
cache
property to icon
Qt 5.14
-
Applications can now opt-in to use non-integer scale factors.
UseQGuiApplication::highDpiScaleFactorRoundingPolicy
. -
Added
qmlRegisterSingletonInstance
function.
This allows to expose a QObject as a singleton to QML, without having to
create a factory function as required byqmlRegisterSingletonType
.
It is meant as a type safe replacement ofsetContextProperty
. -
Added
qmlRegisterAnonymousType
as a replacement forqmlRegisterType
.
It allows to specify the URI and major version for better tooling support. -
qmllint gained an experimental -U option. If run with it, it warns about
about accesses to unqualified identifiers -
Text
andTextEdit
now support Markdown format
(CommonMark and GitHub dialects) as an alternative to HTML.
Includes the GitHub checklist extension, such that you can click to toggle
checkboxes in aTextEdit
. -
TextEdit
uses an I-beam cursor by default, and a pointing-hand cursor when
hovering a checkbox or a link -
Added
WheelHandler
, an Event Handler for the mouse wheel, and optionally
for emulated mouse wheel events coming from a trackpad. -
Added
BoundaryRule
in Qt.labs.animation: aPropertyValueInterceptor
that
restricts the range of values a numeric property can have, applies
"resistance" when the value is overshooting, and provides the ability to
animate it back within range. It's particularly useful in combination with
WheelHandler
, to provide similar physics as Flickable has. -
Image
andBorderImage
now have the samecurrentFrame
andframeCount
properties thatAnimatedImage
has; this allows choosing an individual icon
from an .ICO file that contains multiple icons, for example.
In the future it's intended to support other multi-page formats such as
PDF, TIFF and WEBP. -
Binding.restoreMode
: This property can be used to describe if and how the
original value should be restored when the binding is disabled.
Qt 5.15
-
Introduced inline components
(ability to declare multiple QML components in the same file) -
Introduced
required
properties -
Added a declarative way of registering types to QML
-
Added support for the Nullish Coalescing Operator (
??
) -
Added
qmlformat
tool which automatically formats any QML file according to
the QML Coding Conventions. -
Added
cursorShape
property to pointer handlers. Most pointer handlers
(e.g.DragHandler
) will change the cursor when the active state is true.
HoverHandler
will change it when the mouse is hovering over theItem
that
contains theHoverHandler
.