For the Todos -> Issue component in the app dashboard for an org/user, we want to be able to click a button on the "Research" section and generate new research items for the given issue. in the todoRouter.create function, there is an example of how to perform research. Update that file to create a new router mutation for "researchIssue". Then call that trpc todoRouter on the front end.
Exit Criteria:
There is a new researchIssue mutation on the todo router.
The Issue component has a new "Research" button on the research section
The Issue component has all of the proper error handling and ui loading states
The Issue component will refetch the new research items when the research is completed.
@jacob-ai-bot
@jacob-ai-bot