Commit 9f086f5
committed
Sprint A-1: Foundry Sync Configuration Panel
Add Config tab to the Foundry sync dashboard with comprehensive sync
management controls for DMs:
- Connection setup: inline API URL, key, campaign ID fields with
"Test Connection" button and live feedback
- Sync scope: per-type direction controls (Bidirectional/Pull/Push/Off)
for journals, maps, calendar, characters, and shops
- Permission mapping: visibility-to-ownership sync toggle, DM-only
hidden toggle, default ownership level selector
- Sync behavior: conflict resolution strategy (Chronicle/Foundry/Newest
wins), auto-sync toggle
- Exclusion rules: tag-based exclusions, name pattern exclusions,
counts of type/entity exclusions from Entities tab
New settings registered: syncDirections, syncPermissions, defaultOwnership,
dmOnlyHidden, conflictResolution, autoSync, excludedTags,
excludedNamePattern.
SyncManager gains direction-aware helpers: getSyncDirection(), canPull(),
canPush(), isAutoSync(), isExcludedByRules(). Modules can query these
to respect the DM's sync configuration.
https://claude.ai/code/session_01WJEjfBqjZaGatHiXXXDupo1 parent 1939d07 commit 9f086f5
5 files changed
Lines changed: 850 additions & 2 deletions
File tree
- foundry-module
- scripts
- styles
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
120 | 190 | | |
121 | 191 | | |
122 | 192 | | |
| |||
168 | 238 | | |
169 | 239 | | |
170 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
171 | 281 | | |
172 | 282 | | |
173 | 283 | | |
| |||
0 commit comments