markrickert / cryptohopper-dashboard-watchlist

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

Added template save auto select functionality #24

Closed eatsleepcoderepeat-gl closed 3 years ago

markrickert commented 3 years ago

Hey! can you describe how i would go about testing this? I'm not even exactly sure what button clicks i'd need to do to engage this feature :P

eatsleepcoderepeat-gl commented 3 years ago

Hey! can you describe how i would go about testing this? I'm not even exactly sure what button clicks i'd need to do to engage this feature :P

Go to any of the config pages (config/signals/triggers/config pools) and try to save the config as a template (Actions > Save Template); the default behaviour is that no template will be auto-selected. With this script however it'll look for a template name that matches the current config name and if it finds one, it'll select that, but if not, it'll select the option to save as a new template instead. It just makes this process a little more user friendly. I have a lot of saved templates and scrolling through to find the right one to save every time is both a chore and makes it easy to click the wrong one. Overwriting the wrong template is extremely frustrating.

image

markrickert commented 3 years ago

LGTM :D