-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix navigation issues with spec #2311
Conversation
5b9a88b
to
c2986af
Compare
Host Test Results 1 files ±0 1 suites ±0 27m 45s ⏱️ -17s Results for commit 3129465. ± Comparison against base commit 8e1fed4. This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
@onClick={{fn | ||
this.selectAccordionItem | ||
'schema-editor' | ||
false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tintinthong is this boolean parameter needed?
@action private selectAccordionItem(item: SelectedAccordionItem) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
this.selectAccordionItem | ||
'playground' | ||
}} | ||
@isLoadingNewModule={{this.moduleContentsResource.isLoadingNewModule}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not be needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do want to keep this so I can show a loading state while changing module and return a default title
packages/host/app/components/operator-mode/code-submode/spec-preview.gts
Outdated
Show resolved
Hide resolved
accordion fix fix lint wrong argument fix test fix test follow up fixes fix lint fix lint fix lint fix lint
fd953b9
to
3129465
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
This PR fixes the issue that if you change a selection on LHS, it doesn't remain stale (particularly after you have chosen something in the dropdown) See this test
Other changes
As part of this PR there is a digression in auto-save. I do not have a good solution for that and have skipped the test. But, the structure that we want is closer to this. PLS REVIEW THIS INDEPENDENTLY OF THE AUTO_SAVE ISSUE