Commit graph

9980 commits

Author SHA1 Message Date
Anthony
9afe5fb6ca
calculate the total amount of unique creators tipped 2021-07-29 22:27:55 +02:00
Anthony
1ea40afd42
adding last features 2021-07-29 22:09:16 +02:00
Anthony
974ad1f379
More touchups 2021-07-29 21:58:18 +02:00
Anthony
56facb7b9e
cleanup 2021-07-29 21:01:21 +02:00
Anthony
dff8e917b0
about to add last couple features 2021-07-29 20:41:26 +02:00
Anthony
c0e49c5643
showing total tipped amount 2021-07-29 19:45:16 +02:00
Anthony
83ea59b794
approaching something thats working 2021-07-29 19:29:05 +02:00
Anthony
35c73b00f8
working but in the wrong component 2021-07-29 19:09:30 +02:00
Anthony
53980f9aaf
display if no transactions or subs 2021-07-29 18:49:07 +02:00
Anthony
b50687148d
show filler for subscriptions 2021-07-29 18:44:32 +02:00
Anthony
1affe0a77d
show payments successfully 2021-07-29 18:32:50 +02:00
Anthony
4d24627291
some renaming 2021-07-29 17:45:02 +02:00
Anthony
dbe35f4e40
add card last 4 to transaction history 2021-07-29 14:22:46 +02:00
Anthony
df93f795b6
add third tab 2021-07-29 14:18:16 +02:00
Anthony
f60e6b4802
about to add a third tab 2021-07-29 13:48:33 +02:00
Anthony
a6b4a84c14
add no transactions thing 2021-07-29 13:27:01 +02:00
Anthony
89ff6f2c66
transaction listing working 2021-07-28 23:10:46 +02:00
Anthony
c5b746535a
should be fine but keeps crashing 2021-07-28 19:51:29 +02:00
Anthony
394a750192
using es6 to populate data 2021-07-28 19:06:14 +02:00
Anthony
516785997f
add fiat transactions 2021-07-28 16:12:02 +02:00
Anthony
3426f20a47
fixing naming 2021-07-28 15:24:28 +02:00
Anthony
097da298b3
add wallet fiat balance 2021-07-28 15:18:06 +02:00
Anthony
16bb349194
support setting currency as the default tab via query param 2021-07-28 13:35:53 +02:00
Anthony
1978b936ad
fiat and lbc tabs coming along 2021-07-28 13:08:28 +02:00
Anthony
dae121bfe3
fixing bug caused by floating point precision 2021-07-27 19:48:57 +02:00
Anthony
3e07cf3312
reverse so newest transactions come first 2021-07-27 19:15:15 +02:00
Anthony
d97f5c97dd
one bug left but almost working perfectly 2021-07-26 21:55:21 +02:00
Anthony
368c7f069d
increase size of input value 2021-07-26 21:40:01 +02:00
Anthony
82ddbb2547
show decimals value better 2021-07-26 21:07:16 +02:00
Anthony
c7702670cf
close to working perfectly 2021-07-26 20:51:41 +02:00
Anthony
d7b1ec5037
automatically truncate to two decimals 2021-07-25 23:58:32 +02:00
Anthony
02f3e59541
show error on account connection page 2021-07-25 23:31:46 +02:00
Anthony
be91b2ccf4
add error toast for card page 2021-07-25 23:26:57 +02:00
Anthony
6105185534
add toast when someone does a tip for a comment 2021-07-25 23:17:44 +02:00
Anthony
7257d1a884
bugfix cant tip fiat if no lbc balance 2021-07-25 21:34:37 +02:00
Anthony
86be1c9b3f
refactor code a bit remove why isnt this working bit 2021-07-25 21:30:35 +02:00
Anthony
5ce3af3c4b
sum up lbc amounts 2021-07-25 20:03:54 +02:00
Anthony
2161abd844
calculate fiat tips properly 2021-07-24 23:03:09 +02:00
Anthony
070763f164
scroll properly when switching tabs 2021-07-24 22:32:51 +02:00
Anthony
87c66253cb
show superchats in order properly 2021-07-24 20:55:09 +02:00
Anthony
311a3cb721
fix frontend bug 2021-07-22 22:37:49 +02:00
Anthony
27f754ac06
bugfix not updating the frontend on account add 2021-07-22 22:03:42 +02:00
Anthony
99bb95c9a0
pull out variable for max and min fiat amounts 2021-07-22 20:05:46 +02:00
Anthony
a145c422c7
disable button if theres a fiat tip error 2021-07-22 18:47:41 +02:00
Anthony
86deadf099
add check for two decimals and fix showing error for fiat tip 2021-07-22 18:44:30 +02:00
zeppi
8919182c0c default avatar config 2021-07-22 09:44:57 -04:00
infinite-persistence
032e17cecd
Improve CLS on Posts
## Issue
6068 Fix "Cumulative Layout Shift" for Core Web Vitals

In Posts, the Comments section appears first while we fetch the MD file. When the MD is fetched, Comments get pushed to the bottom (or shifted up for short posts), hence the red CLS scores.

## Approach
There are too many layers between `<FilePage>` and `<DocumentViewer>` to pass the `loading` state around to hide the Comments section, so just make Comments fade in after a 2s delay.

## Changes
- Posts: Add 2s fade-in delay to Comments.
- Posts: remove the gray placeholder. This improves the score a bit more, and reduces flicker as well. There's already a spinner from `FileRenderInline` to tell the user to be patient.
- Posts: add a minimum 30vh height so that short posts don't get collapsed too much, causing the `FileDetails` and Comments to shift. Small shifts are fine as long as CLS is below 0.1.
2021-07-22 10:38:01 +08:00
infinite-persistence
50c606d916 claimListDiscover: don't re-render until query is done
## Issue
6542 Livestream listing and blocked list kills CLS score

This is basically a repeat of what was done on `claimTileDiscover` (homepage), but now on `claimListDiscover` (category pages).

This handles the unnecessary re-render when:
- the uri list temporarily being zero while waiting for new claim-search results.
- livestream claim-search invalidating the list.

## Changes
Store the last uri list and use that when we know that claim-search is still not done.

## Tests
1. Ran Lighthouse on category pages (force a livestream channel on it). CLS score must be green.
2. Block `claim_search` from Dev Tools and move to another category. The page should say "timed out" instead of "no results" (i.e. maintain existing behavior).
2021-07-21 21:51:12 -04:00
zeppi
1994b5da04 guidelines optional in sidenav 2021-07-21 20:26:17 -04:00
zeppi
fbf105e113 fileActions recon 2021-07-21 18:37:43 -04:00