-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Migrate dual validated range #59689
Migrate dual validated range #59689
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
…ldwell/kibana into np-migrate-dual-validated-range
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Outdated
Show resolved
Hide resolved
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.
Thanks for moving and migrating this component to TS.
lgtm with green CI
code review
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.
AppArch changes LGTM, except the @ts-ignore
s.
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx
Show resolved
Hide resolved
…e on EuiDualRange & No good alternatives for spread syntax in TS components
retest |
@elasticmachine merge upstream |
…iggers a react browser warning and complicates using 'prevState' in getDerivedStateFromProps
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Move validated range files to new NP location * Update refs in code * Clean up old validated range files * Change relative paths to 'kibana-react'. Some clean up * Change to relative paths * Fix i18n errors * i18n clean up. Export module explicitly * Change files over to TS to prevent build issue where validated range was missing * Clean up TS conversion * More clean up. Extend EuiRangeProps * Remove unneeded ts-ignore * Review feedback and test fixes * Change double to single quotes * min and max aren't always passed, make optional * Type updates * Review feedback. Set state to empty on init and add ignore comment * Review feedback * Add back in last 2 ts-ignores. Build fails without focusable attribute on EuiDualRange & No good alternatives for spread syntax in TS components * Rollback change to state init. Initializing state to null actually triggers a react browser warning and complicates using 'prevState' in getDerivedStateFromProps Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Move validated range files to new NP location * Update refs in code * Clean up old validated range files * Change relative paths to 'kibana-react'. Some clean up * Change to relative paths * Fix i18n errors * i18n clean up. Export module explicitly * Change files over to TS to prevent build issue where validated range was missing * Clean up TS conversion * More clean up. Extend EuiRangeProps * Remove unneeded ts-ignore * Review feedback and test fixes * Change double to single quotes * min and max aren't always passed, make optional * Type updates * Review feedback. Set state to empty on init and add ignore comment * Review feedback * Add back in last 2 ts-ignores. Build fails without focusable attribute on EuiDualRange & No good alternatives for spread syntax in TS components * Rollback change to state init. Initializing state to null actually triggers a react browser warning and complicates using 'prevState' in getDerivedStateFromProps Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (30 commits) [TSVB] fix text color when using custom background color (elastic#60261) Fix import to timefilter from in TSVB (elastic#60296) [NP] Get rid of usage redirectWhenMissing service (elastic#59777) [SIEM] Fix Timeline footer styling (elastic#59587) [ML] Fixes to error handling for analytics jobs and file data viz (elastic#60249) Give better stack traces for Unhandled Promise Rejection warnings (elastic#60235) resolves elastic#58905 (elastic#60120) Added variables button for text fields in Pagerduty component. (elastic#60189) adds test that action vars are rendered for alert action parms (elastic#60310) Closes 59786 by removing the update toast (elastic#60172) [EPM] Packages list tabs (elastic#60167) Added message variables button for Webhook body form field (elastic#60174) Revert "adds new test (elastic#60064)" [Maps] move MapSavedObject type out of telemetry (elastic#60127) [Reporting] Fix error handling for job handler in route (elastic#60161) [Endpoint] TEST: verify alerts page header says 'Alerts' (elastic#60206) EMT-248: implement ack resource to accept event payload to acknowledge agent actions (elastic#60218) Migrate dual validated range (elastic#59689) Embeddable triggers (elastic#58440) [Endpoint] Sample data generator CLI script (elastic#59952) ...
Summary
Migrates dual validated range to NP and updates to TypeScript. Blocker for #59585