Skip to content

[Task](ui): Change imports from deprecated Javascript components to Typescript (incl. Portal) and tidy up #645

@guoda-puidokaite

Description

@guoda-puidokaite

Task Description

When all components in @cloudoperators/juno-ui-components have been migrated to Typescript, we should swap over any remaining deprecated imports to the new migrated ones. After all, delete all migrated Javascript components from deprecated_js.

List of potential dependencies

Sub-tasks

  • Make sure that all migrated components import Typescript components instead of deprecated Javascript ones (especially Portal and AppShellProvider).
  • Change index.js in AppShellProvider to index.ts.
  • Delete all migrated components from deprecated_js.
  • Check Storybook
  • Test Supernova, Elektra
  • Fix all errors related to npm run typecheck
  • Check if npm run build is working (note: errors already existed before, need to fix in another ticket)
  • Check that npm run lint is working correctly and fix all tslint errors

Related Issues

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions