Skip to content

Conversation

@koesie10
Copy link
Member

@koesie10 koesie10 commented Oct 11, 2023

This sorts the methods in the methods usages panel the same as in the model editor. Since this is dependent on the mode, we need to keep track of the mode in the modeling store, so this also adds a mode field to the db state.

Somewhat dependent on #2949 since having two model editors open with different modes will result in a lot of potential error states.

Checklist

  • 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.

This sorts the methods in the methods usages panel the same as in the
model editor. Since this is dependent on the mode, we need to keep track
of the mode in the modeling store, so this also adds a mode field to the
db state.
@koesie10 koesie10 marked this pull request as ready for review October 11, 2023 12:35
@koesie10 koesie10 requested a review from a team as a code owner October 11, 2023 12:35
Copy link
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

LGTM.

queryDir,
db,
modelFile,
Mode.Application,
Copy link
Contributor

Choose a reason for hiding this comment

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

Another one bites the dust 😆

I love seeing the constructor getting smaller as we rely more on the modeling store.

@koesie10 koesie10 enabled auto-merge October 12, 2023 07:39
@koesie10 koesie10 merged commit 0835b14 into main Oct 12, 2023
@koesie10 koesie10 deleted the koesie10/sort-usages-panel branch October 12, 2023 07:55
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