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

Calendar bug fixes #9328

Merged

Conversation

lorejoh12
Copy link
Contributor

@lorejoh12 lorejoh12 commented Jun 4, 2019

Pull request checklist

Description of changes

  1. fixing text overflow bug in date-time Calendar component when user inputs text that is very long. Before there was no overflow behavior so text overlaps itself. Now the text hides overflow and adds ellipsis.

  2. in both OUFR and date-time calendars, adding tooltips for buttons that have no text in them. Note that Narrator is slightly slower in reading this text out than before with it being an aria-label, but as noted here: 'title' attribute value should not be read when 'aria-label' is available in [Chrome] and [Firefox] nvaccess/nvda#7841, we generally don't want to have the same aria-label and title text because screen readers will read it twice, and title text does get read.

Focus areas to test

(optional)

Microsoft Reviewers: Open in CodeFlow

@lorejoh12 lorejoh12 requested a review from andrewhwng June 4, 2019 00:14
@lorejoh12 lorejoh12 requested a review from a team as a code owner June 4, 2019 00:14
@msft-github-bot
Copy link
Contributor

Component perf results:

Scenario Target branch avg total (ms) PR avg total (ms) Target branch avg per item (ms) PR avg per item (ms) Is significant change Is regression
PrimaryButton 79.156 82.778 0.792 0.828 false false
BaseButton 32.682 33.163 0.327 0.332 false false
NewButton 114.675 114.423 1.147 1.144 false false
button 5.651 5.490 0.057 0.055 false false
DetailsRows without styles 179.627 182.316 1.796 1.823 false false
DetailsRows 205.618 212.514 2.056 2.125 false false
Toggles 50.987 49.901 0.510 0.499 false false
NewToggle 68.789 71.054 0.688 0.711 false false
DocumentCardTitle with truncation 26.675 25.914 0.267 0.259 false false

@size-auditor
Copy link

size-auditor bot commented Jun 4, 2019

Bundle test Size (minified) Diff from master
Calendar 138.483 kB BelowBaseline     -49 bytes
DatePicker 194.235 kB BelowBaseline     -49 bytes

ExceedsTolerance  Exceeds Tolerance     ExceedsBaseline  Exceeds Baseline     BelowBaseline  Below Baseline     1 kB = 1000 bytes

Copy link
Contributor

@cliffkoh cliffkoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@lorejoh12 lorejoh12 merged commit d069e8b into microsoft:master Jun 4, 2019
@msft-github-bot
Copy link
Contributor

🎉@uifabric/date-time@v6.2.1 has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉office-ui-fabric-react@v6.189.0 has been released which incorporates this pull request.:tada:

Handy links:

@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 2019
@lorejoh12 lorejoh12 deleted the lorejoh/fixTextOverflowDatetimeCalendar branch September 12, 2019 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date picker - There is no tooltip for Previous Month and Next Month buttons
5 participants