Commit graph

589 commits

Author SHA1 Message Date
Jeremy Kauffman
b80420465a Tweak upgrade message
Avoid text like "Click 'Upgrade' to XXX" that tells the user how to do something that the UI already invites them to do.
2016-12-05 14:51:36 -05:00
Jeremy Kauffman
f086b47f80 Merge pull request #98 from lbryio/word-break-modals
Change wrapping of file path in "Download Succeeded" Modal
2016-12-04 09:02:44 -05:00
Job Evers‐Meltzer
c0e53b45eb Merge pull request #99 from lbryio/master
Release to Master
2016-12-02 21:15:34 -06:00
Alex Liebowitz
8e90389122 Layout tweak to "Download Succeeded" Modal
This displays the file path on its own line and does character-level
wrapping on the path only.

Ideally, we would just apply character wrapping to all words that are
too long for their line. There are CSS props for that but I haven't
been able to find a reliable way to do it without setting a width on the
outer container, which we don't want here (modals stretch based on their content). So this is the best compromise I can come up with.
2016-12-02 03:21:35 -05:00
Alex Liebowitz
406c37f9ff Help: change method used to get LBRY ID
Now uses lbry.getSessionInfo() instead of lbry.getVersionInfo()
2016-11-30 00:23:57 -05:00
Alex Liebowitz
735444f022 Add lbry.getSessionInfo() 2016-11-30 00:23:45 -05:00
Alex Liebowitz
4868efdfb9 Fix missing $ in string interpolation in a few modals 2016-11-28 18:24:55 -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
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
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
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
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
reillysmith
f37f2abc63 Update discover.js 2016-11-03 16:25:47 -07:00
Alex Liebowitz
5d5ec8633e Add "report" link to Show page 2016-11-02 13:03:19 -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
Job Evers‐Meltzer
cf7818a6e6 Merge pull request #67 from lbryio/submit-on-enter
Submit forms on enter
2016-10-26 16:29:15 -05:00
Alex Liebowitz
5925f11083 Switch TruncatedText component to use clamp.js 2016-10-21 06:28:42 -04:00
Alex Liebowitz
2ad8960e2f My FIles: Don't get stuck on loading screen if no files are present 2016-10-19 20:29:35 -04:00
Alex Liebowitz
0e21b88281 Add submit input to Claim Code, Referral and Wallet pages 2016-10-19 03:13:39 -04:00
Alex Liebowitz
7cfbb60033 Add submit input to Publish page 2016-10-19 03:11:17 -04:00
Alex Liebowitz
eba4dbe146 Convert Publish page to use <form>
Previously used form element only for file input
2016-10-18 22:30:57 -04:00
reillysmith
6b460b4a9a Update discover.js 2016-10-10 14:57:00 -07:00
Josh Finer
5631d03f76 Update help.js
typo
2016-10-07 20:23:22 -04:00
Alex Liebowitz
b07241405e Flip menus to the left on My Files page 2016-10-02 03:33:40 -04:00
Alex Liebowitz
ef8f0e6227 Don't trigger lbry.search() on page load
This was happening because the transition of the query from
undefined -> '' was registering as a search being typed
2016-09-29 03:46:00 -04:00
Alex Liebowitz
fdc6329c2f Disable Silverlight, enable HTML5 fallback 2016-09-28 05:42:38 -04:00
Alex Grintsvayg
011199aef7 reword credit claim messages 2016-09-25 13:28:10 -04:00
Alex Liebowitz
39dc23398e Use global search for filtering special chars in lbry.formatName() 2016-09-25 01:34:52 -04:00
Alex Liebowitz
3b0d24d4f5 Bold claim name everywhere on Publish page 2016-09-25 01:31:58 -04:00
Alex Liebowitz
5a60cb451c Give clearer feedback when updating a claim when have a non-winning bid 2016-09-25 01:29:57 -04:00
Jeremy Kauffman
c7ab4b9500 Merge pull request #61 from lbryio/longer-descriptions
Fix Featured and Community Content descriptions getting cut off
2016-09-24 15:30:02 -04:00
Jeremy Kauffman
d2ed0098f6 Merge pull request #60 from lbryio/video-load-screen
Use format of main splash screen for video load screen
2016-09-24 15:29:16 -04:00
Jeremy Kauffman
d7ec67c4ee add ellipsis to initial load message for consistency 2016-09-24 15:27:07 -04:00
Jeremy Kauffman
7be116665e Merge pull request #59 from lbryio/license-select
Convert license field to drop-down box
2016-09-24 15:22:30 -04:00
Jeremy Kauffman
6643a44f31 Merge pull request #48 from lbryio/show-wallet-address
Show address on Wallet page
2016-09-24 15:19:41 -04:00
Alex Liebowitz
317db4cb4f If get_my_claim returns an error, assume the claim is mine (temporary) 2016-09-24 04:41:31 -04:00
Alex Liebowitz
3614640adc Show different message for fully uploaded files vs. completed downloads 2016-09-24 04:21:07 -04:00
Alex Liebowitz
cb087cd50d Temporarily disable Reflector upload notice, pending lbrynet fixes 2016-09-24 04:15:02 -04:00
alexliebowitz
ac1b504dcf Merge pull request #62 from lbryio/my-files-tabs
Separate tabs for Downloaded and Published files in My Files
2016-09-24 03:01:54 -04:00
Alex Liebowitz
89f87bb604 Remove workaround for old get_my_claim() behavior 2016-09-24 02:59:46 -04:00
Alex Liebowitz
9e3dc5b5ce Convert MyFilesPage._filesOwnershipLoaded to state var 2016-09-24 02:50:13 -04:00
Alex Liebowitz
e5e27444a5 On My Files page, simplify check for file availability 2016-09-24 02:42:19 -04:00
Alex Grin
e12dc598a9 Merge pull request #53 from lbryio/claim-referral-credits
Add referral credit check page (WIP)
2016-09-23 20:03:45 -04:00
Alex Liebowitz
8bc13fb8a5 Filter My Files results based on tab chosen 2016-09-23 05:56:36 -04:00
Alex Liebowitz
4072c1cdda Add Downloaded and Published tabs to My Files page 2016-09-23 05:56:36 -04:00
Alex Liebowitz
e1637d537c Add lbry.getMyClaim() 2016-09-23 05:56:35 -04:00
Alex Liebowitz
4e9159828c Use compact search result tiles for featured and community content 2016-09-22 02:42:20 -04:00
Alex Liebowitz
eefc44cfb2 Add "compact" option for search result tiles 2016-09-22 02:41:03 -04:00
Alex Liebowitz
452f808e32 In copyright notice pre-fill, use "Copyright" instead of (C) symbol 2016-09-21 03:42:31 -04:00
Alex Liebowitz
5476c29322 Fix handling of absent license URLs
Before, if an option was picked that has no license URL field, it
would submit undefined for license_url. Now it correctly omits the key.
2016-09-21 02:57:20 -04:00
Alex Liebowitz
28e7f1e3b2 Remove "all rights reserved" wording 2016-09-21 02:29:45 -04:00
Alex Liebowitz
f598517e27 Use format of main splash screen for video load screen 2016-09-21 01:39:50 -04:00
Alex Liebowitz
19d12955a5 Factor out generic loading screen component from SplashScreen 2016-09-21 01:35:29 -04:00
Alex Liebowitz
8340759934 Convert license field to drop-down box 2016-09-20 06:40:24 -04:00
Alex Liebowitz
b90e1d62e0 Add FormField.getSelectedElement() 2016-09-20 06:38:46 -04:00
Alex Liebowitz
b3218f13c9 Show message on My Files page for files uploading to Reflector 2016-09-16 12:56:26 -04:00
Alex Liebowitz
9315b617c1 Track file Reflector availability in MyFiles state 2016-09-16 12:55:34 -04:00
Alex Liebowitz
09cd853bf2 Make Publish page send user to My Files as soon as file is listed there 2016-09-16 11:23:39 -04:00
Alex Liebowitz
f23d654a6b Add support for running code at start of publication process
- Add lbry.getFileInfoWhenListed()
 - Modify publish() to take an optional callback for when the file is
   listed.
