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 GtkTextView
s in GtkBox
es
...
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 GtkListBox
s
...
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
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
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
Alexander Mikhaylenko
f65a4e3f42
invite_user.ui: Clean up headerbar
...
Use 'title' property for title, and pack buttons into the headerbar itself.
2018-09-05 19:19:33 +05:00
Alexander Mikhaylenko
a75144b2b7
main_window.ui: Clean up login headerbar
...
Use 'title' property instead of adding the label manually.
2018-09-05 19:19:33 +05:00
Alexander Mikhaylenko
1f3022bb0a
main_window.ui: Refine 'Log in' label
...
Set font weight to ultralight, also replace hardcoded grey color with
default 'dim-label' style class.
2018-09-05 18:42:41 +05:00
Julian Sparber
b357cf1512
media_viewer: move the media viewer to a custom widget
...
this makes appOp a little smaller and gives the possibility to create
the media_viewer without appOp
2018-09-04 09:26:49 +02:00
Christopher Davis
582101c3aa
Clean up string capitalization and wording
...
We had a few issues with some strings that caused inconsistency
within the app and with the HIG. This commit fixes those up.
2018-08-30 10:26:46 -04:00
Alexandre Franke
9329ad0d0a
Fix strings
2018-08-23 18:40:24 +02:00
Alexander Mikhaylenko
e5bea00d09
main_window.ui: Remove double border in room directory
2018-08-19 23:43:12 +05:00
Alexander Mikhaylenko
67c12ec2e9
msg_src_window.ui: Remove double border
2018-08-19 23:41:00 +05:00
Alexander Mikhaylenko
081517ebe2
media_viewer.ui: Remove double border
2018-08-19 23:39:14 +05:00
Alexander Mikhaylenko
1aaf94c28c
main_window.ui: Use title and subtitle style classes for title labels
...
Adwaita already has predefined classes for styling headerbar titles. Use
them instead of defininig this style manually.
2018-08-19 23:38:50 +05:00
Jordan Petridis
f0c50ec46b
main_window.ui: Remove unused search widget
...
There is no point to carry this widget in the ui file until such
functionality is implemented.
2018-08-18 18:42:38 +03:00
Owen McGrath
3cb4cf7839
remove unnecessary font and provide scale instead
2018-08-16 23:44:54 -04:00
Daniel García Moreno
ed3cc63b41
Room Topic: Expand the header to center the text
2018-08-13 10:07:39 +02:00
Jordan Petridis
f55f3c1c22
Room Topic: Remove the button, use only labels
...
You can get to the room details/info from the secondary menu,
so there is no point having 2 buttons for the same action.
2018-08-13 03:17:56 +03:00
Daniel García Moreno
60140b6b1c
MessageMenu: Copy selected text action to menu
...
The message menu override the default label context menu and we can't
copy selected text using the label context menu so I've added a copy
selected text option to the message menu to do the same.
We can do something similar to add two new actions to this menu:
* Copy link
* Open link
We can try to check if we've a link below the cursor and in that case we
can show these two new actions.
See #195
2018-08-07 12:29:30 +02:00
Eisha Chen-yen-su
5e357a5ad9
UI: Make the Message Source window title bold
...
See https://gitlab.gnome.org/World/fractal/issues/195
2018-08-04 14:58:57 +02:00
Eisha Chen-yen-su
48ab8d66ee
UI: Remove the old source dialog
...
See https://gitlab.gnome.org/World/fractal/issues/195
2018-08-04 11:28:17 +02:00
Eisha Chen-yen-su
0b50687901
UI: Add a new modal window for message source view
...
See https://gitlab.gnome.org/World/fractal/issues/195
2018-08-04 11:27:45 +02:00
Eisha Chen-yen-su
83251c120b
UI: Move "View Source" button in the menu
...
This moves the "View Source" button so that it is just after the "Reply"
and "Copy Text" buttons.
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-31 14:44:12 +02:00
Eisha Chen-yen-su
19dabf2719
source_dialog.ui: Add a scrolling GtkSourceView
...
This adds a scrolling GtkSourceView so that the dialog doesn't get very
large for large messages and there can be syntax highlight for JSON.
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-29 19:16:01 +02:00
Eisha Chen-yen-su
66f0bd343d
UI: Add a dialog to show messages' source
...
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-28 10:34:32 +02:00
Eisha Chen-yen-su
6812c3980d
UI: Add a message menu popover
...
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-28 10:34:32 +02:00
Eisha Chen-yen-su
d54b92466b
UI: Remove useless attributes for msg_entry
...
Closes https://gitlab.gnome.org/World/fractal/issues/288
2018-07-24 10:16:23 +02:00
Daniel García Moreno
bbc123a48f
msg-entry: Scrollbar for input
2018-07-23 17:25:24 +02:00
Daniel García Moreno
290ba20703
fractal-gtk: Use word-char wrap mode for input
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
06a4355648
fractal-gtk: Add Markdown syntax highlight support
...
Closes https://gitlab.gnome.org/World/fractal/issues/216
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
6a53e35a7f
UI: Fix some visual issues
...
See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
9c7015daa5
UI: Change message entry type to GtkSourceView
...
This changes the message entry from GtkEntry to GtkSourceView in order
to support multiline message input. GtkSourceView will also allow an
easy reimplementation of the nickname completion and add the support
for Markdown syntax highlighting.
See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Julian Sparber
c772d9f5dc
roomsettings: hide confirm button when the topic/name didn't change
...
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-19 10:03:59 +02:00
Julian Sparber
692045fe53
roomsettings: make room description label a dim-label
...
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
78c5be1ab6
roomsettings: set max with for centerd column
...
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00