-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Render Stream Descriptions From the Backend #11284
Conversation
I think you also need to patch |
Ah, this was what I was looking for. Despite making appropriate changes for the "Update the function that creates a stream" part , my tests weren't passing and after a good debugging session, I knew that it was due to the test data, I just didn't know where to modify it. Thanks for the tip! |
Cool, let me know once you have this fixed (no hurry). |
@timabbott, I think that the backend portion for this feature is about done. Could you please have a look? P.S. I made more commits than required so that it would be easy to review, when you think that the code looks good, we can squash them accordingly. |
@Hypro999 it looks like you resolve the migrations conflicts incorrectly and renumbered a bunch of existing migrations. That does not work at all. Instead, you want to be renumbering your new migration. Otherwise, this looks good to me. |
In retrospect, I realize that renumbering that way was a bad idea. @timabbott, I've fixed it. Is there anything else that might need to be changed? Also, thanks for reviewing! |
This commit does the following three things: 1. Update stream model to accomodate rendered description. 2. Render and save the stream rendered description on update. 3. Render and save stream descriptions on creation. Further, the stream's rendered description is also sent whenever the stream's description is being sent.
I squashed the commits, rebased with master and updated the commit message. |
This looks great @Hypro999! I made a few changes:
With those changes, merged, thanks @Hypro999! I think this should just leave the UI changes, which I imagine should be fairly simple everywhere except for the stream-edit UI. |
Read about the issue here: #11272