2016-09-16 11:17:12 -04:00
reillysmith
24934f66b0 Update discover.js 2016-09-09 16:07:27 -07:00
Alex Liebowitz
cd2d3a44ea Fix wording 2016-09-09 07:40:27 -04:00
Alex Liebowitz
7077b78135 Make Watch button appear correctly in search results
Wasn't passing in the content type to SearchResultRow
2016-09-08 04:36:57 -04:00
Alex Liebowitz
9a9bed2966 Make lbry.getMediaType() reliably handle malformed and absent input 2016-09-08 04:35:41 -04:00
Alex Liebowitz
0788cde219 Add referral code claim page 2016-09-08 04:17:08 -04:00
Jack Robison
3be312736b fix keys used in response from get_transaction_history 2016-09-05 13:20:34 -04:00
Sonata Green
1c89f47d1a show negative transactions 2016-09-03 15:28:05 -05:00
Alex Liebowitz
ef3e57be8a On Discover and Show pages, hide Watch button for non-video content 2016-09-02 04:51:22 -04:00
Alex Liebowitz
3deb160822 Make My Files page get media type via content_type instead of filename 2016-09-02 04:50:44 -04:00
Alex Liebowitz
bc129eb347 Make lbry.getMediaType() able to use MIME type as well as file name 2016-09-02 04:48:19 -04:00
Alex Liebowitz
b39d313776 Make upgrade send user to MSI on Win or lbry.io/get for unknown OSes 2016-09-02 03:43:45 -04:00
Alex Liebowitz
3043574608 Link thumbnails and LBRY names in search tiles 2016-09-02 03:34:08 -04:00
Alex Liebowitz
0844cbd14a Don't show claim code page after user submits or skips 2016-09-02 03:08:46 -04:00
Alex Liebowitz
c8220e0c08 On Show page, don't display wrong name when given a nonexistent name
Now shows 404-like "no content here" message instead
2016-09-02 02:51:28 -04:00
Alex Liebowitz
8ebddc5a9f On Wallet page, refresh address if it doesn't match the current wallet 2016-09-02 01:46:27 -04:00
Alex Liebowitz
96dedbf1bd Add lbry.getAddressIsMine() 2016-09-02 01:34:30 -04:00
Alex Liebowitz
e453679729 Lowercase and remove special chars from names on Publish page
Also edited the text that appears next to the "name" box so
the user always gets to sees the actual name that will be claimed.
2016-09-01 03:30:12 -04:00
Alex Liebowitz
968506a8dd Add lbry.formatName() 2016-09-01 03:28:07 -04:00
Alex Liebowitz
97512b9b3a Show address on Wallet page
- Remembers address from previous views using local storage
 - Also improved layout and added help text
