Commit graph

138 commits

Author SHA1 Message Date
Sean Yesmunt
37f18abb26 copy 2020-09-29 17:12:32 -04:00
Sean Yesmunt
248e578422 new comments 2020-09-29 17:12:32 -04:00
Sean Yesmunt
19fb7d7f06 new layout 🕺 2020-09-29 17:12:32 -04:00
infiinte-persistence
02d2962004 MarkdownPreview: Replace 'lbry://' link with a stub when previewing an edit.
## Issue
4797: Markdown preview breaks when using a lbry link in angle brackets

This is similar to the Embed case in commit dbcd677e.

## Change
Replaced it with a dummy link that looks like what the final outcome would be, but would not be clickable.

Again, similar to the embed case, unless there is a way to pass the store over, I don't have an alternative that makes sense: Adding a dummy router or replacing it as a regular <a> will just make React spew security errors.

Not being able to click it is not ideal as we (as a user) can't verify our links, but it's better than the current case of not rendering anything at all.
2020-09-29 12:11:25 -04:00
infiinte-persistence
dbcd677e69 MDE: Replace the iframe with a stub in "edit + preview" mode.
## Issue
4644: Markdown Preview breaks when <iframe> is present

Error: "Invariant violation: could not find 'store' ..."

## Change
Until we figure out a way to pass the store to the SimpleMDE preview formatter, just replace the embed with a stub region.
2020-09-16 16:15:27 -04:00
sanabhass
2ae3484363 Support for auto-detection of direction for component with varying content 2020-08-21 11:50:40 -04:00
Sean Yesmunt
692862c769 collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
btzr-io
a565f7c5df fix labeling and rename some strings 2020-08-04 11:49:12 -04:00
Sean Yesmunt
c65afb201d fix embedded link for encoded url 2020-07-30 17:20:39 -04:00
infiinte-persistence
0ab5ca080e Fix 'Related' being loaded on Autoplay despite not visible.
## Issue
In the `Autoplay` case, if the `WaitUntilOnPage` has already opened the gates previously, the next video's Related will be loaded regardless of scroll position.

## Changes
Add a `lastUpdateDate` prop to `WaitUntilOnPage` to allow the parent to reset the gating state.

I don't really like the `lastUpdateDate` prop since it's purpose is not intuitive. Is there a standard way to do a "one-time trigger" from the parent?
2020-07-29 17:56:38 -04:00
infiinte-persistence
1383b19817 WaitUntilOnPage: Debounce to fix false positives.
There are cases where `WaitUntilOnPage` will incorrectly render, such as at the beginning if the upper components hasn't expanded to full size, so `WaitUntilOnPage` would be briefly visible.

Added a 300ms debounce to fix this, which would also improve scrolling performance a bit by doing less. Hopefully 300ms is enough for the upper components to inflate to full size.
2020-07-29 17:56:38 -04:00
Sean Yesmunt
e10647b5a2 hide some file page buttons with SIMPLE_SITE flag 2020-07-27 10:48:05 -04:00
Sean Yesmunt
201417efcf Publish => Upload 2020-07-27 10:48:05 -04:00
Sean Yesmunt
90327a72ed add comments behind a flag 2020-07-23 11:03:00 -04:00
eatdostacos
9b10b775cd Add a LBRY status card to help page with links to new FAQ page and status page 2020-07-14 15:58:02 -04:00
infiinte-persistence
92be15ae04 ShareModal: Change "..." icon to "Links" 2020-07-07 09:29:05 -04:00
Sean Yesmunt
259f51abd6 style pass for channel edit
clean up sections and improve navigation handling

cleanup + image upload modal styling
2020-07-01 22:04:23 -04:00
jessop
36f93343f6 new channel creating and editing 2020-07-01 22:01:48 -04:00
eatdostacos
3d4f0a93b5 Add logos to custom logos page 2020-06-22 10:49:21 -04:00
infiinte-persistence
a20ea08ac7 Show "unmute" option on videos automatically muted by browser.
Implementation:
- The code is placed in <VideoJs> instead of <VideoViewer> as we need to control the video itself. It's more self-contained here, rather than trying to pass refs around between parent and child.
- useState cannot be used as it will cause a re-render when the hint it clicked and dismissed. The DOM is used to hide the button.
2020-06-16 17:14:22 -04:00
infiinte-persistence
fe431c30a7 SimpleMDE: Add character-count display and standardize look with basic editor's. 2020-06-15 10:53:17 -04:00
infiinte-persistence
805904360e Set "Description" field limit to 5000 characters.
This applies to both Channel and Claim description.
2020-06-15 10:53:17 -04:00
infiinte-persistence
749b13e3eb Rename: "constants/comments.js" --> "constants/form-field.js" 2020-06-15 10:53:17 -04:00
infiinte-persistence
96041e8b09 SimpleMDE: Add character limit functionality. 2020-06-15 10:53:17 -04:00
Sean Yesmunt
019d1f9176 tip/support marriage 2020-06-15 10:50:01 -04:00
infiinte-persistence
ae82b3fc05 Create transient "status bar" to display the hover URL.
Implementation:
- <StatusBar> listens to 'update-target-url' and will show/hide itself as needed.
- Handled the display of "lbry://" protocol.

