Commit graph

650 commits

Author SHA1 Message Date
jobevers
1c2eab4b40 install and use a more recent ruby 2017-02-08 00:02:58 -06:00
jobevers
96ace874ce see what rubies are available 2017-02-07 23:59:27 -06:00
jobevers
4a060f120a add changelog and check 2017-02-07 23:56:25 -06:00
Jeremy Kauffman
2192efc49f Merge pull request #116 from lbryio/unified-tiles
Unified File Tiles (WIP)
2017-01-17 17:10:40 -05: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
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