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

Measure-tools-react: drawingTypeCache refactor #992

Merged
merged 22 commits into from
Aug 19, 2024

Conversation

Maxime-Brassard
Copy link
Contributor

@Maxime-Brassard Maxime-Brassard commented Jul 10, 2024

Modified the drawingTypeCache so that it is easier to use and keeps the drawing types so that it does not run again when it goes back to a previously checked sheet.
Also made it a singleton so that it persists between tools.

Per the comment made on this PR: https://dev.azure.com/bentleycs/Civil-iTwin/_git/Civil-iTwin/pullrequest/441863

@Maxime-Brassard Maxime-Brassard marked this pull request as ready for review July 10, 2024 13:48
@Maxime-Brassard Maxime-Brassard enabled auto-merge (squash) July 10, 2024 13:48
@Maxime-Brassard Maxime-Brassard changed the title Task/drawing type cache refactor Measure-tools-react: drawingTypeCache refactor Jul 10, 2024
Copy link
Contributor

@a-gagnon a-gagnon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tools look ok to me, I'll let Nicholas comment on the data cache.

@bsy-nicholasw bsy-nicholasw self-requested a review July 25, 2024 17:41
@Maxime-Brassard Maxime-Brassard merged commit aea256b into master Aug 19, 2024
9 checks passed
@Maxime-Brassard Maxime-Brassard deleted the task/drawingTypeCacheRefactor branch August 19, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants