Austin Kelsay 5737027c0f
Nostr crossposting improvements (#629)
* Add nostr event id field to items

* crosspost-item

* crosspost old items, update with nEventId

* Updating noteId encoding, cleaning up a little

* Fixing item-info condition, cleaning up

* Linting

* Spacing nit

* Add createdAt variable back

* Change instances of eventId to noteId

* Adding upsertNoteId mutation

* Cleaning up updateItem, using toasts to communivate success/failure in crosspost-item

* Linting

* Fix type

* Move crosspost to share button, make sure only OP can crosspost

* Lint

* Simplify conditions

* user might have no nostr extension installed

Co-authored-by: ekzyis <27162016+ekzyis@users.noreply.github.com>

* change upsertNoteId to updateNoteID for resolver and mutations, change isOp to mine, remove unused noteId params

* Use nostr.com for linking out with noteId

* lint

* add noopener to window.open call

* Simplify condition, throw GraphQLError

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: ekzyis <27162016+ekzyis@users.noreply.github.com>
2023-12-19 11:48:48 -06:00
..
2023-12-04 21:34:06 -06:00
2023-07-24 13:53:53 -05:00
2023-11-06 14:53:33 -06:00
2023-08-25 18:21:51 -05:00
2023-12-04 21:34:06 -06:00
2023-11-21 17:26:24 -06:00
2023-07-25 13:32:48 -05:00
2023-10-26 14:36:20 -05:00
2023-12-04 21:34:06 -06:00
2023-08-04 20:45:12 -05:00
2023-12-10 16:56:22 -06:00
2023-11-10 09:22:14 -06:00
2023-08-29 19:13:21 -05:00
2023-12-04 16:56:13 -06:00
2023-08-04 19:21:51 -05:00
2023-11-09 19:05:35 -06:00
2023-12-06 13:19:39 -06:00
2023-07-24 13:53:53 -05:00
2022-08-18 13:15:24 -05:00
2023-11-13 20:02:34 -06:00
2021-05-06 16:15:22 -05:00
2023-11-06 14:53:33 -06:00
2023-08-16 17:53:51 -05:00
2023-08-29 16:05:09 -05:00
2022-01-27 13:18:48 -06:00
2023-10-26 13:01:01 -05:00
2023-08-17 13:40:21 -05:00
2023-11-01 11:57:55 -05:00
2023-12-04 21:34:06 -06:00
2023-08-17 13:40:21 -05:00
2023-08-17 13:40:21 -05:00
2021-10-15 13:05:34 -05:00
2023-10-01 18:03:52 -05:00
2023-07-24 13:53:53 -05:00
2023-09-28 15:02:25 -05:00
2023-11-12 11:59:18 -06:00
2023-12-04 21:34:06 -06:00
2023-07-24 13:53:53 -05:00
2023-10-06 15:01:51 -05:00
2023-07-24 13:53:53 -05:00
2023-10-03 14:35:53 -05:00
2023-12-04 21:34:06 -06:00
2023-10-06 15:01:51 -05:00
2023-08-11 17:05:21 -05:00
2023-12-04 21:34:06 -06:00
2023-07-24 19:50:55 -05:00
2023-12-07 15:50:36 -06:00
2023-05-06 16:51:17 -05:00
2023-11-09 19:05:35 -06:00
2023-08-25 18:43:50 -05:00
2023-12-04 21:34:06 -06:00
2023-08-25 18:21:51 -05:00
2023-07-24 13:53:53 -05:00
2023-12-17 13:23:52 -06:00
2023-12-14 11:30:51 -06:00
2023-08-04 19:21:51 -05:00
2023-07-24 13:53:53 -05:00