-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Module QOL Features and Adjustments #3033
Conversation
I have addressed all of the issues, minus the style issue, which I believe is necessary to ensure that most layouts don't break under these changes. |
P.S. If you would like to speed this up I can be reached via Discord. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one small thing...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like we say in german: "zu früh gefreut". found a bug ....
Okay, how do I resolve these checks? |
I guess I'll start by running prettier again |
Do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Grmpf, some other changes (not the css ones) were crashing my layout. Will look into it... |
I was gonna put something in the changelog... but I don't know how to summarize this nicely |
Okay, currently working on not alot of time... Once the hour is up, I must return to my day job... hopefully we can still make traction |
Dinner time here... Seems the newly added event-tables are the culprit... |
I'd like to refer to them as eventContainers please, anyways, I apologize, I had to merge this from an old build into the present and it hasn't been easy to do as you can tell... |
If you can provide me some logs I can diagnose |
You should get rid of the eventContainer and add your new styles to the eventWrapper. Then it looks like before. Would that break your personal layout? |
Yes, and along with the new control for styling too |
"Added new calendar options for colored entries: ....." sounds nice :-) |
But the existing layout depend on the table strcuture so that icons / title /time are aligned correctly. Your new eventContainer div breaks up the table and therefore breaks the exisiting layouts. Now off to dinner, sorry |
I'll see what can be changed then.... ugh.... |
Surprisingly, this should make both legacy and new layouts work with these changes. The only questionable change that is required for this to work was moving the location into the eventWrapper. |
Of which I just reverted and properly implemented |
Merging it finally, thanks for your patience. Would be cool if you could prepare a PR for the documentation (https://github.com/MichMich/MagicMirror-Documentation) with the new config options. Aaaand if you really got time (soo optional), maybe write tests for the new options? ;-) |
I'll try to accomplish that this weekend |
* Changes for MagicMirrorOrg/MagicMirror#3033 and #151 * Fix linting * Fix linting --------- Co-authored-by: veeck <[email protected]>
This commit adds several QOL features and adjustments to the calendar module including:
coloredText
:(default: false)
Determines if you want your entry text to be colored based on the calendar's colorcoloredBorder
:(default: false)
Determines if you want entry borders to be colored based on the calendar's colorcoloredSymbol
:(default: false)
Determines if you want entry symbols to be colored based on the calendar's colorcoloredBackground
:(default: false)
Determines if you want entry backgrounds to be colored based on the calendar's colorlimitDaysNeverSkip
:(default: false)
show every event for every day regardless of if the day only has a single full day eventflipDateHeaderTitle
:(default: false)
determines if the title for the date header in thedateheaders
time format should align to the left[eg: false]
or right[eg: true]
dateheader
is now a class avaliable for date headers in thedateheaders
time format.event-container
class)repeatingCountTitle
now has a seperator between theyearDiff
andrepeatingCountTitle
endDate
indateheaders
now capitalizes it's first letter