Commit Graph
49 Commits
Author SHA1 Message Date
callebtc b5d062a0a9 wip, use noise encryption 2025-07-19 21:31:02 +02:00
callebtcandGitHub 6c4473f174 Merge pull request #142 from hector6872/fix/messages-list-content-padding
Fix content padding in messages list
2025-07-19 09:47:00 +02:00
callebtcandGitHub 93ad575610 Merge pull request #139 from alpermelkeli/refactor/remove-static-context-field
refactor: remove context attribute at ChatViewModel.kt
2025-07-19 09:44:55 +02:00
Faded 7972439c14 Merge branch 'main' into fix/wrong-cursor-location 2025-07-18 05:19:19 +05:00
callebtcandGitHub 50cbb69e9e Merge pull request #145 from moehamade/fix/toolbar-center-align-141
fix: center align toolbar item in ChatHeader
2025-07-18 00:08:09 +02:00
callebtcandGitHub 478a1fe5ce Merge pull request #136 from joaodematejr/fix-sidebar-text
fix: update sidebar text to use string resources
2025-07-18 00:01:29 +02:00
Mohamad Hamade 0611baa681 fix: center align toolbar item in ChatHeader
- passed modifier.fillmaxHeight so the content inside the row can actually be centered
2025-07-17 13:49:31 +03:00
Hector de Isidro 305b334244 Remove redundant @OptIn annotation 2025-07-17 00:20:09 +02:00
Hector de Isidro f2a8f86f17 Use HorizontalDivider instead of deprecated Divider 2025-07-17 00:17:56 +02:00
Hector de Isidro 37e3852f40 Use contentPadding instead of padding so items remain fully visible 2025-07-17 00:11:26 +02:00
Hector de Isidro 15a989c5cd Remove unnecessary Box wrapper 2025-07-17 00:08:20 +02:00
Hector de Isidro d0dac19119 Replace BoxWithConstraints with Box since constraints are unused 2025-07-17 00:07:04 +02:00
alpermelkeli eb575182c6 refactor: remove context attribute at ChatViewModel.kt 2025-07-16 18:30:26 +03:00
João Dematé Jr b14eb9006b fix: update sidebar text to use string resources 2025-07-15 18:47:32 -03:00
Mohamad Hamade 17472a1854 Refactor: Remove unused tripleClickCount state variable
The `tripleClickCount` mutable state variable in the `ChatHeader` composable was not being used and has been removed to simplify the code
2025-07-15 13:18:29 +03:00
Mohamad Hamade 0a33bd734d Bugfix: Handled single or triple clicked at once instead of executing them as separate events
This commit introduces a new `singleOrTripleClickable` Modifier extension function.

This function allows distinguishing between single and triple clicks on a Composable element.

The `ChatHeader` was updated to utilize this new Modifier for handling clicks on the "bitchat*" title, where a single click shows app info and a triple click triggers a separate action.
2025-07-14 22:16:19 +03:00
Faded 21dc1a5b5e fix(chat): cursor location and enhance message input with slash command styling
- Change message input from String to TextFieldValue for better cursor control
- Add SlashCommandVisualTransformation to style slash commands with colored backgrounds
- Maintain cursor position when selecting command suggestions
2025-07-14 15:51:50 +05:00
callebtc 193918d81a track rssi correctly 2025-07-14 00:13:45 +02:00
callebtc 06a9ec6268 badge 2025-07-13 23:57:10 +02:00
callebtc 20cf8b59f8 copy text and fix notifications for DM 2025-07-13 23:42:58 +02:00
callebtc d490393de6 back gesture works 2025-07-12 17:32:08 +02:00
callebtc a97e2549b8 fix fav updates 2025-07-12 17:11:19 +02:00
callebtc ea25b71d6f fix favorites 2025-07-12 16:55:50 +02:00
callebtc 035273011f fix startup 2025-07-12 15:42:37 +02:00
callebtc e58cf4fd0d fix null pointer 2025-07-12 12:53:01 +02:00
callebtc 8e93500823 nice 2025-07-12 02:58:30 +02:00
callebtc 50995c670f orange 2025-07-12 02:55:14 +02:00
callebtc 759ebaec93 buttons 2025-07-12 02:49:49 +02:00
callebtc a9995ebfc1 like 2025-07-12 02:45:59 +02:00
callebtc 006ac7e78a buttons 2025-07-12 02:37:51 +02:00
callebtc 83da8f3b1b input 2025-07-12 02:34:56 +02:00
callebtcandGitHub 9b57504c2c Merge pull request #39 from alpermelkeli/main
implement channel password management at local and /pass command hand…
2025-07-12 02:24:51 +02:00
callebtc 75c4b758b6 fix: /w shows usernames now 2025-07-11 18:27:24 +02:00
alpermelkeli 85f23c23fd implement channel password management at local and /pass command handling. 2025-07-10 18:56:55 +03:00
callebtc 37d605b934 fix notifications 2025-07-10 12:48:04 +02:00
callebtc 8b5c19ace7 notifications 2025-07-10 12:08:22 +02:00
callebtc 797eee0257 fav 2025-07-10 12:03:42 +02:00
callebtc abe6246c3e faving? 2025-07-10 00:34:41 +02:00
callebtc 472c6e8d51 design 2025-07-10 00:29:22 +02:00
callebtc efbdf8c6ff icons 2025-07-10 00:20:03 +02:00
callebtc caf494c1bf ui 2025-07-10 00:17:22 +02:00
callebtc 215383e012 design 2025-07-10 00:03:15 +02:00
callebtc dd8aa083b9 power saving 2025-07-09 15:47:54 +02:00
callebtc fffed8f31e style 2025-07-09 13:05:46 +02:00
callebtc 1d7bb8beab REFACTOR STEP 2: Extract mesh delegate handling to separate class
- Created MeshDelegateHandler.kt to handle all BluetoothMeshDelegate callbacks
- Created ChatViewModelUtils.kt for utility functions like haptic feedback
- ChatViewModel now delegates all mesh events to MeshDelegateHandler
- Final ChatViewModel size: 337 lines (down from 1000+ original)

This completes the refactoring while maintaining 100% functionality.
2025-07-09 00:44:53 +02:00
callebtc 56824b6594 REFACTOR: Break ChatViewModel into smaller specialized files
- Created ChatState.kt for centralized state management
- Created DataManager.kt for persistence operations
- Created MessageManager.kt for message handling and deduplication
- Created ChannelManager.kt for channel operations and encryption
- Created PrivateChatManager.kt for private chat functionality
- Created CommandProcessor.kt for IRC-style command processing

ChatViewModel.kt reduced from 1000+ lines to ~300 lines while maintaining 100% functionality.
All existing functionality preserved, just better organized.
2025-07-09 00:42:43 +02:00
callebtc 6d22aa7315 nice 2025-07-09 00:34:47 +02:00
callebtc d40e2cbda8 deduplicate messages 2025-07-08 23:02:03 +02:00
callebtc d6a4e122b4 init 2025-07-08 20:37:46 +02:00