vFlightDataSystems / VATSIM_EDST_frontend

GNU General Public License v3.0
0 stars 4 forks source link

Add "Filter" Menu #15

Open erikquinn opened 2 years ago

erikquinn commented 2 years ago

Allow the user to specify the method of filtering used to populate aircraft in the EDST. At the moment, it is hard coded to show the aircraft in (or inbound to) the facility specified in an initial popup menu. Let's add a menu to provide some further simple filtering methods.

Here's how I envision it working (forgive me as I am on mobile! 😂):

ARTCC FILTER: [input field]
AIRPORT/GROUP: [input field]
SYNC DL FILTERS: [toggle square]
CRUISE ALTITUDE: [minAlt] - [maxAlt]
PRESENT ALTITUDE: [minAlt] - [maxAlt]
TYPES FILTER: [toggle] P [toggle] T [toggle] J

-----

Notes:
- ARTCC FILTER accepts ARTCCs delimited by comma or space. Specify DCC for all VATUSA.
- AIRPORT/GROUP:
    - Specify airports (delimited space/comma) with 4-letter ICAO
    - Specify "airport groups", which are lists of 4-letter airport ICAO identifiers, which facility FEs can create. For example, I would make an "MIA" group, to include all fields within Miami TRACON. ZDC could make SHD/MTV/CHP/PCT groups, so someone working "PCT but not CHP" could simply enter "SHD,MTV".
- "SYNC DL" toggle appears in ACL filter menu, while "SYNC ACL" appears in DL filter menu. The state of those two toggles themselves are synced. If the toggle is active, any changes made to one sort menu are reflected in the other of ACL/DL as well. Defaults to ON.
- TYPES FILTER refers to P (piston), T (turboprop), and J (jet), if that data is available. In it's absence, gray it all out and leave for future development.

The above would all appear in a "filter" menu, just like the sort menu, and appearing just to the right of Sort.

KSanders7070 commented 2 years ago

Keeping this open for consideration after the Selector Selectors are working as they should, which they are not including the altitudes of each, nor do they take filter the Dep List correctly yet.