-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add actual integration queries to table #1544
Add actual integration queries to table #1544
Conversation
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Depends on #1530 |
…/Swiddis/dashboards-observability into feature/ds-installed-integ-table
@@ -124,6 +124,7 @@ interface AssetReference { | |||
assetId: string; | |||
isDefaultAsset: boolean; | |||
description: string; | |||
status?: string; |
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.
Can the status be from an enum? I think these should be know types
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.
I have a few things to fix with status so I made #1545, will work on it soon
@@ -415,6 +415,9 @@ export function SetupIntegrationForm({ | |||
</EuiFormRow> | |||
</> | |||
) : null} | |||
{/* Bottom bar will overlap content if there isn't some space at the end */} | |||
<EuiSpacer /> |
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.
nit. Euispacer has props for size="l"/"xl". May be use that.
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.
Tried xxl but it was still too small, 2 default spacers did the trick
return <EuiHealth color="warning">Unknown</EuiHealth>; | ||
case 'available': | ||
return <EuiHealth color="success">Active</EuiHealth>; | ||
case 'partially-available': | ||
return <EuiHealth color="warning">Partially Available</EuiHealth>; | ||
default: | ||
return <EuiHealth color="danger">Critical</EuiHealth>; |
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.
not a blocker: Is there any documentation or comment where i can learn about how we determine the status?
As a user I would like to learn more about what statuses represent
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.
We documented it in the design somewhere but I don't think we've added it to OSS docs, I'll see about finding a home for the info
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1544 +/- ##
==========================================
+ Coverage 57.74% 57.96% +0.22%
==========================================
Files 362 363 +1
Lines 13301 13340 +39
Branches 3461 3468 +7
==========================================
+ Hits 7680 7733 +53
+ Misses 5562 5548 -14
Partials 59 59
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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/dashboards-observability/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/dashboards-observability/backport-2.x
# Create a new branch
git switch --create backport/backport-1544-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ecb8fb394dc6f795b99cbb43b4b42055533456b6
# Push it to GitHub
git push --set-upstream origin backport/backport-1544-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/dashboards-observability/backport-2.x Then, create a pull request where the |
* Stub integration type Signed-off-by: Simeon Widdis <[email protected]> * Fix links and statuses on integration table stub Signed-off-by: Simeon Widdis <[email protected]> * Add search bar and tests Signed-off-by: Simeon Widdis <[email protected]> * Add 'add integrations' button to installed integrations table Signed-off-by: Simeon Widdis <[email protected]> * Update added integration snapshot Signed-off-by: Simeon Widdis <[email protected]> * Add dynamic loading of integrations from store Signed-off-by: Simeon Widdis <[email protected]> * Add space after integration setup page Signed-off-by: Simeon Widdis <[email protected]> * Add empty integration state Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Simeon Widdis <[email protected]> (cherry picked from commit ecb8fb3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Stub integration type * Fix links and statuses on integration table stub * Add search bar and tests * Add 'add integrations' button to installed integrations table * Update added integration snapshot * Add dynamic loading of integrations from store * Add space after integration setup page * Add empty integration state --------- (cherry picked from commit ecb8fb3) Signed-off-by: Simeon Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ensearch-project#1547) * Stub integration type * Fix links and statuses on integration table stub * Add search bar and tests * Add 'add integrations' button to installed integrations table * Update added integration snapshot * Add dynamic loading of integrations from store * Add space after integration setup page * Add empty integration state --------- (cherry picked from commit ecb8fb3) Signed-off-by: Simeon Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit ba00bb8)
Description
Adds the ability to dynamically load integrations into the installed integrations table, and reactivates the tab. Also adds some terminal spacing to the S3 setup page since it was getting clipped by the bottom bar.
TODO: Cypress tests
Empty Table:

When an empty test integration is added that matches the data source:

Issues Resolved
N/A
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.