2019-12-13 02:48:16 +11:00
|
|
|
# TODO
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
## Refactoring
|
2019-12-17 09:28:51 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Rewrite account settings using `HTabbedContainer`
|
2019-12-13 02:48:16 +11:00
|
|
|
- Get rid of all `currentSpacing` stuff
|
2019-12-14 08:30:58 +11:00
|
|
|
- Use new default/reset controls system
|
2020-03-11 12:28:32 +11:00
|
|
|
- Display name field text should be colored
|
|
|
|
|
|
|
|
- Split `HScrollableTextArea` into `HTextArea` and `HScrollView` components
|
|
|
|
- Refactor `Composer`
|
|
|
|
|
2020-03-21 05:11:47 +11:00
|
|
|
- Drop the `HBox` `buttonModel`/`buttonCallbacks` `HBox` approach,
|
|
|
|
be more declarative
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2019-12-16 05:56:40 +11:00
|
|
|
## Issues
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-05-22 22:27:59 +10:00
|
|
|
- Jumping between accounts (clicking in account bar or alt+(Shift+)N) is
|
|
|
|
laggy with hundreds of rooms in between
|
|
|
|
- On startup, if a room's last event is a membership change,
|
|
|
|
it won't be visible in timeline no matter what the user config is
|
|
|
|
- There are rooms without messages to show as last message subtitle after
|
|
|
|
initial sync
|
|
|
|
|
2020-03-27 22:12:57 +11:00
|
|
|
- Drag-scrolling in room pane a tiny bit activates the delegates
|
|
|
|
|
2020-03-14 04:04:36 +11:00
|
|
|
- Catch server 5xx errors when sending message and retry
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Popups and room settings can't be scrolled when not enough height to show all
|
2020-03-09 23:09:58 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- 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
|
2019-12-16 05:56:40 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- After forgetting a room, it comes back because of the "you left" event
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- `code` and links in quote ("> http://example.com") aren't properly colored
|
|
|
|
in room "last message" subtitle
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-03-21 05:11:47 +11:00
|
|
|
- `Timer` and `Animation` are bound to framerate
|
2019-12-18 09:50:21 +11:00
|
|
|
- Can't use `QQmlApplicationEngine`, problem with QApplication?
|
|
|
|
See https://bugreports.qt.io/browse/QTBUG-50992
|
2020-03-11 12:28:32 +11:00
|
|
|
- [HTML <hr> not rendered](https://bugreports.qt.io/browse/QTBUG-74342)
|
|
|
|
- Pausing uploads doesn't work well, servers ends up dropping the connection
|
|
|
|
(no real solution possible?)
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
## Interface
|
|
|
|
|
2020-05-22 22:27:59 +10:00
|
|
|
- When responding to a message, highlight that message in the timeline
|
|
|
|
- Highlight timeline messages that mentions our user
|
|
|
|
- Add room members loading indicator, similar to the "Loading past messages..."
|
|
|
|
|
2020-03-27 22:12:57 +11:00
|
|
|
- Long-press-drag to select multiple messages on touch
|
|
|
|
- Drag to select multiple messages on non-touch
|
|
|
|
|
Bump version to v0.4.1
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`
2020-03-24 05:45:38 +11:00
|
|
|
- Make clicking on user/room mentions open relevant UI instead of matrix.to
|
|
|
|
URL in browser
|
2020-04-20 07:30:16 +10:00
|
|
|
- Make rooms fully manageable within Mirage: settings, permissions, unban
|
Bump version to v0.4.1
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`
2020-03-24 05:45:38 +11:00
|
|
|
|
2020-03-19 10:12:38 +11:00
|
|
|
- Labeled text area component, use it for room creation/settings topic
|
|
|
|
- Linkify URLs in topic text areas
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- 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`'s `SwipeView`
|
|
|
|
|
|
|
|
- Make "Cancel" buttons consistent, and able to cancel running Backend
|
|
|
|
coroutines. Set `disabledWhileLoading` to `false` for all "OK" buttons where
|
|
|
|
it makes sense.
|
|
|
|
|
|
|
|
- Remember the previously focused item in page for ctrl+tab
|
2019-12-15 04:50:21 +11:00
|
|
|
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
|
2019-12-16 06:10:50 +11:00
|
|
|
- Improve when HDrawer should collapse when the ui is zoomed
|
2020-03-11 12:28:32 +11:00
|
|
|
- Make room invite/left banner buttons look better
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- 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
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
- In room creation, click avatar to set the future room's avatar
|
|
|
|
- In join room page, show the matching room's avatar when typing
|
2020-03-11 12:28:32 +11:00
|
|
|
- In direct chat page, show the matching user's avatar when typing
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
- Combine events so they take less space
|
2020-03-23 03:06:25 +11:00
|
|
|
- After combining is implemented,
|
|
|
|
no need to hide profile changes by default anymore
|
2020-03-11 12:28:32 +11:00
|
|
|
|
|
|
|
- Animate `DayBreak` apparition
|
|
|
|
|
|
|
|
- Device settings
|
2020-05-20 19:19:06 +10:00
|
|
|
- Proparly formatted rich replies
|
2020-03-27 22:12:57 +11:00
|
|
|
- Messages editing
|
2019-12-13 02:48:16 +11:00
|
|
|
- Code highlighting
|
|
|
|
- Adapt shortcuts flicking speed to font size
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- 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
|
2019-12-13 02:48:16 +11:00
|
|
|
- "Rejoin" LeftBanner button if room is public
|
|
|
|
- Daybreak color
|
|
|
|
- Conversation breaks: show time of first new msg after break instead of big
|
|
|
|
blank space
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- `MainPane`:
|
2019-12-13 02:48:16 +11:00
|
|
|
- Animate when logging out last account and sidepane turns invisible
|
|
|
|
|
|
|
|
- Server selection
|
2020-03-11 12:28:32 +11:00
|
|
|
- Implement Register/Reset pages
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
- Theming
|
2020-03-11 12:28:32 +11:00
|
|
|
- Use a standard file format
|
2019-12-13 02:48:16 +11:00
|
|
|
- icons.preferredPack: accept multiple values
|
|
|
|
- Find icon packs in user data dir
|
|
|
|
- See [Text.fontSizeMode](https://doc.qt.io/qt-5/qml-qtquick-text.html#fontSizeMode-prop)
|
|
|
|
|
|
|
|
- Settings page
|
|
|
|
- Notifications
|
|
|
|
- Opening links with keyboard
|
|
|
|
- Better `<pre>`
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Replace the rubbish default filepicker on Linux
|
|
|
|
|
|
|
|
## Media-related
|
|
|
|
|
2020-03-27 22:12:57 +11:00
|
|
|
- UI for download progress (using `Transfer` like for uploads)
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- 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
|
|
|
|
|
|
|
|
- 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
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
## Backend
|
|
|
|
|
2019-12-14 08:04:56 +11:00
|
|
|
- Saving the room settings
|
2019-12-13 02:48:16 +11:00
|
|
|
- Refetch profile after manual profile change, don't wait for a room event
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Better config file format
|
|
|
|
|
2019-12-13 02:48:16 +11:00
|
|
|
- Prevent starting multiple client instances, causes problems with E2E DB
|
|
|
|
- Check if username exists on login screen
|
|
|
|
- [Soft logouts](https://github.com/poljar/matrix-nio/commit/aba10)
|
2020-03-11 12:28:32 +11:00
|
|
|
- Logout previous session when adding an account that's already connected
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Startup improvements:
|
2019-12-13 02:48:16 +11:00
|
|
|
- Initial sync filter to get more events on first sync
|
|
|
|
- Lazy loading members
|
2020-03-11 12:28:32 +11:00
|
|
|
- Cache and restore profiles, room events and states
|
2019-12-13 02:48:16 +11:00
|
|
|
- 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
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- Properly handle direct chats
|
2019-12-13 02:48:16 +11:00
|
|
|
- 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
|
|
|
|
- Read receipts
|
|
|
|
- Status message and presence
|
|
|
|
|
|
|
|
## Nio contributions
|
|
|
|
|
2019-12-17 08:36:14 +11:00
|
|
|
- Streaming download & decrypt
|
2019-12-14 01:14:54 +11:00
|
|
|
- Running blocking DB function calls in executor (WIP)
|
|
|
|
- `AsyncClient.share_group_session`: send device batches concurrently (WIP)
|
|
|
|
|
2019-12-13 02:48:16 +11:00
|
|
|
- Dedicated error for invalid password on key import
|
2019-12-14 01:14:54 +11:00
|
|
|
- `RoomMessageMedia` and `RoomAvatarEvent` info attributes
|
|
|
|
- Handle `m.room.aliases` events
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2019-12-14 01:14:54 +11:00
|
|
|
- Left room events after client reboot
|
2019-12-13 02:48:16 +11:00
|
|
|
- Previewing room without joining
|
|
|
|
|
|
|
|
- Add the `resume()` account "login" method
|
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
## Distribution and dependencies
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2020-05-22 22:27:59 +10:00
|
|
|
- Remove unused Python dependencies in AppImage & Flatpak (attrs, uvloop)
|
|
|
|
- Use Qt 5.14 for AppImage & Flatpak
|
|
|
|
- Add AppImage & Flatpak metadata file
|
2020-03-27 22:12:57 +11:00
|
|
|
- Pillow now bundle image libraries?
|
|
|
|
Update AppImage building script and INSTALL.md
|
|
|
|
- Publish on Flathub and AppImageHub
|
|
|
|
|
|
|
|
- Update to Mistune v2.0 when released
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
## Notable changes for future Qt version upgrade
|
|
|
|
|
|
|
|
### [Qt 5.13](https://wiki.qt.io/New_Features_in_Qt_5.13)
|
|
|
|
|
|
|
|
- Added `SplitView`
|
|
|
|
- Added `cache` property to icon
|
|
|
|
|
|
|
|
### [Qt 5.14](https://wiki.qt.io/New_Features_in_Qt_5.14)
|
|
|
|
|
|
|
|
- Applications can now opt-in to use non-integer scale factors.
|
|
|
|
Use `QGuiApplication::highDpiScaleFactorRoundingPolicy`.
|
|
|
|
|
|
|
|
- Added `qmlRegisterSingletonInstance` function.
|
|
|
|
This allows to expose a QObject as a singleton to QML, without having to
|
|
|
|
create a factory function as required by `qmlRegisterSingletonType`.
|
|
|
|
It is meant as a type safe replacement of `setContextProperty`.
|
|
|
|
|
|
|
|
- Added `qmlRegisterAnonymousType` as a replacement for `qmlRegisterType`.
|
|
|
|
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` and `TextEdit` 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 a `TextEdit`.
|
|
|
|
|
|
|
|
- `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: a `PropertyValueInterceptor` 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` and `BorderImage` now have the same `currentFrame` and `frameCount`
|
|
|
|
properties that `AnimatedImage` 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.
|
2020-03-09 20:55:57 +11:00
|
|
|
|
2020-03-11 12:28:32 +11:00
|
|
|
- `Binding.restoreMode`: This property can be used to describe if and how the
|
|
|
|
original value should be restored when the binding is disabled.
|
|
|
|
|
2020-03-09 20:55:57 +11:00
|
|
|
### [Qt 5.15](https://wiki.qt.io/New_Features_in_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 the `Item` that
|
|
|
|
contains the `HoverHandler`.
|