Commit graph

353 commits

Author SHA1 Message Date
Daniel Pauls
37ea7c77aa autocompletion-popover: Fix misplacement on small window widths
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
2019-08-17 19:51:03 +00:00
Christopher Davis
57945eecad fractal-gtk: Migrate to GtkSourceView4
GtkSourceView3 is no longer updated.
2019-08-10 23:35:12 -07:00
Daniel García Moreno
65ed458295 Release 4.2.0 2019-07-27 09:30:29 +02:00
Christopher Davis
197e063157 directory: Adapt room directory for mobile sizes
Makes it so that the room directory can scale down to mobile
sizes.
2019-07-19 13:15:15 -07:00
Daniel García Moreno
daf36388ad Fix typing notification margin
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
2019-06-26 08:31:38 +02:00
Isaac Curtis
250376a7bd Initial support for being kicked
Remove translatable from kicked dialog
2019-05-28 21:30:15 -06:00
Baptiste Gelez
1619aa3840 Update changelog: keyboard shrotcuts were added 2019-05-15 17:41:23 +01:00
Baptiste Gelez
7348934615 Add new keyboard shortcuts to the help dialog 2019-05-14 10:59:12 +00:00
Christopher Davis
408c7ce2da fractal-gtk: Improve list keyboard navigation
Previously on both the room list and the message list,
our GtkScrolledWindows would not scroll with our focus.
This meant users that relied on keyboard navigation were
stuck at the top of our room list and the bottom of our
message list.

Now we scroll both lists as focus moves, improving
navigation for keyboard users.
2019-05-14 06:59:47 +00:00
Alexandre Franke
1522550314 Prepare changelog for 4.2 2019-05-05 11:20:46 +02:00
Christopher Davis
a10c7c4ad6 ui: Unmark placeholders as translatable
As per https://gitlab.gnome.org/GNOME/fractal/issues/397,
removes translation for strings that are replaces and
translated within the code.

Fixes #397
2019-04-29 20:01:27 -04:00
Christopher Davis
f96d72654a fractal-gtk: Reduce margins when leaflet is folded
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
2019-04-29 08:29:59 +00:00
Christopher Davis
7b1734af95 build: Build resources with meson instead of build.rs
Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.
2019-04-27 16:24:08 +00:00
Piotr Drąg
37f3a59de5 ui: Fix translatable attribute in login_flow
It takes “yes,” not “true”.
2019-04-21 15:13:33 +00:00
Christopher Davis
e1fbb54ca4 login_flow.ui: Add mnemonics for keyboard navigation
mnemonics are a tool used for faster keyboard navigation,
and help with accessibility.

This commit adds mnemonics for every entry and button that
either has a label or doesn't have another shortcut.
2019-04-15 10:30:58 -04:00
Christopher Davis
66e95aa151 fractal-gtk: Redesign Login Flow
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
2019-04-15 10:30:58 -04:00
Christopher Davis
336f0b22ae ui: Separate login from main_window.ui
Branches the login flow off from the main window's UI file.
Like the account settings view we can add it to the stack
manually at run-time. This cuts down greatly on the
complexity of the main_window file.
2019-04-15 10:30:58 -04:00
Christopher Davis
d0887529fa media_viewer: Remove zoom controls
Until we get a proper image viewer widget, we've
decided that it's best to remove the zoom controls
instead of having broken ones.
2019-04-02 07:43:04 +00:00
Crom (Thibaut CHARLES)
d60ce58cf3
power_level badges for users in room settings
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
2019-03-18 20:46:12 +01:00
Xiang Fan
bdb4d5c7af account: Make stack non-homogeneous
The spinner should be at the center of the view, not the other child of
the stack.
2019-03-15 15:53:19 +08:00
Xiang Fan
5ea9b0c6a3 account: Fix foci
Some labels have focus and some buttons don't. This should fix it.
2019-03-15 15:52:31 +08:00
Daniel García Moreno
54a1144ea8 Merge branch 'merge-requests/387'
account_settings: Remove revealer boxes

https://gitlab.gnome.org/GNOME/fractal/merge_requests/387
2019-03-13 10:40:57 +01:00
Rasmus Rendal
48c8013be4 Add typing notifications
Add handler for incoming typing notifications in the sync loop
Add an appop handler for typing notifications to the frontend

Feature added for #305
2019-03-07 08:40:03 +00:00
Xiang Fan
b2135efac2 account_settings: Remove revealer boxes 2019-03-04 09:53:47 +00:00
Robert Griesel
b4b38868ad Save and restore window state
Size, position and window maximize state are saved in gsettings
when closing Fractal. They are then restored on startup.

Window position is not working on all windowing systems.

