From d123c41cd3ad4f0d55ae134be69e7ffd144dbb74 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 18 May 2021 22:05:19 +0200 Subject: Add mention autocomplete --- TODO | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 5f112e2..ebfaa93 100644 --- a/TODO +++ b/TODO @@ -22,7 +22,7 @@ Scrolling in images still messes up the |current| page sometimes, need a way to Show filename at the bottom when viewing an image/video on 4chan. Use https://github.com/simdjson/simdjson as a json library in other parts than matrix. Sanitize check: do not allow pasting more than 2gb of text. -Implement mentions in matrix with an autofill list, like on element. Also do the same with / commands. +Add autocomplete for matrix commands. Add option to disable autosearch and search when pressing enter instead or something? this would be needed for mobile phones where typing is slow. Render view to a rendertexture and render that instead of redrawing every time every time. Provide a way to specify when notifications should be received (using matrix api) and also read the notification config from matrix. Also provide a way to disable notifications globally. @@ -80,8 +80,7 @@ Disable message input in matrix when muted. Preview rooms? Handle matrix token being invalidated while running. Update upload limit if its updated on the server. -Editing a reply removes reply formatting (both in body and formatted_body). Element also does this when you edit a reply twice. This breaks element mobile that is unable to display replied-to messages without correct formatting (doesn't fetch the replied-to message). -This also removes the mentioned name which breaks mention for reply. +Editing a reply removes reply formatting (both in body and formatted_body). Element also does this when you edit a reply twice. This breaks element mobile that is unable to display replied-to messages without correct formatting (doesn't fetch the replied-to message). This also removes the mentioned name which breaks mention for reply. Implement m.room.tombstone. Show a marker when a room uses encryption. Scroll tabs if there are more than 3 tab items and show arrow on left/right side when there are more items to see. @@ -125,4 +124,6 @@ Add client side 4chan file size limit (note, webm has different limit than image Add client side 4chan max comment chars limit. Dynamically fetch 4chan api key, if it ever changes in the future. Same for youtube. Set curl download limits everywhere (when saving to file, downloading to json, etc...). -In the downloader if we already have the url in thumbnail/video cache, then copy it to the destination instead of redownloading it. This would also fix downloading images when viewing a manga page. \ No newline at end of file +In the downloader if we already have the url in thumbnail/video cache, then copy it to the destination instead of redownloading it. This would also fix downloading images when viewing a manga page. +Update timestamp of messages posted with matrix (and move them to the correct place in the timeline) when we receive the message from the server. This is needed when the localtime is messed up (for example when rebooting from windows into linux). +Remove dependency on imagemagick and create a function that forks the processes and creates a thumbnail from an input filepath and output filepath. That new process can use sf::Image to load and save the images. \ No newline at end of file -- cgit v1.2.3