moment/TODO.md
2019-09-12 16:16:35 -04:00

7.0 KiB

  • Refactoring

    • Room header elide detection

    • Use HBox for Profile

    • Banners

    • Composer

    • Room Sidepane

      • 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
    • When qml syntax highlighting supports ES6 string interpolation, use that

  • Fixes

    • Image tooltips

    • Time on their own lines

    • When selecting text and scrolling up, selection stops working after a while

      • Ensure all the text that should be copied is copied
    • Mouse wheel scrolling speed in event list

    • 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

    • Left rooms reappear as joined rooms

    • 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

    • Terrible performance using QT_QPA_PLATFORM=wayland-egl, must use xcb

    • Verify big avatars aren't downloaded uselessly

    • Quote links color in room subtitles (e.g. "> http://foo.orgA)" )

  • UI

    • Show error if uploading avatar fails or file is corrupted

    • Way to open context menus without a right mouse button

    • Indeterminate progress bar

    • Message selection

      • Copy to X11 selection
    • Link previews

      • Support showing images at the place they should be instead of always
        at the end of the message
    • Just use Shortcut onHeld instead of analyzing the current velocity
      in smartVerticalFlick()

    • Thinner expand arrow icon

    • Restore previous focus after closing right click context menu

    • 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:

      • Composer content
      • Which element was focused
      • Room member filter field
    • Prevent others from having a too similar hue as us, or our own accounts
      from sharing a too similar hue

    • 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 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?)

    • 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 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
    • Server selection

    • Register/Forgot? for SignIn dialog

    • Add room

    • Prevent using the composer if no permission (power levels)

      • Prevent using an alias if that user is not in the room or no permission
    • Spinner when loading past room events or images

    • 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
      • Correctly implement uiScale/fontScale + ctrl+-= keys
        • See QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling)
        • See Text.fontSizeMode
      • 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

    • 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
    • Uploads
      • 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

    • More error details

    • 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)

      • Could be fixed by "listening for a RoomKeyEventthat has the same
        session id as the undecryptable MegolmEvent, then retry decrypting
        the message with decrypt_event()" - poljar
    • Soft logouts

    • translated arg for avatar upload and login errors

    • Check if username exists on login screen

    • pyotherside.atexit()

    • Logout previous session if adding an account that's already connected

    • Image provider: on failed conversion, way to show a "broken image" thumb?

    • 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

    • Better <pre>

    • 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

    • AsyncClient.share_group_session: send device batches concurrently

    • Running blocking DB function calls in executor

    • Guard against asyncio OSError Network unreachable

    • downloads API

    • MatrixRoom invited members list

    • Left room events after client reboot

    • org.matrix.room.preview_urls events

    • m.room.aliases events

    • Support "Empty room (was ...)" after peer left

    • Previewing room without joining

  • Distribution

    • requirements file
    • Include python dependencies in binary with rcc?
    • README.md