robinhood-mint-sync-chrome icon indicating copy to clipboard operation
robinhood-mint-sync-chrome copied to clipboard

Add support for multiple Robinhood accounts

Open superpowered opened this issue 4 years ago • 4 comments

Adds support for multiple Robinhood accounts. (closes #16)

  • [ ] Should be able to Enable / Disable Multiple Accounts.
  • [ ] Should be able to Add rows of accounts.
  • [ ] Should be able to delete rows of accounts. (Excluding the first row)
  • [ ] Data should end up stored as an array of objects [{ robinHoodValue: '' }]
  • [ ] Data should be sanitized before output
  • [ ] Validations should fire on fields if they are blank. (more validations could probably be added here)
  • [ ] Should be prompted to set up after toggling Multiple Accounts on or off
  • [ ] After Setup of multiple, should be told to remove old single properties
  • [ ] After Setup of single, should be told to remove old multiple properties
  • [ ] Should only update 4 correct properties on update
  • [ ] Should prompt for setup if one or more properties expected is missing
  • [ ] Should throw up a warning if a property was found, but could not be updated with the data provided.

Other tidbits:

  • Moves urls & interfaces to constants folder
  • Removes .vscode/settings.json
  • Adds .vscode/settings.json.default so devs can opt in to the projects default settings but still overwrite if needed.
  • Adds .vscode/extensions.json recomending eslint as an extension.
  • lint:fix command added for quick linting.

superpowered avatar Jan 18 '21 20:01 superpowered

Just a heads-up, I was thinking about scraping the Robinhood account username and using it as a name on the properties, as a way of allowing multiple accounts to be set up.

pkmnct avatar Jan 18 '21 22:01 pkmnct

Okay. Definitely will need a bit of cleanup, but should be functional at this point.

superpowered avatar Jan 19 '21 04:01 superpowered

I'm going to plan to take at look a this over the weekend!

pkmnct avatar Jan 21 '21 23:01 pkmnct

I'm going to plan to take at look a this over the weekend!

Yeah, hopefully I'll get to look at it some more and clean it up before then. A bit more swamped than usual due to the shorter work week.

superpowered avatar Jan 22 '21 00:01 superpowered