William Casarin
bdd0ef4c5c
ui: fix a bunch of missing hover pointers
...
let's try to keep on top of these
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 20:50:56 -07:00
William Casarin
8b7914e395
chrome: fix theme persistence
...
Fixes : #832
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 20:27:08 -07:00
William Casarin
a94cbb2dc0
dave: hide media in dave note previews
...
it bugs out sometimes
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 20:21:42 -07:00
William Casarin
2539dead1e
dave: nudge avatar when you click
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 20:21:30 -07:00
William Casarin
3eb9e30e8f
dave: fix sidebar click
...
Fixes : #837
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 19:54:02 -07:00
William Casarin
514e5748b8
dave: add trial mode
...
Fixes : #827
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 19:37:45 -07:00
William Casarin
6bbc20471a
dave: include anonymous user identifier in api call
...
- don't include users pubkey
This could be used to associate requests with real users,
rendering the anonymized user_id pointless
TODO: Implement a new tool call that lets dave ask for your pubkey
Fixes : #834
Fixes : #836
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 19:33:33 -07:00
William Casarin
093189b019
ui: make post replies selectable
...
I wanted to copy a quote from something I was replying to, I couldn't
now I can
Fixes : #835
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 17:28:59 -07:00
William Casarin
dbfc2804f1
chrome: switch from ALPHA to BETA
...
Fixes : #828
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 17:23:14 -07:00
William Casarin
5bae19fe00
mention: show username instead of display_name
...
Fixes : #833
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 17:23:08 -07:00
William Casarin
10a2459da2
windows: don't show terminal window
...
Looks like this got accidentally commented out in an android build
Signed-off-by: William Casarin <jb55@jb55.com >
2025-05-01 12:03:36 -07:00
William Casarin
a5f4290acf
columns: never truncate notes you're replying to
...
So you can see everything
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-30 11:00:37 -07:00
William Casarin
b83c5f7de5
columns: remove spamming info logs about writing to cache
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-30 11:00:19 -07:00
William Casarin
1931eb6558
dave: fix image in readme
2025-04-30 08:49:22 -07:00
William Casarin
1668b3701c
dave: add screenshot to readme
2025-04-30 08:44:42 -07:00
kernelkind
a38c682d78
use default zap amount for zap
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
c456432015
ui: show default zap amount in wallet view
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
fcec3b4c8e
accounts: check if selected account has wallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
e6d9de2b99
wallet: helper method to get current wallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
9013a2e067
propagate DefaultZapState to wallet ui
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
f16e63cf3b
use ZapWallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
61943aa6c7
introduce ZapWallet
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
4b608cef5f
add default zap
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
015e7790d0
move WalletState to UI
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
9e21518e4b
Wallet token parser shouldn't parse all
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
200ef58912
UserAccount use builder pattern
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:32 -04:00
kernelkind
5bddf83655
extend ZapAction
...
going to need amounts for configurable zaps
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:53:20 -04:00
kernelkind
0adaafd523
remove unnecessary #[allow(dead_code)]
...
Signed-off-by: kernelkind <kernelkind@gmail.com >
2025-04-23 13:50:57 -04:00
William Casarin
3dccdf2bad
chrome: use actual columns noteaction executor
...
there is code duplication here and it is causing bugs
2025-04-22 19:07:25 -07:00
William Casarin
e8a1233174
dave: bubble note actions to chrome
...
This allows chrome to pass note actions to other apps
2025-04-22 18:42:12 -07:00
William Casarin
4cedea9fdb
dave: more flexible env config
...
With this I was able to get openrouter working:
DAVE_API_KEY=$OPENROUTER_API_KEY
DAVE_ENDPOINT=https://openrouter.ai/api/v1
DAVE_MODEL="google/gemini-2.0-flash-001"
RUST_LOG=async_openai=debug,notedeck_dave=debug
./target/release/notedeck
2025-04-22 16:46:38 -07:00
William Casarin
5c0874ab85
dave: give present notes a proper tool response
...
so the ai know we actually did something
2025-04-22 16:20:26 -07:00
William Casarin
56f5151739
dave: return tool errors back to the ai
...
So that it can correct itself
2025-04-22 16:05:54 -07:00
William Casarin
9692b6b9fe
dave: add query rendering, fix author queries
2025-04-22 10:50:58 -07:00
William Casarin
5c8fba220c
ui: add ProfilePic::from_profile_or_default
...
This is yet another helper, I really need to clean this
ui widget up in terms of its possible constructors...
2025-04-22 10:50:58 -07:00
William Casarin
c4084a1fb5
ui: add note truncation
...
Truncate notes by default. We still need a show more button though
2025-04-22 10:50:58 -07:00
William Casarin
e4658df847
name: display_name before name in NostrName
...
This is technically more currect. name is more of a username for
tagging.
2025-04-22 10:47:14 -07:00
William Casarin
ba4198eeec
enostr: rename to_bech to npub
...
a bit more clear as to what this is
2025-04-22 10:46:51 -07:00
William Casarin
88aa78dc03
dave: ensure system prompt is included when reset
2025-04-21 17:27:38 -07:00
William Casarin
d4681801e8
dave: add new chat button
2025-04-21 17:10:03 -07:00
William Casarin
405b62c15a
docs: add notedeck_chrome docs
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:31:47 -07:00
William Casarin
f7e47dedee
docs: add notedeck_columns readme
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:26:02 -07:00
William Casarin
5f6a69b4b3
docs: add notedeck docs
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:21:45 -07:00
William Casarin
82c0bc0718
docs: add tokenator docs
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:16:18 -07:00
William Casarin
310a835b27
docs: remove test hallucination
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:12:29 -07:00
William Casarin
d617b688f1
docs: add some ui-related guides
...
generated using code2prompt + claude 3.7 sonnet
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 13:10:20 -07:00
William Casarin
0d51e25ab0
dave: improve docs with ai
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 12:48:33 -07:00
William Casarin
6601747eb4
dave: add readme
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 12:26:50 -07:00
William Casarin
2fdb36475a
dave: add a few docs
...
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 12:11:21 -07:00
William Casarin
04a11fd45d
dave: cleanly separate ui from logic
...
This is a good demo of how easy it is to build a notedeck app,
so let's detangle the ui from logic to showcase this
Signed-off-by: William Casarin <jb55@jb55.com >
2025-04-21 12:05:27 -07:00