Skip to content
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

Merged
merged 13 commits into from
Aug 22, 2024

Conversation

tandonks
Copy link
Contributor

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

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Kshitij Tandon <[email protected]>
Comment on lines 562 to 571
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>
}
Copy link
Contributor

@AMoo-Miki AMoo-Miki Aug 21, 2024

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.

Copy link
Contributor Author

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:
image
With the suggested code:
image
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

Copy link
Contributor Author

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!


{Common()}
</div>
) : (
<div style={{ padding: "0px 50px" }}>
Copy link
Contributor

@AMoo-Miki AMoo-Miki Aug 21, 2024

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

Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Copy link
Contributor

@CaptainDredge CaptainDredge left a 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]>
@SuZhou-Joe SuZhou-Joe merged commit ccdfcd3 into opensearch-project:main Aug 22, 2024
9 of 11 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

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 base branch is 2.x and the compare/head branch is backport/backport-1141-to-2.x.

tandonks added a commit to tandonks/index-management-dashboards-plugin that referenced this pull request Aug 22, 2024
…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]>
tandonks added a commit to tandonks/index-management-dashboards-plugin that referenced this pull request Aug 22, 2024
…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]>
tandonks added a commit to tandonks/index-management-dashboards-plugin that referenced this pull request Aug 22, 2024
…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]>
tandonks added a commit to tandonks/index-management-dashboards-plugin that referenced this pull request Aug 22, 2024
…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]>
SuZhou-Joe pushed a commit that referenced this pull request Aug 23, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants