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 outline views per file #74

Open
joshspicer opened this issue Oct 25, 2024 · 0 comments
Open

Cache outline views per file #74

joshspicer opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joshspicer
Copy link
Member

joshspicer commented Oct 25, 2024

When a user has the follow mode (📌 ) on navigating back and forth between 2 files will repeatly cause the diagrams to query the model to generate a new diagram. If the target file hasn't changed a lot, we're likely wasting the user's time by not just showing the previously generated diagram.

We should cache file outlines and show those unless the file has changed ("changed" could be any change, or perhaps a substantial change?) to make things feel snappier and reduce interaction with the model.

We could borrow our quick iteration tactics with /iterate to make incremental updates to a diagram.

@joshspicer joshspicer added the enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant