49 Commits

Author SHA1 Message Date
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
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
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
1637782aa9
refactor(di): migrate core modules to Koin Annotations (#137) 2024-12-06 12:46:51 +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
66e50e6f80
chore: setup GHA for build, tests and pre-prod releases (#17)
* replace build workflow

* add unit test workflow

* add release_beta workflow

* add signing config to release build

* re-add action status badges in README

* fix failing tests
2024-10-14 20:07:07 +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
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
fed21d7fe7
feat: URL based filter for posts (#1177) 2024-07-28 20:02:56 +02:00
Diego Beraldin
3f99e68764
feat: configurable bottom navigation • part 3 (#1117) 2024-07-12 14:12:56 +02:00
Diego Beraldin
ae332c2add
feat: configurable bottom navigation • part 2 (#1114) 2024-07-11 18:16:58 +02:00
Diego Beraldin
e8199ed40f
feat: configurable bottom navigation • part 1 (#1111) 2024-07-11 08:31:57 +02:00
Diego Beraldin
daf82cee84
feat: move Settings to navingation drawer (#1080) 2024-07-05 10:57:41 +02:00
Diego Beraldin
7a999bee42
fix: shortcut selection for feeds from navigation drawer (#1063) 2024-07-01 00:07:06 +02:00
Diego Beraldin
012146db44
fix: flaky tests due to concurrency issues (#918) 2024-06-03 09:52:38 +02:00
Diego Beraldin
c85de822da
chore: update to Kotlin 2.0.0 and Compose Multiplatform 1.6.10 (#892) 2024-05-27 07:26:30 +02:00
Diego Beraldin
aa85b07b02
fix: post and comment pagination cache (#873) 2024-05-20 19:37:04 +02:00
Diego Beraldin
8b4514b5e2
fix: iOS compatibility (#861) 2024-05-17 23:33:30 +02:00
Diego Beraldin
8c167c8975
fix: pull to refresh indicator in filtered contents (#856) 2024-05-16 19:11:24 +02:00
Diego Beraldin
0703b1573f
chore: add ktlint (#854) 2024-05-15 23:49:48 +02:00
Diego Beraldin
c860280e35
chore: configure workflow (#850) 2024-05-15 18:06:29 +02:00
Diego Beraldin
d11ba757af
chore: update unit tests and documentation (#849) 2024-05-14 19:52:45 +02:00
Diego Beraldin
47cc557ba8
enhancement: close screen after report, ban & remove success (#837) 2024-05-11 14:09:21 +02:00
Diego Beraldin
3fb8ddcc60
fix: back gesture in side menus (#755) 2024-05-01 22:45:43 +02:00
Diego Beraldin
241e04b980
feat: receive content from share menu (#717) 2024-04-22 22:44:24 +02:00
Diego Beraldin
8353ed0bc6
feat: community/user info in side menu (#706) 2024-04-20 23:24:21 +02:00
Diego Beraldin
416a8cbd9f
chore: apply detekt to :core:markdown and :core:navigation (#646) 2024-03-30 14:35:16 +01:00
Diego Beraldin
302043e73a
chore: add detekt (#643) 2024-03-30 09:11:40 +01:00
Diego Beraldin
16a383e898
fix drawer and back button behaviour (#585) 2024-03-08 18:03:09 +01:00
Diego Beraldin
dea1566a44
feat: moderation tools in profile (#563) 2024-03-04 22:54:45 +01:00
Diego Beraldin
0e314b24da
chore: add test in core-navigation (#558) 2024-02-28 18:07:19 +01:00
Diego Beraldin
0cbec1899f
feat: save drafts for posts and comments (#547) 2024-02-24 17:21:51 +01:00
Diego Beraldin
4d36ee8a7b
refactor: remove navigation debounce intervals (#540) 2024-02-19 21:52:39 +01:00
Diego Beraldin
9faa6136fa
refactor: migration to lyricist; remove moko-resources (#525)
closes #524
2024-02-13 22:37:13 +01:00
Diego Beraldin
bb0c365bca
fix: close drawer after instance change (#438) 2024-01-10 22:01:47 +01:00
Diego Beraldin
32e5d55cec
fix: hide and close navigation events (#428) 2024-01-06 22:55:23 +01:00
Diego Beraldin
e206de2e16
refactor: screen params (state restoration) (#402)
* chore: add local cache

* chore: remove possibility to disable bottom sheet gestures

* chore: add cache to detail opener and create entry points

* chore: add query by id to multi-community

* chore: update community detail

* chore: update community info

* chore: update create comment

* chore: update create post

* chore: update multi-community screens

* chore: update user detail

* chore: update user info

* chore: update post detail

* chore: update post list

* chore: update modal drawer

* chore: update subscription management

* chore: update profile

* chore: update saved items

* chore: remove JavaSerializable

closes #316
2023-12-30 10:15:22 +01:00
Diego Beraldin
2b2c55e877
enhancement: button responsiveness (#383); closes #382
* chore: remove unused expression

* enhancement: improve button responsiveness
2023-12-27 18:01:55 +01:00
Diego Beraldin
c2ef07d4be
refactor: navigation improvements (#380)
* chore: add some missing serializable

* refactor: use voyager-koin integration for viewmodels

* fix: typo
2023-12-26 17:37:37 +01:00
Diego Beraldin
189aaa0612
fix: bottom sheet gestures; closes #347 (#359) 2023-12-23 13:39:27 +01:00
Diego Beraldin
c9bd899c1f
enhancement: back to home; closes #345 (#358) 2023-12-23 12:26:38 +01:00
Diego Beraldin
b3a29d2cf4
fix: drawer navigation; closes #349 (#357) 2023-12-23 11:59:53 +01:00
Diego Beraldin
6c78f92ff5
refactor: inbox modularization (#334)
* chore: update gradle scripts

* refactor: add :domain:inbox module

* refactor: add :unit:replies module

* refactor: add :unit:mentions module

* refactor: add :unit:messages module
2023-12-20 11:54:52 +01:00
Diego Beraldin
788deac8a5
refactor: module structure (#329) 2023-12-20 00:45:20 +01:00