Skip to content

Conversation

@jjroelofs
Copy link
Contributor

Summary

Add the rl-experiment CSS class to Views blocks using AI Sorting, enabling the RL module's animated gradient border branding.

Changes

  • Add rl-experiment class in ai_sorting_views_pre_render()
  • Class applied to the view's root element attributes

Related

Test Plan

  • Enable RL module with branding PR merged
  • Log in as user with "view rl reports" permission
  • Navigate to a page with a Views block using AI Sorting
  • Verify animated gradient border appears around the block
  • Log in as user without permission
  • Verify no border appears

Closes #20

Add the 'rl-experiment' class to Views blocks using AI Sorting.
This enables the animated gradient border branding from the RL module
for authorized users.
@jjroelofs jjroelofs merged commit 3ca63bf into 1.x Jan 27, 2026
2 checks passed
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.

feat: add RL experiment highlight class for visual branding

2 participants