-
Notifications
You must be signed in to change notification settings - Fork 0
First commit #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DivineWind04
wants to merge
27
commits into
main
Choose a base branch
from
feature/wr-command-metar
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
First commit #1
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6196298
Initial commit: vFDIO ERAM terminal with FP and AM message support
DivineWind04 cca7eeb
Route field 10 formatting
DivineWind04 10d8c29
attempt indentation fix
DivineWind04 6fc0711
fix indentation and font spacing
DivineWind04 ac3a36b
Fixed SR of any strips not just existing ones from vStrips
DivineWind04 895b442
Implement WR command using VATSIM METAR API
DivineWind04 e94b1f8
Remove unused isTypedArray import from App.tsx
DivineWind04 d79882d
Add null check for root container element in index.tsx
DivineWind04 d2727cf
Fix holdAnnotations typing to use Nullable<HoldAnnotations>
DivineWind04 eb5b566
Fix HubConnectionState import to use public @microsoft/signalr entryp…
DivineWind04 20e6f2b
Fix hardcoded joinSession params to use real values
DivineWind04 5745ac2
Clean up CUSTOM_FLIGHTPLAN_COMMANDS.md
DivineWind04 8ff3b39
Add font-display: swap to custom font face
DivineWind04 f3e9eed
Remove duplicate toast+console logging in authSlice.ts
DivineWind04 4ba93bd
Fix vatsimTokenSelector to read from Redux state
DivineWind04 a7031b4
Fix ensureConnected to return updated connection after reconnect
DivineWind04 de59061
Fix HubContext default to null for proper useHubConnector guard
DivineWind04 7d2af8d
Remove unused track DTOs and track thunks
DivineWind04 e7744ea
Remove .Zone.Identifier files and add .gitignore entry
DivineWind04 ec80704
Remove unused windowThunks, SocketContext, and useSocketConnector
DivineWind04 ed9d034
Add runtime validation for required environment variables
DivineWind04 236087d
Fix customFlightplanCommandParser.ts duplicate line corruption
DivineWind04 bdb2996
Remove unhelpful AI-generated comments across files
DivineWind04 33ff3d6
refactor: extract strip formatting into shared utility
DivineWind04 fb14415
refactor: extract parseCommand into commandParser service
DivineWind04 58345b4
refactor: remove ProcessEramMessageDto and sendEramMessage
DivineWind04 eae8aa9
Stop rendering separators and half strips
DivineWind04 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| node_modules/ | ||
| dist/ | ||
| .parcel-cache/ | ||
| .env | ||
| .DS_Store | ||
| *.log | ||
| .vscode/ | ||
| coverage/ | ||
| *Zone.Identifier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "plugins": { | ||
| "@tailwindcss/postcss": {} | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # Custom Flightplan Commands | ||
|
|
||
| This system provides direct access to flightplan DTO objects with custom commands, allowing you to view and render flightplan data without relying on predefined hub commands. | ||
|
|
||
| ## Available Commands | ||
|
|
||
| ### Primary Command | ||
|
|
||
| - **`FR <aircraft_id>`** - ERAM-style flight readout for specific aircraft | ||
| - Example: `FR UAL123` | ||
| - Shows formatted flight data like traditional ERAM systems | ||
| - Returns "REJECT - FLID NOT STORED" if aircraft not found | ||
| - Returns "REJECT - FLID DUPLICATION" with CID list if multiple matches | ||
|
|
||
| ### Basic Commands | ||
|
|
||
| - **`FP <aircraft_id>`** - Display detailed flightplan for a specific aircraft | ||
| - Example: `FP UAL123` | ||
|
|
||
| - **`FPHELP`** - Display help message with all available commands | ||
|
|
||
| ### List Commands | ||
|
|
||
| - **`FPL [status]`** - List flightplans by status | ||
| - `FPL` or `FPL ALL` - Show all flightplans | ||
| - `FPL ACTIVE` - Show only active flightplans | ||
| - `FPL PROPOSED` - Show only proposed flightplans | ||
| - `FPL TENTATIVE` - Show only tentative flightplans | ||
|
|
||
| ### Search Commands | ||
|
|
||
| - **`FPS [filters]`** - Search flightplans with multiple filters | ||
| - Filters: `status=<value>`, `dep=<airport>`, `dest=<airport>`, `alt=<altitude>`, `route=<waypoint>`, `acid=<aircraft_id>` | ||
| - Example: `FPS status=Active dep=KJFK` | ||
| - Example: `FPS dep=KJFK dest=KLAX` | ||
|
|
||
| - **`FPF <criteria> <value>`** - Find flightplans by specific criteria | ||
| - Criteria: `DEP`, `DEST`, `WAYPOINT`, `ALT`, `TYPE` | ||
| - Example: `FPF DEP KJFK` - Find flights departing from JFK | ||
| - Example: `FPF WAYPOINT HOFFA` - Find flights routing via HOFFA waypoint | ||
| - Example: `FPF TYPE B738` - Find flights using Boeing 737-800 | ||
|
|
||
| ### Statistics Command | ||
|
|
||
| - **`FPSTATS`** - Display comprehensive flightplan statistics | ||
| - Shows total counts by status | ||
| - Top aircraft types | ||
| - Average speed | ||
| - Altitude distribution | ||
|
|
||
| ## Usage Examples | ||
|
|
||
| ``` | ||
| FR UAL123 # ERAM-style flight readout for UAL123 | ||
| FP UAL123 # Show detailed info for UAL123 | ||
| FPS dep=KJFK dest=KLAX # Find all flights from JFK to LAX | ||
| FPL ACTIVE # List all active flightplans | ||
| FPF WAYPOINT HOFFA # Find flights via HOFFA waypoint | ||
| FPF DEP KORD # Find all departures from Chicago O'Hare | ||
| FPSTATS # Show statistics summary | ||
| ``` | ||
|
|
||
| ## Implementation Details | ||
|
|
||
| ### Files | ||
| - `src/services/customFlightplanService.ts` - Core flightplan operations | ||
| - `src/services/customFlightplanCommandParser.ts` - Command parsing logic | ||
| - `src/redux/slices/customFlightplanSlice.ts` - State management |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file reads like it was written by AI as a summary of what it did after it completed a coding task.