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

Release v3.2.1 #1218

Merged
merged 77 commits into from
Jul 31, 2019
Merged

Release v3.2.1 #1218

merged 77 commits into from
Jul 31, 2019

Conversation

dmtrKovalenko
Copy link
Member

No description provided.

dmtrKovalenko and others added 30 commits May 26, 2019 17:22
* 📝 improve grammar in docs

First of all, amazing project! 🎉 I took the liberty, and read through the docs, and on my way, I corrected some of the English grammar, I hope you don't mind! Keep up the great work! 👨‍🏭

* 📝 more grammar improvements
* Remove react-event-listener

* Fix lint

* Make reusable useKeyDown
* Update packages

* Shut up now bot

* Fix now.json silent location

* Fix ts error for navigator.permissions
* DatePicker: add validateStrict props

Add strict camparison for minDate, maxDate, disablePast, disableFuture

* Min/Max date validation

rename props validateStrict to strictCompareDates

* DateValidation: strictCompareDates reduce conditions
* Added async handling of onMonthChange with loading indicator

* Only show loading indicator if onMonthChange returns a Promise

* Added test cases

* Added some more test cases. Testing push and pop functionality of loading queue

* Removed unused import

* Updated docs and changed callback type in MonthSelection

* Replaced 'async/await' with 'then' to reduce bundle size

* Importing CircularProgress by path instead

* Added support for optional loading indicator as a property

* Moved tests to e2e

* Removed unused import

* Fixed Prettier violation
* Support keyboardIcon for v3. closes #1084

* Add new prop to the docs
* WrappedKeyboardPicker: send strictCompareDates prop

* compareDateStrict: add tests
* Fix "todayLabel" prop type description.

* Update lib/src/wrappers/ModalWrapper.tsx

Co-Authored-By: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
* Use inner state for displayed date in calendar

* Make inline pickers controlled by default

* Fix tests

* Fix deadlock on rendering with usePickerState

* Fix crashing on utils change

* Fix not applying keydown listener, closes #1090

* Update packages 08.06.2019 (#1096)

* Update packages 08.06.2019

* Fix prettier
* Use inner state for displayed date in calendar

* Make inline pickers controlled by default

* Fix tests

* Fix deadlock on rendering with usePickerState

* Fix crashing on utils change

* [docs] Add fetching data example

* Change text and remove unnecessary details from example

* Adjust some props description
* Regorganize folder structure

* Create new views folder with all components

* Remove unnecessary theme type annotations

* Restore lost in merge changes

* Fix imports in tests
* [Refactoring] Refactor useOpenState implementation

Eliminate code duplication between the controlled and the uncontrolled implementation.
Albeit short today, the code that calls the onOpen/onClose callbacks was duplicated.
The controlled variant did not memoize with useCallbacks().

Fix memoization by not depending on `props` as a whole.

* [Refactoring] Better hook memoization in usePickerState/useKeyboardPickerState

Avoid passing the entire `props` object into the hooks' `deps', as it will usually be a fresh object, which prevents memoization.
dmtrKovalenko and others added 21 commits July 15, 2019 20:54
* Add new ToolbarComponent prop for custom toolbars

* Update props docs

* Run docgen on precommit hook

* Run docgen on precommit hook

* Run git add after precommit command

* Automatically format json before prettier
* Correct position of inline wrapper popover

* Adjust variant prop description

* Adjust props description

* Uncomment example

* Add prop-types.json to prettier-ignore

* Properly freeze clock for percy
* install redux and redux-form

* configure redux-form

* wrap App with redux provider

* create redux form example

* add react-redux types to dev dependencies

* Update docs/pages/guides/form-integration.mdx

Co-Authored-By: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>

* move redux to example folder

* Wrap example with redux

* remove redux-thunk

* modify onChange to allow empty field

in the other way, the field always gotten the last valid value, even when explicit deleted.
This way, the user can clear the field!

* move store to inside Form example
Fix crashing on changing orientation for some devices
isSelected is no longer a valid theme entry for MUI Pickers, so update
the docs to reflect this change. Also extends the example for
dayDisabled override.
* Fix dispatching 2 onChange events with variant="inline"

* Update lib/src/_shared/hooks/usePickerState.ts

* Make autoOk property to have bigger prioritiy
* Add releases page

It lists available documentation websites for v3+ versions

* Use constant for the latest url link

* Make releases table horisontally scrollable on mobile
* Add babel transpilation to esm

* Use babel for rollup as well

* Fix missing * in jsdoc comment for ToolbarComponent
* Update packages

* Fix overrides typing

* Add { force: true } for readonly inputs

* Add one more { force: true }
@dmtrKovalenko dmtrKovalenko requested a review from a team July 30, 2019 20:18
@dmtrKovalenko
Copy link
Member Author

We need actually to make our releases more stable and automate.
Ideally to be deployed from CI on merging to master

@codecov
Copy link

codecov bot commented Jul 30, 2019

Codecov Report

Merging #1218 into master will decrease coverage by 1.31%.
The diff coverage is 88.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1218      +/-   ##
==========================================
- Coverage   95.44%   94.13%   -1.32%     
==========================================
  Files          52       56       +4     
  Lines        1295     1414     +119     
  Branches      176      199      +23     
==========================================
+ Hits         1236     1331      +95     
- Misses         42       65      +23     
- Partials       17       18       +1
Impacted Files Coverage Δ
lib/src/views/Calendar/CalendarHeader.tsx 94.28% <ø> (ø)
lib/src/views/Clock/ClockNumbers.tsx 89.65% <ø> (ø)
lib/src/views/Month/Month.tsx 100% <ø> (ø)
lib/src/DateTimePicker/DateTimePickerTabs.tsx 84.84% <ø> (ø) ⬆️
lib/src/views/Clock/ClockPointer.tsx 92% <ø> (ø)
lib/src/views/Month/MonthView.tsx 94.44% <ø> (ø)
lib/src/DatePicker/DatePicker.tsx 100% <ø> (ø) ⬆️
lib/src/views/Calendar/DayWrapper.tsx 100% <ø> (ø)
lib/src/TimePicker/TimePicker.tsx 87.5% <0%> (-12.5%) ⬇️
lib/src/wrappers/InlineWrapper.tsx 100% <100%> (+22.22%) ⬆️
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2acc5a5...8755559. Read the comment docs.

@cypress
Copy link

cypress bot commented Jul 30, 2019



Test summary

50 0 0 0


Run details

Project material-ui-pickers
Status Passed
Commit 8755559
Started Jul 31, 2019 5:57 AM
Ended Jul 31, 2019 5:58 AM
Duration 00:47 💡
OS Linux Debian - 8.11
Browser Electron 61

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

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.