Skip to content

feat: give event hosts a host pass - #51

Merged
m1ngsama merged 1 commit into
mainfrom
feat/host-pass
Nov 23, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
feat/host-pass

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

Hosts usually prepare the event, but today they get nothing for it and have to claim a guest pass like everyone else.

Decision for you: hosting adds 1 to entries and 1 more toward the card foil, so a host reaches gold after 3 hosted events instead of 5 entries (tierOf in src/lib/db.ts).

  • Every host gets a gold-edged № 0000 host pass. It takes no seat and never goes through the door.
  • The pass counts once the first guest checks in, so an event nobody attended credits nobody. A host who also checked in on a guest pass is counted once.
  • An event can have several hosts. The editor lists members to add as co-hosts, and co-hosts can manage the event and export its roster.
  • The member card back shows "发起 N 场", the stub shelves show host passes, and the year recap gets a slide for hosted events.
  • Migration 0010_hosts.sql turns every existing event's creator into its host and credits past events that had guests.

@m1ngsama
m1ngsama merged commit 54abbcc into main Nov 23, 2026
2 checks passed
@m1ngsama
m1ngsama deleted the feat/host-pass branch November 23, 2026 02:42
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