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

fix(ui): switch to react-day-picker for silence modal #1838

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

prymitive
Copy link
Owner

No description provided.

@prymitive
Copy link
Owner Author

prymitive commented Jun 15, 2020

Webpack bundle size diff

Total diff: -183.2 KB

M build/static/css/15.c959be09.chunk.css 224 KB 201.1 KB -22.8 KB
M Components/DateTimeSelect.scss 155 B 442 B +287 B
M LightTheme.scss 197 B 174 B -23 B
M Fonts.scss 8 B 7 B -1 B
- 15.c959be09.chunk.css 35 B -35 B
M LightThemeLoader.scss 124.4 KB 107.1 KB -17.2 KB
- react-datepicker 5.8 KB -5.8 KB
M bootswatch 1.3 KB 1.3 KB -36 B
+ 15.6df3eb94.chunk.css 35 B +35 B
M build/static/css/14.527cc57b.chunk.css 219.8 KB 197.2 KB -22.6 KB
M Components/DateTimeSelect.scss 155 B 439 B +284 B
M Fonts.scss 8 B 7 B -1 B
M DarkTheme.scss 224 B 203 B -21 B
- react-datepicker 5.8 KB -5.8 KB
- 14.527cc57b.chunk.css 35 B -35 B
M DarkThemeLoader.scss 120.8 KB 103.8 KB -17 KB
M bootswatch 1.3 KB 1.2 KB -38 B
+ 14.3cd7dc72.chunk.css 35 B +35 B
M build/static/js/7.b25c4379.chunk.js 189.3 KB 63.2 KB -126.1 KB
- ../../../src/utils/getOppositeVariation.js 50 B -50 B
- ../../../src/utils/computeAutoPlacement.js 493 B -493 B
- ../../../src/utils/find.js 62 B -62 B
- ../../../src/modifiers/flip.js 1.2 KB -1.2 KB
- ../../../src/utils/getSupportedPropertyName.js 175 B -175 B
- ../../../src/utils/clockwise.js 153 B -153 B
M [no source] 8.3 KB 2.1 KB -6.2 KB
- ../../../src/utils/getScrollParent.js 188 B -188 B
- deep-equal 1.1 KB -1.1 KB
- ../../../src/modifiers/arrow.js 806 B -806 B
- is-regex 457 B -457 B
- ../../../src/methods/placements.js 169 B -169 B
- is-date-object 275 B -275 B
- react-json-pretty 3.7 KB -3.7 KB
- ../../../src/utils/getRoot.js 52 B -52 B
- ../../../src/utils/getBoundaries.js 555 B -555 B
- ../../../src/utils/setAttributes.js 94 B -94 B
- define-properties 656 B -656 B
- ../../../src/utils/isFixed.js 95 B -95 B
- ../../../src/utils/getReferenceOffsets.js 108 B -108 B
- ../../../src/modifiers/keepTogether.js 275 B -275 B
- ../../../src/utils/getBordersSize.js 137 B -137 B
- date-fns 56.3 KB -56.3 KB
- ../../../src/modifiers/hide.js 353 B -353 B
- ../../../src/utils/getScroll.js 233 B -233 B
- ../../../src/utils/removeEventListeners.js 215 B -215 B
- ../../../src/utils/getClientRect.js 49 B -49 B
- ../../../src/modifiers/applyStyle.js 367 B -367 B
- ../../../src/utils/getOppositePlacement.js 126 B -126 B
- ../../../src/utils/getStyleComputedProperty.js 98 B -98 B
- ../../../src/utils/getPopperOffsets.js 224 B -224 B
- ../../../src/utils/debounce.js 259 B -259 B
- ../../../src/utils/getRoundedOffsets.js 306 B -306 B
- ../../../src/methods/defaults.js 45 B -45 B
- @babel/runtime 638 B -638 B
- function-bind 733 B -733 B
M [unmapped] 163 B 90 B -73 B
- ../../../src/methods/update.js 616 B -616 B
- ../../../src/utils/setupEventListeners.js 320 B -320 B
M @fortawesome/free-regular-svg-icons 785 B 1.4 KB +634 B
- ../../../src/utils/getOffsetRectRelativeToArbitraryNode.js 515 B -515 B
- ../../../src/utils/isOffsetContainer.js 78 B -78 B
- ../../../src/utils/getFixedPositionOffsetParent.js 156 B -156 B
M [EOLs] 2 B 1 B -1 B
- es-abstract 6.7 KB -6.7 KB
- ../../../src/utils/findCommonOffsetParent.js 312 B -312 B
- ../../../src/utils/getWindowSizes.js 345 B -345 B
- regexp.prototype.flags 1.1 KB -1.1 KB
- ../../../src/utils/getOffsetParent.js 338 B -338 B
- ../../../src/utils/isModifierRequired.js 253 B -253 B
- ../../../src/utils/isBrowser.js 97 B -97 B
- ../../../src/utils/includeScroll.js 154 B -154 B
- ../../../src/utils/getParentNode.js 57 B -57 B
- ../../../src/modifiers/inner.js 235 B -235 B
- ../../../src/methods/destroy.js 378 B -378 B
- ../../../src/utils/setStyles.js 151 B -151 B
- ../../../src/utils/isNumeric.js 57 B -57 B
- ../../../src/utils/findIndex.js 123 B -123 B
- ../../../src/utils/isModifierEnabled.js 65 B -65 B
- ../../../src/utils/getWindow.js 55 B -55 B
- has-symbols 1 KB -1 KB
- ../../../src/methods/enableEventListeners.js 109 B -109 B
- object-is 437 B -437 B
- react-datepicker 76 KB -76 KB
- ../../../src/modifiers/shift.js 235 B -235 B
- ../../../src/utils/runModifiers.js 272 B -272 B
- ../../../src/utils/getBoundingClientRect.js 408 B -408 B
- react-onclickoutside 4.2 KB -4.2 KB
- is-arguments 453 B -453 B
- ../../../src/modifiers/preventOverflow.js 650 B -650 B
- gud 89 B -89 B
- ../../../src/utils/getViewportOffsetRectRelativeToArtbitraryNode.js 292 B -292 B
- ../../../src/modifiers/index.js 191 B -191 B
- ../../../src/utils/getReferenceNode.js 51 B -51 B
- ../../../src/utils/isIE.js 143 B -143 B
- ../../../src/methods/disableEventListeners.js 94 B -94 B
- ../../../src/utils/isFunction.js 59 B -59 B
- ../../../src/modifiers/computeStyle.js 963 B -963 B
- ../../../src/index.js 921 B -921 B
- ../../../src/modifiers/offset.js 1.3 KB -1.3 KB
- create-react-context 2.8 KB -2.8 KB
- object-keys 2.1 KB -2.1 KB
M @fortawesome/free-solid-svg-icons 4.7 KB 4.1 KB -665 B
- ../../../src/utils/getOuterSizes.js 217 B -217 B
+ fbjs 361 B +361 B
+ react-autosuggest 39.9 KB +39.9 KB
+ shallow-equal 156 B +156 B
+ create-react-class 5 KB +5 KB
+ section-iterator 1021 B +1021 B
+ react-highlighter 2.5 KB +2.5 KB
+ blacklist 173 B +173 B
+ escape-string-regexp 143 B +143 B
+ ../../src/index.js 4.7 KB +4.7 KB
+ react-themeable 1.5 KB +1.5 KB
M build/static/js/8.98d8fc2d.chunk.js 63.2 KB 47 KB -16.2 KB
- fbjs 361 B -361 B
- react-autosuggest 39.9 KB -39.9 KB
- shallow-equal 156 B -156 B
M [no source] 2.1 KB 11.4 KB +9.3 KB
- create-react-class 5 KB -5 KB
- section-iterator 1021 B -1021 B
- react-highlighter 2.5 KB -2.5 KB
- blacklist 173 B -173 B
- escape-string-regexp 143 B -143 B
M ../../src/index.js 4.7 KB 45 B -4.7 KB
- react-themeable 1.5 KB -1.5 KB
M @fortawesome/free-regular-svg-icons 1.4 KB 785 B -634 B
M @fortawesome/free-solid-svg-icons 4.1 KB 4.7 KB +668 B
+ react-json-pretty 3.7 KB +3.7 KB
+ ../../src/ModifiersUtils.js 883 B +883 B
+ ../../src/Helpers.js 2 KB +2 KB
+ ../../src/Weekday.js 592 B +592 B
+ ../../src/Caption.js 993 B +993 B
+ ../../src/Navbar.js 2.1 KB +2.1 KB
+ ../../src/Day.js 2.1 KB +2.1 KB
+ ../../src/LocaleUtils.js 634 B +634 B
+ ../../src/Weekdays.js 1.1 KB +1.1 KB
+ ../../src/DateUtils.js 1.5 KB +1.5 KB
+ ../../src/Month.js 3.8 KB +3.8 KB
+ ../../src/DayPicker.js 9.7 KB +9.7 KB
+ ../../src/keys.js 79 B +79 B
+ ../../src/classNames.js 732 B +732 B
M build/static/js/16.31d28e1f.chunk.js 25.5 KB 26 KB +567 B
M [no source] 663 B 672 B +9 B
M Components/SilenceModal/DateTimeSelect/index.js 4.2 KB 4.7 KB +558 B
+ build/static/css/8.c6231af7.chunk.css 4 KB +4 KB
+ [sourceMappingURL] 48 B +48 B
+ style.css 3.9 KB +3.9 KB
+ [unmapped] 0 B
+ [EOLs] 1 B +1 B

@prymitive prymitive merged commit eaae762 into master Jun 15, 2020
@prymitive prymitive deleted the react-day-picker branch June 15, 2020 14:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2020
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.

1 participant