v0.1.2d -- Social features, notifications, and community feedback
What's New
Friends and Notifications
- Add any trainer as a friend from their profile page (
/trainer/{username}); friendship is directional -- you see their raids, not vice versa unless they add you back - A bell badge in the nav sidebar counts unseen notifications; clicking it opens
/notifications, a dedicated page listing all active raids from your friends - New raid toasts slide in while browsing any page; a short ding plays on each new toast with volume controlled in Settings > Notifications (0--100% visual scale, 50% audio gain cap; default 30%)
- Dismiss individual notifications with x or clear them all at once; visiting the page resets the badge on the next poll cycle
Blocked Users
- Manage your blocked list from Settings > Blocked Users with a live search by username or trainer name
- Block or unblock directly from a trainer's profile page
- Blocking removes any existing friendship in both directions; blocked users cannot re-add you
Community Feedback
- Every public trainer profile now has a Community Feedback section
- Leave positive, neutral, or negative feedback (Pokemon-themed phrases) -- one entry per author/target pair, updatable at any time
- Authors can remove their own entry; moderators can remove any entry; admins manage the option list under Admin > Feedback Options
Trainer Profile Pages
- Each trainer now has a dedicated profile page at
/trainer/{username}with a hero layout, layered avatar and favorite Pokemon, badges, tags, and social action buttons - Your own profile shows a friends preview (5 most recent) with a "View all" link to
/friends
Other Changes
- Shiny count badge shown on trainer directory cards when the collection is public
- Translator application form added to the Translate page
Migrating from v0.1.2c
Run the following sections from migrate.sql against your database before deploying:
- Section 26 -- adds
shinies_hiddencolumn tousers - Section 27 -- creates
user_friendsanduser_blockstables - Section 28 -- creates
feedback_optionstable and seeds 10 phrases - Section 29 -- creates
user_feedbacktable
Section 26 may produce a harmless Duplicate column name 'shinies_hidden' error if you already applied it -- ignore it and continue with sections 27--29.
Sections 27, 28, and 29 use CREATE TABLE IF NOT EXISTS and INSERT IGNORE, so they are safe to re-run.
Migrating from v0.1.2a or v0.1.2b
Apply all sections from your last applied section through section 29, in order. Check the section comment headers in migrate.sql to identify which sections are new for you.
Fresh Install
Follow the Getting Started wiki guide. Use schema.sql to create the database -- it already reflects the full current schema including all migrations. Do not also run migrate.sql sections on a fresh install.
See the Database Guide for schema details and the Configuration page for all environment variables.
Notes
- Friendships are directional: adding someone as a friend does not automatically add you back
- Blocking removes friendship in both directions
- The 10 feedback seed phrases (section 28) are inserted with
INSERT IGNORE-- re-running is safe - All new social features are documented in the Social Features wiki page