160 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Christopher
709bfdc209
feat: overhaul spoilers for nesting, full content, and proper rendering (#9)
* feat: overhaul spoilers for nesting, full content, and proper rendering

* feat: added check to ensure code block spoilers are ignored

* feat: removed CustomMarkdownSpoiler
2024-08-28 08:32:38 +02: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
5b9c9065a8 fixed static testing values from b54124e 2024-08-04 12:33:17 -04:00
Christopher N7_X
b54124ec72 tweaked comment indentation style and elements 2024-08-04 11:41: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
7d513ec22a
enhancement: blur images inside post body (#1189) 2024-08-01 08:16:31 +02:00
Diego Beraldin
957bcb38ec
feat: add share action to text toolbar in selection mode (#1175) 2024-07-28 15:31:33 +02:00
Diego Beraldin
2b122e49b8
enhancement: disable gestures for action buttons if not logged (#1174) 2024-07-28 14:51:27 +02:00
Diego Beraldin
e7bd60123e
enhancement: exit selection mode and footer long tap to open options (#1144) 2024-07-15 21:57:27 +02:00
Christopher
c5076c86c5
feat: update text selection across paragraphs (#1125) 2024-07-13 15:26:44 +02:00
Christopher
91d24c9a2a
Feat add text selection (#1121) 2024-07-13 14:16:56 +02:00
Diego Beraldin
932c3bc4f5
fix: comment appearance (bar theme, text class) (#1109) 2024-07-10 20:11:26 +02:00
Diego Beraldin
48494def8e
feat: remote configuration for alternate markdown rendering (#1100) 2024-07-09 22:53:15 +02:00
Diego Beraldin
625e3c0a56
feat: open image instead of webpage on thumbnail click (#1095) 2024-07-08 10:35:09 +02:00
Diego Beraldin
3315f8d42e
feat: add support for user mentions (#1092) 2024-07-07 22:42:01 +02:00
Diego Beraldin
fa4be442a7
fix: use original video aspect ratio (full width) (#1082) 2024-07-05 21:36:18 +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
be25f8a393
feat: moderator badge in comments (#1016) 2024-06-22 09:16:15 +02:00
Diego Beraldin
df1b52f0ce
feat: configurable preview length in inbox cards (#1009) 2024-06-20 23:17:02 +02:00
Diego Beraldin
f4a0352942
feat: restore deleted post and comments (#998) 2024-06-18 00:39:56 +02:00
Diego Beraldin
b4b8897fdd
feat: notice for LocalOnly communities (#958) 2024-06-09 11:02:59 +02:00
Diego Beraldin
52716ebd35
feat: aknowledgements screen (#954) 2024-06-08 21:28:46 +02:00
Diego Beraldin
6c81212aa2
refactoring: migrate l10n from XML to pure Kotlin (#936) 2024-06-06 08:14:36 +02:00
Diego Beraldin
5cb0c28352
fix: comment edit a reply to another comment (#928) 2024-06-04 23:09:39 +02:00
Diego Beraldin
012146db44
fix: flaky tests due to concurrency issues (#918) 2024-06-03 09:52:38 +02:00
Diego Beraldin
4e39829df6
feat: specific language on a per-community basis (#909) 2024-05-30 21:53:05 +02:00
Diego Beraldin
c98d12c104
feat: feature posts to local instance (#906) 2024-05-29 15:24:26 +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
30379ef681
enhancement: avoid blurring image loading indicator (#886) 2024-05-26 09:27:48 +02:00
Diego Beraldin
fa79ca39ec
enhancement: increase action button size (#869) 2024-05-19 10:59:48 +02:00