Commit graph

9965 commits

Author SHA1 Message Date
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
zeppi
573ed1e88c recon followDisc 2021-07-21 16:58:13 -04:00
zeppi
91b908ad50 pubfile copy 2021-07-21 16:18:46 -04:00
zeppi
6ec95647e7 lbc remove file 2021-07-21 15:56:09 -04:00
infinite-persistence
4fc6b89975 Fix reposted channels incorrectly showing the channel thumb
## Issue
6589

## Notes
`parseURI` will return `isChannel=false` due to the reposted channel URL not having the '@' symbol.

Since we already have the claim object, check `value_type` directly instead.
2021-07-21 14:41:47 -04:00
saltrafael
b164a5d1f4 Pop up Menu Fixes and Improvements
Pop up Menu Fixes and Improvements

Improve re-directs

Fix file deletion

Improve code, and more

Fix List Layout collection popup

Allow to edit list

Fix blocking when not logged or no channel

Fix Edit and Delete showing for not owned Lists

Fix actions breaking when not logged in

Fix List options not showing

Lint

Shorten logic

Lint
2021-07-21 14:40:44 -04:00
zeppi
fdca58727c restore paid content 2021-07-21 12:49:56 -04:00
zeppi
3f1e5303db fix default env api 2021-07-21 11:13:03 -04:00
infinite-persistence
28e9aea290 Improve cache for hashed js files 2021-07-21 08:13:27 -04:00
zeppi
1600bb69b9 sms copy 2021-07-21 08:11:33 -04:00
infinite-persistence
6b2548cc49
Fix channel-selector thumbnail not updating
Recently changed to `<OptimizedImg>`, which was assuming the `src` never changes.

dejavu ... we also hit this issue when implementing the `IntersectionObserver` lazy-loading.
2021-07-21 16:38:54 +08:00
Dispatch
e138673d27
Merge pull request #6508 from saltrafael/live_comments
Fix 'Recent Comments' button for livestreams
2021-07-20 12:33:52 -07:00
infinite-persistence
47c41b436d RSS: Add enclosure for media
- Moved the thumbnail from 'enclosure' to 'description' by appending the thumbnail in front.
- Generate enclosure for media. It's up to readers on how they will handle it. Some will display the inline video player, some will just provide a download link.
2021-07-20 15:27:24 -04:00
zeppi
283bbb52fa disable google imasdk 2021-07-20 15:12:14 -04:00
zeppi
8674b97be8 disable aniview 2021-07-20 15:12:14 -04:00
zeppi
245709aa52 new .env.defaults 2021-07-20 14:54:22 -04:00