-
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
native: use channel.meta to store custom channel config on API #4371
Draft
davidisaaclee
wants to merge
72
commits into
develop
Choose a base branch
from
dil/integrate-custom-meta
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Two new fields are introduced to $seal. seq=@ud is the post sequence number. $mod-at=@da is the timestamp of last modification of the post structure. $react type now defaults to unicode emoji, while preserving backward-compatibility with its %any variant. This lays the groundwork for future custom reactions.
channels: update the $seal; update $react
channels: adding field for channel custom metadata
Merge develop into channels type update
… into hm/more-metadata-work
$memo is modified to allow custom authorship data $bot-meta. $essay is modified to support: (1) post path kind, (2) metadata, and (3) opaque post payload.
We don't have any UI that allows configuring a custom channel on creation, so no need to keep this around.
…it scry to include meta in channel
…it scry to include meta in channel
davidisaaclee
changed the title
Dil/integrate custom meta
native: use channel.meta to store custom channel config on API
Jan 27, 2025
This branch currently has this bug:
so ship B does not get the customizations when they join (and I don't think they will resolve the customizations until someone makes a change to the meta) |
…il/integrate-custom-meta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates custom channel API code to use new
meta
field on channel instead of putting a structured string indescription
.channel.meta
is only inchannels
app and notgroups
(nor DMs), I removed a number of places where we were populating content cfg from group's channel's descriptions or DM's descriptionChannelMetadata
,ContentRenderer
) – these are safe, since the backend treats all of the data inchannel.meta
as an opaque string (and there are no prod clients that have already stored data in one of these types)groups-ui
/v5/init
was added to includechannel.meta
in the init payload; we use this to seed the channel content config when loading client data for the first time.useContactName
, but at least one layer is more explicit)