TODO.md cleanups and clarifications
This commit is contained in:
parent
1c9604c31a
commit
abf7251f75
199
TODO.md
199
TODO.md
|
@ -2,175 +2,179 @@
|
||||||
|
|
||||||
## Before release
|
## Before release
|
||||||
|
|
||||||
|
- Catch 5xx errors and retry
|
||||||
- nio ClientTimeout
|
- nio ClientTimeout
|
||||||
- Config file format?
|
|
||||||
- Update docstrings
|
- Update docstrings
|
||||||
- Update TODO.md
|
|
||||||
- Update README.md
|
- Update README.md
|
||||||
|
|
||||||
## Media
|
|
||||||
|
|
||||||
- Handle set avatar upload errors
|
|
||||||
- Confirmation box after picking file to upload
|
|
||||||
- Show real progression for mxc thumbnail loadings
|
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
- 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
|
## Refactoring
|
||||||
|
|
||||||
- Account settings with `HTabbedContainer`
|
- Rewrite the message 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
|
- Get rid of all `currentSpacing` stuff
|
||||||
- Use new default/reset controls system
|
- Use new default/reset controls system
|
||||||
- Split `HScrollableTextArea`
|
- Display name field text should be colored
|
||||||
- Composer
|
|
||||||
- Don't put all the keybinds in one central file
|
- Split `HScrollableTextArea` into `HTextArea` and `HScrollView` components
|
||||||
- Missing room keybinds (invite, etc) and close failed upload
|
- Refactor `Composer`
|
||||||
- Use QML states?
|
|
||||||
|
- Make sure we don't store any state in delegates
|
||||||
|
|
||||||
|
- Drop the `buttonModel`/`buttonCallbacks` `HBox` approach, be more declarative
|
||||||
|
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
- Forget a room, it comes back because of the "you left" event
|
- Popups and room settings can't be scrolled when not enough height to show all
|
||||||
- `EventImage`s for `m.image` sometimes appear broken, can be made normal
|
|
||||||
by switching to another room and coming back
|
- `Timer` and `Animation` are bound to framerate
|
||||||
|
|
||||||
|
- 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
|
- First sent message in E2E room is sometimes undecryptable
|
||||||
|
(can be fixed by logging out and in again) (still valid?)
|
||||||
|
|
||||||
- Pausing uploads doesn't work well, servers end up dropping the connection
|
- After forgetting a room, it comes back because of the "you left" event
|
||||||
|
|
||||||
- In the "Leave me" room, "join > Hi > left" aren't combined
|
- `code` and links in quote ("> http://example.com") aren't properly colored
|
||||||
- When selecting text and scrolling up, selection stops working after a while
|
in room "last message" subtitle
|
||||||
- Ensure all the text that should be copied is copied
|
|
||||||
- Multiple messages are currently copied out of order
|
|
||||||
|
|
||||||
- `code` not colored in room subtitle
|
|
||||||
- Quote links color in room subtitles (e.g. "> http://foo.org" )
|
|
||||||
|
|
||||||
- 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`
|
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
|
||||||
- Can't use `QQmlApplicationEngine`, problem with QApplication?
|
- Can't use `QQmlApplicationEngine`, problem with QApplication?
|
||||||
See https://bugreports.qt.io/browse/QTBUG-50992
|
See https://bugreports.qt.io/browse/QTBUG-50992
|
||||||
|
- [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?)
|
||||||
|
|
||||||
## Interface
|
## Interface
|
||||||
|
|
||||||
- Room Sidepane keybinds
|
- Expand the room pane if it's currently too small to show room settings
|
||||||
- Remember ctrl+tab page target
|
- Use a loader for items not in view for the `HTabContainer`'s `SwipeView`
|
||||||
- https://doc.qt.io/qt-5/qml-qtquick-smoothedanimation.html for progress bars
|
|
||||||
- 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
|
|
||||||
- Improve when HDrawer should collapse when the ui is zoomed
|
|
||||||
- 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
|
|
||||||
- Make banner buttons look better
|
|
||||||
- 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
|
|
||||||
|
|
||||||
- Choose a better default easing type for animations
|
- Make "Cancel" buttons consistent, and able to cancel running Backend
|
||||||
- Make HListView scrollbars visible
|
coroutines. Set `disabledWhileLoading` to `false` for all "OK" buttons where
|
||||||
- Remove first html lists left margin
|
it makes sense.
|
||||||
- Adapt UI for small heights
|
|
||||||
|
- 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
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- 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 room creation, click avatar to set the future room's avatar
|
||||||
- In join room page, show the matching room's avatar when typing
|
- In join room page, show the matching room's avatar when typing
|
||||||
- In find someone page, show the matching user's avatar when typing
|
- In direct chat page, show the matching user's avatar when typing
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
|
- Animate `DayBreak` apparition
|
||||||
|
|
||||||
|
- Device settings
|
||||||
- Replies
|
- Replies
|
||||||
- Messages editing and redaction
|
- Messages editing and redaction
|
||||||
- Code highlighting
|
- Code highlighting
|
||||||
- Adapt shortcuts flicking speed to font size
|
- Adapt shortcuts flicking speed to font size
|
||||||
|
|
||||||
- EditAccount page:
|
- Multiaccount aliases:
|
||||||
- Device settings
|
|
||||||
- Multiaccount aliases:
|
|
||||||
- Warn when conflict with another alias
|
- Warn when conflict with another alias
|
||||||
- Forbid spaces?
|
- Forbid spaces?
|
||||||
- Add an explanation tooltip
|
- Add an explanation tooltip
|
||||||
- Prevent sending messages with an user not in room
|
- Prevent sending messages with a user not in the current room
|
||||||
- Support \ escaping
|
- Support \ escaping
|
||||||
- Accept drag and dropping a picture to set avatar
|
|
||||||
|
|
||||||
- Add stuff to room tooltips like last messages
|
- Accept drag and drop to upload files or set a new avatar
|
||||||
- Show something when connection is lost or 429s happen
|
- Improve room tooltips, e.g. show last messages
|
||||||
|
- Warn user when connection is lost or 429s happen
|
||||||
- "Rejoin" LeftBanner button if room is public
|
- "Rejoin" LeftBanner button if room is public
|
||||||
- Daybreak color
|
- Daybreak color
|
||||||
- Conversation breaks: show time of first new msg after break instead of big
|
- Conversation breaks: show time of first new msg after break instead of big
|
||||||
blank space
|
blank space
|
||||||
|
|
||||||
- Sidepane
|
- `MainPane`:
|
||||||
- Animate when logging out last account and sidepane turns invisible
|
- Animate when logging out last account and sidepane turns invisible
|
||||||
- Header back button when reduced
|
- Header back button when reduced
|
||||||
- Better look when reduced to minimum size
|
- Better look when reduced to minimum size
|
||||||
|
|
||||||
- Server selection
|
- Server selection
|
||||||
- Register/Reset for AddAccount page
|
- Implement Register/Reset pages
|
||||||
- Prevent using an alias if that user is not in the room or no permission
|
|
||||||
|
|
||||||
- Theming
|
- Theming
|
||||||
- Bundle fonts
|
- Bundle fonts
|
||||||
- Standard file format, see *~ppy/qml_dict_theme.qml*
|
- Use a standard file format
|
||||||
- https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#creating-a-custom-style
|
|
||||||
- icons.preferredPack: accept multiple values
|
- icons.preferredPack: accept multiple values
|
||||||
- Find icon packs in user data dir
|
- Find icon packs in user data dir
|
||||||
- See [Text.fontSizeMode](https://doc.qt.io/qt-5/qml-qtquick-text.html#fontSizeMode-prop)
|
- See [Text.fontSizeMode](https://doc.qt.io/qt-5/qml-qtquick-text.html#fontSizeMode-prop)
|
||||||
- Way to round avatar corners to allow box radius
|
- Way to round avatar corners to allow box radius
|
||||||
- If avatar is set, name color from average color?
|
|
||||||
- Accent color from background
|
|
||||||
|
|
||||||
- Settings page
|
- Settings page
|
||||||
- Notifications
|
- Notifications
|
||||||
- Opening links with keyboard
|
- Opening links with keyboard
|
||||||
- Better `<pre>`
|
- Better `<pre>`
|
||||||
|
|
||||||
- Custom file picker for Linux (...)
|
- 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
|
## Backend
|
||||||
|
|
||||||
- Saving the room settings
|
- Saving the room settings
|
||||||
- Refetch profile after manual profile change, don't wait for a room event
|
- 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
|
- Prevent starting multiple client instances, causes problems with E2E DB
|
||||||
- Check if username exists on login screen
|
- Check if username exists on login screen
|
||||||
- [Soft logouts](https://github.com/poljar/matrix-nio/commit/aba10)
|
- [Soft logouts](https://github.com/poljar/matrix-nio/commit/aba10)
|
||||||
- `pyotherside.atexit()`
|
- Logout previous session when adding an account that's already connected
|
||||||
- Logout previous session if adding an account that's already connected
|
|
||||||
- Config file format
|
|
||||||
|
|
||||||
- Startup improvements
|
- Startup improvements:
|
||||||
- Initial sync filter to get more events on first sync
|
- Initial sync filter to get more events on first sync
|
||||||
- Lazy loading members
|
- Lazy loading members
|
||||||
- Store profiles, room events and states
|
- Cache and restore profiles, room events and states
|
||||||
- Use AsyncClient `store_sync_tokens`
|
- Use AsyncClient `store_sync_tokens`
|
||||||
- Make sure to all members are fetched before sending an E2E message
|
- Make sure to all members are fetched before sending an E2E message
|
||||||
- Fetch all members when using the filter members bar
|
- Fetch all members when using the filter members bar
|
||||||
|
|
||||||
- Direct chats category
|
- Properly handle direct chats
|
||||||
- Animate RoomEventDelegate DayBreak apparition
|
|
||||||
- Live-reloading accounts.json
|
- Live-reloading accounts.json
|
||||||
|
|
||||||
- E2E
|
- E2E
|
||||||
|
@ -198,15 +202,11 @@
|
||||||
- Left room events after client reboot
|
- Left room events after client reboot
|
||||||
- Previewing room without joining
|
- Previewing room without joining
|
||||||
|
|
||||||
- Get content repo config API
|
|
||||||
- Add the `resume()` account "login" method
|
- Add the `resume()` account "login" method
|
||||||
|
|
||||||
- Turn all the Error and Response classes into exceptions and normal returns
|
## Distribution and dependencies
|
||||||
once `HttpClient` is deprecated
|
|
||||||
|
|
||||||
## Distribution & dependencies
|
- Update to Mistune v2.0
|
||||||
|
|
||||||
- Mistune v2.0
|
|
||||||
|
|
||||||
## Notable changes for future Qt version upgrade
|
## Notable changes for future Qt version upgrade
|
||||||
|
|
||||||
|
@ -254,6 +254,9 @@
|
||||||
In the future it's intended to support other multi-page formats such as
|
In the future it's intended to support other multi-page formats such as
|
||||||
PDF, TIFF and WEBP.
|
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](https://wiki.qt.io/New_Features_in_Qt_5.15)
|
### [Qt 5.15](https://wiki.qt.io/New_Features_in_Qt_5.15)
|
||||||
|
|
||||||
- Introduced inline components
|
- Introduced inline components
|
||||||
|
|
Loading…
Reference in New Issue
Block a user