427 Commits

Author SHA1 Message Date
Dieguitux
17e29c81d4
feat: manually mark items as read or unread (#296)
* add option identifier

* update post list

* update community detail

* update multi-community
2025-01-24 22:53:40 +01:00
Dieguitux
c13388485b
refactor: improve bans and filters screen (#293)
- FAB menu items
- access shared data in mutual exclusion
2025-01-23 22:43:11 +01:00
Dieguitux
536668b10d
fix: remove custom WindowInsets from Scaffolds (#291) 2025-01-23 19:24:57 +01:00
Dieguitux
deacb5413c
feat: add option to not mark posts as read on interaction (#288)
* update l10n

* update DB schema

* update domain model

* update repository

* add option to advanced settings

* avoid marking post sas read is option disabled
2025-01-23 00:37:43 +01:00
Dieguitux
d5702e31d3
feat: show unread comments with different background in post detail (#286)
* add String to timestamp conversion utils

* refactor: key generation in sort serializer

* add long to long map serializer

* add post last seen date repository

* update login/logout use cases

* update post detail screen

* update DI
2025-01-22 23:42:04 +01:00
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
705c0893e2
fix: avoid concurrency issue while posts are being marked as read before opening detail (#262)
* update PostListScreen

* update CommunityDetailScreen

* update FilteredContentsScreen

* update MultiCommunityScreen

* update UserDetailScreen

* update ProfileLoggedScreen

* update InboxChatScreen

* update InboxMentionsScreen

* update InboxRepliesScreen
2025-01-13 09:56:32 +01:00
Dieguitux
0b50e944c5
feat: add possibility to delete account from web preferences (#251)
* update build scripts

* update l10n

* update progress hud color

* add new method to service

* add new method to user repository

* create dialog

* implement account deletion in settings

* update DI
2025-01-10 23:20:23 +01:00
Dieguitux
8a27d9c3e8
fix: set custom screen keys for side info panels (#248) 2025-01-10 09:52:11 +01:00
Dieguitux
b97351b011
fix: include post read property in item keys (#241) 2025-01-09 23:16:30 +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
97ca34dcca
enhancement: improve accessibility • part 2 (#221)
* update l10n

* update shared UI components

* update post card

* update comment cards

* update inbox card

* update media item card

* update report cards

* update modlog cards

* update chat cards

* update settings header
2025-01-05 11:50:56 +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
6a5bd85bf5
feat: custom sort for user posts and comments (#213)
* migrate tests from JUnit to kotlin.test (assertions, annotations)

* isolate custom sort serialization to shared component

* update community sort repository

* implement user sort repository

* update :core:persistence DI

* rename saveAsDefault in ChangeSortType event

* update usage of ChangeSortType in community detail

* load custom sort type in user detail

* update DI for :unit:userdetail
2025-01-02 16:09:10 +01:00
Dieguitux
799fa59ec3
feat: restrict local user search to results on the current instance (#209)
* update l10n

* update settings model

* migrate DB schema

* update search pagination

* update explore business logic

* add option in advanced settings
2025-01-01 13:41:50 +01:00
Dieguitux
3a216c1de2
fix: explore listing type bottom sheet title (#206) 2024-12-31 14:08:30 +01:00
Dieguitux
4da0102ff8
fix: explore result type bottom sheet title (#205) 2024-12-31 13:45:01 +01:00
Dieguitux
047a8a412d
feat: implement user tags • part 3 (#201)
* update models

* fix user tag repository

* define user tag helper (api, impl, test)

* update tag management in list

- move edit dialog to common module
- reset cache when items are edited

* update tag management in user detail

- reset tags when items are edited
- add possibility to add new tags

* update switch account and logout use cases

* load tags during content pagination

* update UI components to display user tags
2024-12-30 19:57:21 +01:00
Dieguitux
aa060a61b2
feat: implement user tags • part 2 (#197)
* update l10n

* move color components to common module

* create new UI components

* update persistence layer

- add color property
- add missing getter
- fix test accordingly

* add tag list screen

* add tag detail screen

* update build scripts and DI configuration

* add possibility to open tag management from profile side menu

* add possibility to edit tag membership in user detail
2024-12-30 08:37:07 +01:00
Dieguitux
d2f2964ebb
fix: injected params in view models (#189) 2024-12-25 09:48:14 +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
55a15e6b0b
fix: make sure account changes are observed (#172)
* rename login screen

* update usages of login screen

* minor readability changes in login vm/use case

* add possibility to observe accounts

* update manage accounts view model
2024-12-18 21:32:20 +01:00
Dieguitux
29c1c17efa
fix: improve acknowledgements screen (#170)
* fix data source URL

* fix typo in composable names

* update composable usages
2024-12-18 18:34:38 +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
Dieguitux
8b67612f1d
refactor(l10n): migrate l10n from Lyricist to Compose resources (#164)
* update release checklist

* convert resource files of preserved languages

* remove other resource files

* rewrite L10Manager and Strings

* add test for DefaultL10nManager

* cleanup language extensions

* update app initialization

* update settings business logic

* update check notification worker

* remove old conversion scripts

* remove lyricist dependency

* remove lyricist from licenses

* update documentation
2024-12-17 19:10:24 +01:00
Dieguitux
8ba43210a8
fix: use different error message if autofill title empty (#158)
* update l10n

* use different error message in autofill when metadata title empty
2024-12-11 09:47:31 +01:00
Dieguitux
4cdc401f43
fix: image detail loading state and top bar actions (#155)
* make sure loading state rendered

* fix padding and ripple in top bar buttons
2024-12-10 22:28:57 +01:00
akesi seli
386b7629ca
fix: avoid using nullable types as @InjectedParams (#147) 2024-12-08 18:26:21 +01:00
akesi seli
e761587a96
refactor(build): define serialization plugin (#144)
* define SerializationPlugin

* apply convention to modules where needed

* add more tests to DefaultNavigationCoordinator

due to Codecov failure

* add new GitHub badges

- latest version (including pre-preleases)
- total downloads
2024-12-08 17:23:13 +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
c39972c0d7
fix: remove deprecated constructor for KeyboardOptions (#140) 2024-12-07 08:44:27 +01:00
akesi seli
8f9afce2ee
refactor(di): migrate feature modules to Koin Annotations (#139) 2024-12-06 23:45:57 +01:00
akesi seli
bf613e9a32
refactor(di): migrate domain modules to Koin Annotations (#138) 2024-12-06 14:46:13 +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
f3249089af
fix: image height in post cards (#128)
* add compact mode for community and creator info

* add compact mode for post placeholders

* allow to pass min and max height for post images

* update post card and uploaded media card
2024-11-29 07:28:25 +01:00
akesi seli
cba62244b3
fix: images in timelines with post cards with "Compact" layout (#124)
* bump io.coil-kt.coil3:coil from 3.0.3 to 3.0.1

* update media list

- handle autoload images
- remove min and max height constraints

* update PostCardImage

- remove maxHeight constraint
- allow configurable content scale

* fix compact post layout

* avoid CI failure when codecov upload fails
2024-11-26 11:43:48 +01:00
akesi seli
abb5a81f4b
fix: add missing insets in modals and below section selectors (#121)
* fix: add bottom padding in bottom sheets

* fix: add padding in filtered contents (bookmarks, votes, moderated)
2024-11-23 09:19:50 +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
9ec984b856
refactor: navigation bar insets (#113)
* remove unused bottom sheet

* enable backward compatible edge-to-edge

* fix bottom sheet bottom inset

* refactor main screen layout

* hide bottom bar while scrolling in inbox and profile
2024-11-20 12:15:49 +01:00
akesi seli
e67822beea
fix: video rendering timeline and attachment detail (#108)
* fix date in privacy policy

* update PR template

* fix video rendering in timelines

* fix video rendering in attachment detail
2024-11-17 11:38:35 +01:00
akesi seli
92d88934aa
chore(deps): update compose multiplatform from 1.7.0 to 1.7.1 (#105)
* update compose multiplatform from 1.7.0 to 1.7.1

* update README.md

* fix ripple effects in top bars
2024-11-15 01:04:11 +01:00
akesi seli
f4ee9d15f0
fix: drawer header dropdown button ripple (#102) 2024-11-14 07:45:50 +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
2ea13d1d9e
chore: update user manual (#96)
* fix inter-item padding in modlog

* update screenshots

* update images in fastlane metadata

* rewrite user manual

* update README with new screenshots
2024-11-12 20:07:35 +01:00
akesi seli
6f80f7d666
chore: review inter-item spacings in setting lists and side menus (#95)
* review font scale factors

* review settings UI components

* review placeholder image component

* update inter-item space in settings lists and side menus
2024-11-12 18:37:50 +01:00
akesi seli
2c0e84522e
enhancement: add Atkinson Hyperlegible font instead of Charis SIL (#94)
* remove old resources

* add new font

* update resource bridge

* update font family and resource mapping

* include new font in selection bottom sheets

* update font scale factors

* update licenses screen

* update user manual
2024-11-12 14:53:27 +01:00
akesi seli
95a6700040
Migrate webview to calf (#93)
* remove custom implementation

* update build scripts

* update usages in WebViewScreen

* update usages in PostCardEmbeddedWebView
2024-11-11 22:46:36 +01:00