Skip to content

Move in-progress methods state to modeling store#2971

Merged
charisk merged 3 commits intomainfrom
charisk/move-in-progress-methods-state
Oct 16, 2023
Merged

Move in-progress methods state to modeling store#2971
charisk merged 3 commits intomainfrom
charisk/move-in-progress-methods-state

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Oct 13, 2023

The state is currently in the React view but we need it in the modeling store so that it can be used by the method modeling panel too.

Checklist

N/A:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk requested review from a team as code owners October 13, 2023 14:30
}

interface InProgressMethodsChangedEvent {
dbUri: string;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a specific reason for using dbUri here instead of isActiveDb like some other events?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah I think it lets the model editor view decide whether the event is appropriate for it or not. We do have dbUri in some other events too.

Comment thread extensions/ql-vscode/src/model-editor/modeling-store.ts Outdated
Comment thread extensions/ql-vscode/src/model-editor/modeling-store.ts Outdated
Comment thread extensions/ql-vscode/src/model-editor/modeling-store.ts Outdated
Comment thread extensions/ql-vscode/src/model-editor/modeling-store.ts Outdated
@charisk charisk merged commit 23dc8f1 into main Oct 16, 2023
@charisk charisk deleted the charisk/move-in-progress-methods-state branch October 16, 2023 07:51
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.

2 participants