Alex Liebowitz
eba0ac6842
Indicate files pending confirmation in FileTile
2017-01-30 03:24:57 -05:00
alexliebowitz
fe62548637
Merge pull request #146 from lbryio/fix-text-link-styles
...
Fix styling of normal text links
2017-01-26 02:41:40 -05:00
Alex Liebowitz
7ac9c599de
Publish: fix detection of the user's own claim on a name
2017-01-25 00:43:01 -05:00
Alex Liebowitz
376bbed97c
Fix styling of normal text links
...
Due to recent changes, they were appearing as text buttons
2017-01-24 22:39:36 -05:00
Alex Liebowitz
423d4fa47b
Don't show error message if price for a file can't be retrieved
...
On search results pages, stream_cost_estimate is called on every
result. If there's some problem in the daemon that affects all calls
to stream_cost_estimate, this can lead to 25 error boxes. Better to
just suppress the error and not display a price.
Also switched to the new name for the daemon method (get_cost_est ->
stream_cost_estimate)
2017-01-24 19:29:47 -05:00
Alex Liebowitz
0af15751f7
Fix typo in "file unavailable" message
...
Missing period
2017-01-23 23:52:07 -05:00
Alex Liebowitz
f3a501cf14
Add temporary timeout for blob peer list lookups
...
Returns an empty array for the peer list if the API call takes more
than 6 seconds. If the lookup takes that long, there are almost never
never any peers.
2017-01-23 23:50:15 -05:00
Alex Liebowitz
3c339492a0
Use new API method name in lbry.getPeersForBlobHash()
2017-01-23 23:41:38 -05:00
Alex Liebowitz
13886f4156
Fix padding issue with download progress bar
...
Label was not wrapped in span, so the wrong styles were applying
2017-01-23 23:06:32 -05:00
Alex Liebowitz
ef393ca360
Simplify content wrapping logic in Link
2017-01-23 19:22:25 -05:00
Alex Liebowitz
b2fd38a1c8
Reduce padding around text buttons
...
After moving the padding to the content of buttons, we ended up with
extra padding around text buttons that wasn't there before. The
"Download" bar doesn't look great with no padding at all, but it needs
to match the text buttons so the text doesn't jump to the right when
it switches from "Download" (text button) to "Connecting" (progress bar).
So we pad both text buttons and progress bars just a little bit, less
than a standard button but enough that progress bars look OK.
2017-01-23 18:58:31 -05:00
Jeremy Kauffman
44412437ce
unavailable content cleanup
2017-01-21 16:31:41 -05:00
Alex Liebowitz
e5b4aaf175
Revamp "file not available" message
...
- Don't fade out tile
- Display message in place of buttons with an option to bypass the
message
- Factor out message into its own FileUnavailableMessage component
2017-01-21 01:52:35 -05:00
Alex Liebowitz
42517587ee
Add FileUnavailableMessage component
2017-01-21 01:48:30 -05:00
Alex Liebowitz
3e33b5a2e8
Pass sdHash into FileTile on Discover page
2017-01-20 23:59:07 -05:00
Alex Liebowitz
9b68f71199
Always use local availability checks (not Lighthouse)
2017-01-20 23:55:49 -05:00
Alex Liebowitz
78176e6b0a
In FileTile, show a message when a file is unavailable
2017-01-20 11:44:08 -05:00
Alex Liebowitz
9a421941fe
Move styles for ToolTip and ToolTipLink into CSS
2017-01-20 11:38:23 -05:00
Alex Liebowitz
87e6713262
Make unavailable content visible by default
2017-01-20 08:54:36 -05:00
Alex Liebowitz
1c19537883
Clean up prop passing from FileTile to FileTileStream
2017-01-20 08:49:47 -05:00
Alex Liebowitz
9d0aa0d8da
Add setting to hide unavailable content
2017-01-19 05:05:57 -05:00
Job Evers-Meltzer
2aa10261d9
Improve startup checking
...
Before this fix, if the daemon wasn't accepting connections
the UI would get an error and then be stuck on the loading screen.
We now check if the daemon is accepting connections first, and then
check for the status.
2017-01-18 09:30:46 -06:00
Job Evers-Meltzer
f1b2d0d62d
ensure that content_type exists
2017-01-17 21:57:16 -06:00
Job Evers-Meltzer
22c4f41066
fix errorcallback in publish
2017-01-17 21:37:24 -06:00
Job Evers-Meltzer
4166419823
fix missing Icon import
2017-01-17 21:36:48 -06:00
Job Evers-Meltzer
5f2312295c
fix typo in proptypes
2017-01-17 21:36:32 -06:00
Alex Liebowitz
e6563f26b8
Fix extra margin around Open and Download links
2017-01-17 06:44:48 -05:00
Alex Liebowitz
839c42bc3a
Use new format for open and reveal RPC methods
2017-01-17 06:44:48 -05:00
Alex Liebowitz
8fdfd4b60e
Show prices on Published page
2017-01-17 06:44:48 -05:00
Alex Liebowitz
88d4c49d9a
Use Object.entries() when calling file info callbacks
2017-01-17 06:44:43 -05:00
Alex Liebowitz
0b9980f371
Rename all vars called "___sInfo" to "___Infos"
2017-01-17 05:06:39 -05:00
Alex Liebowitz
425fbb84a5
Fix delay in files disappearing from My Files
...
We now maintain a list of files that have been requested for removal in
lbry.js and simulate the file being removed so all components can
respond immediately.
2017-01-17 04:04:31 -05:00
Alex Liebowitz
e9f00eec23
Pad buttons using margin on content instead of padding on container
...
Allows button-style progress bars to set width without having to
account for padding
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
70db4c937e
shitty file remove
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
7f135275df
file list refactor
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
3b7d093201
my_files fixes
2017-01-16 23:44:06 -05:00
Alex Liebowitz
b70b2a859d
Fix handling of window click events in DropDownMenu
...
Wasn't doing e.stopPropagation() when mounting the handler for clicks
outside the menu.
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
70d390ea2e
no more overflow-y on tiles, let's cap titles for now
2017-01-16 23:44:06 -05:00
Jeremy Kauffman
6c67cee3d9
fix duplicate keys on search results
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
4fd9828760
holy fuck javascript sucks
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
167541b92c
search bar displays pre-set value when ?discover=arg is passed
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
e0eb36d032
more file tile refactor and fix file info unsubscribe
2017-01-16 23:44:05 -05:00
Jeremy Kauffman
b7f23aa0dd
big refactor of file actions/buttons/tiles
2017-01-16 23:44:04 -05:00
Alex Liebowitz
95675cd802
Fix clamp.js import
2017-01-16 23:42:09 -05:00
Alex Liebowitz
e1ec3bb979
Fix nsfw check in FileTile
2017-01-16 23:42:09 -05:00
Alex Liebowitz
8d3e585306
When user chooses Open, open files instead of revealing
2017-01-16 23:42:09 -05:00
Alex Liebowitz
cddc1ecd22
Remove files from UI immediately (don't wait for daemon to confirm)
2017-01-16 23:42:07 -05:00
Alex Liebowitz
769ee12020
Add ARIA labels to all modals in link.js
2017-01-16 23:41:20 -05:00
Alex Liebowitz
0796dbf285
Add keys to DownloadLink menu items
2017-01-16 23:37:24 -05:00
Alex Liebowitz
94c22961c6
Show "Connecting" instead of "0% Complete" before a download starts
...
Also remove now-unneeded showCaret prop from <DropDown />
2017-01-16 23:37:24 -05:00
Alex Liebowitz
b524eec826
Hide caret on "Downloading" dropdown when download hasn't actually started
2017-01-16 23:37:24 -05:00
Alex Liebowitz
802d8c6777
Remove "Download Started" modal
2017-01-16 23:37:22 -05:00
Alex Liebowitz
8ae5b6e0ed
In DownloadLink, immediately switch to "0% Downloaded" on click
...
Before, it would only change after several seconds when the download
actually started.
2017-01-16 23:34:29 -05:00
Alex Liebowitz
986ce927f0
In DownloadLink, offer dropdown in "downloading" state
2017-01-16 23:34:29 -05:00
Alex Liebowitz
8a1f0b76b1
Correct how SD hashes are extracted in SearchResults
2017-01-16 23:34:29 -05:00
Alex Liebowitz
f8ae201e76
Add initial value for this.state.deleteChecked in DownloadLink
2017-01-16 23:34:29 -05:00
Alex Liebowitz
6ea5e41368
Use in-browser platform check in DownloadLink
2017-01-16 23:34:29 -05:00
Alex Liebowitz
8d9e63ad53
Customize "Open in Folder" message based on platform
2017-01-16 23:34:29 -05:00
Alex Liebowitz
78e9a02b70
Add DropDown component and convert DownloadLink to use it
2017-01-16 23:34:10 -05:00
Alex Liebowitz
a2641c1a98
Add support for custom conteint in <Link />
...
Before you could only specify an icon and text label.
2017-01-16 23:33:32 -05:00
Alex Liebowitz
80272ab8f0
Update prop names and prop processing logic in Icon
2017-01-16 23:33:32 -05:00
Alex Liebowitz
0560f13ec4
Convert Menu styles to CSS
2017-01-16 23:33:31 -05:00
Alex Liebowitz
9f743700b7
Refactor Menu component
...
Instead of having the menu keeping track of whether it's open, we now
leave it up to the surrounding component to mount and unmount it. This
avoids bubbling issues when listening for events on an external toggle
button.
We also now use the recommended callback style for refs instead of
named refs.
2017-01-16 23:33:31 -05:00
Alex Liebowitz
d067a6e006
Refactor and clean up Link component
2017-01-16 23:33:31 -05:00
Alex Liebowitz
1e61af3b24
Rename things in FileTile
...
- updateStatusCallback -> updateFileInfoCallback
- this._statusCheckInterval -> this._fileInfoCheckInterval
2017-01-16 23:33:31 -05:00
Alex Liebowitz
5fcedd0d01
Update props in FileTile
...
- Add fileInfo
- Remove path (now calculated from fileInfo)
2017-01-16 23:33:31 -05:00
Alex Liebowitz
ac32ec366a
Update MyFilesPage to work with updated FileTile
...
Also did a little cleanup/refactoring
2017-01-16 23:33:31 -05:00
Alex Liebowitz
4bd29ed515
Convert FeaturedContentItem to pass one metadata prop into FileTile
2017-01-16 23:33:31 -05:00
Alex Liebowitz
a36dd5cfe4
Convert search results to use FileTile
2017-01-16 23:33:31 -05:00
Alex Liebowitz
182ec6064d
FileTile improvements and refactoring
...
- Now accepts a single metadata object for all metadata fields so
the surrounding components don't have to break out the individual
fields into props.
- Now tracks whether the file was published by the user, and if
there's a copy on their machine (will look up using API calls if
needed)
- Use the new "state" prop for DownloadLink
- General refactoring and cleanup
2017-01-16 23:33:31 -05:00
Alex Liebowitz
bcaad75df4
Improve and refactor Download links
...
- Use a single "state" prop to track download progress (not-started,
downloading, or done)
- Accept a file path as a prop an "Open" link after the download is
complete
- Trim some outdated code; improve CSS class names
2017-01-16 23:33:28 -05:00
Alex Liebowitz
ce82f8cc6f
Make FileTile look up its own download status if not provided
2017-01-16 23:31:16 -05:00
Alex Liebowitz
1b51b4e329
Add support for displaying progress in DownloadLink
2017-01-16 23:31:13 -05:00
Alex Liebowitz
f424e2e439
Show Download link only if file is not published by user
2017-01-16 23:27:14 -05:00
Alex Liebowitz
64d7b680c3
Add propTypes and getDefaultProps() to FileTile
2017-01-16 23:27:14 -05:00
Alex Liebowitz
97f6f3bdf8
Style and formatting fixes in FileTile
2017-01-16 23:27:14 -05:00
Alex Liebowitz
efa1a29d4f
Rename SearchResultRow to FileTile and convert styles to CSS
...
Also moves the component to its own file (file-tile.js) so it can be
used outside the Discover page.
2017-01-16 23:27:14 -05:00
Jeremy Kauffman
9f9a1b66c2
Merge pull request #129 from lbryio/always-use-flash
...
Bypass check for Flash being installed in MediaElement.js
2017-01-13 17:54:12 -05:00
Alex Liebowitz
9f5c57f93a
Add ARIA labels for all modals
2017-01-13 17:05:09 -05:00
Alex Liebowitz
5fa158f771
Remove startup notice code
...
The API method for this (get_start_notice()) is now deprecated
2017-01-13 16:58:46 -05:00
Alex Liebowitz
35a09dff0f
Bypass check for Flash being installed in MediaElement.js
...
Needed because Safari now reports that Flash isn't installed, even
when it is: https://webkit.org/blog/6589/next-steps-for-legacy-plug-ins
2017-01-12 21:56:39 -05:00
Jeremy Kauffman
4db3211855
always make lbry globally available
2017-01-05 17:30:36 -05:00
Alex Liebowitz
c3e08809c2
Check if Thumbnail is still mounted before confirming its image loaded
2017-01-04 15:50:20 -05:00
alexliebowitz
a6b7b3de5a
Merge pull request #125 from lbryio/fix-null-search
...
Fix search on pages other than Discover
2017-01-04 15:28:10 -05:00
Alex Liebowitz
160c6fd407
DiscoverPage: pass query into handleSearchChanged() on mount
2017-01-04 11:53:30 -05:00
alexliebowitz
5b5318e100
Merge pull request #123 from lbryio/my-files-fix-date-sort
...
My Files: fix "Date" sorting in Published tab
2017-01-03 22:04:53 -05:00
alexliebowitz
536b8d83dc
Merge pull request #122 from lbryio/fix-mediaelement-import
...
Import MediaElement with <script> tag
2017-01-03 22:04:20 -05:00
Alex Liebowitz
863758ba54
My Files: Preserve order of claims returned by daemon
2017-01-03 19:41:32 -05:00
Alex Liebowitz
304b53e994
Simplify sorting logic in My Files
2017-01-03 19:09:46 -05:00
Alex Liebowitz
a2f7f150db
Import MediaElement with <script> tag
...
Needed because MediaElement doesn't fully support ES6 modules yet
2017-01-03 18:10:03 -05:00
alexliebowitz
5a9d095a44
Merge pull request #121 from lbryio/master
...
Sync development with fixes in Master
2017-01-03 13:39:13 -05:00
Job Evers
e23cce81dc
fix LoadScreen import on watch page
2017-01-02 20:21:23 -06:00
Jeremy Kauffman
2c760ca2dd
Merge pull request #118 from lbryio/bug-report
...
Update Report Bug page
2017-01-02 15:47:21 -05:00
Alex Liebowitz
ff61fbbf7a
Update lbry.reportBug() to use new report_bug daemon method
2017-01-02 15:43:34 -05:00
Alex Liebowitz
0ccc8ca809
Report: fix imports
2017-01-02 15:42:53 -05:00
Alex Liebowitz
70953710a8
Help: show Web UI version
2017-01-02 14:23:47 -05:00
Jeremy Kauffman
fa469253a3
Merge pull request #114 from lbryio/fix-dewey-decimals
...
Restore Dewey Decimals message in searches
2017-01-02 11:26:38 -05:00
Alex Liebowitz
7e86cccd6c
Restore Dewey Decimals message
...
The "no results found" message was showing instead due to some tricky
state management stuff.
2016-12-30 08:21:24 -05:00
Alex Liebowitz
ed38e2ea75
Add import for BusyMessage to discover.js
2016-12-30 07:40:07 -05:00
alexliebowitz
cadb901209
Merge pull request #109 from lbryio/development
...
Merge development into master
2016-12-29 16:59:40 -05:00