markrickert / cryptohopper-dashboard-watchlist

A browser userscript that tweaks the Cryptohopper dashboard.
MIT License
24 stars 9 forks source link

Added shift click functionality to position checkboxes #4

Closed eatsleepcoderepeat-gl closed 3 years ago

eatsleepcoderepeat-gl commented 3 years ago

Added shift click functionality to position checkboxes which allows the user to select all open positions of the same ticker, provided that they're all displayed on the currently open position list. Sorting by Currency ticker is suggested when using this.

markrickert commented 3 years ago

Just tested this and couldn't get it to work. I don't have multiple positions in my open position, bt i DO in my reserved funds so i went there to test and the shift-click didn't apply to the reserves table.

I'm wondering if it would work more effectively if we apply the functionality to any table that has more than 3 checkboxes (one in the header and at least two in the body)

eatsleepcoderepeat-gl commented 3 years ago

Just tested this and couldn't get it to work. I don't have multiple positions in my open position, bt i DO in my reserved funds so i went there to test and the shift-click didn't apply to the reserves table.

I'm wondering if it would work more effectively if we apply the functionality to any table that has more than 3 checkboxes (one in the header and at least two in the body)

It's limited to the open positions table at the moment, but yes that's a good idea; I'll expand the scope to include additional tables.