* Enhance the message context menu
A direct message can now directly be bookmarked, the author can be publicly
mentioned and reported.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Add options to the conversation list context menu
Since the latest message is shown in the conversation list, the user can now
interact with this message via the context menu similar to the messages in the
conversation history.
The "conversation" class had to be modified since
bookmarking and liking a message would have led to a race condition (depending
on the server) when fetching the conversations afterwards, so the only affected
the message is now immediately updated.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Remove child view models
The child views models are removed, and the list row now only uses the conversation
object managed by the list view model.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Make unmodified var let
The last state-var of a conversation isn't modified, instead, a new conversation
is created. Therefore, the var is now a let.
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
---------
Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
* Add translate button to the preview post in settings
* Accidental outdent.
* Add share button to placeholder status and also preview status in settings.
* Add a preview toot tot the top of the display settings page.
* DisplayModel doesn't need to be @State
* Disable hitTest
* Example Post
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* This is a more correct html to markdown implementation.
It removes all the hacks and just uses the SwiftSoup parser correctly
It will fix issue #576 and also an unlogged issue with the old implementation that could corrupt urls with underscores in them.
* Better <br> / linefeed handling
* Cleanup
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Prevent opening quicklook for missing avatar or header. Fixes#127
* Using theme for missing header background in profile
* fix
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
* Fix french plurals
* Fix english
* More French translations fixes
* Switching relative date formatter
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>