Skip to content

calendar: Various improvements to the calendar API#55

Merged
jobisoft merged 12 commits intothunderbird:mainfrom
kewisch:fixes
Mar 5, 2026
Merged

calendar: Various improvements to the calendar API#55
jobisoft merged 12 commits intothunderbird:mainfrom
kewisch:fixes

Conversation

@kewisch
Copy link
Member

@kewisch kewisch commented Jan 13, 2025

Various improvements to the calendar API

Fixes #56 among others

@kewisch kewisch requested a review from jobisoft January 13, 2025 11:58
@kewisch kewisch changed the title Calendar API improvements - auto sizing and a bugfix calendar: Automatically size inline item details Jan 13, 2025
@kewisch kewisch changed the title calendar: Automatically size inline item details calendar: Item Details Improvements and capabilities Jan 18, 2025
@kewisch
Copy link
Member Author

kewisch commented Jan 18, 2025

I'm going to go ahead and pile on commits here until you have time to review. If it becomes too big please do review each commit separately or tell me to stop.

@kewisch
Copy link
Member Author

kewisch commented Apr 19, 2025

Commit 2958e9a replaces extensionCapabilities with overrideCapabilities. We only want to save values that have been overridden, otherwise if you have e.g. attachments: false in your manifest for 1.0 and attachments: true in 1.1 then it will still use attachments: false.

This will potentially break people who used the experiment and rely on the previous behavior, not sure if we want to indicate that in some way.

@kewisch kewisch changed the title calendar: Item Details Improvements and capabilities calendar: Various improvements to the calendar API Apr 22, 2025
@jobisoft
Copy link
Collaborator

jobisoft commented Mar 5, 2026

Commit 2958e9a replaces extensionCapabilities with overrideCapabilities. We only want to save values that have been overridden, otherwise if you have e.g. attachments: false in your manifest for 1.0 and attachments: true in 1.1 then it will still use attachments: false.

This will potentially break people who used the experiment and rely on the previous behavior, not sure if we want to indicate that in some way.

There are more changes in here, which may break add-ons, like the change from requires_network to requiresNetwork. Can we make a GitHub release to notify developers? Or just include the changes in the README?

@kewisch
Copy link
Member Author

kewisch commented Mar 5, 2026

Hm yes I was wondering about this as well. I think if this repo would be our long term strategy then yes, let's have some sort of mechanism. On the other hand, developers will pull this code and copy it into their repo. If they are doing an update, I'm hoping they'll do a diff and see if they need to adapt.

I think I'd leave it as is for now, and at most add it to the README. Once we have the code in core we can use the normal deprecation mechanism to move forward.

Copy link
Collaborator

@jobisoft jobisoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I do not claim to have understood everything, but feel confident to move forward.

@jobisoft jobisoft merged commit 1b0a0da into thunderbird:main Mar 5, 2026
2 checks passed
@kewisch kewisch deleted the fixes branch March 6, 2026 13:12
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.

TypeError: this.extension.manifest.calendar_item_details is undefined [non blocking]

2 participants