-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: main
Are you sure you want to change the base?
Improve the language screen from new design #536
Conversation
adamkankovsky
commented
Nov 28, 2024
Change gouping to suggested and others. Added translations to the side. Create custom search component (stop using menu search).
816f576
to
a8fd649
Compare
} from "@patternfly/react-core"; | ||
import { CheckIcon, SearchIcon } from "@patternfly/react-icons"; |
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 you import it with the above icons grouped?
</React.Fragment> | ||
); | ||
} | ||
|
||
// List alphabetically. | ||
const languagesIds = Object.keys(languages).sort(); |
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.
@garrett should alphabetical sorting persist or not?
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.
@garrett we need your input here.
)} | ||
</div> | ||
<span id="item-translation"> | ||
{getLanguageEnglishName(locale)} |
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.
@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.