2016-09-01 02:54:16 -04:00
alexliebowitz
aa7abb2451 Merge pull request #46 from lbryio/tx_log
Transaction log on Publish page
2016-08-30 05:15:49 -04:00
Jeremy Kauffman
e8dae73491 Merge pull request #37 from lbryio/help-version-section
Add section with version and upgrade info to "Help" page
2016-08-29 11:41:29 -04:00
Jeremy Kauffman
b4dac55d26 cleaned up transaction history, added header subnav style 2016-08-27 10:12:56 -04:00
Alex Liebowitz
39a70aa464 Support both versions of content_type field on Show page
Just needed for transition to new metadata system
2016-08-27 02:37:35 -04:00
Alex Liebowitz
9995e6e3a8 Keep existing metadata version when updating claims 2016-08-27 02:18:19 -04:00
Jeremy Kauffman
f538c9a775 Merge remote-tracking branch 'origin/master' into txlog2 2016-08-26 19:07:49 -04:00
Jeremy Kauffman
d46fed313f Merge remote-tracking branch 'origin/master' into help-version-section 2016-08-26 18:11:28 -04:00
Jeremy Kauffman
d927c5ffef futher cleanup of help page 2016-08-26 18:06:22 -04:00
alexliebowitz
596a122d25 Fixed capitalization on featured content item URI 2016-08-26 16:51:12 -04:00
Alex Liebowitz
0e30c6c8c8 Update Featured Content and add "five" slot to Community Content 2016-08-26 08:07:46 -04:00
Alex Liebowitz
a679c9944a Add default thumbnails everywhere 2016-08-26 08:03:08 -04:00
Alex Liebowitz
5ae7bb4ac2 Fix wide thumbnails in My Files 2016-08-26 06:54:30 -04:00
Jeremy Kauffman
f8045ea104 NSFW legalese 2016-08-24 11:14:46 -04:00
Sonata Green
f0c93ce150 List newest transactions first 2016-08-24 00:08:58 -05:00
kimihiro64
61bd7ce5c5 Quick typo 2016-08-23 09:53:45 -05:00
Jack Robison
92a0e40536 Merge pull request #40 from lbryio/use-existing-metadata
Use existing metadata to fill missing fields when updating claims
2016-08-23 01:48:08 -04:00
Alex Liebowitz
d16c4aa181 Show correct price on Show page 2016-08-23 01:22:29 -04:00
Alex Liebowitz
6f9bec804b Use existing metadata to fill missing fields when updating claims 2016-08-23 01:03:03 -04:00
Jeremy Kauffman
f80b057a6b Merge pull request #34 from sonatagreen/fix-showpage-buttons
fix watch/download links on ?show= page
2016-08-22 17:03:25 -04:00
Jeremy Kauffman
5dcb0593ad move nsfw logic lower, more semantic, handle search unmount 2016-08-22 16:56:52 -04:00
Jeremy Kauffman
b53a178338 Merge remote-tracking branch 'origin/show-hide-nsfw' into blur-nsfw 2016-08-22 16:14:58 -04:00
Sonata Green
17bfbb8940 add setting to show/hide NSFW content 2016-08-22 16:09:28 -04:00
Alex Liebowitz
399fb5c7c8 Filter NSFW featured content on Discover page 2016-08-22 16:09:28 -04:00
Alex Liebowitz
8378a7a387 Add option to show/hide NSFW content 2016-08-22 15:46:15 -04:00
Alex Liebowitz
0472ea5d9d Add support for client side settings using localStorage 2016-08-22 15:42:09 -04:00
Alex Liebowitz
0a2c0586d4 Light refactor of daemon settings processing
- Rename the daemon setter/getter methods to lbry.getDaemonSettings()
   and lbry.setDaemonSettings() to differentiate them from the new
   methods for client settings
 - Add lbry.setDaemonSetting(), for changing individual daemon settings
   easy to
 - Refactor Settings page to submit only changed settings instead of
   re-submitting all settings every time
