Skip to content

Commit 86262c6

Browse files
authored
feat: client page configuration (#7)
* feat: add client page config to profiles schema * build(deps): update vacs crates * feat: add client page to LO profiles * docs: document client page config in profiles * docs: improve profile docs
1 parent b66a95a commit 86262c6

File tree

15 files changed

+329
-53
lines changed

15 files changed

+329
-53
lines changed

dataset/LO/profiles/LOVV.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,44 @@
483483
},
484484
{
485485
"label": ["CWP"],
486-
"size": 6.25
486+
"size": 6.25,
487+
"page": {
488+
"rows": 6,
489+
"client_page": {
490+
"include": [
491+
"LO*",
492+
"EDMM*",
493+
"EDUU*",
494+
"EDDM*",
495+
"ADR*",
496+
"EUC*",
497+
"LD*",
498+
"LH*",
499+
"LIM*",
500+
"LIP*",
501+
"LJ*",
502+
"LK*",
503+
"LS*",
504+
"LZ*"
505+
],
506+
"exclude": ["LON*"],
507+
"priority": [
508+
"LO*_FMP",
509+
"*_FMP",
510+
"LO*_CTR",
511+
"*_CTR",
512+
"LOWW*_APP",
513+
"LO*_APP",
514+
"*_APP",
515+
"LOWW*_TWR",
516+
"LO*_TWR",
517+
"*_TWR",
518+
"LO*_GND",
519+
"*_GND",
520+
"LO*"
521+
]
522+
}
523+
}
487524
}
488525
]
489526
}

dataset/LO/profiles/LOWW.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,46 @@
339339
}
340340
]
341341
}
342+
},
343+
{
344+
"label": "CWP",
345+
"page": {
346+
"rows": 6,
347+
"client_page": {
348+
"include": [
349+
"LO*",
350+
"EDMM*",
351+
"EDUU*",
352+
"EDDM*",
353+
"ADR*",
354+
"EUC*",
355+
"LD*",
356+
"LH*",
357+
"LIM*",
358+
"LIP*",
359+
"LJ*",
360+
"LK*",
361+
"LS*",
362+
"LZ*"
363+
],
364+
"exclude": ["LON*"],
365+
"priority": [
366+
"LO*_FMP",
367+
"*_FMP",
368+
"LO*_CTR",
369+
"*_CTR",
370+
"LOWW*_APP",
371+
"LO*_APP",
372+
"*_APP",
373+
"LOWW*_TWR",
374+
"LO*_TWR",
375+
"*_TWR",
376+
"LO*_GND",
377+
"*_GND",
378+
"LO*"
379+
]
380+
}
381+
}
342382
}
343383
]
344384
}

docs/dataset/positions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Each position entry maps a VATSIM controller login to a vacs position.
5757
| `prefixes` | Array of strings | Yes | Callsign prefixes used to match VATSIM logins when the callsign doesn't exactly match the `id` (e.g., `["LOWW"]`). |
5858
| `frequency` | String | Yes | Primary frequency in `XXX.XXX` format (e.g., `118.700`). |
5959
| `facility_type` | String | Yes | VATSIM facility type. Must be one of the facility types listed below. |
60-
| `profile_id` | String | No | Optional ID of the default profile to load for this position. |
60+
| `profile_id` | String | No | Optional ID of the profile to load for this position. |
6161

6262
## Validation Rules
6363

@@ -171,7 +171,7 @@ What this means in practice:
171171

172172
### Position without a profile
173173

174-
This example shows a position that does not load a default profile.
174+
This example shows a position that does not load a profile.
175175

176176
```toml
177177
[[positions]]
@@ -184,7 +184,7 @@ facility_type = "DEL"
184184
What this means in practice:
185185

186186
- The `profile_id` field is optional and can be omitted
187-
- Controllers logging into this position will not have a default profile automatically loaded
187+
- Controllers logging into this position will not have a profile automatically loaded
188188
- Positions without profiles associated will only receive a basic view showing connected users (and their VATSIM callsign) and **will not show up as an online station for other controllers in vacs**
189189

190190
### Prefix matching with non-standard callsigns

docs/dataset/profiles.md

Lines changed: 206 additions & 45 deletions
Large diffs are not rendered by default.

docs/images/client_page.png

54.5 KB
Loading

docs/images/client_page_fir.png

50 KB
Loading

docs/images/client_page_icao.png

53 KB
Loading

docs/images/direct_access_page.png

72.4 KB
Loading

docs/images/example_basic_geo.png

52.6 KB
Loading
56.2 KB
Loading

0 commit comments

Comments
 (0)