-
Notifications
You must be signed in to change notification settings - Fork 86
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
Bug fixes and retracting some formatting changes #1141
Conversation
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
public/pages/Aliases/components/IndexControls/IndexControls.tsx
Outdated
Show resolved
Hide resolved
public/pages/Indices/components/IndexControls/IndexControls.tsx
Outdated
Show resolved
Hide resolved
public/pages/ManagedIndices/components/ManagedIndexControls/ManagedIndexControls.tsx
Outdated
Show resolved
Hide resolved
fullWidth | ||
helpText="Specify one or more indexes or data streams you want to reindex from." | ||
label="" | ||
helpText={ | ||
<div> | ||
Use reindex to make extensive changes to your index. Reindex will copy data of the source index into another index.{" "} | ||
<EuiLink href={this.context.docLinks.links.opensearch.reindexData.base} target="_blank" rel="noopener noreferrer"> | ||
Learn more | ||
</EuiLink> | ||
</div> | ||
} |
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.
Is this a description? If so, please use TopNavControlDescriptionData
. The one used, TopNavControlComponentData
, is for extremely rare situations where existing controls don't provide what you need. All other types of TopNavControlData
get globally styled but TopNavControlComponentData
by their nature cannot and are hence tough to maintain for you.
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.
Hi Miki, we actually tried that but the EUI link which we were getting looked a bit too spaced out hence did this. PFA the screenshots:
With current code:
With the suggested code:
Please let us know if we are fine with the UI or know a fix to remove the spaces. In that case we need to update all the description in ISM that we can take up as follow up PR
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 edited it as per your suggestion but would be great if you could clarify it once. Thanks!
public/pages/ShrinkIndex/container/ShrinkIndex/ShrinkIndex.test.tsx
Outdated
Show resolved
Hide resolved
|
||
{Common()} | ||
</div> | ||
) : ( | ||
<div style={{ padding: "0px 50px" }}> |
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 should find a way to get rid of these unstandard stylings. @kgcreative
public/pages/ManagedIndices/containers/ManagedIndices/ManagedIndices.tsx
Show resolved
Hide resolved
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
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.
LGTM, we can merge after all Miki's suggestions have been addressed
Signed-off-by: Kshitij Tandon <[email protected]>
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/index-management-dashboards-plugin/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/index-management-dashboards-plugin/backport-2.x
# Create a new branch
git switch --create backport/backport-1141-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ccdfcd3fbb37a30e3f6afde0243b0d15ff2de7b5
# Push it to GitHub
git push --set-upstream origin backport/backport-1141-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/index-management-dashboards-plugin/backport-2.x Then, create a pull request where the |
…1141) * A couple of bug fixes and Look Good Feel Good changes Signed-off-by: Kshitij Tandon <[email protected]> * Revert yarn.lock changes Signed-off-by: Kshitij Tandon <[email protected]> * Bug fix in Indexes page and worked on comments on previous commit Signed-off-by: Kshitij Tandon <[email protected]> * Add yarn file Signed-off-by: Kshitij Tandon <[email protected]> * Removing feel good changes from prior commit Signed-off-by: Kshitij Tandon <[email protected]> * Fixed rerendering of pages on clicking change and create buttons Signed-off-by: Kshitij Tandon <[email protected]> * Adding MDS support in Shrink page in Indexes in ISM Signed-off-by: Kshitij Tandon <[email protected]> * Fixed a test file and removed couple of reduntant flag uses Signed-off-by: Kshitij Tandon <[email protected]> * Some more frivolous code from last commit Signed-off-by: Kshitij Tandon <[email protected]> * Some snap file changes Signed-off-by: Kshitij Tandon <[email protected]> * Resolved comments Signed-off-by: Kshitij Tandon <[email protected]> * Import issue in Templates Signed-off-by: Kshitij Tandon <[email protected]> * Description changes Signed-off-by: Kshitij Tandon <[email protected]> --------- Signed-off-by: Kshitij Tandon <[email protected]>
…1141) * A couple of bug fixes and Look Good Feel Good changes Signed-off-by: Kshitij Tandon <[email protected]> * Revert yarn.lock changes Signed-off-by: Kshitij Tandon <[email protected]> * Bug fix in Indexes page and worked on comments on previous commit Signed-off-by: Kshitij Tandon <[email protected]> * Add yarn file Signed-off-by: Kshitij Tandon <[email protected]> * Removing feel good changes from prior commit Signed-off-by: Kshitij Tandon <[email protected]> * Fixed rerendering of pages on clicking change and create buttons Signed-off-by: Kshitij Tandon <[email protected]> * Adding MDS support in Shrink page in Indexes in ISM Signed-off-by: Kshitij Tandon <[email protected]> * Fixed a test file and removed couple of reduntant flag uses Signed-off-by: Kshitij Tandon <[email protected]> * Some more frivolous code from last commit Signed-off-by: Kshitij Tandon <[email protected]> * Some snap file changes Signed-off-by: Kshitij Tandon <[email protected]> * Resolved comments Signed-off-by: Kshitij Tandon <[email protected]> * Import issue in Templates Signed-off-by: Kshitij Tandon <[email protected]> * Description changes Signed-off-by: Kshitij Tandon <[email protected]> --------- Signed-off-by: Kshitij Tandon <[email protected]>
…1141) * A couple of bug fixes and Look Good Feel Good changes Signed-off-by: Kshitij Tandon <[email protected]> * Revert yarn.lock changes Signed-off-by: Kshitij Tandon <[email protected]> * Bug fix in Indexes page and worked on comments on previous commit Signed-off-by: Kshitij Tandon <[email protected]> * Add yarn file Signed-off-by: Kshitij Tandon <[email protected]> * Removing feel good changes from prior commit Signed-off-by: Kshitij Tandon <[email protected]> * Fixed rerendering of pages on clicking change and create buttons Signed-off-by: Kshitij Tandon <[email protected]> * Adding MDS support in Shrink page in Indexes in ISM Signed-off-by: Kshitij Tandon <[email protected]> * Fixed a test file and removed couple of reduntant flag uses Signed-off-by: Kshitij Tandon <[email protected]> * Some more frivolous code from last commit Signed-off-by: Kshitij Tandon <[email protected]> * Some snap file changes Signed-off-by: Kshitij Tandon <[email protected]> * Resolved comments Signed-off-by: Kshitij Tandon <[email protected]> * Import issue in Templates Signed-off-by: Kshitij Tandon <[email protected]> * Description changes Signed-off-by: Kshitij Tandon <[email protected]> --------- Signed-off-by: Kshitij Tandon <[email protected]>
…1141) * A couple of bug fixes and Look Good Feel Good changes Signed-off-by: Kshitij Tandon <[email protected]> * Revert yarn.lock changes Signed-off-by: Kshitij Tandon <[email protected]> * Bug fix in Indexes page and worked on comments on previous commit Signed-off-by: Kshitij Tandon <[email protected]> * Add yarn file Signed-off-by: Kshitij Tandon <[email protected]> * Removing feel good changes from prior commit Signed-off-by: Kshitij Tandon <[email protected]> * Fixed rerendering of pages on clicking change and create buttons Signed-off-by: Kshitij Tandon <[email protected]> * Adding MDS support in Shrink page in Indexes in ISM Signed-off-by: Kshitij Tandon <[email protected]> * Fixed a test file and removed couple of reduntant flag uses Signed-off-by: Kshitij Tandon <[email protected]> * Some more frivolous code from last commit Signed-off-by: Kshitij Tandon <[email protected]> * Some snap file changes Signed-off-by: Kshitij Tandon <[email protected]> * Resolved comments Signed-off-by: Kshitij Tandon <[email protected]> * Import issue in Templates Signed-off-by: Kshitij Tandon <[email protected]> * Description changes Signed-off-by: Kshitij Tandon <[email protected]> --------- Signed-off-by: Kshitij Tandon <[email protected]>
* A couple of bug fixes and Look Good Feel Good changes * Revert yarn.lock changes * Bug fix in Indexes page and worked on comments on previous commit * Add yarn file * Removing feel good changes from prior commit * Fixed rerendering of pages on clicking change and create buttons * Adding MDS support in Shrink page in Indexes in ISM * Fixed a test file and removed couple of reduntant flag uses * Some more frivolous code from last commit * Some snap file changes * Resolved comments * Import issue in Templates * Description changes --------- Signed-off-by: Kshitij Tandon <[email protected]>
Description
Fixed some bugs in ISM dashboard pages, added MDS support in shrink page in Indexes, some changes for yarn file and retracting some of the Look Good Feel Good code change done in the last PR
Issues Resolved
[List any issues this PR will resolve]
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.