Commit Graph

34 Commits

Author SHA1 Message Date
melod1n 4cc6ec6b5d Chat creation feature (#138) 2025-03-23 07:33:58 +03:00
melod1n 36a119ffa9 Refactor: Enhance conversations and friends features
-   In `ConversationsScreen`, removed `isNeedToScrollToTop` and `onScrolledToTop`, and refactored toolbar container color logic. Added `NoItemsView` for empty conversation lists.
-   In `MainGraph`, added `onMessageClicked` for navigation to message history.
-   In `ApiEvent`, introduced `parseOrNull` for handling unknown event types.
-   In `ConversationsViewModel`, removed `scrollToTop` logic and refactored error handling.
-   In `FriendsViewModel`, refactored error handling and introduced `onErrorConsumed` and `handleError`.
-   In `FriendItem`, added an icon button to initiate sending a message to a friend.
-   In `strings.xml`, added or updated strings for session expiration, log out, refreshing, and empty friend lists.
-   In `RootScreen`, added `onMessageClicked` for navigating to messages.
-   In `FriendsList`, added `onMessageClicked` for handling message clicks.
-   In `MainScreen`, removed unused `MutableSharedFlow`.
-   In `FriendsScreen`, added support for showing errors, added `onMessageClicked`, and replaced `hazeChild` with `hazeEffect` and `hazeSource`.
-   In `FriendsNavigation`, added `onMessageClicked` for handling message clicks.
-   In `ConversationsNavigation`, removed the unused `scrollToTopFlow` parameter.
-   In `ErrorView`, added text alignment.
-   In `NoItemsView`, added support for a button and custom text.
-   In `LongPollUpdatesParser`, replaced try-catch with `parseOrNull`.
2025-03-21 12:43:22 +03:00
melod1n cbe3313b87 * pagination in chat fixed
* other fixes and improvements
2025-03-21 04:44:09 +03:00
melod1n 7c14df1824 release 0.1.5 (#98)
* settings reorganization;
implement long press on emoji button for fast text;
some deprecations fixed;
some typos fixed;
etc

* ability to use more animations (experimental);
fix online friends loading;
conversation avatar in messages history screen;
test second tap on conversations item in bottom bar to scroll to top;
etc

* version up
2024-12-17 21:07:22 +03:00
melod1n 26c413037a saving selected friends tab while app is working 2024-12-14 01:07:03 +03:00
melod1n 93ba9c0285 saving scroll position only while app is working & add divider with spacer on conversations screen 2024-12-14 00:38:22 +03:00
melod1n 077332a27b improve font in app bars 2024-12-13 23:45:33 +03:00
melod1n 81c6247cd4 saving scroll position on friends screen & conversations 2024-12-04 19:29:36 +03:00
melod1n d7e8c0dd35 fix online friends & pagination 2024-12-04 18:57:14 +03:00
melod1n 97d543539d (fix) ability to use system font 2024-11-01 21:54:50 +03:00
melod1n 957ade0867 some updates 2024-10-28 19:57:53 +03:00
melod1n 5d5400ec56 chore(deps): remove alpha deps 2024-09-27 21:04:35 +03:00
dependabot[bot] 9f5b370854 Bump androidx.compose:compose-bom from 2024.08.00 to 2024.09.02 (#55) 2024-09-27 17:38:18 +00:00
dependabot[bot] 9cc880f906 Bump androidx.compose.foundation:foundation (#53) 2024-09-27 16:56:44 +00:00
dependabot[bot] 7e59ffcc9b Bump androidx.compose.foundation:foundation (#39) 2024-08-22 23:32:08 +00:00
melod1n ee8cf619f8 remove usage of context-receivers 2024-08-14 12:04:04 +03:00
melod1n 0500969d81 domain module 2024-08-11 17:40:13 +03:00
melod1n 648850f1c8 gradle build convention 2024-08-11 14:53:32 +03:00
dependabot[bot] 4303ef2f63 Bump androidx.compose.foundation:foundation (#34)
Bumps androidx.compose.foundation:foundation from 1.7.0-beta04 to 1.7.0-beta07.

---
updated-dependencies:
- dependency-name: androidx.compose.foundation:foundation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 09:21:09 -07:00
melod1n 1817698031 simple photo viewer 2024-07-16 10:29:37 +03:00
melod1n a696425dc8 more fixes 2024-07-16 07:43:08 +03:00
melod1n c8b1d72f08 update package name (even bigger one) 2024-07-16 07:02:50 +03:00
melod1n 4f9e49003b update package name (big one) 2024-07-16 06:37:37 +03:00
melod1n b252c03be7 clean up settings and some other things 2024-07-16 02:12:19 +03:00
melod1n 46d3fe63fa ability to enable/disable pull to refresh 2024-07-16 00:15:15 +03:00
melod1n ee7499f117 move all ui-related classes and files to ui module 2024-07-15 18:31:58 +03:00
melod1n 9a1bce5707 some coil & compose improvements 2024-07-15 16:43:59 +03:00
melod1n 9481541806 fix crash on any error on friends screen other than api error 2024-07-14 01:04:20 +03:00
melod1n 733627f935 twoFa -> validation naming; fixes for preview for screens (separating view model from ui); some improvements & fixes 2024-07-13 22:45:49 +03:00
melod1n f545a9c4e5 improve blur on friends list & chat materials 2024-07-13 16:32:03 +03:00
melod1n dbc0d71f32 remove logging 2024-07-13 02:06:31 +03:00
melod1n 32b8fc4067 fix blur for friends screen 2024-07-13 01:52:49 +03:00
melod1n fb76b46b22 [wip] chat materials; some experiments with local composition and blur 2024-07-12 00:51:24 +03:00
melod1n 3503ecffab Upstream changes (#23) 2024-07-10 16:12:32 -07:00