# OXCART

This project is a tool for procedurally generating flights. You can also use it to work with airports and other aviation data.

### TODO
- [x] add indirect flight bundles
- [x] make it work as npm package and start implementing it into navan clone
  - [x] for navan: implement everything as it is in a new branch (then look for the improvements)
  - [x] improve how dates work (?) - that might be navan responsibility or might be fixed with the above
  - [x] for navan: fix tile title as key for opening the tile details modal - has to include bundle id as well
  - [x] for navan: show all flight numbers split by a comma instead of just the 1st
  - [x] for navan: show correct arrival time in the bundle display (its showing first leg arrival now, instead of last one)
  - [ ] expose helpers so its easier to work with the data: stops, flight duration, layover, etc.
  - [ ] about dates: maybe I should receive timezone from user instead of using UTC for everything. for example: they select march 30 2030, and I give them a flight in 1AM UTC, but that could be march 29 in their timezone (not valid)
  - [ ] for navan: why are icons not working?
- [ ] add eslint and prettier
- [ ] improve function/method call chain readability, namings, share types that get repeated too many times, etc. (code improvements)
- [ ] fix all TODO comments (lol)
- [ ] thorough manual testing looking for flaws and possible improvements
- [ ] improve generation quality (more realistic data)
- [ ] improve tests
- [ ] remove this section from the readme and make readme useful

