Commit graph

65 commits

Author SHA1 Message Date
84419940e3 Implemented the escaping function for the Markdown2. 2023-10-05 17:51:24 +03:00
223f8a5b29 Implemented path history to make easier movement between screens. 2023-10-03 14:49:56 +03:00
05844d2bc0 Panic on not existing screen since it makes no sense to return values. 2023-10-03 13:15:48 +03:00
0471ea91c7 Fixed string reading issues. 2023-10-02 21:45:21 +03:00
37cd1d37fd Small fixes and a bit of refactoring. 2023-09-30 09:55:45 +03:00
b39e63cbaa Implemented updating inline keyboards. 2023-09-29 14:53:52 +03:00
47b7c59469 Small fixes to use more intuitive MessageCompo instead of the Compo method for Inline and Reply keyboards. 2023-09-29 13:36:37 +03:00
227dc816fa Should think of getting rid of race conditions, for now just recover() . 2023-09-28 08:15:57 +03:00
0aaabff503 Finally implemented at least not stable but working version. 2023-09-27 14:09:49 +03:00
abf080164a Keep implementing the new UI system. 2023-09-26 17:13:31 +03:00
1f52474082 KEEP IMPLEMENTING THE NEW COMPONENT SYSTEM INSTEAD OF OLD WIDGETS. 2023-09-25 23:43:22 +03:00
185c8fc1f8 More refactoring. 2023-09-25 20:15:57 +03:00
6480ddf20d ... 2023-09-25 19:58:59 +03:00
0abd04a9ea A bit of refactoring to make more sense for the user and the developer sides. 2023-09-25 19:52:57 +03:00
ce93a54cfa ... 2023-09-25 19:27:25 +03:00
3913979bc9 ... 2023-09-22 12:59:39 +03:00
4737464273 Added the better reading ability. 2023-09-22 11:17:18 +03:00
307ebd03e3 Getting rid off the encoding legacy. Should think of the better and more general way. 2023-09-21 20:32:24 +03:00
908d235cad Added the Go function for the Command structure. 2023-09-21 15:28:06 +03:00
7d149558f9 Finished the node approach to the screens. 2023-09-21 14:54:31 +03:00
061add76a8 Added the Node notation to define paths to screens.. 2023-09-21 12:03:54 +03:00
c96c2a7559 Keep implementing the path-like way for the screens. Should think about renaming the ScreenId to the Path or ScreenPath. 2023-09-21 00:24:42 +03:00
88d4310db5 Implemented the new way of thinking about ScreenIds. As PATHS. 2023-09-20 23:38:29 +03:00
1fc2acbbd6 Great refactoring and rethinking of the Context. 2023-09-20 22:48:35 +03:00
d99ea68198 Fixed location button problems. 2023-09-19 15:21:33 +03:00
5a590a3cd0 Better keyboard definition way with less code. 2023-09-19 14:38:57 +03:00
86cfffc56f Finished the widgetizing. 2023-09-16 15:40:30 +03:00
57f85fdacc Making the widgets more modulable. Needs to be finished. 2023-09-16 14:34:17 +03:00
5e1faf0c44 Added arguments to screen change making it easier to define widget behaviour both for screens and commands. 2023-09-13 12:52:23 +03:00
d500d84de6 Fixed some CommandWidget bugs related to transmitting unneeded updates further. 2023-09-12 11:41:50 +03:00
1d543bf444 Made the root Widget a separate entity. 2023-09-11 16:01:15 +03:00
36fa167549 Implemented reading in commands as widget. 2023-09-11 13:37:04 +03:00
6c6b041133 Now can automatically set the commands on the user side. 2023-09-11 13:00:38 +03:00
221df4b0ba First unstable version. 2023-09-11 10:30:32 +03:00
8326ccae1e Rename Value -> Data for the sake of generalisity. 2023-09-11 10:23:04 +03:00
b2ce5fe2ea Re-implemented the customizing by the Widget interface. 2023-09-09 07:28:06 +03:00
5b00189ea2 Great refactoring. Should put more of the handling into the Actions. 2023-09-08 17:37:32 +03:00
b2748a8cee Implemented the PreStart handler. 2023-09-07 15:45:38 +03:00
fc91490c18 Added a global bot value to make it usable with databases etc. 2023-08-19 13:34:21 +03:00
cdc1a737b7 Fixed the starting problem. 2023-08-19 13:25:47 +03:00
9a1202d777 Globlal refactoring. Less embedded structures making everything more clear. 2023-08-19 12:47:33 +03:00
522b9ada02 A bit more of refactoring and added way to send image files. 2023-08-19 10:19:31 +03:00
b5fbdac972 Renamed tx => tg . 2023-08-19 09:12:26 +03:00
34faec2f8b Fixed "act" declaration outside the handling loop so it is nil on every cycle of the loop. 2023-08-18 14:28:02 +03:00
3f26d2f916 Fixed naming. We do not need the "Arg" thing. 2023-08-18 13:46:10 +03:00
94d8c38dd5 Finally implemented JSON-ing of behaviours. 2023-08-16 17:25:56 +03:00
772adb7b8b Got rid off map of keyboards. 2023-08-15 16:02:14 +03:00
c2562cc54c Implemented basic group behaviour. 2023-08-13 15:37:36 +03:00
e3045862c4 Implemented completely dynamic based code execution program in cmd/json using the Anko. 2023-08-12 19:06:23 +03:00
bbe076f29a Simplified the NewButton call and implemented location sending handling. 2023-08-12 15:54:05 +03:00