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

TSify ExplorerWindow/Tabs #7415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pjonsson
Copy link
Contributor

What this PR does

Test me

I believe this is tested by CI?

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

@@ -198,19 +217,21 @@ class AddData extends React.Component {
renderPanels() {
const { t } = this.props;
const dropdownTheme = {
// @ts-expect-error FIXME: no Styles.dropdown defined.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need help with these, not sure why there isn't a Style.dropdown and Style.dropdownListIsOpen defined.

@@ -68,16 +76,17 @@ class MyDataTab extends React.Component {
onClick={() => this.changeTab(tab.id)}
title={tab.caption}
className={classNames(Styles.tabListBtn, {
// @ts-expect-error FIXME: No isActive defined in CssExports.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same with this, but for Style.isActive.

@pjonsson pjonsson force-pushed the tsify-lib-reactviews-explorerwindow-tabs-mydatatab branch from 74a336d to 2e62aca Compare December 25, 2024 00:10
@pjonsson pjonsson changed the title TSify ExplorerWindow/Tabs/MyDataTab TSify ExplorerWindow/Tabs Dec 25, 2024
searchState.catalogSearchProvider
? searchState.catalogSearchProvider
.debounceDurationOnceLoaded
terria.catalogReferencesLoaded
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is already a check of state.catalogSearchProvider on line 61, so removed the check on this line.

Also had to shorten searchState to get pretty to keep the @ts-expect-error in the right place.

@pjonsson pjonsson force-pushed the tsify-lib-reactviews-explorerwindow-tabs-mydatatab branch from 2e62aca to 3b8ef53 Compare February 19, 2025 23:19
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.

1 participant