2016-08-22 15:19:11 -04:00
Alex Liebowitz
b75004c5f6 Make search work from pages other than Discover 2016-08-22 15:19:11 -04:00
Sonata Green
73e29b423b use BusyMessage on wallet page 2016-08-22 11:16:43 -05:00
Alex Liebowitz
3edc93c842 Blur NSFW content on home page
Also adds a mouse-over overlay explaining you can choose to
show NSFW stuff on the Settings page (not implemented yet)
2016-08-22 08:01:00 -04:00
Alex Liebowitz
13f7f1995e Improve wording and formatting on Help page 2016-08-22 05:43:02 -04:00
Alex Liebowitz
ce574f24ec Add version and upgrade info section to Help page 2016-08-22 05:42:01 -04:00
Alex Liebowitz
61a3d4f36e Improve wording and formatting of Help page 2016-08-22 05:38:17 -04:00
Sonata Green
a4cd2f9b09 use .table-standard for transaction history 2016-08-21 23:22:09 -05:00
Sonata Green
955db5fcfc fix double transactions 2016-08-21 23:22:09 -05:00
Sonata Green
e2a1d53287 fix date/time display 2016-08-21 23:22:09 -05:00
Sonata Green
1687518c6e Bare-bones transaction history. 2016-08-21 23:22:08 -05:00
Sonata Green
e4544087a8 fix watch/download links on ?show= page 2016-08-21 11:51:20 -05:00
Jeremy Kauffman
3554d34c53 revert wallet changes 2016-08-21 10:57:11 -04:00
Jeremy Kauffman
f9a1bd99c0 component for busy indicator, use in my_files 2016-08-21 10:55:32 -04:00
Sonata Green
920f55b4f5 add loading message to the My Files page 2016-08-19 20:48:08 -05:00
Jeremy Kauffman
02416f66e5 fix cross browser scrolling 2016-08-19 09:47:40 -04:00
Alex Liebowitz
de1596c0ba Display prices rounded to whole numbers with no ".0"
Looks cleaner, plus no issue of "1.0 credits" vs "1.0 credit"
2016-08-19 03:24:12 -04:00
Alex Liebowitz
5d05e10f18 Remove (est) from cost on items that Lighthouse reports hosted
Also adds "credits" to all prices and tweaks formatting slightly
2016-08-19 03:15:17 -04:00
Alex Liebowitz
5c25f30c90 Hold off on "credits" wording change for now 2016-08-18 04:04:42 -04:00
Alex Liebowitz
4c01cf4259 Use lbry.search() to fetch costs 2016-08-18 03:34:20 -04:00
Alex Liebowitz
1a66fafd2d Rewrite search to use Lighthouse RPC calls 2016-08-18 03:14:38 -04:00
Alex Liebowitz
9d7f82e309 Refactor JSON-RPC handling into generic function 2016-08-18 02:57:19 -04:00
Alex Liebowitz
9f5c999c39 On Publish page, ignore outdated getClaimInfo() responses 2016-08-10 03:05:17 -04:00
Alex Liebowitz
c371c7c758 Make header text display in Safari 2016-08-09 16:33:01 -04:00
Alex Liebowitz
0ebbe4427b Filter NSFW search results (will add option to display them later) 2016-08-09 12:17:02 -04:00
Alex Liebowitz
eceaabb93c Make search not get stuck on Dewey Decimals message 2016-08-09 10:58:35 -04:00
Jeremy Kauffman
e1bbb7dbdf fix spacing issue 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
2867560fed unify item tiles 2016-08-09 08:42:32 -04:00
Jeremy Kauffman
201a1989d9 fix watch 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
c9b7c37e2c more form fixes 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
21b5890448 publish and form tweaks 2016-08-09 08:36:26 -04:00
Jeremy Kauffman
2b07c982e6 result display improvements, search to header 2016-08-09 08:29:22 -04:00
Jeremy Kauffman
007da592f1 crude ability to jump to discover 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
a36f0f2691 wallet code + some finer touches on header + nav 2016-08-09 08:22:06 -04:00
Jeremy Kauffman
0d2775138a clean up help, report, and settings 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
7b18774e81 move exit to header 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
2ec42aad26 basic nav design, new title scheme, light page clean up 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
640001c597 store upgrade skip in session 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
98ebf02ca6 split out tool tip to separate component 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
45f14598b9 barebones sidebar + light component refactor 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
24a7d5588e turn return link into a component 2016-08-09 08:20:19 -04:00
Jeremy Kauffman
78f1fde34b only print an item in my_files once 2016-08-09 08:20:19 -04:00
Alex Liebowitz
6b899bdfc0 Pass sources from existing claim to publish() if file not provided 2016-08-09 03:04:54 -04:00
Alex Liebowitz
7a5f478b4d Change wording on Publish page for claims user already controls 2016-08-09 02:46:11 -04:00
Alex Liebowitz
6677769ded Use current value in name field on Publish page 2016-08-08 23:34:11 -04:00
Alex Liebowitz
761ba6f1e2 Properly set default currency 2016-08-08 05:49:30 -04:00
Alex Liebowitz
3d20bc22aa Make Featured Content use TrunctedText 2016-08-08 05:44:15 -04:00
Jeremy Kauffman
b60037b8d9 fix react warnings 2016-08-07 11:27:00 -04:00
Alex Liebowitz
53843361b6 Make Featured Content and Search use new TruncatedText component 2016-08-04 04:09:03 -04:00
Alex Liebowitz
be31598ed9 Add TruncatedText component 2016-08-04 04:08:12 -04:00
Alex Liebowitz
aa2f48f359 Add spacing between buttons on Publish page 2016-08-04 03:36:53 -04:00
Alex Liebowitz
f4d2ed2af1 Add spacing between buttons on Search page and between search results 2016-08-04 03:33:44 -04:00
Alex Liebowitz
5ece0111df Clearly indicate pending files in My Files 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c1185b3c9d Update publish success message
Now says that file will appear in My Files immediately but
will initially show up as "pending."
2016-08-03 06:57:06 -04:00
Alex Liebowitz
3c417d0abe Remove PublishPage.readyToPublish() (now unused) 2016-08-03 06:57:06 -04:00
Alex Liebowitz
25e9eff7f2 Change publish link in empty search results to point to Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
00524f5554 Move Publish entry in menu 2016-08-03 06:57:06 -04:00
Alex Liebowitz
7d283743fc More Publish page improvements
- Multiple currency support (USD/LBC)
 - Add bid amount to list of required fields
2016-08-03 06:57:06 -04:00
Alex Liebowitz
655d764213 Use new lbry.getClaimInfo() to get claim status on Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c937b28a99 Make Publish confirmation message show title correctly 2016-08-03 06:57:06 -04:00
Alex Liebowitz
03052fde62 Fix filtering of absent metadata fields 2016-08-03 06:57:06 -04:00
Alex Liebowitz
31417fcc57 Fixed required field test 2016-08-03 06:57:06 -04:00
Alex Liebowitz
9298db089b Remove warnings about non-numeric input (will replace with input filtering)"
Remove warnings about non-numeric input

Will replace with input filtering
2016-08-03 06:57:06 -04:00
Alex Liebowitz
690881ab9e Many small improvements to Publish
- Add NSFW field
   - Send metadata version
   - Convert back to non-nested metadata fields (for now)
   - Made progress bar display properly during the "processing" phase
   - Changed "Publish" button to "Publishing..." during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
157a68d4f1 Add checkbox support to FormField component 2016-08-03 06:57:06 -04:00
Alex Liebowitz
45c126a757 In PublishPage.handleSubmit(), return right away when data is missing 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6b9df7be76 Fix unnecessary double call of getValue on license URL field 2016-08-03 06:57:06 -04:00
Alex Liebowitz
45840838b9 Refactor and new features for Publish page
- Publish button no longer grayed out when form is incomplete
 - Now warns about individual missing fields using the new FormField
   component
 - Fixed relaying of error messages from daemon
 - New license URL field
 - License broken into two sub-fields (.license.name, .license.url)
