a72e3347f5
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
424d2f6965
|
chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
## Description
This PR upgrades Prettier to v2 + enforces TypeScript’s [`import
type`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export)
syntax where applicable. It’s submitted as a separate PR so we can merge
it easily.
As a part of this PR, we reformat the codebase heavily:
- add `import type` everywhere where it’s required, and
- re-format the code to account for Prettier 2’s breaking changes:
https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes
This PR is submitted against `release` to make sure all new code by team
members will adhere to new formatting standards, and we’ll have fewer
conflicts when merging `bundle-optimizations` into `release`. (I’ll
merge `release` back into `bundle-optimizations` once this PR is
merged.)
### Why is this needed?
This PR is needed because, for the Lodash optimization from
|
||
|
|
d39cecbbb4
|
feat: chartwidget reskin feedback (#15621)
* style: added styles to chart configs * style: adjusted axis names and legend position * style: * adjusting legend position * removed background property at the widget level * exposed current theme data at widget level * fix: addressed feedback on chart widget reskin * fix: * style according to feedback * styled custom charts * fix: * added migration for accentColor and fontFamily * implemented reskinning feedback * fix: changed the position of properties in custom chart config * fix: * added unit test for migration * changed the caption color * fix: spacing fix * fix: added accentColor and fontFamily defaults * test: added cypress test for chart reskinning * test: fixed cypress test failure |