-
Notifications
You must be signed in to change notification settings - Fork 890
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
[Look&Feel] Apply missing guidance for visBuilder #7341
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7341 +/- ##
==========================================
+ Coverage 67.70% 67.75% +0.05%
==========================================
Files 3521 3521
Lines 69777 69783 +6
Branches 11390 11390
==========================================
+ Hits 47244 47283 +39
+ Misses 19732 19691 -41
- Partials 2801 2809 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/vis_builder/public/application/components/data_tab/field_details.tsx
Show resolved
Hide resolved
Signed-off-by: Dan Dong <[email protected]>
99313c6
to
b27424f
Compare
Signed-off-by: Dan Dong <[email protected]>
dbf2110
to
e8b28de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving as cypress tests look unrelated
do have question on ignoring typing on imports though
// @ts-ignore | ||
import { mountWithIntl } from 'test_utils/enzyme_helpers'; | ||
import { IndexPatternField } from '../../../../../data/common'; | ||
// @ts-ignore | ||
import { findTestSubject } from '@elastic/eui/lib/test'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious are these ignored elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at least in that folder they are - field_details.test.tsx and /utils/get_field_details.test.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the field details component includes my field bucket component, I mostly used the setup found in field_details.test.tsx
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-7341-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 55e23a44488089940c6974d38c0d4591b38595d5
# Push it to GitHub
git push --set-upstream origin backport/backport-7341-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
Description
Applies look and feel pattern guidance to components in visBuilder.
Screenshot
Changelog
Check List
yarn test:jest
yarn test:jest_integration