This commit fixes the right click context menu options for videos. Now,
it contains "Reply", "Open With...", "Save Video As", "View Source" and
"Delete Message".
Furthermore, the auto video play widget of video messages in the room
history gets overlayed with
- a play icon in the center
- a message context menu button on the top right. On click, it opens
a popover. That popover contains the same options as the right click
context menu popover.
Currently the autocompletion-popover has a margin-left in its stylesheet
which does look misplaced if the window has a small width.
To fix this remove the left margin of the autocompletion-popover once the
transition between the 'narrow' and 'non-narrow' mode happens.
Fixes https://gitlab.gnome.org/GNOME/fractal/issues/516
The margin of the typing_label was not exactly aligned with the text, we
have the padding left of the list (18/6) plus the size of the avatar
(40) plus double of the padding of the row (9 * 2).
With the handy column the list left padding changes from 18 to 6 so we
need to control that case and change the margin according to that.
Fix https://gitlab.gnome.org/GNOME/fractal/issues/492
Our current margins are a little too big for a mobile screen.
So, we reduce them to 6px when we detect that the app is
folded with HdyLeaflet.
Closes https://gitlab.gnome.org/GNOME/fractal/issues/480
This is a complete overhaul over the interface for login.
* widgetifies the login view (removes app/connect/login.rs)
* Instead of asking for the identity server, uses .well-known
* No longer assumes a homeserver
Closes#448
Used Avatar::circle badge parameter in MemberBox
rustfmt
Show power level next to the matrix user ID
Fix mxid & power level forcing window width
new design closer to @bertob's proposal
Gap around avatar's badge
Power level roles translation
css-themed avatar's colored dot
Reduced badge height
- Fix the search results not expanding
- Fix the spacing around the searchbar
The two UI files are identical except for some labels and IDs and should
be merged
Applies a style class, folded-history, whenever the leaflet is
folded. folded-history shrinks the padding around the message
list to 6px from the default 18px.
This is a reimplementation of the widget that existed in the gtkbuilder
(.ui) file. The end goal is to start moving everything in its own
declaration and use actuall Rust structs instead of the GtkBuilder
to access the widgets.
For the time being the widgets are exposed to the builder object in
order to make the refactoring proccess easier and not brake the world.
This implements a new members list widget without the use of the backend
and with the use of the cached avatar, also it implements the new UI for
the members list.
https://gitlab.gnome.org/World/fractal/issues/19
I've moved the image/attach message creation from the backend to the
frontend so now we need to create the message with the file path in the
url field to attach a file. This simplifies the backend and allow us
more control over the temp message that we're showing because we can
render the temp message with the image