Commit Graph

711 Commits

Author SHA1 Message Date
kernelkind
42f9ec97a6 ui: style hashtag button
Closes: #504
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-29 10:45:43 -08:00
William Casarin
42c0f02072 onboarding: add introductions hashtag column
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:35:15 -08:00
William Casarin
f8d6fbf153 refactor: simplify demo timeline if statement
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:34:56 -08:00
William Casarin
c8d95aca2a timeline: add simple hashtag timeline constructor
Useful for adding hashtag timelines manually without the
into_timeline thing

Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:34:18 -08:00
William Casarin
37ab6f33fb accounts: remove pink selected frame
Opinionated design call I am making

Fixes: 36b8afd1750d ("Update account management UI to design")
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:21:49 -08:00
kernelkind
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
William Casarin
409e8c2e3a icon: fix app icon
Updated to roberto's fixed icon, I also added some padding so that it
looks right int the app switcher.

Closes: https://github.com/damus-io/notedeck/pull/503
Closes: https://github.com/damus-io/notedeck/pull/496
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:08:00 -08:00
kernelkind
19bc37b0bc panel: off-white
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:04:57 -08:00
William Casarin
2e9a00ee57 demo: ensure we have a base column
This allows you to set your first column as your own home timeline
without having to re-arrange anything

Fixes: 62a85d921c1f ("use demo config when no accs")
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 10:04:57 -08:00
William Casarin
e3ed744a5c posts: add client tag when posting and replying
This should help us a bit with seeing notedeck usage.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-29 09:55:33 -08:00
kernelkind
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
William Casarin
236d1684e7 try to fix linux packages yet again
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 18:39:18 -08:00
William Casarin
355151e1d4 Revert "ci: build before test"
to figure out this packaging issue...

This reverts commit 24db85f1d0.
2024-11-28 17:45:31 -08:00
William Casarin
24db85f1d0 ci: build before test
just because
2024-11-28 16:56:31 -08:00
William Casarin
69eaccdd8f windows: cap dbsize to 16GiB for now
because windows is horrible
2024-11-28 16:52:00 -08:00
William Casarin
8d59260935 windows: handle large mapsizes gracefully
Update nostrdb to gracefully handle mapsizes that
are too large and fail to create nostrdb files.

We now keep shrinking the mapsize until database creation
succeeds. We still use the default mapsize of 32GiB on
windows, which is a bit annoying until we have nostrdb
resizing like monero.

Fixes: https://github.com/damus-io/notedeck/issues/491
2024-11-28 16:52:00 -08:00
William Casarin
dea2873d9a build: only build packages on merge to master
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 12:01:47 -08:00
William Casarin
0171e6c970 clippy: fix clippy warnings
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 12:01:47 -08:00
William Casarin
708be85709 readme: add ci badge
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 11:51:24 -08:00
William Casarin
05f36c81b3 github: run ci on pushes to master as well
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 11:50:24 -08:00
William Casarin
45c104786b readme: use proper link
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 11:14:32 -08:00
William Casarin
7fcb7b5ab0 readme: update with newer image
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-28 11:13:56 -08:00
William Casarin
762fd263bb github: remove deprecated actions
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 17:15:19 -08:00
William Casarin
7f278fb630 github: update to checkout v4 in actions
may solve deprecation warnings

Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 16:46:40 -08:00
William Casarin
5cea7ae5d4 github: split matrix into individual build steps per OS
So we don't have to wait for the whole matrix to start building
individual packages per OS

Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 16:27:37 -08:00
William Casarin
79e0228790 github: automatically build and sign macOS dmg
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 16:19:40 -08:00
William Casarin
921c0f1118 macos: remove macos_build_secrets.sh as build requirement
Users can source this themselves, or use something like direnv to
automatically load them when you `cd` into the project.

In the case of github actions, these will be set in the environment.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 16:19:26 -08:00
William Casarin
987e43d0ca envrc: source macos secrets
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 15:45:14 -08:00
William Casarin
d57a3ebc62 github: add windows build matrix and installer package
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 15:45:11 -08:00
William Casarin
e812be476d win: add installer script
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 14:39:48 -08:00
William Casarin
a1d8adfff3 deps: switch to windows nostrdb-rs
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 14:34:00 -08:00
William Casarin
38fc39e275 clippy: fix clippy issues
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 14:34:00 -08:00
William Casarin
de802cd363 Revert "ui: simply hide post button if buffer is empty"
This reverts commit 4133570c2e.
2024-11-27 09:30:07 -08:00
William Casarin
536f7579a9 Merge: user can upgrade their npub -> nsec #485
William Casarin (2):
      refactor: make LoginAction a bit safer

kernelkind (1):
      user can upgrade their npub -> nsec
2024-11-27 09:29:41 -08:00
William Casarin
e69a7f83ae refactor: make LoginAction a bit safer
We make LoginAction a simple wrapper around processing the unknown
action to expose too much internal logic. This allows us to have a
must_use on our LoginAction type, otherwise the SingleUnkIdAction's
must_use will be lost when returned in the login action.

Fixes: a5cdddbb2b ("user can upgrade their npub -> nsec")
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-27 09:28:29 -08:00
William Casarin
12743b4469 Merge Add debian packaging #483
Fixes: https://github.com/damus-io/notedeck/issues/463

Ken Sedgwick (2):
      Add debian packaging
      update to github v4 artifact actions
2024-11-27 09:08:57 -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
Ken Sedgwick
fb187293e1 update to github v4 artifact actions 2024-11-26 13:28:58 -08:00
William Casarin
18eba128f6 set app icon to damus logo
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-26 13:25:30 -08:00
Ken Sedgwick
bfcfbd661d Add debian packaging 2024-11-26 13:01:05 -08:00
Ken Sedgwick
50f38b00a8 Merge pull request #480 from ksedgwic/2024-11-generate-rpm
Generate RPM package
2024-11-26 15:00:06 -06:00
William Casarin
cea144b5b7 NoteDeck -> Notedeck
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-26 10:48:25 -08:00
William Casarin
9f447e2155 Merge macos build script #479'
kernelkind (2):
      macos packaging
      macos build script
2024-11-26 10:43:01 -08:00
William Casarin
4a9267fed1 Merge disable compose button if selected not nsec #470
kernelkind (2):
      don't try to use other accounts to post
      disable compose button if selected not nsec
2024-11-26 10:12:32 -08:00
kernelkind
8979c97741 macos build script
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-26 12:39:30 -05:00
Ken Sedgwick
ad52775822 Generate RPM package 2024-11-25 15:25:56 -08:00
kernelkind
f982c65862 macos packaging
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-11-25 16:42:20 -05:00
William Casarin
a147aa0961 fix fmt
Signed-off-by: William Casarin <jb55@jb55.com>
2024-11-22 13:31:43 -08:00
William Casarin
9cfae313aa Merge include commit hash in SupportView #471
kernelkind (1):
      include commit hash in SupportView
2024-11-22 13:03:34 -08:00
William Casarin
c9d1b48706 Merge disable post button if draft buffer empty #469
William Casarin (2):
      ui: simply hide post button if buffer is empty

kernelkind (1):
      disable post button if draft buffer empty
2024-11-22 13:01:03 -08:00