284 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
fa3fcfa047
enhancement: display public images on Imgur (#294)
* normalize URLs for Imgur.com

* update post layout to handle Imgur images
2025-01-23 23:41:50 +01:00
Dieguitux
a6b3359659
fix: simplify video and image post URL matching (#265) 2025-01-14 23:06:05 +01:00
dependabot[bot]
1604ea43de
chore(deps): bump network.chaintech:compose-multiplatform-media-player from 1.0.28 to 1.0.29 (#263)
* chore(deps): bump network.chaintech:compose-multiplatform-media-player

Bumps [network.chaintech:compose-multiplatform-media-player](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer) from 1.0.28 to 1.0.29.
- [Commits](https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer/commits)

---
updated-dependencies:
- dependency-name: network.chaintech:compose-multiplatform-media-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* enhancement: use video preview in post cards, with play button to open full screen

---------

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>
2025-01-13 10:50:46 +01:00
Dieguitux
cb1db3c97a
fix(md): formatting quotes and bulleted lists inside quotes (#259)
* fix: add another fix for bulleted lists inside quotes

* enhancement: avoid using Italic font style for quotes
2025-01-12 12:53:30 +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
522e02e2e6
enhancement: allow manual hex code selection in color picker for user tags (#233)
* update l10n

* update EditTextualInfoDialog

- single line edit
- allow to pass error state

* update CustomColorPickerDialog

- make code selectable
- add button for manual selection
- implement manual selection

* update EditUserTagDialog

allow manual selection in color picker

* make theme bottom sheet skip partially expanded

* add vertical padding to SettingsSwitchRow
2025-01-08 22:20:05 +01:00
Dieguitux
0950a614f6
fix: make settings switch row more accessible (#231) 2025-01-08 13:36:38 +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
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
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
Dieguitux
c42d352f61
fix: make it possible to select TopAll from bottom sheet (#166) 2024-12-17 18:21:48 +01:00
akesi seli
b950a623e5
fix: open image detail with high res URL instead of thumbnail URL (if suitable) (#154) 2024-12-10 18:33:50 +01:00
dependabot[bot]
5b57441ef9
chore(deps): bump network.chaintech:compose-multiplatform-media-player from 1.0.26 to 1.0.27 (#153)
* chore(deps): bump network.chaintech:compose-multiplatform-media-player

Bumps [network.chaintech:compose-multiplatform-media-player](https://github.com/Chaintech-Network/ComposeMultiplatfromMediaPlayer-org) from 1.0.26 to 1.0.27.
- [Commits](https://github.com/Chaintech-Network/ComposeMultiplatfromMediaPlayer-org/commits)

---
updated-dependencies:
- dependency-name: network.chaintech:compose-multiplatform-media-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* update usage of VideoPlayerComposable

---------

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-12-10 14:17:47 +01:00
akesi seli
bddd9cbf00
feat(deep-link): add support for opening posts and comments (#152)
* update post repository (api, impl, test)

* update comment repository (api, impl, test)

* remove url management from :core:commonui:lemmyui

* refactor UrlUtils into UrlDecoder

* define URL processors

* redefine CustomUriHandler

* add getCustomUriHandler util

* update DI

* update deeplink management
2024-12-10 00:11:02 +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
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
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
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
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
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
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