Skip to content

feat: add Meetecho to upload/remove slides; refactor upload_session_slides#7146

Merged
jennifer-richards merged 7 commits intoietf-tools:feat/sess-apisfrom
jennifer-richards:more-slides-api
Mar 6, 2024
Merged

feat: add Meetecho to upload/remove slides; refactor upload_session_slides#7146
jennifer-richards merged 7 commits intoietf-tools:feat/sess-apisfrom
jennifer-richards:more-slides-api

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

This is the next slew of updates to use Meetecho's API to improve slide management. The main work here is to make API calls when uploading or removing slides using the buttons on the session materials page.

A moderately substantial refactor of upload_session_slides() is included here. This change eliminates a double-save of a SessionPresentation when replacing a slide deck with a new revision. It also updates the SessionPresentation instances for all sessions when the apply_to_all option is enabled - the original implementation created missing ones but did not update ones that already existed (except for the one related to session itself). That introduced skew between rev for the session used to upload the new rev and all the other sessions.

Avoids double-save of a SessionPresentation for the session
being updated and updates other sessions when apply_to_all
is set (previously it only created ones that did not exist,
so rev would never be updated).
Removed some type checking rather than debugging it
@jennifer-richards jennifer-richards merged commit f46068d into ietf-tools:feat/sess-apis Mar 6, 2024
@jennifer-richards jennifer-richards deleted the more-slides-api branch March 6, 2024 20:34
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 11, 2024
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.

2 participants