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

feat(date-inputs): add tooltip to "today" button #910

Merged
merged 5 commits into from
Jul 3, 2019
Merged

Conversation

montezume
Copy link
Contributor

Summary

Adds tooltip for the today button for DateInputs.

Limitations

Because the header is quite small, we cannot use placement "top" or placement "left", as there isn't enough space, so the positioning library (popper) will automatically place it on the bottom.

today

@montezume montezume changed the title Ml tooltip d feat(date-inputs): add tooltip to "today" button Jul 3, 2019
@montezume montezume self-assigned this Jul 3, 2019
@montezume montezume added 👨‍🎨 Status: UI/UX Review Requires review from design team 🐛 Type: Bug Something isn't working labels Jul 3, 2019
import messages from './messages';

const WrapperComponent = styled.div`
display: flex;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is required because the default wrapper is display: inline-block

@montezume montezume requested a review from Shecki July 3, 2019 11:03
@@ -6,6 +6,11 @@
"UIKit.AsyncSelectInput.noOptionsMessageWithInputValue": "",
"UIKit.AsyncSelectInput.noOptionsMessageWithoutInputValue": "",
"UIKit.AsyncSelectInput.placeholder": "Auswählen...",
"UIKit.CalendarHeader.nextMonthTooltip": "nächstes Monat",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

😅

@montezume
Copy link
Contributor Author

FYI I opened a JIRA ticket for the missing translations.

@montezume
Copy link
Contributor Author

Is it okay from your side @Shecki ?

@montezume montezume requested a review from jonnybel July 3, 2019 13:26
@Shecki
Copy link

Shecki commented Jul 3, 2019

yes, it's fine

@montezume montezume merged commit 2790042 into master Jul 3, 2019
@montezume montezume deleted the ml-tooltip-d branch July 3, 2019 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👨‍🎨 Status: UI/UX Review Requires review from design team 🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants