Commit graph

9299 commits

Author SHA1 Message Date
Jeremy Kauffman
18b8712bf8 Merge pull request #96 from lbryio/fix-modal-string-bug
Fix missing $ in string interpolation in a few modals
2016-11-29 07:55:44 -05:00
Alex Liebowitz
4868efdfb9 Fix missing $ in string interpolation in a few modals 2016-11-28 18:24:55 -05:00
Jeremy Kauffman
af61b7caae Merge pull request #94 from lbryio/show-lbry-id
Help: Show LBRY ID in "About" section
2016-11-25 14:36:12 -05:00
alexliebowitz
c0fb03b994 Merge pull request #95 from lbryio/watch-download-link-improvements
Improvements to Watch and Download links
2016-11-24 23:11:04 -05:00
Alex Liebowitz
7eaeeeefb4 Wrap modal content in div to prevent flexbox layout 2016-11-24 23:03:03 -05:00
Alex Liebowitz
17d13c3a93 Properly notify when a download times out 2016-11-24 22:43:57 -05:00
Alex Liebowitz
323cedadb2 Disable Watch link on click 2016-11-24 22:43:52 -05:00
Alex Liebowitz
12afb10cbc In DownloadLink, don't check this.state.downloading on click
If this.state.downloading is true, the button will be disabled anyway.
2016-11-24 22:43:44 -05:00
Alex Liebowitz
468692b480 Make Download link switch to "Downloading" immediately on click 2016-11-24 22:43:28 -05:00
Alex Liebowitz
70076d8a9e Help: Show LBRY ID in "About" section 2016-11-23 21:35:15 -05:00
Alex Liebowitz
a0fb58415e Help: slight refactor of version section 2016-11-23 21:35:09 -05:00
Jeremy Kauffman
adb6329d9e Merge pull request #89 from lbryio/warn-invalid-chars
Reject invalid name characters on Publish page
2016-11-23 11:12:35 -05:00
Alex Liebowitz
e0d0c3f915 Publish: validate names as the user types
Rejects invalid characters and pops up a form hint explaining what
characters are allowed.
2016-11-22 01:14:22 -05:00
Alex Liebowitz
5af7916b20 Add lbry.nameIsValid() 2016-11-22 01:14:15 -05:00
Alex Liebowitz
aea1c7e6ee Convert name field into controlled component 2016-11-22 01:14:02 -05:00
alexliebowitz
6ac9853fd4 Merge pull request #88 from lbryio/better-form-hints
Convert form hints to separate component with better style (WIP)
2016-11-22 01:08:09 -05:00
Alex Liebowitz
96afd8a840 Left justify form hints 2016-11-22 01:06:24 -05:00
Alex Liebowitz
8b13f341b6 Don't render hidden form fields 2016-11-22 01:06:24 -05:00
Alex Liebowitz
b73399f4e6 Publish: prevent submit and notify user if file is not fully processed 2016-11-22 01:06:24 -05:00
Alex Liebowitz
f6f4d452b0 Add FormField.showAdvice() for displaying arbitrary form hints
Also modifies FormField.warnRequired() to use this new method
2016-11-22 01:06:20 -05:00
Alex Liebowitz
498b75c688 Convert form hints to separate component with better style 2016-11-22 01:06:15 -05:00
Alex Liebowitz
84464a8118 Add className prop to Icon 2016-11-22 01:06:04 -05:00
alexliebowitz
fd7091cbcf Merge pull request #87 from lbryio/delete-modal-buttons
My Files page: make buttons in "delete" modal work
2016-11-21 22:28:47 -05:00
Jeremy Kauffman
90b483ea7e Merge pull request #91 from lbryio/publish-my-claim-fix
Fix issue with live updating logic on Publish page
2016-11-21 18:30:15 -05:00
alexliebowitz
65ae347090 Merge pull request #84 from benyanke/patch-1
formatName - replace spaces with dashes
2016-11-21 00:18:42 -05:00
Alex Liebowitz
298c03283d Fix issue with live updating logic on Publish page
Previously, if the user typed a name that they have a claim on and
then continued typing, some of the interface would not be updated to
show that they don't have a claim.
2016-11-18 06:14:02 -05:00
Alex Liebowitz
5f5a460a6d My Files: add handler for closing delete modal 2016-11-17 23:40:24 -05:00
Alex Liebowitz
3dd961b70a My Files: make "Confirm" button in delete modal work
Was calling lbry.setState() instead of this.setState()
2016-11-17 23:40:19 -05:00
Ben Yanke
33b43477d5 formatName now using different text sanitation method 2016-11-16 13:56:04 -06:00
Job Evers‐Meltzer
68b377e7a6 Merge pull request #86 from lbryio/development
Release
2016-11-16 11:15:03 -06:00
Job Evers‐Meltzer
f8c77a96cc Merge pull request #69 from lbryio/high-level-error-handling
High-level error handling
2016-11-16 10:13:27 -06:00
Alex Liebowitz
c6104516e7 My Files: don't check stream availability when URI is absent
Previously this was failing silently, but with the new error modals
it started popping up error messages.
2016-11-15 02:33:42 -05:00
Ben Yanke
4bf4d14a24 formatName - replace spaces with dashes
Name-formatter now replaces spaces with dashes, for more readable names. This is similar to Wordpress' permalink processing.
2016-11-15 01:31:28 -06:00
Alex Liebowitz
f346739bfb More error modal appearance tweaks
- Change warning icon to PNG with different color scheme
 - Use alt style button
 - Darken backdrop
 - Add spacing under header
 - Reduce margins on all modals
