Commit Graph
100 Commits
Author SHA1 Message Date
kernelkind c1c4c1cc7a supply inner_rect for PostView
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-07 15:58:57 -05:00
kernelkind 0aa70239fe remove # char if user inserted it
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-06 16:50:25 -05:00
kernelkind d916021179 fix file logging
closes: https://github.com/damus-io/notedeck/issues/572

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-06 16:38:54 -05:00
kernelkind 7efb31c145 allow multiple media uploads per selection
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-06 15:55:53 -05:00
kernelkind 623b4617d2 move login help text below TextEdit
closes: https://github.com/damus-io/notedeck/issues/687

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-03 15:30:32 -05:00
kernelkind 2b7d66e7ae add deck icon hover tooltip with deck name
closes: https://github.com/damus-io/notedeck/issues/691

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-02-03 14:32:39 -05:00
kernelkind 5b0068e6cb add more notes indicator
closes: https://github.com/damus-io/notedeck/issues/72

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-25 17:48:34 -05:00
kernelkind 7abf1c9c15 ui: user can upload images
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind 1091bd0cdf draft fields for media upload feat
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind b1aaeecdc2 add utils for uploading media
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind 5aa1c982cd use rfd for desktop file selection
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind b5a782a06e notedeck_columns: use sha2 & base64
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind 2bce115b21 import base64
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind d96be829cd get file binary
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind 1a0e232176 upload media button
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-24 15:43:48 -05:00
kernelkind a585704fb6 fix persist deck author profile bug
closes: https://github.com/damus-io/notedeck/issues/651

Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-18 16:01:46 -05:00
kernelkind 35427170da log nip05 error
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-17 15:41:01 -05:00
kernelkind 5043f00eb3 update colors
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind ec7de41cc3 toggle move tooltip on button press
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind 23d65898aa use replace move icon with grab
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind 1914fafc68 integrate column moving
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind 10d45d6cc3 move column
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind 1d6da3ba0d move columns ui
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-15 16:09:29 -05:00
kernelkind ba8ac18de7 integrate ZoomHandler
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-13 18:48:29 -05:00
kernelkind 3fafda34b4 introduce ZoomHandler
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-13 18:48:16 -05:00
kernelkind 205d627f99 use TimedSerializer in AppSizeHandler
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-13 18:47:20 -05:00
kernelkind a24a089e87 extract timing from AppSizeHandler to TimedSerializer
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-13 18:46:16 -05:00
kernelkind 05ab1179e6 remove ProfileState from cache once sent
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-04 14:05:42 -05:00
kernelkind 6645d4880f integrate EditProfileView
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-04 13:42:52 -05:00
kernelkind 3384d2af14 new profile responses
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind 4ea17f8920 holder for ProfileState
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind 5fd9f32ba7 prelim fns for edit profiles
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind b1a84788ff move show_profile to its own fn
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind 4baa7b2ef3 use preview
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind eac24ac982 get bolded font helper
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind d6f81991ab refactor banner
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind a1236692e5 profile edit UI
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind a1520fec7e edit profile button
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind 45d07cc432 profile view improvements
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind a7cfe9bd37 refactor DisplayName -> NostrName
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind df82e08041 remove unused code
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind a99dad7e9a profile body
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind 2dde3034a1 refactor profile
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-03 18:39:35 -05:00
kernelkind efa0bfcca1 integrate RelayDebugView
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkind d88036ecba add relay_debug arg
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkind 7d9679e05c add egui window
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkind 83411fdef0 RelayDebugView
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkind 54dfa0c945 integrate SubsDebug into RelayPool
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkind 612c89118f add subs_debug
Signed-off-by: kernelkind <kernelkind@gmail.com>
2025-01-01 15:57:08 -05:00
kernelkindandWilliam Casarin 55cc8e4f1d Delete column confirmation
Changelog-Changed: Add confirmation when deleting columns
Closes: https://github.com/damus-io/notedeck/pull/608
Fixes: https://github.com/damus-io/notedeck/issues/549
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-24 16:28:26 -08:00
kernelkind 588bb8c5b2 use hashtag icon in hashtag col header
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-23 16:15:08 -05:00
kernelkind d7e7c75b89 use hashtag icon
closes https://github.com/damus-io/notedeck/issues/490

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-23 15:37:56 -05:00
kernelkindandWilliam Casarin 785d102e80 show profile preview for external pubkeys
Closes: https://github.com/damus-io/notedeck/pull/589
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-18 11:05:08 -08:00
kernelkindandWilliam Casarin 544a41e695 helper method for FontId
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-18 11:05:03 -08:00
kernelkindandWilliam Casarin 3295124915 prepare AcquireKeyState for add column extern UI
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-18 11:04:53 -08:00
kernelkindandWilliam Casarin 69a6bf3664 column: add individual column
A column for following a single user

Closes: https://github.com/damus-io/notedeck/pull/583
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-17 09:19:16 -08:00
kernelkindandWilliam Casarin 5b4c7a6371 deps: ignore packages dir
Closes: https://github.com/damus-io/notedeck/pull/583
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-17 09:13:36 -08:00
kernelkindandWilliam Casarin 13a406b9cd deps: remove reqwest
This was preventing us from building on windows amd

Closes: https://github.com/damus-io/notedeck/pull/567
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-13 10:01:26 -08:00
kernelkindandWilliam Casarin 4bfa26fd8c Revert "move login logic from promise to async fns"
This reverts commit baaa7cc05d.

