Commit Graph

644 Commits

Author SHA1 Message Date
Evangelos Paterakis d89d6a97fc
feat: edited indicator 2022-12-15 21:32:03 +02:00
Evangelos Paterakis aae418ab4c
feat: indicator tooltips 2022-12-15 21:31:35 +02:00
Evangelos Paterakis 2461d49fff
fix(indicators): use .dim-label instead of opacity
'The level of transparency differs between regular and high contrast styles. As such, it’s highly recommended to be used instead of changing opacity manually.'
2022-12-15 21:29:37 +02:00
Evangelos Paterakis 06cb65bac1
feat(poll): .winner multiple entries
mostly for multiple choice polls and polls with entries with equal amount of votes
2022-12-15 21:22:08 +02:00
Behzad bb8219bcca
feat: background mode (#29) 2022-12-13 19:28:17 +02:00
Evangelos Paterakis 7654dc3656
fix(profile): wrap stat labels
fix: #30
2022-12-13 00:58:52 +02:00
Evangelos Paterakis 4e2225eabd
fix(profile): stats border-radius on small 2022-12-13 00:58:04 +02:00
Evangelos Paterakis aa96602543
fix: no more warnings 2022-12-11 02:23:29 +02:00
Chris b6d9b9478d
fix(meson): add support for 0.56.0 (#26)
* meson: depend on 0.56 instead of 0.59

* data/Meson: Relax appstream validation requirement

Co-authored-by: Chris Talbot <chris@talbothome.com>
Co-authored-by: maryjane <maryjane@disroot.org>
2022-12-07 06:18:28 +02:00
Evangelos Paterakis 37b5c7376e
fix: mobile poll row border radius 2022-12-06 06:17:31 +02:00
Juan Campos 8f30b48b88
feat: polls (#25)
* poll support

* feat: let spoiler button handle poll's spoiler status

* fix: change the design to match both mastodon and hig

* feat: voted indicator

* feat: treat voted as expired

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2022-12-06 04:54:18 +02:00
Evangelos Paterakis f187f49e60
feat(profile): use avatar as cover if missing 2022-12-05 04:00:43 +02:00
fortysixandtwo 7fe8828a62
feat(desktop): indicate we can handle StartupNotify (#24)
As GTK apps do this just fine let's have a splash
under phosh.

Co-authored-by: Guido Günther <agx@sigxcpu.org>
2022-12-03 20:13:42 +02:00
fortysixandtwo e11169f5a8
chore(build): remove post_install.py (#23)
meson.build uses gnome.post_install()
so the post installation script is not needed
2022-12-03 19:54:18 +02:00
Behzad f16a28a71e
fix: Copy profile handle (#22)
* fix: Copy a string to the clipboard

* fix: remove the 'Share' section

* fix: null check Gdk.Display.get_default

I doubt it will ever be null in our case but since it's nullable it doesn't hurt to check it

* fix: copy full handle instead of the relative one

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2022-12-03 19:50:50 +02:00
Evangelos Paterakis 85245cc826
fix: revealed default sensitive label
'Show More' doesn't make much sense, instead set it to 'Sensitive'
2022-12-03 01:25:29 +02:00
Evangelos Paterakis 3711405216
fix: +1 => 1+
to match Mastodon
2022-12-03 01:24:28 +02:00
Evangelos Paterakis 60cbc0ab3e
fix: make non-navigatable sidebar items unselectable 2022-12-03 01:23:55 +02:00
Evangelos Paterakis 09839dd5e9
fix: warning about null translator_credits 2022-12-03 01:22:35 +02:00
Evangelos Paterakis c73927b08d
fix: rethink navigation again
Instead of back = home, nested views are now allowed except for sidebar.
So Conversation => Profile => Profile is allowed and will follow navigation but
Home => Favourites => Local will go back to Home
2022-12-03 01:22:01 +02:00
Evangelos Paterakis 28c2c053e3
feat: post visibility indicators 2022-12-02 18:15:24 +02:00
Evangelos Paterakis 6f688443f8
feat: spoiler tags
including settings option to toggle 'always reveal' and a label when reveal (like Mastodon)
2022-12-02 18:10:51 +02:00
Evangelos Paterakis 84518fd42b
fix: profile stats buttons' border radius should match the container
no border radius except for the first button that has on bottom left and the last button that has on bottom right
2022-12-02 17:00:45 +02:00
Evangelos Paterakis 727e04f4ac
feat: mark profile stats row as not activatable 2022-12-02 16:59:04 +02:00
Behzad 6ab7f1b9d8
feat: reply count (#21)
* Add reply count

* fix: use horizontal margin if there's a reply

* feat: handle case when replies_count is 0

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2022-11-30 16:52:14 +02:00
Evangelos Paterakis 9d6e517c41
feat(compose): switcherbar 2022-11-30 00:43:00 +02:00
Evangelos Paterakis f3e22f9b3c
feat(compose): bind publish button sensitivity to editor state 2022-11-30 00:17:27 +02:00
Evangelos Paterakis e82c869420
fix(Profile): remove no-longer-needed filters 2022-11-30 00:16:42 +02:00
Evangelos Paterakis 649362d439
feat(compose): use mnemonics 2022-11-30 00:16:05 +02:00
Evangelos Paterakis a178f4bcd9
feat: profile stats (posts, followers, following) 2022-11-29 03:02:54 +02:00
Evangelos Paterakis a8582da5db
fix: allow nested profile pages 2022-11-29 03:02:54 +02:00
Evangelos Paterakis ade3f4fb53
fix: new account icon name 2022-11-29 03:02:54 +02:00
Hayden 4a00e58b1e
feat: nix flake (#18) 2022-11-27 18:10:05 +02:00
Evangelos Paterakis aaabd3517a
fix: text direction on RTL window
fix: #19
2022-11-27 18:05:56 +02:00
Evangelos Paterakis 6999d46539
feat: post stats on conversation view 2022-11-27 03:32:16 +02:00
Evangelos Paterakis e7848133e9
fix: wrap sidebar account info 2022-11-27 03:29:14 +02:00
Evangelos Paterakis f68be503d6
fix: set xalign to 1 if RTL [temp]
this is a temporary solution until we switch to webview
2022-11-27 03:28:47 +02:00
Evangelos Paterakis 4fdc0a6630
feat: toot dialog placeholder text 2022-11-21 17:29:07 +02:00
Evangelos Paterakis 34c5fa24c1
feat: more tooltips 2022-11-21 17:28:47 +02:00
Evangelos Paterakis fb372dedc6
fix: profile fields wrapping
long strings would change the minimum window width
2022-11-21 17:25:36 +02:00
Evangelos Paterakis 31d33343b0
feat: toggle status action icon state
fix: toggle classes before doing REST requests for the sake of the feedback being instant
2022-11-21 03:54:50 +02:00
Evangelos Paterakis c2a1f7858f
feat: add tooltips to status action items 2022-11-21 03:53:35 +02:00
Evangelos Paterakis 228c2c952b
fix: pack icons in gresource
tooth no longer depends on system icons
fixes #9
2022-11-21 03:52:40 +02:00
Evangelos Paterakis 0b71d45ed0
feat: withdraw notifications of session 2022-11-21 01:29:23 +02:00
Evangelos Paterakis 83a6944605
feat: colored status icons
colors are inspired by mastodon's webui

chore: app.css -> style.css
2022-11-21 01:28:49 +02:00
Evangelos Paterakis bfcae89d3b
feat: (unicode) emoji picker 2022-11-20 16:02:05 +02:00
Evangelos Paterakis 206eefcef6
fix: get last_received_id on init
so we can actually mark them as read
2022-11-20 16:01:32 +02:00
Evangelos Paterakis 2b1171f025
fix: notification reading
read up to either last received or last read
2022-11-20 00:38:44 +02:00
Evangelos Paterakis 90b33035ea
fix: notification badge
wait for last_read_id to become available
2022-11-20 00:38:20 +02:00
Evangelos Paterakis 4d12f8d14d
fix: disable markup on RichContainer
instead use a param if needed
2022-11-20 00:37:17 +02:00