61 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
95d8e880bf
chore: add tests for theme repository (#182) 2024-12-22 23:40:23 +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
87474b39b9
feat: solid system bars (#168)
* update l10n

* update models

* update settings repository

* update settings screen

* update app initialization
2024-12-17 23:02:11 +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
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
044d716e45
fix: change settings export default file name; update font scale factors (#109)
* update font scale factors (again)

* rename settings export default JSON file name
2024-11-17 11:58:34 +01:00
akesi seli
0dc56f11f4
enhancement: review font scale factors (#101) 2024-11-13 23:11:10 +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
7ae124a3eb
chore: update deps (#40)
* update dependencies

- org.kotlincrypto.hash:bom from 0.5.1 to 0.5.3
- androidx.activity:* from 1.9.2 to 1.9.3
- com.materialkolor:material-kolor from 1.7.0 to 2.0.0
- co.touchlab:stately-common from 2.0.7 to 2.1.0
- app.cash.turbine:turbine from 1.1.0 to 1.2.0

* add palette style to color scheme generator
2024-10-23 08:40:26 +02:00
Christopher
8332aa7a20
chore: bottom sheet overhaul (#12)
* Replaced CustomBottomSheet with CustomModalBottomSheet to match RFF
- removed CustomBottomSheet
- added CustomModalBottomSheet
- updated ZoomableImageScreen
- updated SettingsColorAndFontScreen

* Updated dependencies
- updated androidx-media3
- updated androidx-work

* - merge changes

* - updated CustomModalBottomSheet to match RFF 1:1
- Added BottomSheet close animation on selection

* - updated UiTheme to match RFF
- updated SettingsColorAndFontScreen to use new CustomModalBottomSheet
- removed CommentBarThemeBottomSheet.kt
- removed VoteThemeBottomSheet.kt
2024-09-05 16:17:57 -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
9b2a9e3095
fix: theme color names (#1131) 2024-07-14 08:51:37 +02:00
Diego Beraldin
d8b7618dd8
feat: random theme color (#1075) 2024-07-03 14:36:40 +02:00
dependabot[bot]
eaf2ddb960
chore(deps): bump com.materialkolor:material-kolor from 1.6.2 to 1.7.0 (#999)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Diego Beraldin <diego.beraldin@gmail.com>
2024-06-18 01:17:26 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +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
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
236590c0f9
feat: configurable comment indent amount (#839) 2024-05-12 13:41:36 +02:00
Diego Beraldin
eaff49d31e
fix: status bar color for light theme (#826) 2024-05-10 22:29:57 +02:00
Diego Beraldin
52a76a2daf
enhancement: review text style definitions (#825) 2024-05-10 22:10:34 +02:00
Diego Beraldin
0f7ff3e5a0
chore: remove unnecessary font (#785) 2024-05-04 22:59:34 +02:00
Diego Beraldin
211d1d72fd
fix: max top inset (#760) 2024-05-02 13:58:57 +02:00
Diego Beraldin
69d9faa5e3
refactor: injectable resources (#724) 2024-04-25 14:20:15 +02:00
Diego Beraldin
517ed7e30a
fix: community and creator info padding (#723) 2024-04-25 11:41:21 +02:00
Diego Beraldin
1a7e6124de
enhancement: read contents color (#711) 2024-04-21 21:56:48 +02:00
Diego Beraldin
c405bf174b
fix: edge to edge insets (#710) 2024-04-21 13:36:33 +02:00
Diego Beraldin
f14eeaefb9
fix: community opening on local instance (#708) 2024-04-21 09:36:29 +02:00
Diego Beraldin
1b1e4a83bd
enhancement: improve padding between elements (#692) 2024-04-15 21:24:08 +02:00
Diego Beraldin
107ec9a21b
chore: apply detekt to :core:api and :core:appearance (#644) 2024-03-30 11:56:04 +01:00
Diego Beraldin
302043e73a
chore: add detekt (#643) 2024-03-30 09:11:40 +01:00
Diego Beraldin
873935af6b
refactor: use uniform approach for debounce (#612) 2024-03-19 08:30:09 +01:00
Diego Beraldin
a4e8bf75cd chore: add test for DefaultThemeRepository 2024-03-18 23:21:07 +01:00
Diego Beraldin
265c7d2a8a
enhancement: font scaling options (#606) 2024-03-16 12:13:44 +01:00
Diego Beraldin
bb4492e851
fix: theme for system bars(#584) 2024-03-08 18:17:28 +01:00
Diego Beraldin
a613e662f4
chore: improve layout of community and user header (#568) 2024-03-05 08:07:28 +01:00
Diego Beraldin
3f935ae66c
feat: custom font scale factor for content classes (#541) 2024-02-20 13:07:48 +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
1557f29ece
feat: configure comment bar width; prefer nicknames (#511) 2024-02-07 22:59:26 +01:00
Diego Beraldin
f269b5b037
add hidden vote format (#507)
fix vote format bottom sheet insets and other bottom sheets
2024-02-05 18:49:31 +01:00