Closes: https://github.com/damus-io/notedeck/pull/567
2024-12-13 09:37:47 -08:00
kernelkind 9e67f9dc8c theme: persist across app close
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-11 16:56:14 -05:00
kernelkindandWilliam Casarin 2ce845c1fc log: only show notedeck logs
Closes: https://github.com/damus-io/notedeck/pull/563
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-11 12:10:06 -08:00
kernelkind 06c9023e30 fix edit deck bug
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-11 12:06:09 -05:00
kernelkind c08b5a6662 ui: use text color for glyphs
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:10:44 -05:00
kernelkind e2b8f4e0cc columns.json migration integration
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:03:01 -05:00
kernelkind dbddb3a3f2 add columns.json -> DecksCache migration
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:03:01 -05:00
kernelkind 213332ee71 allow DeckAuthor source for timeline
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:03:01 -05:00
kernelkind 0138186a00 remove unnecesary serializations
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:03:01 -05:00
kernelkind 72c44bdf2d use new serialization
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:03:01 -05:00
kernelkind 34f0c3b0ce serialization for DecksCache
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 15:02:57 -05:00
kernelkind 4cd3515a78 add decks UI to side panel
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 13:51:46 -05:00
kernelkind 56a8ba30f3 deck actions
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 13:51:45 -05:00
kernelkind 845a983592 new column constructor
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 13:51:18 -05:00
kernelkind 94598bedf5 introduce decks_cache
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 12:59:52 -05:00
kernelkind deb08a5a9d decks structs: remove unnecesssary unwraps
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-10 12:56:02 -05:00
kernelkindandWilliam Casarin a24bd4cc43 fix crash on AccountsView
It appears that Context::set_style doesn't keep the style changes from
the Damus constructor to the update method, but
`Context::all_styles_mut` does

Closes: https://github.com/damus-io/notedeck/issues/555
Closes: https://github.com/damus-io/notedeck/pull/560
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-12-09 15:31:20 -08:00
kernelkindandWilliam Casarin 69e93b0ebf introduce decks_cache
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-06 10:46:20 -08:00
kernelkind 35613f2e74 ConfigureDeck & EditDeck user interfaces
`./preview ConfigureDeckView`
`./preview EditDeckView`

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-05 20:46:14 -05:00
kernelkind 83fe173ba3 appearance fixes
- query for emoji fonts
- add more font sizes

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-05 20:45:29 -05:00
kernelkind 40a96f1df2 decks structs
introduces `DecksCache`, `Decks`, and `Deck`

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-12-05 20:45:29 -05:00
kernelkindandWilliam Casarin b581501620 add missing light mode icons
Closes: #502
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-29 12:10:46 -08:00
kernelkindandWilliam Casarin 0855186a8a misc fixes
- add notedeck version number to support view & email body
- add milestone name below Damus logo in side panel
- remove search button in side panel
- remove fps counter & text mode in top bar
- remove 'add relay' button in settings view

Closes: #505
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-29 11:37:56 -08:00
kernelkindandWilliam Casarin 42f9ec97a6 ui: style hashtag button
Closes: #504
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-29 10:45:43 -08:00
kernelkindandWilliam Casarin 0ac131ef06 ui: update account management to design
Closes: https://github.com/damus-io/notedeck/issues/486
Fixes: https://github.com/damus-io/notedeck/issues/444
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:21:17 -08:00
kernelkindandWilliam Casarin 19bc37b0bc panel: off-white
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:04:57 -08:00
kernelkindandWilliam Casarin c2bdae1dcb onboarding: use demo config when no accounts
Closes: #487
Fixes: https://github.com/damus-io/notedeck/issues/446
Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 09:55:11 -08:00
kernelkind a5cdddbb2b user can upgrade their npub -> nsec
closes https://github.com/damus-io/notedeck/issues/476

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-26 21:22:52 -05:00
kernelkind 8979c97741 macos build script
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-26 12:39:30 -05:00
kernelkind f982c65862 macos packaging
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-25 16:42:20 -05:00
kernelkind 792abf11d7 add new column type: hashtag
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-21 20:18:39 -05:00
kernelkind 308717cabf include commit hash in SupportView
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-21 16:13:36 -05:00
kernelkind d090766db9 disable compose button if selected not nsec
closes: https://github.com/damus-io/notedeck/issues/353

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-21 15:45:13 -05:00
kernelkind d15aa65bd7 don't try to use other accounts to post
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-21 15:34:27 -05:00
kernelkind 8464a1d22c disable post button if draft buffer empty
closes: https://github.com/damus-io/notedeck/issues/417

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-21 15:27:19 -05:00
kernelkind 412ba9b565 use AcquireKeyState for AddColumn
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-02 22:18:27 -04:00
kernelkind 529b76094c init external notifs column
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-02 22:18:23 -04:00
kernelkind ee5dd5426f tmp remove DeckAuthor columns
we don't yet have logic for handling switching 'deck authors' and this
is causing two problems:
1. the column title isn't renamed when the selected account is changed
2. when saving a deck author column to disk and the account is switched
   beforehand, it switches to the current deck author's column

Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-10-30 13:46:00 -04:00
kernelkind 56dd88b3a2 initial column storage
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-10-30 13:40:31 -04:00
kernelkind 503b7edeb5 use open instead of egui OpenUrl for mailto link
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-10-28 17:02:40 -04:00
kernelkind 0c7b5e7e59 fix cmd line args bug
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-10-28 15:30:44 -04:00
kernelkind 309477dca4 support view
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-10-25 15:23:35 -04:00