140 Commits

Author SHA1 Message Date
Dieguitux
ac93d20fe3
fix: disallow "top" sort type expansion for comments in post detail, user detail, explore (#272)
* fix: comment sort bottom sheet type in post detail

* chore: remove unused variable

* fix: comment sort bottom sheet type in user detail

* fix: comment sort bottom sheet type in explore
2025-01-17 19:02:30 +01:00
Dieguitux
8cf9de2a8c
chore: remove arg name for single param invocations (#266)
and other minor style improvements
2025-01-15 10:28:02 +01:00
Dieguitux
8bd1e7b0ad
enhancement: user tags and roles management • iteration 2 (#225)
* exclude special tags from user detail

even after creating new ones

* prevent creation of tags with same name of an existing tag (case-insensitive)

* load tags for main post in post detail screen

* rename "User tags" to "User tags and roles"

* introduce headers in tag list
2025-01-07 08:45:49 +01:00
Dieguitux
a19780a665
enhancement: implement special tags (me, op, mod) (#223)
* move user tags from profile menu to settings

* make it possible to create colorless tags

and solve the bug with "Cancel" on the color picker dialog

* display colorless tags with outline

* introduce UserTagType and remove useless data class

* migrate DB schema and update repository

* add use case to create special tags

* call use case when needed

* update l10n

* add extension to populate special tags

* update UI components

* update screens where tags are displayed

* set custom username color for me and op cases

* filter out special tags from user detail selection

* update tag management screen

- prevent special tag deletion
- prevent special tag renaming
- show special tags first in list
- preserve tag type upon editing
- show border around colorless tags
2025-01-06 12:23:25 +01:00
Dieguitux
12b5a7984f
enhancement: improve accessibility • part 1 (#217)
* update l10n

* add content descriptions to graphic elements without textual counterpart
2025-01-03 23:50:56 +01:00
Dieguitux
539d20a6f8
Fix window insets and bar color (#215)
* remove useless dependency

* create common utility to calculate top bar padding

* solve some deprecation issues in DefaultBarColorProvider

* remove unnecessary background in some placeholders

* remove edge-to-edge from advanced settings (enabled by default)

* simplify custom top bars

* update all usages of material3 Scaffold
2025-01-02 17:33:49 +01:00
Dieguitux
e0ee7eb4e0
refactor(di): migrate from Koin to Kodein (#181)
* update version catalog

* remove convention plugin

* create :core:di module

* migrate android and ios apps

* migrate :shared module

* migrate core modules

* migrate domain modules

* migrate feature modules

* migrate unit modules

* update licences screen

* update documentation

* add a test for ProfileSideMenuViewModel
2024-12-22 15:12:42 +01:00
Dieguitux
37b6b2f296
refactor: improve l10n to isolate responsibilities (#167)
* move Strings away from messages package

* move Locales to separate file

* move ProvideStrings to separate file

* update usage in App

* update usage in DefaultL10nManager

* move language related extensions to :core:l10n

* update l10n utils

* update UI usages of LocalStrings

* update documentation
2024-12-17 22:00:00 +01:00
akesi seli
386b7629ca
fix: avoid using nullable types as @InjectedParams (#147) 2024-12-08 18:26:21 +01:00
akesi seli
e284402253
refactor(build): define Gradle convention plugins (#143)
* define convention plugins

* remove duplicate code in build scripts
2024-12-08 10:25:00 +01:00
akesi seli
8f9afce2ee
refactor(di): migrate feature modules to Koin Annotations (#139) 2024-12-06 23:45:57 +01:00
akesi seli
260af5a28e
chore(deps): update Gradle, AGP, androidx.work and androidx.core (#135)
* update version catalog

* fix compileSdk in all build scripts

* update Gradle wrapper

* update workflows

* update version badge in README.md

* update documentation
2024-12-05 18:42:29 +01:00
akesi seli
7ab242b3e2
chore: add code coverage plugin (#120)
* fix :domain:lemmy:pagination package structure

* chore: remove detekt baselines

* add kover plugin to project root

* apply plugin to subprojects

* apply plugin to app module with config

* generate and upload coverage when unit tests are run
2024-11-22 20:33:33 +01:00
akesi seli
5e72a3b8f5
feat: make it possible to open videos full screen (#97)
* update player config

* update video player composable

* update card video composable

* update post card composable

* update media item composable

* make image detail screen support videos

* update usages in all screens

* update tech stack in README

* update technical manual
2024-11-12 22:58:20 +01:00
akesi seli
11a0ff15ca
chore: improve readability of vote actions (#86) 2024-11-10 22:19:30 +01:00
akesi seli
95d7e54c8e
fix: reset UI state when block option selected (#73)
* fix copy to clipboard dialog title

* fix: UI state after dismissing block bottom sheet
2024-11-04 18:18:13 +01:00
akesi seli
e987f4658a
refactor: remove copy post bottom sheet (#64)
* remove CopyPostBottomSheet

* remove associated NotificationCenterEvent

* update community detail

* update multi-community

* update post detail

* update post list

* update user detail
2024-11-02 09:44:06 +01:00
akesi seli
a03e086dc8
refactor: rewrite sort bottom sheet as Material3 modal bottom sheet (#61)
* use trailing lambda in custom modal bottom sheet

* refactor: rewrite SortBottomSheet as modal bottom sheet

* add default for ChangeSortType event

* update post list

* update account settings

* update community detail

* update explore

* update instance info

* update multi-community

* update post detail

* update user detail

* update settings
2024-11-01 17:13:12 +01:00
akesi seli
cfb0571657
refactor: remove ShareBottomSheet (#59)
* remove old l10n resources

* use neutral debug app name

* enable networking logs in debug builds

* refactor: remove ShareBottomSheet
2024-10-31 10:04:32 +01:00
akesi seli
543bafd8ba
chore(deps): update Compose Multiplatform from 1.6.11 to 1.7.0 (#42)
* update README

* update compose multiplatform from 1.6.11 to 1.7.0

* fix breaking changes

* migrate to Material3 PullToRefreshBox

* remove unwanted background from modal bottom sheet items
2024-10-23 11:08:40 +02:00
akesi seli
52b7453d4b
refactor: use composition locals to provide a UriHandler implementation (#15)
* add method to open webview to detail opener

* define CustomUriHandler

* update dependency injection

* update Gradle scripts

* remove NavigationCoordinator.handleUrl

* provide UriHandler in App root

* update UI components

removing all open detail/web callbacks

* make sure to close side menu when opening detail screens

(and bottom sheets)

* update usages in all screens
2024-09-24 12:43:30 +02:00
akesi seli
1702f3e603
refactor: add ripple effect to clickable elements; remove remembered callbacks (#13)
* remove RememberCallback util

* update onClick modifier

* update usages UI components

* update usages in screens

* migrate missing settings rows
2024-09-13 18:06:12 -04:00
akesi seli
e492a54b28
enhancement: uniform comment cards (#3)
* use uniform logic for bar with and text indentation in comments

* update call site
2024-08-05 17:24:54 -04:00
Christopher N7_X
a27157d748 updated package name for any future forks 2024-08-02 19:37:54 -04:00
Christopher N7_X
249563b9e5 updated package name for any future forks 2024-08-02 19:34:52 -04:00
Diego Beraldin
40d53b0f05
fix: restore edge-to-edge bottom (#1176) 2024-07-28 16:20:05 +02:00
Diego Beraldin
ae8bc8082d
fix: bookmarks navigation padding (#1173) 2024-07-28 12:45:23 +02:00
Diego Beraldin
87abf551c6
fix: first level comments expanded and visible by default (#1163) 2024-07-23 09:38:11 +02:00
Diego Beraldin
3a1b04d010
enhancement: disable swipe gestures for anonymous users (#1110) 2024-07-10 22:04:04 +02:00
Diego Beraldin
3577431cc3
enhancement: post opening and initial load (#1087) 2024-07-06 19:38:43 +02:00
Diego Beraldin
ff2471ef3c
fix: comment loading in post detail (#1074) 2024-07-02 21:28:52 +02:00
Diego Beraldin
a6e24e1a43
fix: moderator and admin indicators (#1058) 2024-06-29 19:58:20 +02:00
Christopher
136cefaf2a
feat: add search text highlighting (#1043) 2024-06-26 20:40:01 +02:00
Diego Beraldin
32859c9bf6
feat: configure default result type for Explore (#1040) 2024-06-24 19:47:38 +02:00
Diego Beraldin
d7bb072573
enhancement: rounded search fields (#1035) 2024-06-24 07:25:09 +02:00
Christopher
df4b537f3f
fix: child comments visible under collapsed parent after load/refresh (#1021) 2024-06-22 18:18:57 +02:00
Diego Beraldin
be25f8a393
feat: moderator badge in comments (#1016) 2024-06-22 09:16:15 +02:00
N7-X
65c03c635c
enhancement: retain comment expanded state when loading more or refreshing (#1012) 2024-06-21 16:23:14 +02:00
Diego Beraldin
f4a0352942
feat: restore deleted post and comments (#998) 2024-06-18 00:39:56 +02:00
Diego Beraldin
4f23ecd5c6
feat: edit swipe action (#994) 2024-06-17 12:18:56 +02:00
Diego Beraldin
fe55a626b3
fix: comment navigation at list ends (#982) 2024-06-15 09:11:49 +02:00
Diego Beraldin
dd2f6432a5
fix: comment navigation (#981) 2024-06-15 00:46:50 +02:00
Diego Beraldin
5e62192beb
fix: prevent delay in post detail opening (#979) 2024-06-14 14:28:37 +02:00
Diego Beraldin
16cfddcb3f
Hotfix 1.11.2 (#976) 2024-06-13 23:00:37 +02:00
Diego Beraldin
fe41e693db
feat: add option to share comments (#950) 2024-06-08 07:55:24 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +02:00
Diego Beraldin
541cf7255d
enhancement: improve login use case (#930) 2024-06-05 07:59:48 +02:00
Diego Beraldin
5cb0c28352
fix: comment edit a reply to another comment (#928) 2024-06-04 23:09:39 +02:00
Diego Beraldin
4e39829df6
feat: specific language on a per-community basis (#909) 2024-05-30 21:53:05 +02:00
Diego Beraldin
cb668f817b
fix: navigation bar inset (#908) 2024-05-30 14:44:28 +02:00