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

chore(TimePicker-compat): renames and code polish #29695

Merged
merged 9 commits into from
Oct 31, 2023

Conversation

YuanboXue-Amber
Copy link
Contributor

@YuanboXue-Amber YuanboXue-Amber commented Oct 30, 2023

This PR does renames and some code polish after 1st round of TimePicker code review:

Renames:

  • onTimeSelect => onTimeChange
  • validateFreeFormTime => formatTimeStringToDate

Code polish:

  • Pick props from Combobox instead of using Omit.
  • Simplify useStableDateAnchor hook to use one useMemo

@YuanboXue-Amber YuanboXue-Amber changed the title fix(TimePicker-compat): renames and code polish chore(TimePicker-compat): renames and code polish Oct 30, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 30, 2023

📊 Bundle size report

🤖 This report was generated against c4d00c3c471ba73ebd940edbf9cd1dff0969a71d

@YuanboXue-Amber YuanboXue-Amber marked this pull request as ready for review October 30, 2023 16:58
@YuanboXue-Amber YuanboXue-Amber requested a review from a team as a code owner October 30, 2023 16:58
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 30, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3899b3d:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@size-auditor
Copy link

size-auditor bot commented Oct 30, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: c4d00c3c471ba73ebd940edbf9cd1dff0969a71d (build)

YuanboXue-Amber and others added 2 commits October 31, 2023 14:39
…components/TimePicker/TimePicker.types.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
@YuanboXue-Amber YuanboXue-Amber enabled auto-merge (squash) October 31, 2023 14:18
@YuanboXue-Amber YuanboXue-Amber merged commit cc35c66 into microsoft:master Oct 31, 2023
@YuanboXue-Amber YuanboXue-Amber deleted the timepicker-improve branch October 31, 2023 14:59
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 31, 2023
* master: (34 commits)
  Remove redundant pipeline yaml. It is now replaced iwth azure-pipelines-ci.yml and azure-pipelines-pr.yml (microsoft#29706)
  chore(TimePicker-compat): preview release with added stories and docs (microsoft#29677)
  Enable 1ES PT to be compliant for all production pipelines (microsoft#29702)
  chore: restrict  node versions to 18 ||| 20 (microsoft#29676)
  chore(TimePicker-compat): renames and code polish (microsoft#29695)
  chore: remove animation from test environments (microsoft#29692)
  applying package updates
  docs: fix defaultSelectedOptions for Dropdown and Combobox examples (microsoft#29700)
  revert accidentally pushed changes (microsoft#29696)
  Added scale factor to minHeight logic (microsoft#29653)
  Fixing the mistake in useArrowNavigationGroup - axis values in the doc (microsoft#29667)
  applying package updates
  🧪
  🧪
  🧪
  🧪
  🧪
  Rever accidentally pushed pipeline changes (microsoft#29685)
  applying package updates
  🧪
  ...
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.

3 participants