Skip to content

Conversation

@andyra
Copy link
Contributor

@andyra andyra commented Dec 4, 2025

This updates pinned cards if the title changes.

This was written by Claude, so I'm learning what's going on here. We use similar broadcast methods when pinning/unpinning cards, so this at least looks like a similar pattern.

def touch_last_active_at
# Not using touch so that we can detect attribute change on callbacks
update!(last_active_at: Time.current)
broadcast_activity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR, I just noticed we could remove this ad-hoc handling now that we rely on page refreshes in the cards perma

Copy link
Member

@jorgemanrubia jorgemanrubia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @andyra! I pushed some tweaks and will merge

@jorgemanrubia jorgemanrubia merged commit ed6c55a into main Dec 5, 2025
11 checks passed
@jorgemanrubia jorgemanrubia deleted the pin-card-refresh branch December 5, 2025 09:14
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.

3 participants