Commit Graph

2444 Commits

Author SHA1 Message Date
darkfi
ddca71fc26 wallet: chatview, flush db after every insert 2024-08-09 08:48:26 +02:00
darkfi
60665c814c wallet: editbox change calcs so scroll is [0, ∞) 2024-08-08 17:41:05 +02:00
darkfi
830ec00e0d wallet: ignore touch events outside widget rects 2024-08-08 15:17:29 +02:00
darkfi
133292ad49 wallet: add darkirc backend 2024-08-08 15:17:08 +02:00
darkfi
117898f79e wallet: bugfix chatview missing current_height = descent in calc 2024-08-08 12:53:45 +02:00
darkfi
0ea731fd7f wallet: chatview add_line_to_db() called by handle_insert_line() 2024-08-08 12:52:51 +02:00
darkfi
6c7e190a0e wallet: chatview correct scroll clamping calcs 2024-08-08 09:05:23 +02:00
darkfi
03025aad13 Cargo.toml: temp remove p2p-tor from net defaults due to android build errors, and add it back in on darkirc Cargo.toml
see main project Cargo.toml for more info.
2024-08-07 10:06:13 +02:00
darkfi
e7eb633916 wallet: UI working with darkirc 🔥🔥🔥 2024-08-06 11:55:03 +02:00
darkfi
8db50e65e3 wallet: bugfix editbox, since property mod streams can now distinguish the source, we dont need special logic 2024-08-06 09:26:17 +02:00
darkfi
7bd760bea9 wallet: connect button signal with slot that clears editbox 2024-08-06 09:00:37 +02:00
darkfi
62b2cd6276 wallet: chatview switch timestamp from millis to secs 2024-08-05 15:36:21 +02:00
darkfi
749546a834 wallet: chatview add debug render property 2024-08-05 13:01:28 +02:00
darkfi
5e52bd6ff6 wallet: chatview dont split pages when size is under PAGE_SIZE 2024-08-05 10:42:43 +02:00
darkfi
dce21a3735 wallet: chatview split pages when they get too big 2024-08-05 10:23:35 +02:00
darkfi
6e128ec095 wallet: chatview upgrade timestamps to u64 and add a 32 byte message_id to keys 2024-08-05 09:45:37 +02:00
darkfi
8dd09484c5 wallet: add event_graph and get darkirc messages 2024-08-05 08:22:03 +02:00
darkfi
90f2958cd2 wallet: get p2p + zk darkfi compiling in the app 2024-08-04 04:58:22 +02:00
darkfi
cfb1fe27dc wallet: ExecutorPtr = Arc<smol::Executor<'static>> 2024-08-03 14:02:47 +02:00
darkfi
8c8e198da7 wallet: chatview bugfix insert_line() method 2024-08-03 13:12:59 +02:00
darkfi
cb0ce5a7e7 wallet: chatview touch finger scroll accel/decel 2024-08-03 12:28:06 +02:00
darkfi
759af23a91 wallet: chatview - add smooth mouse scrolling accel/decel type movement in the buffer 2024-08-03 12:19:05 +02:00
rsx
f3df028b03 wallet: reload view when scroll changes 2024-08-03 10:56:11 +02:00
rsx
f0e071bee9 wallet: OnModify skips internal changes 2024-08-03 10:50:54 +02:00
rsx
cf2fe7d59e wallet: add Roles to the property system. Useful for distinguishing between who modifies a property and later applying permissions too. 2024-08-03 10:37:15 +02:00
darkie
2dad1f5e83 wallet: chatview pageup/down scrolling 2024-08-03 09:39:04 +02:00
darkfi
6b8eb69cf4 wallet: chatview append message to the end correctly 2024-08-02 17:48:01 +02:00
darkfi
64ce789bf2 wallet: inserting messages directly in the buffer and refreshing the view 2024-08-02 17:42:41 +02:00
darkfi
1796ba2f2c wallet: call method insert_line through scene graph 2024-08-02 16:25:25 +02:00
darkfi
9ffe5ffa36 wallet: button::click() signal 2024-08-02 10:54:15 +02:00
darkfi
8f3b239bb7 wallet: add button 2024-08-02 10:40:47 +02:00
darkfi
2f86574d32 wallet: bugfix faulty scrolling behaviour 2024-08-02 09:56:49 +02:00
darkfi
2400fc8ef7 wallet: chatview improve scroll calcs:
- correct baseline value
- bugfix wrong line counter in Page::regen_mesh()
- put scroll limit logic in draw_cached() so it's shared between all input methods for scrolling
- correct calc for when there's not enough lines in the buffer for scrolling.
2024-08-02 08:46:02 +02:00
darkfi
03ed184991 wallet: chatview correct loading of pages on demand 2024-08-01 15:30:44 +02:00
darkfi
38ea8bbca9 wallet: sample chat.txt remove duplicate timestamps 2024-08-01 15:09:10 +02:00
darkfi
6659eb0f7e wallet: load pages on demand when scrolling up and limit scroll when you reach the end of the current buffer 2024-07-31 10:10:17 +02:00
dasman
19f70bd58f event_graph: gracefully stop pruning task 2024-07-30 19:00:26 +03:00
darkfi
e701c72888 wallet: correct page loading logic 2024-07-30 12:45:53 +02:00
darkfi
df406f0787 wallet: use pages abstraction to cache drawcalls in a smarter way 2024-07-30 12:35:18 +02:00
rsx
b76088fb79 wallet: chatview avoid scrolling past the bottom lol 2024-07-30 09:14:48 +02:00
darkie
37647a65c9 wallet: prioritize processing gfx events before drawing. Which makes sense if you think about it... 2024-07-29 22:04:34 +02:00
darkfi
34e6bb80b3 wallet: more accurate finger scroll 2024-07-29 11:19:49 +02:00
darkfi
956c769155 wallet: improve LIGHTMODE coloring 2024-07-28 11:55:26 +02:00
darkfi
0bcd7d9386 wallet: add chatview coloring 2024-07-28 11:42:53 +02:00
rsx
a79d3ab15f darkwallet: add a lightmode for eink monitors 2024-07-27 22:04:04 +02:00
darkfi
46279cb748 darkwallet: android touch scrolling chatview 2024-07-27 13:39:49 +02:00
darkfi
4d67c780d8 darkwallet: increase debugging info in app schema 2024-07-27 13:39:27 +02:00
darkfi
b31bff1728 darkwallet: image widget able to load images from APK assets 2024-07-27 13:38:42 +02:00
darkfi
1ad9752581 darkwallet: move from docker to podman (eat ze bugs) 2024-07-27 13:36:17 +02:00
darkfi
a0ca9f7503 wallet: make sure we reset the viewport between each draw call since children draw calls can modify the view too. 2024-07-26 11:07:20 +02:00