Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Make torrent file names on the table selectable #8150

Merged
merged 1 commit into from
Apr 9, 2017
Merged

Make torrent file names on the table selectable #8150

merged 1 commit into from
Apr 9, 2017

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Apr 9, 2017

Closes #8148

Also:

  • Added testIds to the buttons for future work
  • Made missingFilesList, loadingFilesList, torrentStats, and legalNotice unselectable

Auditors:

Test Plan:

  1. Open https://webtorrent.io/free-torrents
  2. Click "Big Buck Bunny (magnet link)"
  3. Make sure nothing is selectable
  4. Click "Start download"
  5. Make sure only the file names on the table are selectable
  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

}
}
}

const styles = StyleSheet.create({
userSelect: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this two definition into the common file and use it in all files

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Will squash later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Closes #8148

Also:
- Added testIds to the buttons for future work
- Made missingFilesList, loadingFilesList, torrentStats, and legalNotice unselectable

Auditors:

Test Plan:
1. Open https://webtorrent.io/free-torrents
2. Click "Big Buck Bunny (magnet link)"
3. Make sure nothing is selectable
4. Click "Start download"
5. Make sure only the file names on the table are selectable
@luixxiul
Copy link
Contributor Author

luixxiul commented Apr 9, 2017

@NejcZdovc done

Copy link
Contributor

@NejcZdovc NejcZdovc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luixxiul luixxiul merged commit 86eacb6 into brave:master Apr 9, 2017
@luixxiul luixxiul deleted the webtorrent-user-select branch April 9, 2017 17:15
@luixxiul luixxiul added this to the 0.14.2 milestone Apr 9, 2017
@srirambv
Copy link
Collaborator

Save file icon is also selectable. image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants