Skip to content

Conversation

@jmilljr24
Copy link
Collaborator

@jmilljr24 jmilljr24 commented Feb 11, 2026

  • This work Closes [link an issue]

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

<hr class="border-gray-300 mb-2">

<div class="flex flex-wrap gap-4">
<div class="assets">
Copy link
Collaborator Author

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.

@jmilljr24 jmilljr24 marked this pull request as ready for review February 11, 2026 13:13
@@ -1,6 +1,7 @@
class ResourceMentionsController < ApplicationController
skip_verify_authorized
Copy link
Collaborator Author

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.

@jmilljr24 jmilljr24 merged commit de849f0 into main Feb 11, 2026
2 of 3 checks passed
@jmilljr24 jmilljr24 deleted the workshop-and-resource-mentions branch February 11, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant