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
18192cd93b
Add Stage 2 Babel preset
...
Needed for rest spread operator (e.g. let {foo, ...bar} = baz)
2017-01-16 23:33:32 -05:00
Alex Liebowitz
78cb69a5ef
Update menu formatting
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
Job Evers-Meltzer
2d19d3db95
commit to start build
2017-01-16 20:46:42 -06:00
Job Evers-Meltzer
7b7da549a8
build on travis
2017-01-16 20:40:10 -06:00
Job Evers-Meltzer
cda5730057
use lbry-web-ui submodule
2017-01-16 14:36:31 -05:00
Job Evers-Meltzer
ed0f6f775d
make sure npm install is called
2017-01-16 14:14:24 -05:00
Job Evers-Meltzer
c0847cc420
initial electron app
2017-01-16 14:07:28 -05:00
Job Evers‐Meltzer
7f77fa0b4e
Initial commit
2017-01-16 14:05:32 -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
Jeremy Kauffman
f334770a8a
Merge pull request #131 from lbryio/add-modal-labels
...
Add ARIA labels for all modals
2017-01-13 17:53:45 -05:00
Alex Liebowitz
9f5c57f93a
Add ARIA labels for all modals
2017-01-13 17:05:09 -05:00
alexliebowitz
d2e33961cf
Merge pull request #130 from lbryio/remove-get-start-notice
...
Remove startup notice code
2017-01-13 17:00:17 -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
alexliebowitz
b78b644826
Merge pull request #128 from lbryio/update-readme-webpack
...
Update setup instructions and watch.sh for Webpack
2017-01-06 07:06:10 -05:00
Alex Liebowitz
16a9833bce
Update watch.sh for Webpack
2017-01-06 07:03:54 -05:00
alexliebowitz
2fb876b6cb
Update setup instructions
2017-01-06 07:00:49 -05:00
Jeremy Kauffman
4db3211855
always make lbry globally available
2017-01-05 17:30:36 -05:00
alexliebowitz
15d9236500
Merge pull request #127 from lbryio/development
...
Merge development into master
2017-01-04 17:09:01 -05:00
alexliebowitz
e345682b1c
Merge pull request #126 from lbryio/fix-thumbnail-loading
...
Fix uncaught type error in Thumbnail
2017-01-04 17:08:20 -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
Job Evers‐Meltzer
a490554365
Merge pull request #124 from lbryio/development
...
Merge development into master
2017-01-04 11:14:59 -06: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‐Meltzer
6936d2f94e
Merge pull request #120 from lbryio/fix-watch-page
...
fix LoadScreen import on watch page
2017-01-02 20:26:52 -06:00