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:
@@ -8,6 +8,15 @@
|
||||
{{!-- Avatar (48px rounded) --}}
|
||||
<div class="participant-card__avatar">
|
||||
<img src="{{avatarSrc}}" alt="Avatar of {{name}}" />
|
||||
{{!-- Reaction Cam badge - Story 4.1 --}}
|
||||
{{#if isReactionCamEnabled}}
|
||||
<span class="participant-card__badge participant-card__badge--reaction-cam"
|
||||
role="status"
|
||||
aria-label="Reaction Cam: Enabled"
|
||||
title="Reaction Cam: Enabled">
|
||||
<i class="fas fa-video" aria-hidden="true"></i>
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{!-- Name (12px, 2-line truncate) --}}
|
||||
|
||||
Reference in New Issue
Block a user