Commit Graph

114 Commits

Author SHA1 Message Date
Evangelos Paterakis 5eb82025a1
feat(status): re-order edited indicator
all statuses have a privacy indicator so its position should be static
2023-02-26 07:57:12 +02:00
Evangelos Paterakis bf0ee280ee
feat: finalize strings 2023-02-24 06:19:16 +02:00
Evangelos Paterakis 4aa033f496
feat(Base): make the status box match AdwStatusPage style
and split the messages into title and description
2023-02-15 22:22:37 +02:00
Evangelos Paterakis b3f8e943f0
revert: "feat(base)[state]: use StatusPage (#69)"
Using AdwStatusPage for base status does not work that well when nested like in Profile. Nested ScrolledWindows also steal focus making it impossible to scroll.

This reverts commit 7905bf3898.
2023-02-15 22:14:24 +02:00
Behzad 7905bf3898
feat(base)[state]: use StatusPage (#69)
* feat(statuspage): new design

* fix(button): center halign

* chore: simplify inline statement

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2023-02-05 23:25:34 +02:00
Bleak Grey ac01692652
feat(NewAccount): refactor, redesign (#50)
* NewAccount: make the dialog a little bit flatter

* NewAccount: redesign layout

* Network: pass error message to error callback

* fix: CRITICAL log on request when there's no access token

* fix: hide titlebar only when no-title exists

to avoid it being applied when we actually do want a flat headerbar with title

* fix: bind auth_page.description and use_auto_auth

there's a small delay between the auth code entry becoming visible and the description updating

* fix: hide title on the other steps too

* Change URL entry title

* Add OSK hint

Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
2023-01-10 18:52:40 +02:00
Evangelos Paterakis 2df67299a0
feat(status): reactions (non-action)
it should support pleroma, akkoma, catstodon, nyastodon and glitch-soc (when they merge it)
2023-01-09 03:02:05 +02:00
Bleak Grey 9687ebb9eb Minor visual tweaks 2023-01-08 14:24:40 +04:00
Bleak Grey 079d7687ab
fix(sidebar): header text wrapping (#46) 2023-01-07 17:18:38 +02:00
Adrien Plazas 42c19ce8f8
fix(main): use the over transition for the leaflet (#45)
The slide transition reveals the lack of separator between the pages and
the headerbar border, which looks odd. The over transition fixes that.
Also the slide transition doesn't denote a back gesture as well as the
over transition.
2023-01-06 18:40:48 +02:00
Evangelos Paterakis 900ceb6fd3
feat: follow requests on locked accounts 2023-01-05 05:58:58 +02:00
Evangelos Paterakis 0c2876861f
feat(status)[a11y]: large font and line height options
fix: #40
2022-12-29 22:04:45 +02:00
Evangelos Paterakis 85064950c6
feat(a11y): keyboard navigation 2022-12-29 21:05:03 +02:00
Evangelos Paterakis a181b60843
chore: delete unused ui files 2022-12-29 21:02:13 +02:00
Evangelos Paterakis bdf28721c3
fix: custom emojis re-write
it should now be a *lot* faster and simplier since it moved to regex from parsing the string manually. The custom emoji logic moved into its own widget allowing Views like Profile to use it (instead of RichLabelContainer which is a button).
2022-12-23 22:29:22 +02:00
Evangelos Paterakis 8b7b0a3489
feat(profile): relationship badge 2022-12-23 03:12:42 +02:00
GeopJr 05390ab856
feat: lists re-write (#36) 2022-12-23 01:35:16 +02:00
Evangelos Paterakis b489c4ca4c
chore: remove unused widgets & dialogs 2022-12-23 01:16:48 +02:00
Diego Iván 9c4569c61e
feat: color scheme preference (#37)
* Add enumerations for ColorScheme

* PreferencesDialog: The dialog now sets the corresponding scheme to settings and Adwaita

* Set color scheme depending on user's preference when starting the app
2022-12-23 00:39:55 +02:00
Evangelos Paterakis 7369adf624
feat(profile): add or remove from lists 2022-12-22 21:40:04 +02:00
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
Behzad bb8219bcca
feat: background mode (#29) 2022-12-13 19:28:17 +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
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 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
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 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 ade3f4fb53
fix: new account icon name 2022-11-29 03:02:54 +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 34c5fa24c1
feat: more tooltips 2022-11-21 17:28:47 +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 e3601196da
fix: wrap new account error labels 2022-11-19 23:10:06 +02:00
Evangelos Paterakis 3d86d43d08
feat: notification badges 2022-11-18 03:59:47 +02:00
Evangelos Paterakis 58b3343a46
fix: manual auth label
'Didn't work?' should be outside the anchor
2022-11-17 22:30:30 +02:00
Evangelos Paterakis 46f591c232
feat: partial emoji support 2022-11-17 20:32:26 +02:00
Evangelos Paterakis 67c6095e98
feat: show feedback on login workflow errors 2022-11-17 01:18:24 +02:00
Evangelos Paterakis 7e2599ff6b
feat: rethink login workflow
it used to spawn xdg mime to set tooth://, which is not possible in sandbox or other environments. It now tries the auto-login first and lets the manual workflow be available through a button

fix: hide instead of destroying the main window
2022-11-17 01:17:42 +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
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 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 a4cc5a98cf
fix(sidebar): set selection mode to single 2022-11-15 00:37:45 +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 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 4d554c6a53
feat: make new account dialog default height bigger 2022-11-13 23:03:33 +02:00