1
0
forked from Kieran/snort
Commit Graph

2021 Commits

Author SHA1 Message Date
ad2029d1d7 no hover bg color in notecreator 2024-01-12 00:09:44 +02:00
20d3fdaa6e chore: Update translations 2024-01-11 21:51:15 +00:00
69d6dfd5d6 rename SendSats -> ZapModal 2024-01-11 23:47:25 +02:00
c8dae9fae6 split SendSats 2024-01-11 23:33:24 +02:00
649bab228b split notefooter into smaller components, CONFIG.showPowIcon 2024-01-11 23:04:43 +02:00
edca8a9636 chore: Update translations 2024-01-11 14:40:01 +00:00
9bdf60a24f extract zap button component from note footer 2024-01-11 16:32:52 +02:00
dffb33bfda notefooter icons 2024-01-11 15:46:13 +02:00
de6685ade3 show zapper avatars on the same notefooter row 2024-01-11 15:46:13 +02:00
d45d601712 chore: Update translations 2024-01-11 10:00:36 +00:00
c75ab861b5
fix: muted note styles
closes #721
2024-01-11 09:54:11 +00:00
3fe6ed952c
Merge remote-tracking branch 'kamal/enhancements/snort#702' 2024-01-11 09:38:50 +00:00
8090bb1718
chore: add jeremy 2024-01-11 09:32:43 +00:00
501ad41fff chore: Update translations 2024-01-11 09:24:36 +00:00
ee01623bf1 memoize proxyimg 2024-01-11 11:19:16 +02:00
eb9cf7f361 fuzzy search on search page 2024-01-11 10:54:27 +02:00
45f66fd139 gallery img sizing 2024-01-11 09:21:30 +02:00
8043f1034f chore: Update translations 2024-01-11 07:14:00 +00:00
76d3c78c0a replied note auto height, resized feed imgs 2024-01-11 08:56:23 +02:00
ab8121c4b2 fix broken proxyimg placeholder 2024-01-10 23:26:51 +02:00
d3c9fef9af smaller avatar cache, exclude gifs from img cache 2024-01-10 23:01:11 +02:00
8c8a7c7e88 avatar image sw cache 2024-01-10 22:49:36 +02:00
cb233f4ccb cacheableresponse plugin fixes img sw cache 2024-01-10 22:16:04 +02:00
8cca297d6d eslint: react-refresh/only-export-components error 2024-01-10 21:13:08 +02:00
a3fc25f64c show media in replied note 2024-01-10 21:00:39 +02:00
a1f61e2d13 limit replying-to note size 2024-01-10 20:54:48 +02:00
51758eaf5e separator border in replying to note 2024-01-10 20:32:51 +02:00
5baffd00b9 fix the rest of warnings 2024-01-10 20:21:19 +02:00
e6a42db658 fix more warnings, store transformed text in LRUCache of 1000 2024-01-10 19:54:01 +02:00
8e37e0fbed fix some warnings 2024-01-10 19:31:37 +02:00
7220435d15 chore: Update translations 2024-01-10 16:50:28 +00:00
53488a9c59 memoize imagegriditem 2024-01-10 18:48:36 +02:00
1278867ad0 search page routing, resized grid images 2024-01-10 18:25:24 +02:00
baf6cc34ee reorganize, fix some fast refresh warnings 2024-01-10 18:03:52 +02:00
071eed0d8c search page params 2024-01-10 17:44:54 +02:00
6f9a1fd706 middle column pb-[50vh] 2024-01-10 17:34:12 +02:00
90342325fd eslint warning fixes 2024-01-10 17:29:24 +02:00
b686b8ff26 useBadgesFeed fix 2024-01-10 17:23:18 +02:00
835385836f chore: Update translations 2024-01-10 14:51:13 +00:00
93608f817f show zap pool notification only if wallet is ready 2024-01-10 16:36:37 +02:00
9e2582ac81 show only 1 task at a time 2024-01-10 16:36:30 +02:00
35d7ec4685 followed by foafs 2024-01-10 16:36:23 +02:00
062212f311 useHistoryState for TimelineFollows latest time 2024-01-10 16:36:16 +02:00
52adf6fb1f store link previews in lrucache to prevent layout shift 2024-01-10 16:36:09 +02:00
90b15ee668 error page, sw 2024-01-10 16:36:02 +02:00
7be4b0bd18 rm custom sw registration, vite-plugin-pwa handles 2024-01-10 16:35:54 +02:00
b8cdb4bf58 chore: Update translations 2024-01-10 10:10:18 +00:00
cf6b431d73 sw fix 2024-01-10 12:01:45 +02:00
91f0afdb89
fix: build 2024-01-09 18:55:42 +00:00
8a5a089b4d
Merge remote-tracking branch 'origin/main' 2024-01-09 16:40:51 +00:00
80fa5a132b
refactor: reactions grouping and other fixes 2024-01-09 16:40:31 +00:00
1a4a76d7fa chore: Update translations 2024-01-09 13:25:01 +00:00
7073e8d9dd trackEvent in ErrorBoundary, disable trackEvent in dev 2024-01-09 15:22:26 +02:00
376096c5af chore: Update translations 2024-01-09 13:03:40 +00:00
3eeeee4b06 use queueMicrotask instead of setTimeout 0 2024-01-09 14:56:26 +02:00
4455651d47
refactor: Query emits Filters 2024-01-09 12:54:07 +00:00
8216cb8741 note creator style, rm hashtags 2024-01-09 14:52:08 +02:00
18beed13c3 thread inView rendering 2024-01-09 14:07:39 +02:00
3dbbe5b0f0 fix timeline note waitUntilInView rendering 2024-01-09 13:58:33 +02:00
64b0329ffe fix adding profiles to search 2024-01-09 13:36:23 +02:00
2624920c65 setTimeout instead of requestAnimationFrame 2024-01-09 12:50:20 +02:00
6026ed34a8 on init, load cached profiles to fuzzy search 2024-01-09 12:38:39 +02:00
45245153ab
refactor: dont inject analytics script 2024-01-09 10:30:55 +00:00
44983068e4 ProxyImg initial src 2024-01-09 12:15:23 +02:00
7a409c1455 system-react module entrypoint, reaction loading memos 2024-01-09 12:07:14 +02:00
bbdfb43834
system-worker progress 2024-01-09 09:30:09 +00:00
24e145a0a0 chore: Update translations 2024-01-09 08:56:15 +00:00
4b5c87acdf primary button color 2024-01-09 10:53:40 +02:00
98e671ee45 chore: Update translations 2024-01-09 08:34:26 +00:00
a68cdeeb20 navbar wallet layout 2024-01-09 10:32:14 +02:00
53754a5a69 fix build 2024-01-09 10:11:52 +02:00
898d8bfe02 chore: Update translations 2024-01-09 07:46:21 +00:00
3a42ec9029 correct iris username length prompt 2024-01-09 09:41:30 +02:00
927718e236
chore: typo 2024-01-08 15:15:48 +00:00
5d3abc553a
feat: NoteStore event-emitter 2024-01-08 15:10:23 +00:00
ca2cb76380 constant onClick param in some Notes 2024-01-08 16:34:22 +02:00
8a75b5bce8 chore: Update translations 2024-01-08 14:15:39 +00:00
c80eb25d29 MetadataCache -> CachedMetadata, addCachedMetadataToFuzzySearch 2024-01-08 16:12:43 +02:00
88924941a5
feat: NostrQueryManager 2024-01-08 13:56:10 +00:00
cae865a3e7
feat: emit closed 2024-01-08 13:56:10 +00:00
add3b45fcd chore: Update translations 2024-01-08 13:47:40 +00:00
d3bc1b1c1d note options constant param 2024-01-08 15:42:25 +02:00
a20c8dbbf4 add requestAnimationFrame to socialgraph handleevent 2024-01-08 14:44:51 +02:00
5cae0ffeed
chore: upgrade lnc dependency 2024-01-08 12:41:22 +00:00
0bb758ae41 chore: Update translations 2024-01-08 12:26:08 +00:00
30b21cfe91
fix: image meta 2024-01-08 12:23:48 +00:00
84bda4e33d NoteHeader, NoteInner -> Note 2024-01-08 14:06:30 +02:00
2fbe90a39e
chore: formatting 2024-01-08 11:35:56 +00:00
d25b6ef5f1
chore: remove unused config 2024-01-08 11:35:56 +00:00
185aca0442
refactor: remove event caches 2024-01-08 11:35:56 +00:00
08241bbbf6
refactor: prevent duplicate preload 2024-01-08 11:35:56 +00:00
a54924f339
refactor: extract imeta directly in text parser 2024-01-08 11:35:55 +00:00
29ca482511
refactor: remove slow sha256 from interaction cache 2024-01-08 11:35:55 +00:00
13da7f822c
refactor: reduce hexToBech32 calls 2024-01-08 11:35:55 +00:00
e6e7878e31 ReplyTag component 2024-01-08 13:35:34 +02:00
7c21747d7f chore: Update translations 2024-01-08 11:29:23 +00:00
5adaed2737 Note -> EventComponent, split NoteInner 2024-01-08 13:16:42 +02:00
615f3ca504 useReactions leaveOpen false 2024-01-08 13:16:42 +02:00
79fad227c5 smaller inMemoryDb 2024-01-08 13:16:42 +02:00
b6023a8d95 waitUntilInView = index > 5 2024-01-08 13:16:42 +02:00
11e616c612 rm related prop 2024-01-08 13:16:42 +02:00
e905b4134d dont pass related to notes 2024-01-08 13:16:42 +02:00
26a3e95086 add why-did-you-render 2024-01-08 13:16:42 +02:00
5db33314a8 chore: Update translations 2024-01-08 10:31:49 +00:00
9ec27bcea3
feat: track hashtags input usage 2024-01-08 10:25:31 +00:00
27210f91ae
chore: disable toast 2024-01-08 10:20:57 +00:00
283d5cafb3 chore: Update translations 2024-01-07 18:50:05 +00:00
02e6d5c98c
fix: created_at on refresh 2024-01-07 18:44:07 +00:00
b40a8cb9ad do not modify filters in place 2024-01-07 13:40:01 +02:00
cb8318df56
chore: add sitemap 2024-01-06 23:59:19 +00:00
1aadda1c6b try disabling alreadyHave check 2024-01-06 01:05:23 +02:00
39f4ee9c2b
fix: wallet save 2024-01-05 20:54:46 +00:00
40912bc979 chore: Update translations 2024-01-05 20:16:09 +00:00
5eaffcae7d
fix: warn on unused vars 2024-01-05 20:15:06 +00:00
e3d282578d
chore: disable cashu 2024-01-05 20:10:24 +00:00
afcee97131
fix: refresh from getBalance 2024-01-05 20:08:45 +00:00
3a2facd899 send not filter to relays that support nip-113 2024-01-05 14:02:42 +02:00
aa938034c5 fix build 2024-01-05 13:42:50 +02:00
dee9a3de2c add filter.not.ids = [alreadyHave] from memory 2024-01-05 13:21:18 +02:00
cc753d5708 system.HandleEvent 2024-01-05 12:56:46 +02:00
f9302f3917 move InMemoryDB to system 2024-01-05 12:41:48 +02:00
3eb290a594 move InMemoryDB to system 2024-01-05 12:38:04 +02:00
f39831dde8 chore: Update translations 2024-01-05 10:18:57 +00:00
1a9e571b0f use InMemoryDB instead of seenEvents LRUSet 2024-01-05 12:14:53 +02:00
29a8db28dd idb read queue 2024-01-05 01:17:57 +02:00
70b85dcc9c disable seenEvents check in connection 2024-01-05 01:05:46 +02:00
956871e5e5 fix idb unique indexes 2024-01-05 00:09:46 +02:00
c4b74b3cb1 hide broken banners 2024-01-04 23:35:48 +02:00
2f9fee56b1 idb query by all tags 2024-01-04 23:24:37 +02:00
b3f04c8cd9
fix: refresh token 2024-01-04 20:43:51 +00:00
e73aa303a8 fix build 2024-01-04 22:36:31 +02:00
f82109b6b3 fix idb search, only 1 read query at a time 2024-01-04 22:32:51 +02:00
2fa4065414 chore: Update translations 2024-01-04 19:36:46 +00:00
eefbc49384 reactions refactor, fix Tabs 2024-01-04 21:34:07 +02:00
db074316d7 sort reactions by follow distance 2024-01-04 21:26:09 +02:00
629099670c chore: Update translations 2024-01-04 17:43:51 +00:00
2e5295a0f7 format 2024-01-04 19:41:13 +02:00
c8215b1408 NoteTime memo 2024-01-04 19:41:13 +02:00
3963db1a0a chore: Update translations 2024-01-04 17:14:23 +00:00
daad0bbe76
fix: add account:read for alby 2024-01-04 17:12:52 +00:00
2e97546ab0 chore: Update translations 2024-01-04 17:04:09 +00:00
3fe3c7a98d eslint: sort imports & exports 2024-01-04 19:01:18 +02:00
046d4d97bd SortedMap.clear(), V type 2024-01-04 18:49:05 +02:00
c612da125e
fix: build 2024-01-04 16:37:12 +00:00
a976909036
fix: typo 2024-01-04 16:32:26 +00:00
a622c459d7
fix: sorted map 2024-01-04 16:31:04 +00:00
36b9538aa6
chore: fix error 2024-01-04 16:21:50 +00:00
f2bcd1100d chore: Update translations 2024-01-04 16:15:41 +00:00
5d259cee95 store events in SortedMap to avoid sort on render 2024-01-04 18:12:34 +02:00
47d92fe171
chore: formatting 2024-01-04 16:11:10 +00:00
7bc00b4624
feat: cashu wallet setup
feat: wallet send/receive pages
2024-01-04 16:10:52 +00:00
1e08702072 assets dir 2024-01-04 16:47:33 +02:00
afa6d39a56 reorganize code into smaller files & dirs 2024-01-04 15:48:19 +02:00
5ea2eb711f move wasm and system out of index.tsx 2024-01-04 15:15:46 +02:00
e08da34aa8 eslint errors fixed 2024-01-04 14:33:20 +02:00
c773ea0a0f chore: Update translations 2024-01-04 12:27:11 +00:00
eeb6ec9dd8 eslint fixes 2024-01-04 14:21:42 +02:00
9f88b44b91
feat: finish alby wallet 2024-01-04 12:05:13 +00:00
0442c3512c
chore: fix more warnings 2024-01-04 11:04:52 +00:00
13f4ec3f30
chore: fix some eslint warnings 2024-01-04 10:45:58 +00:00
2a2c713486 eslint: react-refresh, react-hooks 2024-01-04 12:32:43 +02:00
b143520901 add eslint-plugin-react 2024-01-04 11:43:17 +02:00
26146106d4 chore: Update translations 2024-01-04 08:50:58 +00:00
d31a03a565 use seenEvents in IndexedDB 2024-01-04 10:44:46 +02:00
287ce32690 use LRUSet to skip already seen event processing 2024-01-04 10:36:23 +02:00
c2899eac26 disable indexedDbEvents in iris for now 2024-01-04 10:19:48 +02:00
0043b7e8bd
feat: full event verify in wasm 2024-01-03 23:20:37 +00:00
267c09a946 dont save p tags for now 2024-01-04 00:03:17 +02:00
2fa75e8e3d fuzzysearch username -> display_name 2024-01-03 23:57:51 +02:00
2a2144b59b increase idb throttle time, query by pubkey+kind index 2024-01-03 23:56:17 +02:00
7ac5bb6d41 LRUSet for seenEvents 2024-01-03 23:33:35 +02:00
38093fdf3b load all profiles from indexeddb 2024-01-03 21:29:17 +02:00
98e1be883b trending posts into system, check sigs 2024-01-03 20:22:58 +02:00
e700c97c71 chore: Update translations 2024-01-03 16:49:44 +00:00
4d9226b3b6
feat: wallet connection flow 2024-01-03 16:46:34 +00:00
0cc0a47501 fix: rm eventMatchesFilter 2024-01-03 18:34:28 +02:00
d187fbc6e5 save only followDistance <= 2 evts to idb 2024-01-03 17:39:55 +02:00
6582b4c7d5 chore: Update translations 2024-01-03 15:34:43 +00:00
acbd3a9004 package.json 2024-01-03 17:24:15 +02:00
1199418d0e check filter match on the worker side 2024-01-03 17:19:22 +02:00
395848fd8c add optional idb "relay" worker 2024-01-03 16:53:33 +02:00
8571ea0aa7 chore: Update translations 2024-01-03 10:34:35 +00:00
d840f2b952 NostrSystemEvent "event" id -> subId 2024-01-03 12:27:05 +02:00
43591c4ce6 chore: Update translations 2024-01-02 18:20:53 +00:00
bc7ec4d77f
feat: new wallet design 2024-01-02 18:11:44 +00:00
0d10122394
fix: event hook 2024-01-02 16:06:43 +00:00
8bbbd11f7a
fix: nwc history 2024-01-02 16:05:21 +00:00
7c8136b503
fix: check sig exists 2024-01-02 15:51:19 +00:00
6ad99e7e95 ProxyImg fix 2024-01-02 10:24:34 +02:00
f7d8d1de16 chore: Update translations 2024-01-02 07:38:33 +00:00
2c14d64a95 NoteInner prop waitUntilInView = false 2024-01-02 09:33:22 +02:00
81c9285d46 proxyimg fix 2024-01-02 01:30:10 +02:00
6928ad04d7 chore: Update translations 2024-01-01 22:59:18 +00:00
19eeb890ac broken img placeholder fix 2024-01-02 00:54:25 +02:00
3d98532e40 chore: Update translations 2024-01-01 22:32:53 +00:00
4bbad0563b useMemo in Avatar 2024-01-02 00:25:44 +02:00
13fc3bb843 notetime init value 2024-01-02 00:21:30 +02:00
7b72f9f775
chore: formatting 2023-12-28 17:40:53 +00:00
c2e1215667
refactor: extract connection pool
wip: setup system-worker
2023-12-28 17:40:26 +00:00
e7e7fdc14d chore: Update translations 2023-12-27 20:42:52 +00:00