Add ability to display event descriptions#274
Add ability to display event descriptions#274jkirkwood wants to merge 2 commits intoalexpfau:devfrom
Conversation
|
@jkirkwood: Thanks for adding this feature. This is what stopped me from using calendar-card-pro so far. I would also like to contribute the german translation |
|
Hey @sevorl, more testing definitely wouldn't hurt! I just followed these steps to generate the js file, but I threw it into this Gist as well. Appreciate the German translation. |
|
Thank you for the .js file @jkirkwood ! |
|
@jkirkwood : There is now an option for the event icon alignment in the configuration. May I open a pull request for this for your repository? |
|
@jkirkwood you mention that this fixes #159 but that request is for clicking a event to get the popup with more information? Its also where you can find the delete button for a event. It seems the functionality added here is only showing description in the actual agenda. |
|
@borgqueenx , that is correct. This adds a description field, but not a pop up |
|
@borgqueenx good catch, let me update from "fixes" to "related to" |
@sevorl sorry for missing this earlier. Feel free to open a PR. |
|
Hi @alexpfau , is there any chance this might get added to the regular release any time soon? |
|
@sevorl, I am super busy at the moment and didn't get to invest any time in this project for a while. I will try to test the PRs and release a new version in the next couple weeks. |
Description
Adds a global and entity-level
show_descriptionoption that allows event descriptions to be displayed. It pretty much a copy ofshow_location. The option defaults tofalseto avoid any breaking changes.I made sure that long descriptions wrap nicely. I'll leave the suggestion in the issue to limit the description length as a future improvement.
Related Issue
This PR is related to #159
How Has This Been Tested
I tested this change in my local Home Assistant instance. I tested the all new global and entity-level settings in both the code and visual editors.
Calendar View:
Visual Editor:
Types of changes
Checklist
npm run lintandnpm run format)