Commit graph

3169 commits

Author SHA1 Message Date
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
Alex Liebowitz
e0d68a9619 Move lbry.search() to lbry.lighthouse and add connection retry logic 2016-11-11 09:27:47 -05:00
Alex Liebowitz
4ea16b4d66 Convert all thumbnails to use Thumbnail component 2016-11-11 08:05:30 -05:00
Alex Liebowitz
7c42bda244 Add Thumbnail component 2016-11-11 08:05:29 -05:00
Alex Liebowitz
eadaefb63b Highlight drawer item for sub-pages 2016-11-11 06:36:02 -05:00
Alex Liebowitz
db41c45da3 Publish page: fix pluralization of bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
b4d97b1cee Publish page: fix issues with display of top claim value
- Display top bid correctly (before, it would sometimes show the user's
   bid instead)
 - Change wording to say "more than ___ credits" instead of "at least
   ___ credits"
2016-11-11 06:25:32 -05:00
Alex Liebowitz
5a0057093c Publish page: display exact bid amounts 2016-11-11 06:25:32 -05:00
Alex Liebowitz
ee56a38b0d Wallet page: Show placeholder text for dates on pending transactions 2016-11-11 05:09:43 -05:00
alexliebowitz
14565ec586 Merge pull request #70 from lbryio/modals
Use React Modal dialogs for all alerts and confirmation boxes
2016-11-10 07:05:16 -05:00
Alex Liebowitz
6e31b076b3 Restore spacing on Watch and Download buttons 2016-11-10 06:59:54 -05:00
Alex Liebowitz
f34fca11a8 Add option to disable confirm or abort buttons in modals
Adds new confirmButtonDisabled and abortButtonDisabled props to Modal
component. Mainly useful when you have a "confirm" button that performs
some operation before closing the modal and you need the confirm button
to disable after it's clicked.
2016-11-10 06:59:53 -05:00
Alex Liebowitz
57b953ba69 Watch and Download link layout tweak
Contain links in spans instead of divs to avoid block layout
2016-11-10 06:59:53 -05:00
Alex Liebowitz
9306617fd4 Simplify modal button logic 2016-11-10 06:59:53 -05:00
Alex Liebowitz
855e64e661 Convert alerts to modals in My Files, Publish, Report, Wallet pages 2016-11-10 06:59:48 -05:00
Alex Liebowitz
a6e4751ae3 Convert alerts to modals in DownloadLink component 2016-11-10 06:57:06 -05:00
Alex Liebowitz
df0a5ee73e Convert alerts to modals in Claim Code and Referral pages 2016-11-10 06:57:01 -05:00
Alex Liebowitz
ced77438ad Convert alerts to modals in app.js 2016-11-10 05:21:13 -05:00
Alex Liebowitz
c031313c84 Add Modal component 2016-11-10 05:21:13 -05:00
Alex Liebowitz
e3f178e379 Include React Modal lib 2016-11-10 05:21:13 -05:00
Alex Liebowitz
580a5fd89b Upgrade to React 15.3.2 2016-11-10 05:21:13 -05:00
alexliebowitz
1e055ea59f Merge pull request #76 from reillysmith/patch-2
Update discover.js new content 11-03
2016-11-04 01:40:09 -04:00
reillysmith
f37f2abc63 Update discover.js 2016-11-03 16:25:47 -07:00
Job Evers‐Meltzer
dcc04d3290 Merge pull request #75 from lbryio/revert-66-only-push-tags
Revert "only deploy on a tag"
2016-11-02 13:47:40 -05:00
Job Evers‐Meltzer
628fe64a4d Revert "only deploy on a tag" 2016-11-02 13:45:38 -05:00
Jeremy Kauffman
eb0acc2ce4 Merge pull request #74 from lbryio/report-link
Add infringement report link to Show page
2016-11-02 13:08:22 -04:00
Alex Liebowitz
5d5ec8633e Add "report" link to Show page 2016-11-02 13:03:19 -04:00
Job Evers-Meltzer
9ae6278ade Bump version: 0.1.0 → 0.1.1 2016-11-02 11:38:05 -05:00
Alex Liebowitz
e228790b28 Add styles for help links 2016-11-02 12:12:46 -04:00
Alex Liebowitz
a7e6e9db1d Convert text links to mixin 2016-11-02 12:09:33 -04:00
Job Evers‐Meltzer
584a1d7d6a Merge pull request #71 from lbryio/clampjs
Switch TruncatedText component to use clamp.js
2016-10-26 16:41:48 -05:00