CSS:
- The colors chosen should work on both Light and Dark Theme.
- The delay is necessary to avoid blinkies when the mouse is moving around.

#4259
2020-06-04 10:31:06 -04:00
Sean Yesmunt
e7cdd6c13d moonpay 2020-06-03 14:16:43 -04:00
Sean Yesmunt
a0ace5ca58 add refresh icon to refresh buttons 2020-06-02 16:10:43 -04:00
Sean Yesmunt
3d352593f3 defer rendering related/comments until user scrolls down 2020-06-01 10:28:13 -04:00
jessop
e3c2919373 rename lbrytv to web
language and API consts

improve customization
custom homepages
get config from .env.default
custom title and logo

small changes

add pinned item to sidebar

rebase?
2020-05-25 17:21:02 -04:00
infiinte-persistence
fffd2f1576 FormField: add an optional quick-action button for 'markdown' and 'textarea'.
Technically, the other modes can have a quick-action button as well, but for now it's not implemented since it's unlikely to be used.

The first usage will be to house the "toggle markdown editor" button, but it can be used for anything. The caller will handle the action.

It will be located at the upper-right, which is a better place for such a button. Putting the "toggle markdown editor" button on the bottom seems too far away and seems to make the 'Done|Cancel' area too busy/cluttered.
2020-05-25 10:32:26 -04:00
Baltazar Gomez
ca4bbf53df
Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
Sean Yesmunt
c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
Sean Yesmunt
919f82ba94 purchases page, cleanup on pages with <ClaimList /> 2020-05-11 12:31:22 -04:00
btzr-io
276f42f5e7 force new lines to render on markdown preview: fix #2390 2020-05-11 09:44:29 -04:00
Jeffrey Fisher
fda372e565 Open hyperlinks in new tab
Closes #3467
2020-05-06 14:23:21 -04:00
Sean Yesmunt
f99ce16a67 improve header markup for voiceover and add aria-expanded attribute for cards 2020-04-30 15:17:32 -04:00
Sean Yesmunt
8d888d3e23 improve floating behavior when coming from embeds 2020-04-30 15:13:45 -04:00
Sean Yesmunt
9923df7b19 let browser validate iframe markup 2020-04-30 10:13:01 -04:00
Sean Yesmunt
1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt
a5cc1a84aa add card style for lists of claims 2020-04-29 15:37:39 -04:00
Sean Yesmunt
cf4bbc3f26 update icon for lbc earned analytics card 2020-04-24 09:15:25 -04:00
jessop
24eb0c2aea review changes 2020-04-15 11:12:29 -04:00
jessop
fdd20ef350 use txo list for wallet page:
paginated
enable revoking
filtering

txo pagination changes

move constants

remove fetchTransactions() calls

review changes

