Cursor Agent
00840d76e1
Add local message editor and manager for custom messages
...
Co-authored-by: g6582566 <g6582566@morris.umn.edu>
2025-07-23 23:08:34 +00:00
Cursor Agent
683aef44f9
Add local message feature to context menu with settings option
...
Co-authored-by: g6582566 <g6582566@morris.umn.edu>
2025-07-23 22:55:01 +00:00
google-labs-jules[bot]
31cb5f620b
feat: Implement local messages feature
...
This commit introduces the ability for you to add messages locally to a chat. These messages are displayed only on the client and are not sent to the server.
Key changes include:
- Data Layer:
- Added a new `LocalMessage` class inheriting from `AyuMessageBase` in `ayu/data/entities.h`.
- Implemented functions in `ayu/data/messages_storage.cpp` and `.h` (`addLocalMessage`, `getLocalMessages`, `hasLocalMessages`) to manage the storage of these messages in the AyuGram SQLite database, including creating a new table for local messages.
- UI and Display:
- Modified `ayu/ui/message_history/history_item.cpp` to ensure `LocalMessage` objects are rendered in the chat history.
- Added a visual distinction for local messages by prepending "[Local] " to their text content.
- UI Flow:
- Implemented a new dialog box (`AddLocalMessageBox` in `boxes/add_local_message_box.cpp` and `.h`) for composing local messages, allowing you to specify a sender name (defaults to the current user) and the message text.
- Added a context menu option ("Add Local Message") to the message input field in `HistoryWidget` to launch this dialog.
- Testing:
- Defined a suite of manual test cases covering data storage, retrieval, UI display, and the creation flow via the new UI, ensuring the feature's correctness and usability.
This feature enhances AyuGram by allowing you to annotate chats or add notes directly within the message flow, visible only to yourselves.
2025-05-21 22:00:04 +00:00
AlexeyZavar
353e9adec1
fix: make it build
2025-05-19 00:32:36 +03:00
AlexeyZavar
409165dec6
chore: refactor settings
2025-05-05 20:36:16 +03:00
AlexeyZavar
4870d59a43
fix: check if a message is modified
2025-05-05 19:35:09 +03:00
AlexeyZavar
518ae8044d
chore: update strings & move option
2025-04-25 01:18:24 +03:00
Grigory
314a90995a
feat: add option to show only added emojis & stickers
2025-04-25 00:54:29 +03:00
AlexeyZavar
66d54ccd54
feat: open channel in discussion group
2025-03-09 02:59:45 +03:00
AlexeyZavar
ccf8d91f01
feat: burn ttl message & display expired status
2025-03-09 02:33:22 +03:00
AlexeyZavar
9ca0c3c41d
fix: more checks for disposal
2025-03-09 00:30:18 +03:00
AlexeyZavar
4327fd4c58
fix: reduce CPU usage for TTL messages & refactor
2025-02-05 22:49:33 +03:00
AlexeyZavar
53392d6e5d
feat: bypass client-side restrictions & minor adjustments
2025-02-04 16:20:37 +03:00
AlexeyZavar
292de83c35
fix: messageshot on macOS
...
Co-authored-by: Vladislav Gorodkov <fuccsoc@gmail.com>
2025-01-31 03:07:17 +03:00
AlexeyZavar
e3ebb30518
chore: remove β from option
2025-01-31 00:27:19 +03:00
AlexeyZavar
51122ab3ba
feat: show badges in dialogs list
2025-01-30 23:04:03 +03:00
AlexeyZavar
d4ca58574a
feat: extera icon
2025-01-17 19:20:46 +03:00
AlexeyZavar
e796011deb
feat: show toast
2025-01-17 18:56:20 +03:00
AlexeyZavar
7dfc27f3c9
fix: paddings & mark as β
2025-01-16 17:43:15 +03:00
AlexeyZavar
62c4b1f30b
fix: process more shortcuts
2025-01-16 16:40:43 +03:00
AlexeyZavar
a4a3b4e9d1
chore: update copyright
2025-01-16 13:08:58 +03:00
AlexeyZavar
ab26e3d4fa
feat: replace "edited" & "deleted" with icons
2025-01-15 15:49:21 +03:00
AlexeyZavar
2804cc2d1e
feat: improve stickerpack author
...
Co-authored-by: kotecat <davidshaldunov@gmail.com>
2025-01-15 11:51:45 +03:00
AlexeyZavar
38b5cab006
feat: new badges
2025-01-15 11:16:32 +03:00
AlexeyZavar
d6ba3ae332
feat: wide messages
2024-11-23 12:34:26 +03:00
AlexeyZavar
d6145f383d
fix: smth
2024-11-23 08:54:20 +03:00
AlexeyZavar
e02a8a7fdb
fix: make it build
2024-11-20 16:49:11 +03:00
AlexeyZavar
27f4f73690
fix: make it build
2024-10-16 16:23:07 +03:00
AlexeyZavar
45461836e1
fix: don't use scheduled messages if not in a full ghost mode
2024-10-05 03:14:24 +03:00
AlexeyZavar
e778aab8b7
fix: read media
2024-09-27 22:04:04 +03:00
AlexeyZavar
b073810bab
feat: ability to disable save deleted messages in bot dialogs
2024-09-27 20:36:34 +03:00
AlexeyZavar
3d91d2c80a
chore: refactor a bit
2024-09-23 16:46:41 +03:00
AlexeyZavar
625f9ef816
feat: store text deleted messages in db
2024-09-23 02:01:41 +03:00
AlexeyZavar
392f2e633c
feat: message field configuration
2024-09-12 16:10:03 +03:00
AlexeyZavar
66b7a48352
feat: send without sound
2024-09-11 22:41:03 +03:00
AlexeyZavar
6da6817037
fix: channel messages
2024-09-11 21:44:10 +03:00
AlexeyZavar
a3d87ff26a
fix: make it build
2024-09-11 21:15:51 +03:00
AlexeyZavar
6f754bef8c
fix: revert share link box & copy as username
2024-08-18 14:40:55 +03:00
AlexeyZavar
9dbc9e59e5
feat: use Taptic Engine & preview media on force click
2024-08-18 14:10:37 +03:00
AlexeyZavar
d8192898c4
feat: MacOS support
2024-08-18 01:18:30 +03:00
AlexeyZavar
c4e1e8415c
feat: hide notification badge on windows
2024-07-02 18:05:10 +03:00
AlexeyZavar
b2efc2ad14
feat: jump to beginning
2024-07-02 17:29:20 +03:00
AlexeyZavar
257b8552f7
feat: channel bottom button configuration
...
Co-authored-by: Eric Kotato <radrussianrus@gmail.com>
2024-07-02 05:37:39 +03:00
AlexeyZavar
bbeeaa95c0
feat: add win95 icon
...
Co-authored-by: Windukk <Windukk@users.noreply.github.com>
2024-07-02 01:21:54 +03:00
AlexeyZavar
81938514f1
feat: add chibi icons
...
meet AyuChan <3
2024-07-02 00:23:29 +03:00
AlexeyZavar
27d3721646
feat: webview settings
2024-07-01 22:47:39 +03:00
AlexeyZavar
dbb234097c
feat: round stickers in list
2024-07-01 21:33:02 +03:00
AlexeyZavar
c185f40acd
feat: enter with ghost mode from taskbar or command line
2024-07-01 06:04:14 +03:00
AlexeyZavar
ab7e4bce1a
fix: make it build
2024-07-01 04:38:41 +03:00
AlexeyZavar
cbcde7d2f5
fix: make it build
2024-06-14 22:27:52 +03:00