Commit graph

626 commits

Author SHA1 Message Date
Evangelos Paterakis
83acceeeb8
fix: remove *all* list children
the previous loop would skip the last item
2022-11-17 01:13:22 +02:00
Evangelos Paterakis
67944b3b19
feat: Gtk.MessageDialog -> Adw.MessageDialog & enable them 2022-11-16 23:23:00 +02:00
Evangelos Paterakis
031040c629
feat: destroy main winow on account deletion and if there's no other accounts available 2022-11-16 23:21:43 +02:00
Evangelos Paterakis
dde88311c2
fix: secret schema uses full handle 2022-11-16 23:20:44 +02:00
Evangelos Paterakis
ee19df79fe
feat: respect OP visibility when replying
If you are replying to a DM, your reply should also be direct, same goes for the other visibilities.

chore: remove unused css
2022-11-16 15:05:02 +02:00
Sebastian Spaeth
d3eb293490 Account: Simplify display name
Make the internal representation of display name always a real string,
no need for nulls here, this simplifies life a little.
2022-11-16 13:42:13 +02:00
Sebastian Spaeth
831b792af2 Application.vala: No need for gtk.init
Don't do GTK.init. it is being done implicitly by GTK application.startup.
Make sure we chain that up though.

Ref https://docs.gtk.org/gtk4/func.init.html:

    If you are using GtkApplication, you don’t have to call gtk_init() or
    gtk_init_check(); the GApplication::startup handler does it for you.

Fixes: https://github.com/spaetz/tootle/issues/4
2022-11-16 13:19:31 +02:00
Sebastian Spaeth
09ed73292b Gtk.Application -> Adw.Application
We live in Adwaita world, not GTK.
2022-11-16 13:18:34 +02:00
Sebastian Spaeth
4b4afef594 Fix preview_url 2022-11-16 13:15:36 +02:00
Evangelos Ribeiro Tzaras
23cfbb0aa8 Remove deprecated GtkButtonBox
From the migration guide:

GtkButtonBox has been removed. Use a GtkBox instead.
2022-11-16 13:10:45 +02:00
Max Harmathy
3d6c835c09 Use reason_phrase instead of get_phrase 2022-11-16 11:47:51 +02:00
Adrien Plazas
c024b5c900 style: Give the messages a smooth small-large transition
It looks smoother and helps following the content visualy.
2022-11-16 11:44:46 +02:00
Adrien Plazas
af4536345d style: Drop the border around the messages list when small
This avoids having a double border.
2022-11-16 11:44:46 +02:00
Adrien Plazas
1122668ec0 style: Give some left and right margin to the messages list
This avoids having the list touch its surroundings' border.
2022-11-16 11:44:46 +02:00
Adrien Plazas
654b232a24 base: Slightly inscrease the clamp sizes
This avoids having a "large" clamp for just a few pixels right after the
leaflet folds itself (or just before it unfolds).
2022-11-16 11:44:46 +02:00
Evangelos Paterakis
305e93a9f2
feat: redesign navigation
as suggested in https://github.com/bleakgrey/tootle/issues/328

main headerbar: Home, Notifications, DMs
sidebar: Home, Local, Federated, Favs, Bookmarks, Lists

search was moved to a button on the main headerbar
2022-11-16 11:43:21 +02:00
Evangelos Paterakis
3bd79d0dc1
fix: leaflet navigation when main is not in 'Home' 2022-11-15 23:59:24 +02:00
Evangelos Paterakis
5ba32dfa83
fix: rethink stack logic
instead of appending views indefinitely (including doubles like DMs -> Search -> DMs), remove the previous view and then append (this also ensures that the previous view is always Home)