2016-08-03 06:57:06 -04:00
Alex Liebowitz
e4f439c12c Add FormField component with required field support 2016-08-03 06:57:06 -04:00
Alex Liebowitz
6d23e7af51 Make lbry.publish() call error callback 2016-08-03 06:57:06 -04:00
Alex Liebowitz
7f258b2a14 Fix My Files link on Publish page 2016-08-03 06:57:06 -04:00
Will Moyer
c3754e7c56 update styles and layout for Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
683a3cd4b1 More tweaks to Publish page
- Give lbry.publish()  complete data structure for fee (inc.
   currency and address) insteaed of just the amount.
 - Disable Publish button during submit
2016-08-03 06:57:06 -04:00
Alex Liebowitz
5170222e2d Add almost all remaining fields + visual fixes and refactoring 2016-08-03 06:57:06 -04:00
Alex Liebowitz
faca7f18d0 Finish core logic of Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
c46aecfbd9 Add error handling to lbry.resolveName() and lbry.publish() 2016-08-03 06:57:06 -04:00
Alex Liebowitz
2ec8a5c7fc Basic skeleton of Publish page 2016-08-03 06:57:06 -04:00
Alex Liebowitz
d9c6787fac Add lbry.publish() 2016-08-03 06:57:06 -04:00
Alex Liebowitz
1aac7576ae Make update redirect go directly to dmg or deb 2016-08-03 06:56:40 -04:00
Alex Liebowitz
a2856052dc Tweak wording and formatting on Wallet page 2016-08-03 05:37:59 -04:00
Jonas Whidden
629ba32d3a Clean up and Package
The first case is covered by the condition for enabling the send button
2016-08-02 08:35:18 -05:00
Alex Liebowitz
09cad7196b Add low balance checking on Wallet page 2016-08-02 05:36:00 -04:00
Jonas Whidden
4b521f29e6 Change phrasing 2016-08-02 05:36:00 -04:00
Jonas Whidden
0f2db3e00a Make it prettier 2016-08-02 05:36:00 -04:00
Jonas Whidden
a9d95bf76b Fix send amount to address 2016-08-02 05:36:00 -04:00
Jonas Whidden
31cf170e35 Wallet branch 2016-08-02 05:36:00 -04:00
Jonas Whidden
0131294b91 Use bank icon for wallet menu item 2016-08-02 05:36:00 -04:00
Jonas Whidden
61c73e0ae2 Commit was left out 2016-08-02 05:36:00 -04:00
Jonas Whidden
d72e077ad3 Add basic wallet functionality 2016-08-02 05:36:00 -04:00
Alex Liebowitz
9a01b7202f Alert user if they don't have enough credits for watch/download 2016-08-02 05:12:52 -04:00
Alex Liebowitz
7b8a4918a1 Make it clear the search box is actually a search box now
(Thanks Jack)

This reverts commit a7ae10530e.
2016-07-30 04:29:13 -04:00
Alex Liebowitz
cfbadd7007 Make Featured Content use lbry.getCostEstimate() 2016-07-30 04:23:41 -04:00
Alex Liebowitz
7c77f166cd Make Show page use lbry.getClaimInfo() and lbry.getCostEstimate() 2016-07-30 03:47:31 -04:00