-
Notifications
You must be signed in to change notification settings - Fork 19
Workshop and resource mentions #925
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
Conversation
| <hr class="border-gray-300 mb-2"> | ||
|
|
||
| <div class="flex flex-wrap gap-4"> | ||
| <div class="assets"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was breaking the flex of the gallery. I don't think this is used for any css.
| @@ -1,6 +1,7 @@ | |||
| class ResourceMentionsController < ApplicationController | |||
| skip_verify_authorized | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to have to dive into action policy a bit more for these. The controller is being hit from the js on the fly so I don't know what context the controller has access to.
This is relatively minor to disable the policy check right now for this because the editor route is already checked via the policy. I can adjust it later.
What is the goal of this PR and why is this important?
Consolidate all workshop and resource mentions with rich_text to a card on the show page. I could use a better title for the card!
How did you approach the change?
Check all rich_text fields for mention embeds.
Anything else to add?
screenrecording-2026-02-11_07-37-42.mp4