756 Commits

Author SHA1 Message Date
ekzyis
b3c9e9ebf2 Fix image fees in edit receipt 2023-11-02 01:48:34 +01:00
ekzyis
bcadbb2dcd Fix algebraic order of fees
Spam fees must come immediately after the base fee since it multiplies the base fee.
2023-11-02 01:48:34 +01:00
ekzyis
28bde328fc Show amount of unpaid images in receipt 2023-11-02 01:48:34 +01:00
ekzyis
a8998df4b0 Also update image fees on blur
This makes sure that the images fees reflect the current state. For example, if an image was removed.

We could also add debounced requests.
2023-11-02 01:48:34 +01:00
ekzyis
221dd5bb1d Show image fees in frontend 2023-11-02 01:48:34 +01:00
ekzyis
30aed4e805 Use Github style upload
* removed upfront fees
* removed images provider since we no longer need to keep track of unsubmitted images on the client
* removed User.images resolver
* removed deleteImage mutation
* use Github style upload where it shows ![Uploading <filename>...]() first and then replaces that with ![<filename>](<url>) after successful upload
2023-11-02 01:48:34 +01:00
ekzyis
eb4700070f Overwrite old avatar 2023-11-02 01:48:34 +01:00
ekzyis
086e1aea3a Mark images as submitted on client after successful mutation 2023-11-02 01:48:34 +01:00
ekzyis
f79792cd4d Add margin-top 2023-11-02 01:48:34 +01:00
ekzyis
db525e9195 Mark S3 images as submitted in imgproxy job 2023-11-02 01:48:34 +01:00
ekzyis
a61d00ba8b Fetch unsubmitted images from database 2023-11-02 01:48:34 +01:00
ekzyis
9ac774c0e7 Link and remove image 2023-11-02 01:48:34 +01:00
ekzyis
d2b93502bc Show uploaded images below text input 2023-11-02 01:48:34 +01:00
ekzyis
7a83813c85 Upload images to S3 on selection 2023-11-02 01:48:34 +01:00
ekzyis
de7b8547ec Open file explorer to select image 2023-11-02 01:48:34 +01:00
ekzyis
955e5cfc88 Add icon to add images 2023-11-02 01:48:34 +01:00
keyan
8bc3f5b384 Revert "halloween animation"
This reverts commit e9390262958040638078dafa302b3af781c6cd9f.
2023-11-01 11:57:55 -05:00
keyan
8881b19e45 Revert "protect zaps from webgl occasionally being unavailable"
This reverts commit b5828cdf94662ad29ae121a100e448327180a302.
2023-11-01 11:57:17 -05:00
keyan
b5828cdf94 protect zaps from webgl occasionally being unavailable 2023-10-31 09:48:39 -05:00
keyan
e939026295 halloween animation 2023-10-29 16:50:03 -05:00
keyan
30d8c92fe2 fix accidental reply hit on mobile 2023-10-26 15:49:28 -05:00
keyan
835554b3cd small adjustments to secondary form text 2023-10-26 15:12:21 -05:00
keyan
7589295e8c fix url UX exposing state 2023-10-26 14:36:20 -05:00
keyan
43a54d407e keep as much context as possible when navigating deeper in comment threads 2023-10-26 14:24:49 -05:00
keyan
39625f7e08 improve markdown tab spacing 2023-10-26 13:28:12 -05:00
keyan
43d3ba1807 better search layout spacing 2023-10-26 13:01:01 -05:00
keyan
e8aaf1956e fix spacing on mixed items 2023-10-26 12:52:06 -05:00
keyan
4d98110282 restore ctrl+click on item title clicking 2023-10-26 12:30:13 -05:00
keyan
02b98582b8 add spacing to comment reply button 2023-10-26 12:17:43 -05:00
keyan
41cb6ac3d8 continue notification polling even if found 2023-10-26 11:53:27 -05:00
ekzyis
cbcf80e1ba
Fix QR code overflow on mobile (#589)
Co-authored-by: ekzyis <ek@stacker.news>
2023-10-26 10:36:46 -05:00
keyan
0c9131f698 only show invoice data on full page 2023-10-23 19:58:33 -05:00
keyan
302f3459a1 fix markdown inline code and headings 2023-10-23 17:14:37 -05:00
keyan
67ec82b6d9 disambiguate preimage after payment from hold preimage 2023-10-23 16:44:09 -05:00
keyan
3929593d90 don't poll for notifications if we already know 2023-10-22 16:26:52 -05:00
keyan
7b0021d933 enhance youtube embeds in markdown 2023-10-22 13:28:18 -05:00
keyan
b853cacfa7 simplify optional text on link 2023-10-22 11:54:27 -05:00
G
40f63baa05
Embed Youtube videos in posts for valid Youtube URLs (#572)
* Render video if it's valid Youtube URL

* Fix lint
2023-10-22 11:13:16 -05:00
rleed
e713387920
migrate to ThreadSubscription model and enable self-unsubscribe (#569)
Co-authored-by: rleed <rleed1@pm.me>
2023-10-22 11:00:23 -05:00
rleed
92c5303d81
Add optional text input for link posts (#558)
* add link comment functionality

* handle anon case

* revise info text

* simplify by using item.text

* remove hint

* cleanup

---------

Co-authored-by: rleed <rleed1@pm.me>
2023-10-22 10:55:50 -05:00
keyan
d1db762ecb don't show link share failure when close share options 2023-10-20 20:27:07 -05:00
SatsAllDay
56111efd6a
SN wallet transaction details (#550)
* display bolt11 info and preimage for invoices

* Remove preimage attempt for wdrwl, since it doesn't make sense

Other various code cleanup

* Only include preimage for confirmed paid and settled invoices
2023-10-20 19:25:22 -05:00
Keyan
01f36184b1
Merge pull request #565 from SatsAllDay/share-url
Dynamic protocol, host for share URLs so they work on localhost and in prod
2023-10-20 19:07:46 -05:00
ekzyis
cac956b88d Fix typo 2023-10-18 16:50:33 +02:00
keyan
e12e2481f4 nofollow on unqualified content 2023-10-16 13:44:07 -05:00
keyan
a19b392787 fix duplicate key issue when rendering search highlights 2023-10-15 16:13:54 -05:00
keyan
0daff7a01f update packages 2023-10-15 15:43:06 -05:00
Satoshi Nakamoto
411c08d9e8 Dynamic protocol, host for share URLs so they work on localhost and in prod 2023-10-15 13:45:21 -04:00
keyan
8f034f0e0a fix corner cases in lightning address autosuggestions 2023-10-12 15:29:22 -05:00
keyan
6516ce9c9e don't immediate clear mention suggestions on blur (in case clicking a suggestion) 2023-10-12 13:45:29 -05:00