Story 4.1: Tasks 3-6 Complete - Director's Board Integration & Settings Menu

- Task 3: Extended FoundryAdapter with user flag access methods
  - Added getFlag(userId, scope, key) method
  - Added setFlag(userId, scope, key, value) method
  - Added getFlagModule(userId, key) convenience method
  - Added setFlagModule(userId, key, value) convenience method

- Task 4: Integrated Privacy Settings with Director's Board
  - Updated participant-card.hbs to show Reaction Cam badge
  - Modified boardUtils.js to pass playerPrivacyManager through context
  - Updated DirectorsBoard to accept and pass playerPrivacyManager
  - Added CSS styles for Reaction Cam badge (SP accent color)

- Task 5: Registered PlayerPrivacyPanel in module settings
  - Added settings menu registration in module.js Hooks.once('ready')
  - Available to all users (restricted: false)
  - Uses localized labels and hints

- Task 6: Added all localization strings
  - Added SCRYING_POOL.PrivacyPanel.* strings for panel UI
  - Added SCRYING_POOL.Settings.* strings for settings menu

- Updated story file with task completion status

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-05-23 21:29:58 +02:00
parent 61f362004e
commit fd0a7868f3
13 changed files with 1049 additions and 47 deletions
+27
View File
@@ -39,6 +39,7 @@
height: 48px;
margin: 8px auto 4px;
flex-shrink: 0;
position: relative;
img {
width: 100%;
@@ -47,6 +48,32 @@
object-fit: cover;
display: block;
}
// ── Badge (Reaction Cam enabled indicator) ─────────────────────────────
&-badge {
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 8px;
border: 1px solid var(--sp-surface);
box-shadow: 0 0 0 2px var(--sp-surface);
i {
font-size: 10px;
color: var(--sp-text-primary);
}
&--reaction-cam {
background: var(--sp-accent);
bottom: 0;
right: 0;
cursor: help;
}
}
}
// ── Name (12px, 2-line truncate) ─────────────────────────────────────────