478 Commits

Author SHA1 Message Date
akesi seli
c39972c0d7
fix: remove deprecated constructor for KeyboardOptions (#140) 2024-12-07 08:44:27 +01:00
akesi seli
1637782aa9
refactor(di): migrate core modules to Koin Annotations (#137) 2024-12-06 12:46:51 +01:00
akesi seli
d3079c066f
chore(di): create unified root module (#136)
* chore(di): create unified root module

and eliminate duplicated module definition

* refactor(di): encapsulate structure of utilsModule
2024-12-05 22:18: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
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
a8891398e1
fix: Markdown rendering of list in quotes (#122)
* fix: add bottom padding in bottom sheets

* fix: add padding in filtered contents (bookmarks, votes, moderated)

* fix: Markdown rendering of lists inside quotes

* chore: refine coverage
2024-11-23 09:24:27 +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
4bc31d12ab
fix: use Fit content scale for videos in timelines (#118) 2024-11-20 18:41:20 +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
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
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
4a8e1ce7b0
feat: add button to reveal images in timelines (#106) 2024-11-15 08:51:41 +01:00
akesi seli
0dc56f11f4
enhancement: review font scale factors (#101) 2024-11-13 23:11:10 +01:00
akesi seli
dde920e4fa
chore: update label for saved posts and comments (#100)
* chore: update label for saved posts and comments

* update user manual
2024-11-13 22:49:44 +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
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
akesi seli
4e354f2c43
refactor: migrate to compose-multiplatform-media-player (#92)
* remove old video player

* update build scripts

* add player config to resources

* rewrite video player using new library

* update usages

* update documentation
2024-11-11 08:48:54 +01:00
akesi seli
69728c6ebd
fix: text style used for links in Markdown (#88) 2024-11-10 22:33:40 +01:00
akesi seli
11a0ff15ca
chore: improve readability of vote actions (#86) 2024-11-10 22:19:30 +01:00
akesi seli
aa8f06555b
enhancement: add new instances to default list (#83)
- remove feddit.de
- add feddit.it, infosec.pub, lemmy.sdf.org, mander.xyz
- reset list if contains legacy values
2024-11-06 09:13:00 +01:00
akesi seli
325a0dbd03
refactor: migrate image loading to Coil3 (#82)
* update dependency declarations

* update build scripts

* add getTempDir to FileSystemManager

* define ImageLoaderProvider

* refactor ImagePreloadManager

* refactor CustomImage

* update DI and utilities

* update usages in UI components

* update imports for ImagePreloadManager

* cleanup main application class

* add new image transformer for markdown rendering
2024-11-05 16:19:29 +01:00
akesi seli
6c8f280a39
refactor: migrate ManageAccountsScreen to ManageAccountBottomSheet (#79)
* refactor ManageAccountsBottomSheet

* remove BottomSheetHandle obsolete composable

* update Gradle scripts

* add spacer between title and list in select instance bottom sheet

* update usages
2024-11-04 23:26:36 +01:00
akesi seli
a1d6ed9833
refactor: migrate SliderBottomSheet to M3 (#77)
* migrate SliderBottomSheet to M3

* update usage in advanced settings screen

* rename variable for select number bottom sheet state in configure content screen
2024-11-04 21:58:45 +01:00
akesi seli
5782379ac1
refactor: migrate SelectNumberBottomSheet to M3 modal bottom sheet (#76)
* refactor SelectNumberBottomSheet

* update usages in advanced settings and configure content screen
2024-11-04 21:33:50 +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
75e39eeae8
fix: make sure text after an empty quote is rendered (#62) 2024-11-01 23:06:02 +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
d3136f0098
refactor: remove BlockBottomSheet (#60) 2024-10-31 12:57:51 +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
9a0d0af361
refactor: remove LanguageBottomSheet (#58) 2024-10-30 08:49:52 +01:00
akesi seli
e2b8a3342b
refactor: bottom sheet overhaul • part 4 (#57)
* remove PostLayoutBottomSheet

* remove ReportListTypeSheet

* remove LikedTypeSheet
2024-10-29 21:00:45 +01:00
akesi seli
b7d35d3a35
refactor: continue bottom sheet overhaul (#56)
* update root project's name

* remove UrlOpeningModeBottomSheet

* remove VoteFormatBottomSheet

* remove SelectTabNavigationSectionBottomSheet
2024-10-29 15:01:42 +01:00
akesi seli
d054051033
refactor: remove moderator zone bottom sheet (#55)
* add some plural forms

* remove ModeratorZoneBottomSheet

* update usages
2024-10-28 23:00:49 +01:00
akesi seli
ff9f9c9667
refactor: remove community visibility bottom sheet (#54)
* remove CommunityVisibilityBottomSheet

* update usages
2024-10-28 21:47:12 +01:00
akesi seli
a4db979018
enhancement: update about dialog (#53)
* update l10n

* add Matrix room to about dialog

* update acknowledgements.json
2024-10-28 21:27:19 +01:00
akesi seli
5e5784eacc
refactor: unify localizables for notifications (#46)
* remove module-specific android strings

* expose current values in l10n manager

* update usage in notification worker

* unify string files
2024-10-26 19:54:18 +02:00
akesi seli
ff09f089d7
refactor: remove ResultTypeBottomSheet (#45) 2024-10-26 18:57:19 +02:00
akesi seli
5fcf303a50
refactor: remove listing type bottom sheet (#44)
* remove ListingTypeBottomSheet

* update usages
2024-10-26 17:06:14 +02: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
75c9e62909
enhancement: add 'cancel' option to text toolbar (#41)
* add cancel option to custom text toolbar

* update usages of text toolbar
2024-10-23 09:17:40 +02: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
akesi seli
50590d14f2
refactor: bottom sheet overhaul • part 2 (#38)
* remove screen classes

* allow passing null duration for "never" option

* update inbox screen

* update advanced settings screen

* update Gradle scripts
2024-10-21 22:39:12 +02:00
akesi seli
d3a2c7f0ae
fix: avoid dismissing bottom sheets on long press on items if there is no callback (#30) 2024-10-16 09:14:59 +02:00
dependabot[bot]
bca3e6dc7b
chore(deps): bump ktor from 2.3.12 to 3.0.0 (#21)
* chore(deps): bump ktor from 2.3.12 to 3.0.0

Bumps `ktor` from 2.3.12 to 3.0.0.

Updates `io.ktor:ktor-client-serialization` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-cio` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-core` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-android` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-darwin` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-mock` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-content-negotiation` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-client-logging` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

Updates `io.ktor:ktor-serialization-kotlinx-json` from 2.3.12 to 3.0.0
- [Release notes](https://github.com/ktorio/ktor/releases)
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.0)

---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-serialization
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-cio
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-core
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-android
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-darwin
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-mock
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-content-negotiation
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-client-logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* replace deprecated methods in download

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akesi Seli <andongue.nena@gmail.com>
2024-10-15 13:20:01 +02:00
akesi seli
5db08a5c81
chore: update ktlint rules and reformat files (#19)
* update .editorconfig

* run ktlint -F on project
2024-10-15 08:32:32 +02:00
akesi seli
4ec4390a01
fix: remove persistable URI permission FLAG_GRANT_READ_URI_PERMISSION (#18) 2024-10-14 20:46:41 +02:00