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

Improve the language screen from new design #536

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adamkankovsky
Copy link
Contributor

image

Change gouping to suggested and others. Added translations to the side. Create custom search component (stop using menu search).
} from "@patternfly/react-core";
import { CheckIcon, SearchIcon } from "@patternfly/react-icons";
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you import it with the above icons grouped?

</React.Fragment>
);
}

// List alphabetically.
const languagesIds = Object.keys(languages).sort();
Copy link
Contributor

Choose a reason for hiding this comment

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

@garrett should alphabetical sorting persist or not?

Copy link
Contributor

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

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

@garrett we need your input here.

)}
</div>
<span id="item-translation">
{getLanguageEnglishName(locale)}
Copy link
Contributor

Choose a reason for hiding this comment

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

@garrett i think we need some clarification here.
What it the right column? IN the mockups it's inconsistent, sometimes translated locale to english, sometimes the native. Please clarify.

Also we would need some help to restrain the height of the menu, as it currently spans larger than the available space, and it creates the common issue with the double scrollbar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants