3 ms·
I've thought often that one could write robust automation engines that boil any SaaS app down into a few functions: search(terms?: string) -> Promise<Item[]>
by btown 5y ago
I've thought often that one could write robust automation engines that boil any SaaS app down into a few functions:
search(terms?: string) -> Promise<Item[]>
expandItem(itemId: string) -> Promise<Item[]> # gets more details for the given item (e.g. a thread) and any child items (e.g. messages within the thread)
...
One could build this for Gmail using https://inboxsdk.github.io/ https://inboxsdk.github.io/ , and other apps ranging from Slack to Google Calendar to Dropbox to your issue tracker du jour with screen scraping, treating each message or ticket or document as an item. Not an easy task as you'd be fighting against the current of rapidly-iterating frontend teams changing class names and structures as they see fit, but doable. The possibilities of how to collate and visualize this data would be endless!
- lelanthran 5y agoIf you add in `list(grouplist?: string[])` you'll get 99% of the functionality that most controllers in MVC need.