moment/TODO.md

176 lines
6.5 KiB
Markdown
Raw Normal View History

- Refactoring
2019-08-22 02:17:12 +10:00
- Banners
2019-08-28 13:03:52 +10:00
- Composer
- Room Sidepane
2019-07-21 23:26:47 +10:00
- Hide when window too small
- Also save/load its size
- Is auto-sizing actually needed, or can we just set a default manual size?
- Reducable room sidepane, swipe to show full-window
Big performance refactoring & various improvements Instead of passing all sorts of events for the JS to handle and manually add to different data models, we now handle everything we can in Python. For any change, the python models send a sync event with their contents (no more than 4 times per second) to JS, and the QSyncable library's JsonListModel takes care of converting it to a QML ListModel and sending the appropriate signals. The SortFilterProxyModel library is not used anymore, the only case where we need to filter/sort something now is when the user interacts with the "Filter rooms" or "Filter members" fields. These cases are handled by a simple JS function. We now keep separated room and timeline models for different accounts, the previous approach of sharing all the data we could between accounts created a lot of complications (local echoes, decrypted messages replacing others, etc). The users's own account profile changes are now hidden in the timeline. On startup, if all events for a room were only own profile changes, more events will be loaded. Any kind of image format supported by Qt is now handled by the pyotherside image provider, instead of just PNG/JPG. SVGs which previously caused errors are supported as well. The typing members bar paddings/margins are fixed. The behavior of the avatar/"upload a profile picture" overlay is fixed. Config files read from disk are now cached (TODO: make them reloadable again). Pylint is not used anymore because of all its annoying false warnings and lack of understanding for dataclasses, it is replaced by flake8 with a custom config and various plugins. Debug mode is now considered on if the program was compiled with the right option, instead of taking an argument from CLI. When on, C++ will set a flag in the Window QML component. The loading screen is now unloaded after the UI is ready, where previously it just stayed in the background invisible and wasted CPU. The overall refactoring and improvements make us now able to handle rooms with thousand of members and no lazy-loading, where previously everything would freeze and simply scrolling up to load past events in any room would block the UI for a few seconds.
2019-08-11 22:01:22 +10:00
- When qml syntax highlighting supports ES6 string interpolation, use them
- Fixes
- `minutesBetween()` for 13:13:58 and 14:15:07
2019-09-02 05:58:28 +10:00
- `# > quote` doesn't color
2019-08-31 10:30:39 +10:00
- Pressing backspace in composer sometimes doesn't work
- Message order isn't preserved when sending a first message in a E2E
room, then while keys are being shared sending one with another account,
then sending one with the first account again
2019-07-26 09:19:39 +10:00
- If account not in config anymore, discard ui state last page on startup
- Don't strip user spacing in html
- Do something when access token is invalid
2019-09-02 05:44:06 +10:00
- Don't store states in delegates
2019-07-22 09:12:32 +10:00
- [hr not working](https://bugreports.qt.io/browse/QTBUG-74342)
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
- Verify big avatars aren't downloaded uselessly
- UI
- Esc in sidepane to focus chat again
- Set an explicit placeholder text color for text field/area
- Change typing bar background
2019-08-31 10:30:39 +10:00
- Show error if uploading avatar fails or file is corrupted
- Way to open context menus without a right mouse button
- Room header descriptions: styled text
2019-08-31 10:30:39 +10:00
- Message selection
2019-09-01 20:34:24 +10:00
- Make scroll wheel usable
- Copy to X11 selection
- Link previews
- Support images not just at the end of the message
2019-09-02 05:58:28 +10:00
2019-08-31 03:06:54 +10:00
- Just use Shortcut onHeld instead of analyzing the current velocity
in `smartVerticalFlick()`
2019-08-31 10:30:39 +10:00
- Thinner expand arrow icon
- Restore previous focus after closing right click context menu
2019-08-28 12:25:13 +10:00
- Choose a better default easing type for animations
- Make HListView scrollbars visible
- Remove first html lists left margin
- Adapt UI for small heights
- Inviting members to a 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 or clicked on it once
- Restoring UI state:
2019-08-28 13:03:52 +10:00
- Composer content
- Which element was focused
- Room member filter field
2019-08-22 02:17:12 +10:00
- Prevent others from having a too similar hue as us, or our own accounts
from sharing a too similar hue
Big performance refactoring & various improvements Instead of passing all sorts of events for the JS to handle and manually add to different data models, we now handle everything we can in Python. For any change, the python models send a sync event with their contents (no more than 4 times per second) to JS, and the QSyncable library's JsonListModel takes care of converting it to a QML ListModel and sending the appropriate signals. The SortFilterProxyModel library is not used anymore, the only case where we need to filter/sort something now is when the user interacts with the "Filter rooms" or "Filter members" fields. These cases are handled by a simple JS function. We now keep separated room and timeline models for different accounts, the previous approach of sharing all the data we could between accounts created a lot of complications (local echoes, decrypted messages replacing others, etc). The users's own account profile changes are now hidden in the timeline. On startup, if all events for a room were only own profile changes, more events will be loaded. Any kind of image format supported by Qt is now handled by the pyotherside image provider, instead of just PNG/JPG. SVGs which previously caused errors are supported as well. The typing members bar paddings/margins are fixed. The behavior of the avatar/"upload a profile picture" overlay is fixed. Config files read from disk are now cached (TODO: make them reloadable again). Pylint is not used anymore because of all its annoying false warnings and lack of understanding for dataclasses, it is replaced by flake8 with a custom config and various plugins. Debug mode is now considered on if the program was compiled with the right option, instead of taking an argument from CLI. When on, C++ will set a flag in the Window QML component. The loading screen is now unloaded after the UI is ready, where previously it just stayed in the background invisible and wasted CPU. The overall refactoring and improvements make us now able to handle rooms with thousand of members and no lazy-loading, where previously everything would freeze and simply scrolling up to load past events in any room would block the UI for a few seconds.
2019-08-11 22:01:22 +10:00
- Combine events so they take less space
- After combining is implemented, no need to hide our own profile changes.
- Replies
- Messages editing
- Code highlighting
- Support GIF avatars
- Adapt shortcuts flicking speed to font size and DPI
- 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
- Improve avatar tooltips position, add stuff to room tooltips (last msg?)
2019-07-18 22:10:36 +10:00
- Show something when connection is lost or 429s happen
- "Rejoin" LeftBanner button if room is public
2019-07-09 02:52:07 +10:00
- Daybreak color
Big performance refactoring & various improvements Instead of passing all sorts of events for the JS to handle and manually add to different data models, we now handle everything we can in Python. For any change, the python models send a sync event with their contents (no more than 4 times per second) to JS, and the QSyncable library's JsonListModel takes care of converting it to a QML ListModel and sending the appropriate signals. The SortFilterProxyModel library is not used anymore, the only case where we need to filter/sort something now is when the user interacts with the "Filter rooms" or "Filter members" fields. These cases are handled by a simple JS function. We now keep separated room and timeline models for different accounts, the previous approach of sharing all the data we could between accounts created a lot of complications (local echoes, decrypted messages replacing others, etc). The users's own account profile changes are now hidden in the timeline. On startup, if all events for a room were only own profile changes, more events will be loaded. Any kind of image format supported by Qt is now handled by the pyotherside image provider, instead of just PNG/JPG. SVGs which previously caused errors are supported as well. The typing members bar paddings/margins are fixed. The behavior of the avatar/"upload a profile picture" overlay is fixed. Config files read from disk are now cached (TODO: make them reloadable again). Pylint is not used anymore because of all its annoying false warnings and lack of understanding for dataclasses, it is replaced by flake8 with a custom config and various plugins. Debug mode is now considered on if the program was compiled with the right option, instead of taking an argument from CLI. When on, C++ will set a flag in the Window QML component. The loading screen is now unloaded after the UI is ready, where previously it just stayed in the background invisible and wasted CPU. The overall refactoring and improvements make us now able to handle rooms with thousand of members and no lazy-loading, where previously everything would freeze and simply scrolling up to load past events in any room would block the UI for a few seconds.
2019-08-11 22:01:22 +10:00
- 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 for arrows and option button when collapsed
- Show it when hovering/hitting focus keybind on the left when collapsed
- Ability to drag on any place of the pane to resize
2019-07-09 02:52:07 +10:00
- Server selection
- Register/Forgot? for SignIn dialog
- Add room
- Logout & leave/forget room warning popup
2019-08-28 13:03:52 +10:00
- Prevent using the composer if no permission (power levels)
Big performance refactoring & various improvements Instead of passing all sorts of events for the JS to handle and manually add to different data models, we now handle everything we can in Python. For any change, the python models send a sync event with their contents (no more than 4 times per second) to JS, and the QSyncable library's JsonListModel takes care of converting it to a QML ListModel and sending the appropriate signals. The SortFilterProxyModel library is not used anymore, the only case where we need to filter/sort something now is when the user interacts with the "Filter rooms" or "Filter members" fields. These cases are handled by a simple JS function. We now keep separated room and timeline models for different accounts, the previous approach of sharing all the data we could between accounts created a lot of complications (local echoes, decrypted messages replacing others, etc). The users's own account profile changes are now hidden in the timeline. On startup, if all events for a room were only own profile changes, more events will be loaded. Any kind of image format supported by Qt is now handled by the pyotherside image provider, instead of just PNG/JPG. SVGs which previously caused errors are supported as well. The typing members bar paddings/margins are fixed. The behavior of the avatar/"upload a profile picture" overlay is fixed. Config files read from disk are now cached (TODO: make them reloadable again). Pylint is not used anymore because of all its annoying false warnings and lack of understanding for dataclasses, it is replaced by flake8 with a custom config and various plugins. Debug mode is now considered on if the program was compiled with the right option, instead of taking an argument from CLI. When on, C++ will set a flag in the Window QML component. The loading screen is now unloaded after the UI is ready, where previously it just stayed in the background invisible and wasted CPU. The overall refactoring and improvements make us now able to handle rooms with thousand of members and no lazy-loading, where previously everything would freeze and simply scrolling up to load past events in any room would block the UI for a few seconds.
2019-08-11 22:01:22 +10:00
- Prevent using an alias if that user is not in the room or no permission
2019-08-28 05:00:50 +10:00
- Spinner when loading past room events or images
- Theming
- Bundle fonts
2019-09-02 05:58:28 +10:00
- Standard file format, see *~ppy/qml_dict_theme.qml*
- https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#creating-a-custom-style
2019-08-29 08:21:13 +10:00
- icons.preferredPack: accept multiple values
- Find icon packs in user data dir
- Correctly implement uiScale/fontScale + ctrl+-= keys
- See `QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling)`
- 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
2019-08-17 06:30:18 +10:00
- Notifications
2019-07-16 06:14:08 +10:00
- Custom file picker for Linux...
- Major features
- E2E
- Device verification
- Edit/delete own devices
- Request room keys from own other devices
- Auto-trust accounts within the same client
2019-08-28 13:03:52 +10:00
- Export keys
- Uploads & proper http thumbnails
- Reduce messages ListView cacheBuffer height once http thumbnails
downloading is implemented
- Read receipts
- Status message and presence
- Links preview
- Opening links with keyboard
- Client improvements
2019-09-02 05:58:28 +10:00
- Refetch profile after manual profile change, don't wait for a room event
- Prevent starting multiple instances, causes problems with E2E DB
(sending new messages from second instances makes them undecryptable to
first instance until it's restarted)
2019-08-29 03:50:29 +10:00
- `translated` arg for avatar upload and login errors
2019-08-26 05:38:42 +10:00
- Check if username exists on login screen
- `pyotherside.atexit()`
- Logout previous session if adding an account that's already connected
Big performance refactoring & various improvements Instead of passing all sorts of events for the JS to handle and manually add to different data models, we now handle everything we can in Python. For any change, the python models send a sync event with their contents (no more than 4 times per second) to JS, and the QSyncable library's JsonListModel takes care of converting it to a QML ListModel and sending the appropriate signals. The SortFilterProxyModel library is not used anymore, the only case where we need to filter/sort something now is when the user interacts with the "Filter rooms" or "Filter members" fields. These cases are handled by a simple JS function. We now keep separated room and timeline models for different accounts, the previous approach of sharing all the data we could between accounts created a lot of complications (local echoes, decrypted messages replacing others, etc). The users's own account profile changes are now hidden in the timeline. On startup, if all events for a room were only own profile changes, more events will be loaded. Any kind of image format supported by Qt is now handled by the pyotherside image provider, instead of just PNG/JPG. SVGs which previously caused errors are supported as well. The typing members bar paddings/margins are fixed. The behavior of the avatar/"upload a profile picture" overlay is fixed. Config files read from disk are now cached (TODO: make them reloadable again). Pylint is not used anymore because of all its annoying false warnings and lack of understanding for dataclasses, it is replaced by flake8 with a custom config and various plugins. Debug mode is now considered on if the program was compiled with the right option, instead of taking an argument from CLI. When on, C++ will set a flag in the Window QML component. The loading screen is now unloaded after the UI is ready, where previously it just stayed in the background invisible and wasted CPU. The overall refactoring and improvements make us now able to handle rooms with thousand of members and no lazy-loading, where previously everything would freeze and simply scrolling up to load past events in any room would block the UI for a few seconds.
2019-08-11 22:01:22 +10:00
- Image provider: on failed conversion, way to show a "broken image" thumb?
2019-07-25 07:05:27 +10:00
- Config file format
- Initial sync filter and lazy load, see weechat-matrix `_handle_login()`
- See also `handle_response()`'s `keys_query` request
- Direct chats category
- Markdown: don't turn #things (no space) and `thing\n---` into title,
disable `__` syntax for bold/italic
- `<pre>` scrollbar on overflow
- When inviting someone to direct chat, room is "Empty room" until accepted,
it should be the peer's display name instead.
- Animate RoomEventDelegate DayBreak apparition
- Room subtitle: show things like "*Image*" instead of blank, etc
- Live-reloading accounts.json
- nio
2019-07-26 09:19:39 +10:00
- `AsyncClient.share_group_session`: send device batches concurrently
- downloads API
- MatrixRoom invited members list
- Invite events are missing their timestamps (needed for sorting)
- Left room events after client reboot
- `org.matrix.room.preview_urls` event
- `m.room.aliases` event
- Support "Empty room (was ...)" after peer left
- Previewing room without joining
- Distribution
2019-07-16 18:37:39 +10:00
- Include python dependencies in binary with rcc?
- README.md