Kévin Commaille
556d470074
members-list-view: Refactor list items
...
Have a more consistent styling accross items.
2 years ago
Felipe Kinoshita
f28021fce3
sidebar: Use standard padding values
...
GNOME apps usually use multiples of 6 for padding/margin so let's stick
with that.
Fixes #1308
2 years ago
Kévin Commaille
9d0409124c
misc: Do not change line height
...
It makes the text blurry on non-HiDPI screens.
This change is temporary for the Fractal 5 release.
2 years ago
Kévin Commaille
d6d2c43c71
sidebar: Rename Entry to IconItem
...
Entry is confusing because GtkEntry is where we input text.
2 years ago
Kévin Commaille
d5d84fdb3f
sidebar: Fix positioning of sidebar entries
...
Rename CSS class to sidebar-entry to avoid getting the style from
GtkEntry.
Align text of entry with room names.
2 years ago
Kévin Commaille
e0fd735622
message-row: Use the default button style for reactions
2 years ago
Kévin Commaille
971e1c2c33
read-receipts-list: Implement as a toggle button instead of using a child
...
Improves the location where the popover points to.
Improves the a11y by removing children from the tree.
2 years ago
Maximiliano Sandoval R
0c3879622e
room-title: Add missing CSS from libadwaita
...
Partially fixes #1219 , it is not reproducible when setting the text
scaling factor to 1.25 (Larger Text from Settings),
it only starts to be visible at 1.5.
2 years ago
Brage Fuglseth
7ededd1cfe
room-details: style cleanups
...
Ideally we'd have two separate views for viewing and editing room
details, but this makes the current implementation look a little nicer.
- Update the room title to match the .title-1 style class when
insensitive
- Add a 24px margin above room title to match AdwStatusPage
- Disable search since the page has a rather small amount of elements
2 years ago
Kévin Commaille
9cd1a91984
style: Rename completion-popover class to list-popover
...
And make compatible with popovers containing GtkListViews
2 years ago
Kévin Commaille
dde84675c2
typing-row: Use cutout instead of border to separate avatars
...
If part of the avatar is transparent, the cutout looks better.
2 years ago
Kévin Commaille
f11c1fd6d7
read-receipts-list: Add a border between avatars
...
Uses a round cutout rather than a border to have a better visual
if part of the avatar is transparent.
2 years ago
Kévin Commaille
0c652f24d9
editable-avatar: Make cutout style match less generic
2 years ago
Kévin Commaille
476d114dc0
room-history: Change the style of emotes
2 years ago
Kévin Commaille
8927bbbabe
media-viewer: Fix colors of headerbar in light mode
3 years ago
Kévin Commaille
32ac368bba
room-history: Fix toolbars colors and only use flat style
3 years ago
Kévin Commaille
ccdc93be93
media-viewer: Use AdwToolbarView
...
Replaces deprecated AdwFlap
3 years ago
Kévin Commaille
cd982b03c4
room-history: Properly style HTML titles in messages
3 years ago
Kévin Commaille
6cd166071e
account-switcher: Fix style
3 years ago
Kévin Commaille
cf27bd22c6
window: Use a new GListModel to manage sessions
...
Allows to use GtkListBox::bind_model and prepares a futures change
where the session is split between view and model.
3 years ago
Marco Melorio
a5ef975ff3
history-viewer: Implement AudioHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Marco Melorio
89ed564822
history-viewer: Implement FileHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Marco Melorio
063b1b318c
history-viewer: Implement MediaHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Georges Basile Stavracas Neto
7f5ce14c12
sidebar: Set tooltip of room rows
...
Room names can be large in some circumstances. Usually in dynamic
lists like this, where the textual content can be unpredictable,
adding a tooltip text is helpful.
Add that.
3 years ago
Kévin Commaille
26222e2b24
room-history: Don't access GtkListItemWidget
...
Don't set CSS classes and bind to RoomHistory properties
3 years ago
Kévin Commaille
d4b74e00bd
sidebar: Don't set GtkListItemWidget CSS classes
3 years ago
Kévin Commaille
1470dcf92c
qr-code: Remove uses of deprecated GtkStyleContext
3 years ago
Kévin Commaille
beb9dd4e91
room-details: Use EditableAvatar
3 years ago
Kévin Commaille
758a8f99cd
room-history: Show highlighted events
3 years ago
Kévin Commaille
eedc456ddd
room-history: Mark replied to event as selected not highlighted
3 years ago
Kévin Commaille
d6e5f60b84
room-creation: Use AdwEntryRow and other fixes
...
It would not be possible to create a private room without entering a
room address
although it's not used in that case.
3 years ago
prathamgupta44
22bb04d440
room-details: Fix contrast of room name and description on room-details page
...
Have fixed the contrast of room name and description on room-details page by changing the opacity of the respective widgets.
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1138
3 years ago
Marco Melorio
4efb8f2804
media-viewer: Make it dark and animated
...
Fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/1019 .
3 years ago
Tobias Bernard
3d53755510
device list: add min width to log out button
3 years ago
Kévin Commaille
7301d3ff6e
room-history: Display and send typing notifications
3 years ago
Kévin Commaille
19d5f87e48
room-history: Fix corners of media messages in replies
4 years ago
Kévin Commaille
f0e5d97684
account-settings: UI fixes
4 years ago
Kévin Commaille
6e82ea2f60
account-settings: Use AdwPasswordEntryRow
4 years ago
Kévin Commaille
4270577625
account-settings: Don't use AdwPreferencesPage when not needed
4 years ago
Kévin Commaille
0232d98dc1
explore: Allow to explore custom matrix servers
4 years ago
Kévin Commaille
4e355341a3
content: Fix unwanted rounded corners in location preview
4 years ago
Kévin Commaille
e35c2b4464
room-history: Allow to send replies
4 years ago
Julian Sparber
15bda14f05
room-details: Rework navigation and fix listview styles
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/900
4 years ago
Kévin Commaille
f8e9147f7d
room-history: Implement mention of users in the message entry
...
Show a popover triggered by the character `@` or the `Tab` key.
4 years ago
Kévin Commaille
c5d696e600
components: Fix alignment of Pills in GtkTextViews
...
Fixes #880
4 years ago
Julian Sparber
7ffbf9849f
room-history: Show selection when context menu is open
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/938
4 years ago
Harshil Patel
546dae1e4f
room-history: Increase message line height
...
Unfortuntely line height on multi-height labels is way too tight by default in GTK4, so we need to work around it in apps.
One very visible instance of this is the message bodies in the timeline.
I fixed issue by adding css line-height property on .room-history row css class.
https://gitlab.gnome.org/GNOME/fractal/-/issues/1030
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1141 >
4 years ago
Harshil Patel
0ccaad6375
room-history: Make text reactions smaller
...
data/resources/style.css: Added class for font on applying reaction
src/session/content/room_history/message_row/reaction.rs: Added check if reaction contains text or not
src/utils.rs: Added regex function for general purpose
Even if it's their primary use in clients is to send emoji reactions, reactions can actually contain any text.
We have to make sure that we ellipsize long texts, and we need to fix the font as it's currently too big.
To fix this issue, I used regex function to check whether reaction contains text or not.
https://gitlab.gnome.org/GNOME/fractal/-/issues/1044
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1134 >
4 years ago
Julian Sparber
d61a6e93ea
explore: Improve styling
4 years ago
Marco Melorio
f7f65d3e93
qr-code: Make it always black-on-white
...
Also add .card style. Fixes #1052 .
4 years ago