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

Fit and Finish changes for Indexes and Transform pages #1154

Merged
merged 6 commits into from
Sep 2, 2024

Conversation

tandonks
Copy link
Contributor

Description

Did fit and finish changes for Indexes and Transform pages

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.

@danieldong51
Copy link

danieldong51 commented Aug 29, 2024

Not sure if the following files are in scope, but the headers should be <h2> wrapped in <EuiText size="s">, and text should be <EuiText size="s">.

File Screenshot
public/containers/ClearCacheModal/ClearCacheModal.tsx Clear Cache
public/containers/FlushIndexModal/FlushIndexModal.tsx Flush Index
public/containers/RefreshAction/index.tsx Refresh Index

@danieldong51
Copy link

Should the title in public/pages/ForceMerge/container/ForceMerge/ForceMerge.tsx be wrapped in EuiText size="s"?

Screenshot 2024-08-29 at 11 21 28 AM

@danieldong51
Copy link

danieldong51 commented Aug 29, 2024

In public/components/MappingLabel/MappingLabel.tsx:

  • The context menu should be size="s" :
Screenshot 2024-08-29 at 11 38 25 AM
  • Also not sure if in scope / up to your team's discretion, but should the text for the mappings be small text in ?
Before After
Screenshot 2024-08-29 at 11 23 08 AM Screenshot 2024-08-29 at 11 25 37 AM

@danieldong51
Copy link

danieldong51 commented Aug 29, 2024

The heading in public/pages/CreateIndex/containers/CreateIndex/CreateIndex.tsx should be small <h1>:

Screenshot 2024-08-29 at 11 27 26 AM

@danieldong51
Copy link

danieldong51 commented Aug 29, 2024

The context menu here should have size="s" in public/pages/CreateTransform/components/PreviewOptions/PreviewOptions.tsx on the Create Transform Job: Define Transform page:

Screenshot 2024-08-29 at 11 30 33 AM

@danieldong51
Copy link

Also the titles on the 4 steps of transform job creation should be <h1> tags wrapped under <EuiText size="s"> in public/pages/CreateTransform/containers:

Screenshot 2024-08-29 at 11 32 24 AM

@danieldong51
Copy link

Should the title in public/pages/Transforms/containers/Transforms/EditTransform.tsx be under small Eui text?

Screenshot 2024-08-29 at 11 34 47 AM

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Header should be wrapped in <EuiText size="s"> instead of <EuiTitle size="l"> (on line 765).
Reindex

{" "}
<h2>Apply policy</h2>{" "}
</EuiText>{" "}
</EuiModalHeaderTitle>
</EuiModalHeader>

<EuiModalBody>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if the text is intentionally xs, should the apply policy paragraph text be wrapped in EuiText size="s" instead?
Screenshot 2024-08-29 at 11 18 22 AM

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the title on this page (line 745) be <EuiText size="s"> <h1> instead?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the title on line 277 be wrapped in EuiText size="s" instead?

@danieldong51
Copy link

The text for public/components/IndexMapping/IndexMapping.tsx should be <EuiText size="s">
Screenshot 2024-08-29 at 11 36 19 AM

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
@SuZhou-Joe SuZhou-Joe merged commit 8a0ae28 into opensearch-project:main Sep 2, 2024
12 of 13 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 2, 2024
* changes for indexes, transform

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

* Worked on review

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

* Couple of changes for old UI

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

* Minor changes to UI

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

* Resolved P0 items identified in demo

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

* Updated old UI Title sizes

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>

---------

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
(cherry picked from commit 8a0ae28)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Sep 2, 2024
* changes for indexes, transform



* Worked on review



* Couple of changes for old UI



* Minor changes to UI



* Resolved P0 items identified in demo



* Updated old UI Title sizes



---------


(cherry picked from commit 8a0ae28)

Signed-off-by: Kshitij Tandon <tandonks@amazon.com>
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>
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.

3 participants