Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cache" some of the data retrieved from Linear #8

Open
nir0s opened this issue Sep 23, 2021 · 1 comment
Open

"Cache" some of the data retrieved from Linear #8

nir0s opened this issue Sep 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nir0s
Copy link
Contributor

nir0s commented Sep 23, 2021

Some of the data we retrieve when e.g. creating issues shouldn't change that often. We should cache this data so that the user doesn't have to wait for Linear to return it. For example, every time an issue is created, we re-retrieve the available workflow states and assignees. Those probably don't change very often, so we may as well retrieve them just once, save them to the global context when any command that uses them first runs, and use them instead of re-retrieving.

For now, this can be done for:

  • Workflow states
  • List of assignees (team members)
  • My teams
  • Available priorities
@nir0s nir0s added the enhancement New feature or request label Sep 23, 2021
@nir0s
Copy link
Contributor Author

nir0s commented Sep 25, 2021

Btw, we can also add a command to force-update the cache, just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant