Skip to content

Credit profile author badges to the named author - #3144

Open
maebeale wants to merge 1 commit into
mainfrom
maebeale/story-author-badge-fix
Open

maebeale wants to merge 1 commit into
mainfrom
maebeale/story-author-badge-fix

Conversation

@maebeale

@maebeale maebeale commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 badge conditions swap from created_by to author associations

Author badges on a person's profile now go to the person named as author — so people without a login get credit, and staff who only typed a record in don't.

What is the goal of this PR and why is this important?

  • Badges read user.*_as_creator (the created_by login).
  • People with no login never got author badges.
  • Whoever entered the record got them instead.

How did you approach the change?

  • Read Person *_as_author / *_as_co_author associations.
  • Story and story idea co-authors count.
  • New badges: community news, resource, story/workshop/variation idea author.
  • Video Gallery skipped — it has no author field.

Features seed (optional)

  • Added a features seed (optional)

🤖 Generated with Claude Code

@maebeale
maebeale marked this pull request as ready for review December 4, 2026 03:26
…entered it

Author badges read the user's created_by records, so people without a login
never got them and staff who typed records in got credit instead. They now
read the person's author/co-author associations, and cover every authored
type: community news, resources, and story/workshop/variation ideas.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/story-author-badge-fix branch from 40ffbce to 06315b7 Compare December 4, 2026 12:57
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