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

Fix deprecation warnings #882

Open
82 tasks
zoltanbedi opened this issue Jun 18, 2024 · 0 comments
Open
82 tasks

Fix deprecation warnings #882

zoltanbedi opened this issue Jun 18, 2024 · 0 comments
Labels
help wanted Extra attention is needed type/chore

Comments

@zoltanbedi
Copy link
Member

  • src/app/UQLProvider.test.ts

    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 8, column 69
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 13, column 69
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 18, column 69
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 23, column 69
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 41, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 62, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 64, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 66, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 77, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 78, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 79, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 80, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 81, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 82, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 103, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 105, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 146, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 147, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 170, column 51
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 171, column 51
  • src/app/UQLProvider.ts

    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 10, column 24
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 23, column 24
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 41, column 17
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 54, column 17
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 67, column 41
    • deprecation/deprecation: 'toArray' is deprecated. this is not necessary. This only exists to help migrate Vector to Array at line 73, column 40
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 84, column 13
  • src/app/parsers/InfinityParser.ts

    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 74, column 59
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 81, column 41
  • src/app/utils.ts

    • deprecation/deprecation: 'TableData' is deprecated. this is a very old (pre Grafana 7 + DataFrame) representation for tabular data at line 4, column 47
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 112, column 58
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 130, column 27
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 151, column 85
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 165, column 56
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 213, column 41
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 214, column 38
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 219, column 55
    • deprecation/deprecation: 'get' is deprecated. use a simple Array at line 229, column 57
    • deprecation/deprecation: 'ArrayVector' is deprecated. use a simple Array at line 248, column 29
    • deprecation/deprecation: 'ArrayVector' is deprecated. use a simple Array at line 252, column 29
  • src/app/variablesQuery/index.test.ts

    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 6, column 21
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 15, column 21
    • deprecation/deprecation: 'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame at line 27, column 21
  • src/components/config/SecureFieldsEditor.tsx

    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 26, column 42
  • src/components/extended/EditorField.tsx

    • deprecation/deprecation: 'stylesFactory' is deprecated. use useStyles hook
      Creates memoized version of styles creator at line 74, column 19
  • src/components/extended/EditorHeader.tsx

    • deprecation/deprecation: 'stylesFactory' is deprecated. use useStyles hook
      Creates memoized version of styles creator at line 15, column 19
  • src/components/extended/EditorRow.tsx

    • deprecation/deprecation: 'borderRadius' is deprecated. Use theme.shape.radius.default, theme.shape.radius.pill or theme.shape.radius.circle instead at line 77, column 33
  • src/components/extended/Space.tsx

    • deprecation/deprecation: 'stylesFactory' is deprecated. use useStyles hook
      Creates memoized version of styles creator at line 27, column 19
  • src/datasource.ts

    • deprecation/deprecation: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 31, column 10
    • deprecation/deprecation: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 65, column 16
    • deprecation/deprecation: 'error' is deprecated. use errors instead -- will be removed in Grafana 10+ at line 144, column 26
    • deprecation/deprecation: 'error' is deprecated. use errors instead -- will be removed in Grafana 10+ at line 145, column 66
  • src/editors/config/Auth.tsx

    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 25, column 42
    • deprecation/deprecation: 'keyCode' is deprecated. at line 119, column 21
  • src/editors/config/GlobalQueryEditor.tsx

    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 23, column 25
  • src/editors/config/OAuthInput.tsx

    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 78, column 14
    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 133, column 14
  • src/editors/config/TLSConfigEditor.tsx

    • deprecation/deprecation: 'LegacyForms' is deprecated. Please use non-legacy versions of these components at line 13, column 25
  • src/editors/config/guided-config/GoogleJWT.tsx

    • deprecation/deprecation: 'ReactChild' is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear. at line 9, column 20
  • src/editors/config/guided-config/GuidedBasicAuthEditor.tsx

    • deprecation/deprecation: 'ReactChild' is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear. at line 21, column 20
  • src/module.ts

    • deprecation/deprecation: 'setVariableQueryEditor' is deprecated. -- prefer using {@link StandardVariableSupport} or {@link CustomVariableSupport} or {@link DataSourceVariableSupport} in data source instead at line 8, column 122
  • src/types/query.types.ts

    • deprecation/deprecation: 'DataQuery' is deprecated. use the type from at line 11, column 76
    • deprecation/deprecation: 'DataQuery' is deprecated. use the type from at line 12, column 87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type/chore
Projects
Status: Backlog
Development

No branches or pull requests

2 participants