Commit graph

299 commits

Author SHA1 Message Date
Daniel Garcia Moreno
03fae4c636 Revert "Merge branch 'mobile-ui' into 'master'"
This reverts merge request !268
2018-11-14 18:05:36 +00:00
Daniel Garcia Moreno
78dc759399 Merge branch 'master' into 'mobile-ui'
# Conflicts:
#   fractal-gtk/src/app/connect/mod.rs
2018-11-14 08:34:25 +00:00
Christopher Davis
c576598a86 leaflet: Shrink padding to message list when app is folded
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.
2018-11-13 12:25:44 -05:00
Christopher Davis
179a7bd830 main_window.ui: Set transition animation for leaflets
Sets the slide animation for the HdyLeaflets for a nice
animation when switching between primary and secondary views.
2018-11-13 03:21:52 -05:00
Christopher Davis
216a79d082 fractal-gtk: Use HdyLeaflet for mobile UI
HdyLeaflet is a widget that can be used in split-header apps
like Fractal to split the panes into views, one primary and one
secondary.

This commit splits the main view of Fractal with HdyLeaflet so
at small sizes the room list is the primary view, and the room
history is the secondary view.
2018-11-13 03:10:24 -05:00
Julian Sparber
ffa63f8c53 roomhistory: create custom widget for scroll view
This moves the ScrolledWindow to a custom widget, to clean up code
inside AppOP and decrease its size.
2018-11-10 17:23:24 +01:00
Daniel Garcia Moreno
ebf4af104c Merge branch 'upsidedown' into 'master'
roomhistory: draw messages from the buttom up

See merge request World/fractal!261
2018-11-07 07:41:01 +00:00
Julian Sparber
dcfa039b42 roomhistory: draw messages from the buttom up
This attaches the room history to the input field and makes loading of
messages a little bit smoother.
2018-11-06 11:50:42 +01:00
Julian Sparber
81c149b5c2 center room name on room history 2018-11-01 23:02:51 +01:00
Daniel García Moreno
9f1563aeee New icon design by Tobias Bernard
More information about the icon redesign initiative here:
https://gitlab.gnome.org/GNOME/Initiatives/issues/2

See #353
2018-10-28 16:04:06 +01:00
mairandomness
0821556842 remove 'Quit' from main_menu 2018-10-25 23:01:12 -04:00
mairandomness
efd6fe2780 remove empty menus.ui (content was moved to main_menu.ui) 2018-10-25 22:41:03 -04:00
mairandomness
e75c185357 remove empty user_menu.ui (previously moved to main_menu.ui) 2018-10-25 22:35:21 -04:00
mairandomness
3442c8f38f rename user_menu to main_menu 2018-10-25 21:13:00 -04:00
mairandomness
96ed486d28 change user_menu_button display to open-menu-symbolic icon 2018-10-25 21:13:00 -04:00
mairandomness
a624f894c6 revert changes to '.po' files 2018-10-25 21:13:00 -04:00
mairandomness
2e51b57b7a remove instances and content of menus.ui 2018-10-25 21:13:00 -04:00
mairandomness
f05b599d9c move rest of menus to user_menu.ui' 2018-10-25 21:13:00 -04:00
mairandomness
59e6655f57 move menus and 'Keyboard Shortcuts' 2018-10-25 21:13:00 -04:00
mairandomness
af5a129bde move menus to their new positions 2018-10-25 21:12:44 -04:00
mairandomness
b989f72a93 change 'About' to 'About Fractal' 2018-10-23 23:10:25 -04:00
Alexander Mikhaylenko
af7560c8dd main_window.ui: Add .sidebar style to titlebar separator
This is required to make it look properly with HdyTitleBar.
2018-10-22 15:47:30 +05:00
Alexander Mikhaylenko
48dd9bdb3e main_window.ui: Wrap titlebar into HdyTitleBar 2018-10-22 15:47:20 +05:00
Alexander Mikhaylenko
e3ae08e0cc app.css: Drop custom devel style
Devel style is now available in GTK+ itself, so drop the custom style.
2018-10-22 15:42:20 +05:00
Eisha Chen-yen-su
9349f028a4 UI: Prevent invite search entries to add tabs
The new search entries used in the invite dialogs were preventing from
use the tabbing feature as it were literally inserting tabulations
instead.

See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-13 11:02:02 +02:00
Daniel Garcia Moreno
2c9557f5e0 Merge branch 'invite-dialog' into 'master'
Redesign of the invite dialog

See merge request World/fractal!242
2018-10-08 09:54:57 +00:00
Alexander Mikhaylenko
037dcfe39b UI: Don't attach dialogs
This fixes weird behavior with hover states and headerbar style.
2018-10-08 02:48:20 +05:00
Eisha Chen-yen-su
ec9ea6ee34 Invite: Rename new entries with better names
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 18:22:20 +02:00
Eisha Chen-yen-su
6541451509 Invite: Cleanup the code to remove the old GtkEntry
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 10:11:51 +02:00
Eisha Chen-yen-su
e603c33a7b UI: Enclose GtkTextViews in GtkBoxes
This is done in order to give the `GtkTextView` the appearance of a
`GtkEntry`.

See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 10:06:19 +02:00
Eisha Chen-yen-su
126eba9e2e UI: Remove useless GtkListBoxs
This removes `GtkListBox`s that were used to list the users we were
going to send invites to. But since we keep inline the search input now,
they are not useful anymore.

See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 17:17:55 +02:00
Eisha Chen-yen-su
a1fa6acf3f UI: Add GtkTextView for listing invites
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 13:24:49 +02:00
Jordan Petridis
4841efa75c
SourceViewEntry: Add another bin like parent
There seemed to be a weird line drawn from the style class before
this.
2018-10-01 08:32:57 +03:00
Jordan Petridis
ecefd2cc51
SourceViewEntry: Use HdyColumn to center it
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.
2018-10-01 08:32:56 +03:00
Jordan Petridis
4d0d69f46a
Put the room directory inside a HdyColumn 2018-10-01 08:32:56 +03:00
Julian Sparber
9e789d490f
column: change message list background to white 2018-10-01 08:32:47 +03:00
Julian Sparber
158f4c24a5
column: add libhandy column to message view 2018-10-01 08:32:41 +03:00
Julian Sparber
b5e71d57df roomhistory: fix listbox fill scrolledwindow 2018-09-25 16:35:50 +02:00
Julian Sparber
f7c15f4be7 roomhistory: remove loading spinner form room history 2018-09-25 16:07:39 +02:00
Julian Sparber
09608c7daf roomhistory: lazy load all stored room messages
Since the messages are lazy loaded, we can load all cached messages
when a room gets opened
2018-09-25 16:07:39 +02:00
Rasmus Rendal
e0a91b06ce Changed the name to small-font, to make it a bit more general 2018-09-23 10:57:01 +02:00
Rasmus Rendal
4772e6f001 Made the text small again 2018-09-23 10:52:22 +02:00
Rasmus Rendal
a6109e7f58 Use dim-label instead of another CSS class 2018-09-23 10:43:17 +02:00
Rasmus Rendal
03e4da2e3f Added a label to the members list which shows MXID's 2018-09-22 21:42:44 +02:00
Daniel García Moreno
5e02dd1fe1 Merge branch 'merge-requests/219' 2018-09-20 08:55:15 +02:00
Alexander Mikhaylenko
230a2bc267 app.css: Apply devel headerbar colors more selectively
Prevents label color leaking onto buttons.
2018-09-13 21:21:23 +05:00
Eisha Chen-yen-su
5baaf0b5e2 UI: Add an ID to the message menu separator
We need it to be able to hide it from the source code.
2018-09-09 20:58:35 +02:00
Eisha Chen-yen-su
94672e0a47 UI: Add buttons for images in context menu
See https://gitlab.gnome.org/World/fractal/issues/76
2018-09-08 17:30:27 +02:00
Daniel Garcia Moreno
2e5c033635 Merge branch 'headers' into 'master'
Headerbar cleanups

See merge request World/fractal!218
2018-09-05 16:13:29 +00:00
Alexander Mikhaylenko
52b9c64876 msg_src_window.ui: Clean up headerbar
Use 'title' property instead of a manually added label.
2018-09-05 19:19:33 +05:00