final changes
2020-04-15 11:12:29 -04:00
Sean Yesmunt
2677cd17d8
new signin/signup (#3960)
* new signin/signup

* cleanup and password reset

* new flow working

* cleanup

* add 'autoComplete' props

* fix prop

* try to call email/confirm before resetting password

* Dont use password reset token for email confirmation.

* add password reset

* password manager improvements

* update lbryinc

* cleanup

* slightly improve close button on sign up page

* moar fixes

* fix password autofil

Co-authored-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2020-04-13 15:16:07 -04:00
Sean Yesmunt
f177f2dbb9 fix expand button style on mobile 2020-04-10 16:48:31 -04:00
jessop
9faca8da2b adds tip unlock modal to file page
i18n messages, handle error case max

copy copy

update @lbry/components and tweak range styles

sigfigs

error catching and cleanup

apply review changes

style table and unlock button

handle tip errors

separate fileDescription from fileDetails

make expandable cards

ui tweaks

tweak copy, style, behavior

remove unused strings

forgot an important line
2020-04-02 08:54:43 -04:00
Jeremy Kauffman
872259b73a
File downloads and refactoring (#3918)
* am I done?

* post diff

* unused selector cleanup

* missed commit

* mess with button styles

* fix flow

Co-authored-by: Jeremy Kauffman <jeremy@lbry.io>
Co-authored-by: Sean Yesmunt <sean@lbry.io>
2020-04-01 14:43:50 -04:00
Sean Yesmunt
419b3890cd improve share modal 2020-03-30 09:40:23 -04:00
Sean Yesmunt
4cc402e8e0 improve mobile nag style 2020-03-26 11:57:31 -04:00
seanyesmunt
a4f1a2e224 add badge to analytics page link 2020-03-19 12:12:19 -04:00
seanyesmunt
bc32341aab initial commit for creator analytics 2020-03-19 12:12:19 -04:00
Sean Yesmunt
f9284b6e1a show error message on thumbnail/cover photo upload fail 2020-03-16 14:52:29 -04:00
Sean Yesmunt
e2c476dbf9 add error nag when api performance is degraded 2020-03-13 12:57:32 -04:00
jessop
9dc9d50e19 add options card to claim search
changes

almost done

wip

wip

more

changes after comment

detect custom qs and show options

ux and mobile styling

bugfix

console logs

appstrings
2020-02-28 13:30:29 -05:00
Sean Yesmunt
3e08d8e231 basic channel discovery in first run 2020-02-28 09:37:31 -05:00
Sean Yesmunt
d783d2a24f style fixes 2020-02-21 17:09:20 -05:00
Sean Yesmunt
df748878e1 update copy and add help link 2020-02-21 16:09:10 -05:00
Sean Yesmunt
00485532d5 add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
Sean Yesmunt
96d3ae1954 fix title not showing on publish tags section 2020-02-13 13:12:13 -05:00
Sean Yesmunt
c9e759fc9f add youtube verified message 2020-02-12 14:11:13 -05:00
Sean Yesmunt
776de49c15 basic repost UI 2020-02-11 11:09:55 -05:00
Jeremy Kauffman
228dc1c96a fix lbry:// links on desktop 2020-02-05 10:36:33 -05:00
Sean Yesmunt
e290cec7b8 fix rebase 2020-01-31 16:30:51 -05:00
Oleg Silkin
b44d2f59e8 Adds comment actions menu & implements their actions 2020-01-31 16:30:51 -05:00
Sean Yesmunt
77e26eb440 basic display of reposts in app 2020-01-31 12:50:19 -05:00
Sean Yesmunt
1bc4bdc8d8 icon cleanup 2020-01-29 11:22:35 -05:00
Sean Yesmunt
01e6fe8e68 add file icons to ClaimPreview 2020-01-29 11:22:35 -05:00
Sean Yesmunt
c6230ba024 enable spellcheck 2020-01-24 15:32:22 -05:00
Sean Yesmunt
ba675f48c9 new homepage 2020-01-20 12:09:57 -05:00
Yamboy1
25897d935f Clear the internal file selector after clearPublish 2020-01-16 11:29:22 -05:00
Oleg Silkin
2690ea7fe3 adds null check to tabsRect 2020-01-13 13:32:03 -05:00
Sean Yesmunt
0fe07b05c0 mobile cleanup plus some font fixes 2020-01-08 14:21:52 -05:00
Sean Yesmunt
e7c0ee59e4 add New icon 2020-01-07 16:09:26 -05:00
Dalton
cbdb9eaa49 fixed comment 2020-01-06 12:35:32 -05:00
Dalton
bd4de2fc4e fixes #3383 by formatting lbry links differently 2020-01-06 12:35:32 -05:00
Jeremy Kauffman
4038b527d6 more i18n cleanup 2020-01-03 16:58:12 -05:00
Sean Yesmunt
f89d13885b add new 'create' header menu 2020-01-03 14:25:00 -05:00
Sean Yesmunt
a8711c027f navigation redesign 2020-01-02 18:16:54 -05:00
Sean Yesmunt
86cfa746de mobile view 2019-12-20 15:03:18 -05:00
Sean Yesmunt
ef27683726 fix file upload limit error 2019-12-10 10:08:14 -05:00
Sean Yesmunt
e00f89b890 cleanup 2019-12-09 10:04:07 -05:00
Oleg Silkin
b389a4e139 Adds icons for claim-list alt control buttons & styles them 2019-12-09 10:04:07 -05:00
Sean Yesmunt
2944ed3664 add open in app link 2019-12-06 16:16:14 -05:00
Sean Yesmunt
d7d8b2f39a Revert "move upgrade prompt to a <Nag />"
This reverts commit 0c125ed2b9.
2019-12-06 16:05:10 -05:00
Sean Yesmunt
0c125ed2b9 move upgrade prompt to a <Nag /> 2019-12-06 15:59:05 -05:00
Sean Yesmunt
15815e5071 remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00