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

refactor: Migration of AnnotationLayerControl to TypeScript #28346

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

EnxDev
Copy link
Contributor

@EnxDev EnxDev commented May 5, 2024

SUMMARY

Migrate AnnotationLayerControl to TypeScript

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N.A

TESTING INSTRUCTIONS

  • All tests should pass

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@john-bodley john-bodley changed the title chore: Migration of AnnotationLayerControl to TypeScript refactor: Migration of AnnotationLayerControl to TypeScript May 6, 2024
Comment on lines 83 to 98
export interface Explore {
can_add: boolean;
can_download: boolean;
can_overwrite: boolean;
isDatasourceMetaLoading: boolean;
isStarred: boolean;
triggerRender: boolean;
datasource: Dataset;
controls: ControlStateMapping;
form_data: QueryFormData;
slice: Slice;
controlsTransferred: string[];
standalone: boolean;
force: boolean;
common: JsonObject;
}
Copy link
Member

Choose a reason for hiding this comment

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

Please reuse the ExplorePageState['explore'] type in `src/explore/types' to minimize the maintainance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

EnxDev and others added 3 commits May 9, 2024 23:28
Co-authored-by: JUST.in DO IT <[email protected]>
Co-authored-by: JUST.in DO IT <[email protected]>
Co-authored-by: JUST.in DO IT <[email protected]>
Comment on lines +55 to +58
annotation: any;
timeout: any;
key: any;
formData?: any;
Copy link
Member

Choose a reason for hiding this comment

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

No any please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants