Calendar: Adds an Update Size and Makes list view start today and adds in local for first day of week#7541
Merged
Calendar: Adds an Update Size and Makes list view start today and adds in local for first day of week#7541
Conversation
bramkragten
reviewed
Oct 30, 2020
bramkragten
approved these changes
Oct 30, 2020
Contributor
Author
zsarnett
commented
Oct 30, 2020
bramkragten
reviewed
Oct 30, 2020
| static get styles(): CSSResult[] { | ||
| return [ | ||
| haStyle, | ||
| haStyleScrollbar, |
Member
There was a problem hiding this comment.
Do we still need this when we add the styles manually and removed the class?
Contributor
Author
There was a problem hiding this comment.
I think you reviewed old code
bramkragten
approved these changes
Oct 30, 2020
Merged
Contributor
Author
|
Please do not comment on old PRs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed change
This PR adds the ability to run
updateSizeon the Full Calendar Element. This method tells Full Calendar to rerun its sizing functions to fill the available width and height.This also changes the list view we have from Week (Starting on the first day of the week and ending the last day of the week regardless of what the current day is) to just a list/agenda view that starts on the current day and spans 7 days in the future
Also, Adds in the locales from Full Calendar so that different starting days and translations work
Also, styles the Full Calendar Scroll bar
Type of change
Additional information
Checklist