2019-12-13 02:48:16 +11:00
|
|
|
# TODO
|
|
|
|
|
2020-03-09 23:09:58 +11:00
|
|
|
## Before release
|
|
|
|
|
2020-03-10 01:10:21 +11:00
|
|
|
- Downloaded media filenames
|
2019-12-03 07:29:29 +11:00
|
|
|
- "exception during sync" aren't caught
|
2020-03-09 23:09:58 +11:00
|
|
|
- nio ClientTimeout
|
2020-03-10 00:51:55 +11:00
|
|
|
- Name
|
2020-03-09 23:09:58 +11:00
|
|
|
- Update docstrings
|
|
|
|
- Update TODO.md
|
|
|
|
- Update README.md
|
2019-12-03 07:29:29 +11:00
|
|
|
|
2019-12-13 02:48:16 +11:00
|
|
|
## Media
|
|
|
|
|
|
|
|
- Handle set avatar upload errors
|
|
|
|
- Confirmation box after picking file to upload
|
|
|
|
- Show real progression for mxc thumbnail loadings
|
|
|
|
|
2019-12-17 09:28:51 +11:00
|
|
|
- Sentinel function to report download file path if already cached,
|
|
|
|
without having to click & try downloading first
|
|
|
|
- EventFile download UI & Save as... in context menu
|
|
|
|
|
2019-12-13 02:48:16 +11:00
|
|
|
- Show reason under broken thumbnail icons
|
|
|
|
- Support m.file thumbnails
|
|
|
|
- Generate video thumbnails
|
|
|
|
- GIFs can use the video player
|
|
|
|
- Display GIF static thumbnails while the real GIF is loading
|
|
|
|
- Video bug: when media is done playing, clicking on progress slider always
|
|
|
|
bring back to the beginning no matter where
|
|
|
|
- Video: missing buttons and small size problems
|
|
|
|
- Audio: online playback is buggy, must download+play file
|
|
|
|
- EventLink
|
|
|
|
- Special treatment for matrix.to URLs?
|
|
|
|
- Prevent using upload keybinds in rooms with no perms
|
|
|
|
|
|
|
|
## Refactoring
|
|
|
|
|
2019-12-14 08:30:58 +11:00
|
|
|
- Account settings with `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
|
2019-12-14 01:14:54 +11:00
|
|
|
- Split `HScrollableTextArea`
|
2019-12-13 02:48:16 +11:00
|
|
|
- Composer
|
2020-03-08 04:08:18 +11:00
|
|
|
- Don't put all the keybinds in one central file
|
2019-12-18 09:50:21 +11:00
|
|
|
- Missing room keybinds (invite, etc) and close failed upload
|
|
|
|
- Use QML states?
|
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-03-08 04:08:18 +11:00
|
|
|
- Forget a room, it comes back because of the "you left" event
|
2019-12-21 01:29:45 +11:00
|
|
|
- `EventImage`s for `m.image` sometimes appear broken, can be made normal
|
|
|
|
by switching to another room and coming back
|
2020-03-09 23:09:58 +11:00
|
|
|
|
2019-12-21 01:29:45 +11:00
|
|
|
- First sent message in E2E room is sometimes undecryptable
|
2019-12-15 04:50:21 +11:00
|
|
|
|
2019-12-16 05:56:40 +11:00
|
|
|
- Pausing uploads doesn't work well, servers end up dropping the connection
|
|
|
|
|
2019-12-17 08:36:14 +11:00
|
|
|
- In the "Leave me" room, "join > Hi > left" aren't combined
|
2019-12-13 02:48:16 +11:00
|
|
|
- When selecting text and scrolling up, selection stops working after a while
|
|
|
|
- Ensure all the text that should be copied is copied
|
|
|
|
- Multiple messages are currently copied out of order
|
|
|
|
|
2019-12-17 08:36:14 +11:00
|
|
|
- `code` not colored in room subtitle
|
2020-03-09 23:09:58 +11:00
|
|
|
- Quote links color in room subtitles (e.g. "> http://foo.org" )
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
- If account not in config anymore, discard ui state last page on startup
|
|
|
|
- Do something when access token is invalid
|
|
|
|
|
|
|
|
- Don't store states in delegates
|
|
|
|
- [hr not working](https://bugreports.qt.io/browse/QTBUG-74342)
|
|
|
|
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
2019-12-18 09:50:21 +11:00
|
|
|
- Can't use `QQmlApplicationEngine`, problem with QApplication?
|
|
|
|
See https://bugreports.qt.io/browse/QTBUG-50992
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
## Interface
|
|
|
|
|
2020-02-13 04:04:46 +11:00
|
|
|
- Room Sidepane keybinds
|
2019-12-19 05:24:55 +11:00
|
|
|
- Remember ctrl+tab page target
|
2019-12-15 04:50:21 +11:00
|
|
|
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
|
2019-12-14 08:30:58 +11:00
|
|
|
- Make all "Cancel" buttons able to cancel running Backend coroutines set
|
|
|
|
`disabledWhileLoading` to `false` for all "OK" buttons where it makes sense
|
|
|
|
- Use a loader of the swipeview containing members, settings, etc views
|
|
|
|
- Expand the room pane if it's too small to show room settings?
|
|
|
|
- Drop the `buttonModel`/`buttonCallbacks` HBox approach
|
|
|
|
- Scrollable popups and room settings
|
2019-12-16 06:10:50 +11:00
|
|
|
- Improve when HDrawer should collapse when the ui is zoomed
|
2019-12-13 02:48:16 +11:00
|
|
|
- Make theme error/etc text colors more like name colors
|
|
|
|
- In account settings, display name field text should be colored
|
|
|
|
- Way to open context menus without a right mouse button
|
|
|
|
- `smartVerticalFlick()` gradual acceleration
|
2019-12-14 08:30:58 +11:00
|
|
|
- Make banner buttons look better
|
2019-12-22 04:12:02 +11:00
|
|
|
- When window is reduced enough for main pane to be invisible, transition
|
|
|
|
between pane and page with alt+S is laggy when the page is a chat
|
2019-12-13 02:48:16 +11:00
|
|
|
|
|
|
|
- Choose a better default easing type for animations
|
|
|
|
- Make HListView scrollbars visible
|
|
|
|
- Remove first html lists left margin
|
|
|
|
- Adapt UI for small 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 find someone 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 anymore.
|
|
|
|
- Replies
|
|
|
|
- Messages editing and redaction
|
|
|
|
- Code highlighting
|
|
|
|
- Adapt shortcuts flicking speed to font size
|
|
|
|
|
|
|
|
- EditAccount page:
|
|
|
|
- Device settings
|
|
|
|
- Multiaccount aliases:
|
|
|
|
- Warn when conflict with another alias
|
|
|
|
- Forbid spaces?
|
|
|
|
- Add an explanation tooltip
|
|
|
|
- Prevent sending messages with an user not in room
|
|
|
|
- Support \ escaping
|
|
|
|
- Accept drag and dropping a picture to set avatar
|
|
|
|
|
|
|
|
- Add stuff to room tooltips like last messages
|
|
|
|
- Show something 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
|
|
|
|
|
|
|
|
- Sidepane
|
|
|
|
- Animate when logging out last account and sidepane turns invisible
|
|
|
|
- Header back button when reduced
|
|
|
|
- Better look when reduced to minimum size
|
|
|
|
|
|
|
|
- Server selection
|
|
|
|
- Register/Reset for AddAccount page
|
|
|
|
- Prevent using an alias if that user is not in the room or no permission
|
|
|
|
|
|
|
|
- Theming
|
|
|
|
- Bundle fonts
|
|
|
|
- Standard file format, see *~ppy/qml_dict_theme.qml*
|
|
|
|
- https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#creating-a-custom-style
|
|
|
|
- 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)
|
|
|
|
- Way to round avatar corners to allow box radius
|
|
|
|
- If avatar is set, name color from average color?
|
|
|
|
- Accent color from background
|
|
|
|
|
|
|
|
- Settings page
|
|
|
|
- Notifications
|
|
|
|
- Opening links with keyboard
|
|
|
|
- Better `<pre>`
|
|
|
|
|
|
|
|
- Custom file picker for Linux (...)
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
- 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)
|
|
|
|
- `pyotherside.atexit()`
|
|
|
|
- Logout previous session if adding an account that's already connected
|
|
|
|
- Config file format
|
|
|
|
|
|
|
|
- Startup improvements
|
|
|
|
- Initial sync filter to get more events on first sync
|
|
|
|
- Lazy loading members
|
|
|
|
- Store 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
|
|
|
|
|
|
|
|
- Direct chats category
|
|
|
|
- Animate RoomEventDelegate DayBreak apparition
|
|
|
|
- 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
|
|
|
|
|
|
|
- Support "Empty room (was ...)" after peer left
|
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
|
|
|
|
|
|
|
|
- Get content repo config API
|
|
|
|
- Add the `resume()` account "login" method
|
|
|
|
|
2019-12-14 01:14:54 +11:00
|
|
|
- Turn all the Error and Response classes into exceptions and normal returns
|
|
|
|
once `HttpClient` is deprecated
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2019-12-19 00:33:22 +11:00
|
|
|
## Distribution & dependencies
|
2019-12-13 02:48:16 +11:00
|
|
|
|
2019-12-19 00:33:22 +11:00
|
|
|
- Mistune v2.0
|
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
|
|
|
|
|
|
|
### [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`.
|