Fixes #123
2019-02-25 11:01:33 +00:00
Christopher Davis
345c267d9f fractal-gtk: Use HdyDialog for Dialogs
HdyDialog is an adaptive version of GtkDialog that's always modal and adapts to fit the size of the screen if folded with HdyLeaflet. In the process of changing to use HdyDialog the width_request of the dialogs was moved from the window to their HeaderBars.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/377
2019-02-15 12:03:11 -05:00
Christopher Davis
5f5903ad46 room_settings: Wrap settings in HdyColumn
Allows for the room settings to fit within small sizes.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/377
2019-02-06 18:22:04 +00:00
Christopher Davis
6d99cd8593 main_window: set width-request for content
The width-request of the HeaderBar dictates what size the room HeaderBar needs to be to fold at and the minimum width of the HdyLeaflets total in this case.

Prevents the room content from becoming too narrow.
2019-02-01 08:54:43 -05:00
Christopher Davis
36c1d827b3 main_window: wrap room_info GtkBox in GtkScrolledWindow
The room_info labels could cause the leaflet to fold before
they could ellipsize, causing Fractal to fold at the wrong width. By wrapping in ScrolledWindow we work around that issue.
2019-02-01 08:54:43 -05:00
Christopher Davis
3b69e8e898 fractal-gtk: Use HdyLeaflet to adapt to small sizes
Fractal's main view could only shrink so far, barring usage at smaller sizes such as a phone's screen. HdyLeaflet enables
Fractal to adapt.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/377
2019-02-01 08:54:43 -05:00
Christopher Davis
279d334010 markdown_popover: Remove deprecated props and clean up
`markdown_popover` used the deprecated start and end properties and abused margins to space elements out.
Now it uses the `margin` property to create margins around widgets on all sides, as well as the properties of GtkGrid and GtkBox.
2019-01-30 17:48:09 +00:00
Julian Sparber
aafd8096c5 sidebar: fix notification counter style 2019-01-19 11:23:43 +01:00
Elizaryev Pavel
2d7c906c0a media_viewer_menu.ui: replace "..." with "…" 2019-01-15 19:19:30 +05:00
Pavel Elizaryev
c157b76f50 Fix strings:
"Save as" should probably be "Save as…"
"You’ve been invited to join to "… → "to join", not "to join to".
Time formats should use a ratio symbol ∶ as suggested by the HIG
"Favorites" → "Favourites" (multiple occurrences)

https://gitlab.gnome.org/GNOME/fractal/issues/417
2019-01-15 19:19:30 +05:00
Bilal Elmoussaoui
ff411a5763 Appdata: add kudos tags
Documentation: https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
2019-01-15 07:43:37 +00:00
Bilal Elmoussaoui
d8707df903 Appdata: improve the appdata file
specs: https://freedesktop.org/software/appstream/docs/chap-Quickstart.html
2019-01-15 07:43:37 +00:00
Bilal Elmoussaoui
ba288dcaf4 meson: add tests to validate appdata/desktop file 2019-01-14 07:57:42 +00:00
Alexandre Franke
4df848370c Fix mentions of World since we moved 2018-12-28 12:44:30 +01:00
Tobias Bernard
aa9b48cad3 Invite Dialogs: minor visual fixes
- 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
2018-12-24 09:53:34 +00:00
Daniel García Moreno
5c0f17a42c Release 4.0.0 2018-12-22 11:19:34 +01:00
Daniel García Moreno
9a13a32f46 Beta release 3.99.1
See #396
2018-12-20 15:51:59 +01:00
Alexandre Franke
899583c34c release: mention header bar in notes 2018-12-19 12:17:31 +00:00
Alexandre Franke
a8dec5f8bd release: write release notes 2018-12-18 07:41:05 +00:00
Giovanni Grieco
62f076a1b8 Add Shift+Enter shortcut in shortcuts window
This fixes issue #401
2018-12-15 16:43:18 +01:00
Daniel García Moreno
b4dc4d2b6f Beta release 3.99.0
See #396
2018-12-14 19:46:41 +01:00
Tobias Bernard
4413d22e3d big emoji: change font size to 3em 2018-12-13 12:45:55 +01:00
Julian Sparber
4f6d546830 sticker: remove code for sticker #239 2018-12-12 15:20:43 +01:00
Julian Sparber
29a77d6ec6 refactor: Add back action to go to previous view
This uses a store to keep track of the AppStates, so the user can go
back to the previous state by clicking the back button or press Escape.
2018-12-12 15:20:43 +01:00
Zeeshan Ali
6c599708f0 message: Make emoji-only messages, big
Just like most chat apps do these days.

Fixes #367.
2018-12-09 22:53:21 +01:00
Bilal Elmoussaoui
802ca6ac25 Remove the label property. 2018-12-07 20:24:50 +00:00