ekzyis
5c55afc97c
Fix no dupes check after link unshortening
2023-05-21 12:50:14 -05:00
ekzyis
4af445d242
Fix fetched data not shown if last action was title clear
...
There are two flows when clearing both inputs:
1. First clear title, then clear URL, then enter new URL
In this case, new data will be fetched when the URL is cleared since the title is empty. Due to the fetch with empty variables, the fetched data is essentially reset.
Entering a new URL thus triggers a new fetch (since title is still empty) and the fetched data is shown since it is different compared to the previous render.
2. First clear URL, then clear title, then enter new URL
In this case, new data will not be fetched when the URL is cleared since the title is not empty.
When entering a new URL, new data is fetched but will not be shown since the fetched data was never reset and thus did not change compared to the previous render.
This is fixed by always either a) resetting the fetched data or b) fetching new data if the URL changed.
2023-05-21 12:27:01 -05:00
keyan
df1f1a483a
require sub selection, allow editting
2023-05-10 19:30:51 -05:00
keyan
1a5d8880dd
decapitalize all caps titles
2023-05-06 10:54:04 -05:00
keyan
b406f0c340
avoid db dip for sub
2023-05-05 12:39:57 -05:00
keyan
a241d683d8
nostr sub
2023-05-01 15:58:30 -05:00
keyan
d6c92fec62
prevent layout shift when loading dupes
2023-04-26 13:02:42 -05:00
ekzyis
f2f205dc80
Disable post button for 3 seconds max
2023-04-26 13:02:42 -05:00
ekzyis
259b5b7a36
Don't run dupes query empty
2023-04-26 13:02:42 -05:00
ekzyis
29bee1c740
Show dupes loading
2023-04-26 13:02:42 -05:00
ekzyis
d43c7cc222
Disable post button while dupes are loading
2023-04-26 13:02:42 -05:00
keyan
4cae1ae230
reuse validation on server
2023-02-08 13:39:53 -06:00
keyan
10ff3fa1c3
delete
2023-01-13 11:52:18 -06:00
keyan
ed153b5199
add similar section to posts
2023-01-12 14:30:17 -06:00
keyan
9823969418
unshorten links
2023-01-12 12:05:47 -06:00
keyan
2080cb896d
lexical beta test url
2023-01-05 13:24:09 -06:00
keyan
016e357ebd
clear inputs
2022-08-30 17:02:45 -05:00
keyan
388c7d0240
full powered editing
2022-08-18 13:15:24 -05:00
keyan
ddb4a30c4b
spam fees
2022-08-11 15:38:10 -05:00
keyan
d7210662b3
limit title length to 80 characters
2022-07-13 10:49:55 -05:00
keyan
d978ff5ea5
forward tips from posts
2022-04-19 13:32:39 -05:00
keyan
822fa9113a
refactor link/dicussion to upserts and reuse more code
2022-04-18 17:10:26 -05:00
keyan
2b594109ea
WIP forward
2022-04-18 15:19:07 -05:00
keyan
e9e48d5aae
better regex for url validation
2022-03-10 16:00:04 -06:00
keyan
d40b0ae063
fix double posting on slow connections
2022-03-10 12:25:16 -06:00
keyan
e42f1d6bb9
WIP save drafts of posts
2022-01-07 12:28:23 -06:00
keyan
9a96879e46
on new post take user to recent
2022-01-07 10:50:41 -06:00
keyan
2d320513f0
remove extra logging
2021-10-28 17:29:02 -05:00
keyan
c80e4d107c
dupe alerts on link posts
2021-10-28 15:49:51 -05:00
keyan
4421dd6e6e
network-only fetch for link title
2021-10-27 11:03:43 -05:00
keyan
e4c1c2f1e1
refine tipping
2021-09-12 11:55:38 -05:00
keyan
650ad03de5
move boost to post creation
2021-09-11 16:52:19 -05:00
keyan
f4c108951d
give autofocus to url field in link post
2021-08-24 15:03:02 -05:00
keyan
ce0e3dac45
auto-populate link title
2021-08-22 10:25:17 -05:00
keyan
9fce2154f6
reuse formatted countdown component
2021-08-11 15:34:10 -05:00
keyan
a48cd33db3
edit posts - links and discussions
2021-08-11 15:13:10 -05:00