-
Notifications
You must be signed in to change notification settings - Fork 25
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
channels: more metadata work #4239
base: release-channels-updates
Are you sure you want to change the base?
Conversation
Notably the frontend type changes here need to be fully realized across the codebase before we can deploy. |
Thanks for this - it looks like my other request from last night got lost: We need an unstructured JSON config dict in each of content renderer / draft input / collection, like this diff: https://gist.github.com/davidisaaclee/097c480318d6a9a8367faaaf8c447360 (there's some more context in our DMs) I don't understand why edit: unless the idea is that the ChannelMetadataV1 type is just a suggestion, and I should just use whatever type I want? |
@arthyn I think there is a problem with state migration in %channels-server. The deployed hooks stuff increased the state version to Edit: sorry about the delay between the last develop merge and the migration fix! There were some huge pretty-printer errors and I only managed to fix this today. |
@davidisaaclee yeah |
great, I can work with that, as long as the value is the same shape (e.g. an unmodified string) everywhere that API handles the metadata. maybe we could just change the metadata type to an opaque nominal type (TS hack for this here) - I'm afk now but I can make an inline suggestion comment later |
This was a request from @davidisaaclee. We add the new metadata field to the create payload so that we can immediately pass custom channels data when creating a channel. Also adds the types from #4109 into the channels file.
PR Checklist