feat: add Home to the sidebar
fix: selected sidebar row
2022-11-15 17:46:34 +02:00
Evangelos Paterakis
96671a9217
fix: dont open view if already open 2022-11-15 00:38:44 +02:00
Evangelos Paterakis
a4cc5a98cf
fix(sidebar): set selection mode to single 2022-11-15 00:37:45 +02:00
Evangelos Paterakis
d38592d2ae
fix(README): update screenshot 2022-11-15 00:37:16 +02:00
Evangelos Paterakis
54d424f984
feat: make status labels bold instead of title-4
as suggested in https://github.com/bleakgrey/tootle/issues/276 & https://github.com/bleakgrey/tootle/issues/327
2022-11-14 13:01:52 +02:00
Evangelos Paterakis
f4becd13df
feat: remove instance from handle on flap account info
as suggested in https://github.com/bleakgrey/tootle/issues/326
2022-11-14 12:50:22 +02:00
Evangelos Paterakis
f0ed33e1aa
feat: change orientation to horizontal on flap account info
as suggested in https://github.com/bleakgrey/tootle/issues/326
2022-11-14 12:49:45 +02:00
Evangelos Paterakis
428a7f2940
fix: don't spawn xdg-open, instead use Gtk.show_uri 2022-11-14 12:48:20 +02:00
Evangelos Paterakis
06f50c0973
fix: move artists and developers credits to about_activated 2022-11-14 12:47:51 +02:00
Evangelos Paterakis
4d554c6a53
feat: make new account dialog default height bigger 2022-11-13 23:03:33 +02:00
Evangelos Paterakis
8aa4544f3a
feat: adw aboutwindow 2022-11-13 23:03:12 +02:00
Evangelos Paterakis
5ffed3ec5f
chore: rebrand 2022-11-13 22:57:43 +02:00
Evangelos Paterakis
c421949ecf
feat: change fav button icon to filled star 2022-11-13 21:07:10 +02:00
Evangelos Paterakis
72ec2c1bed
feat: make compose dialog bigger 2022-11-13 21:06:39 +02:00
Evangelos Paterakis
269549fdee
fix: window min width from spoiler stack 2022-11-13 20:03:03 +02:00
Evangelos Paterakis
5750f1fb03
fix: segfault 2022-11-13 20:02:34 +02:00
Evangelos Paterakis
f422b855a7
fix: disable forced dark mode for now
global dark/light mode switch is instead being used
2022-11-13 13:08:36 +02:00
Evangelos Paterakis
370d79890b
feat(sidebar): use filled star icon for Favourites 2022-11-13 13:03:00 +02:00
Evangelos Paterakis
c595a0889c
fix: simplify profile links and don't wrap 2022-11-13 13:00:59 +02:00
Evangelos Paterakis
2485871622
feat: make action status buttons circular 2022-11-13 12:08:48 +02:00
Evangelos Paterakis
37f7e2323e
feat: remove border radius on small clamp 2022-11-13 11:55:53 +02:00
Evangelos Paterakis
11c01dcca9
fix: add background color to sidebar
AdwFlap has a  transparent background by default. On Tootle it was mostly notable on mobile view.
2022-11-13 11:28:33 +02:00
Evangelos Paterakis
6d5c9d7582
fix: AdwLeaflet properties 2022-11-13 11:13:52 +02:00
Bobby Rong
6924572047 Application: make app_entries private
Fixes compilation with latest valac.
2022-11-13 11:12:51 +02:00
Evangelos Paterakis
0d89cacc93
fix: adhere to GLib.Object naming conventions for properties
https://github.com/bleakgrey/tootle/pull/339

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2022-11-13 11:08:22 +02:00
Bleak Grey
02f918d637 InstanceAccount: Register places (#328) 2021-09-09 14:47:11 +03:00
Bleak Grey
d635226a17 Minor design tweaks 2021-08-31 12:01:09 +03:00
Bleak Grey
c2e5eb632f Remove help overlay 2021-08-31 10:55:27 +03:00
Bleak Grey
ddba63d805 Composer: Initial work for attachments 2021-08-31 10:54:11 +03:00
Bleak Grey
0c10bee64d Fix #269 2021-08-20 13:41:22 +03:00
Bleak Grey
682fb001d2 Fix #314 2021-08-20 13:36:03 +03:00
Bleak Grey
6fd7482793 Compress some icons 2021-08-20 13:23:04 +03:00
Bleak Grey
1f3a8d24e3 Fix #315 2021-07-26 15:53:33 +03:00