2016-11-15 01:30:38 -05:00
Alex Liebowitz
46cf8915f9 Restore JSON-RPC 2.0 error keys 2016-11-15 01:30:38 -05:00
Alex Liebowitz
edeaf4f7d0 Add warning icon and dark backdrop to error dialog 2016-11-15 01:30:38 -05:00
Alex Liebowitz
7f961ccc63 Update key names in API error reporting 2016-11-15 01:30:38 -05:00
Alex Liebowitz
439f6523b1 Add close handler to error modal 2016-11-15 01:30:38 -05:00
Alex Liebowitz
8dd20edfcb Fix "missing key in ul" React warning 2016-11-15 01:30:38 -05:00
Alex Liebowitz
80302786e1 Alert on AJAX connection failures 2016-11-15 01:30:38 -05:00
Alex Liebowitz
1173cb3f57 Fix capitalization of labels in error modal 2016-11-15 01:29:51 -05:00
Alex Liebowitz
78cb810204 Error modal logic tweak
Check type instead of key name to determine whether to render value as
JSON
2016-11-15 01:29:51 -05:00
Alex Liebowitz
6e5684c18b Add styles for error modal 2016-11-15 01:29:51 -05:00
Alex Liebowitz
c36711c380 Report unhandled daemon and Lighthouse errors 2016-11-15 01:29:51 -05:00
alexliebowitz
3471184828 Merge pull request #79 from lbryio/transaction-date-placeholder
On Wallet page, show placeholder text for dates on pending transactions
2016-11-15 01:09:27 -05:00
alexliebowitz
0db4c8df13 Merge pull request #80 from lbryio/publish-page-bid-fixes
Fix issues with display of bids on Publish page
2016-11-14 12:04:07 -05:00
alexliebowitz
b437c326ef Merge pull request #81 from lbryio/fix-drawer-item-highlighting
Highlight drawer item for sub-pages
2016-11-14 12:03:21 -05:00
alexliebowitz
02a0b36673 Merge pull request #82 from lbryio/thumbnail-component
Thumbnail component
2016-11-14 12:01:50 -05:00
alexliebowitz
a1554cba5c Merge pull request #83 from lbryio/retry-search-server
Retry search on a different server if connection to Lighthouse fails (WIP)
2016-11-14 12:01:31 -05:00
Alex Liebowitz
e6fc50e01f Tweak logic for handling failed connections in lbry.jsonrpc_call()
- Move AJAX error callback declaration to the right spot (before,
   it was inside the load callback)
 - Add support for custom timeouts
2016-11-11 09:31:09 -05:00