anstosa / ferry.fyi Goto Github PK
View Code? Open in Web Editor NEWA better tracker for the Washington State Ferry System
Home Page: https://ferry.fyi
License: GNU General Public License v3.0
A better tracker for the Washington State Ferry System
Home Page: https://ferry.fyi
License: GNU General Public License v3.0
OS: iOS 15.3.1
Browser: Safari (home screen)
Repro Steps:
Footer menu style is broken when the page is loaded from the iPhone home screen. It looks fine when it is opened on a regular safari tab or other browsers. I did a little debugging and it looks like the env(safe-area-inset-XXXXX)
values break the style.
Overwriting values to 0 on margin bottom on the Footer and the padding top and bottom on the child fixes it.
It might need to use a media query of [display-mode: standalone](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/display-mode)
to make the spacing values conditional.
Better loading screen while data and estimates are loaded for new dates
TBD
To repro
Expected
Shows Seattle -> Bainbridge
Actual
Tap is not detected (due to gradient overlay at bottom of menu)
Use TesseractJS to read text off cropped bottom of images on server. Send updatetime to clients
Wanted to check this out and run it locally to see how it works, trying to create a similar UI for work shuttle arrivals. Ran into a few issues, following the README instructions verbatim:
Font Awesome token is missing
.npmrc
. Alternatively, I have commented out all dependencies for Font Awesome to get around this issue.npm run server
doesn't seem to be a command that works. I get this response, after running brew update && brew upgrade npm && npm update && npm install
:
$ npm run server
npm ERR! missing script: server
npm ERR!
npm ERR! Did you mean this?
npm ERR! worker
It looks like the corresponding run
command should be web
, if my understanding is correct.
There's a PostgreSQL server which needs to be running, defined in server/lib/db.js
#8:
const [, dialect] = process.env.DATABASE_URL.match(/^(\w+):\/{1,2}(.*)$/);
server/migrations
and server/model
folder I'm thinking it will create the necessary tables.Let me know if there's anything I missed in getting my environment up and running. I'm happy to submit a PR for items 1 and 2 if the workarounds make sense. Still looking into 3.
Take into account whether there were more or less sailings on previous weeks/years when making forecast calculations
Display crossing progress and status (e.g. "sailing", "at dock", etc)
Way to view vessel details by clicking a <VesselTag>
Can this be done without accounts?
If the user grants location permission and they are within a few miles of a ferry terminal, suggest that they view that terminal
Solves the problem where you are accidentally viewing the right schedule in the wrong direction
Mukilteo-Clinton ferries typically stay on time in the AM (uni-directional peak volumes eastbound) but get progressively later throughout the afternoon (bi-directional peak volumes). They then gradually return to on-time operation in the late evening. Currently late ferries are predicted to stay late all night.
Cache version of "normal" schedule so that cancelled runs or other variations can be highlighted
Currently this data only exists for Mukilteo & Clinton
orderFromTerminal
feetToNext
spacesToNext
as feetToNext / 22
To repro
Expected
shows Seattle -> Bainbridge
Actual
shows Bremerton -> Seattle
Saw this on my iPhone as well, but this video is from desktop
Take into account the boat size when making forecasts
Ideas:
At 6:27 p.m., ferry.fyi was showing that the 6:10 departure from Mukilteo was predicted to be 28 minutes late, i.e. at 6:38. This is accurate. I'm on board at 6:33 and it's still loading vehicles.
But, it also says that the 6:10 ferry already departed 38 minutes ago at 5:49. That's clearly incorrect.
Auth0
Way to view terminal details. UI unclear
PWA splash icons has darkened corners
On the 4th of July, ferry.fyi showed a regular weekday schedule instead of the holiday schedule. The extra evening runs were not shown.
(probably a duplicate of #31 )
Steps to Repro
While viewing Bainbridge -> Seattle
Expected
Shows Seattle -> Bremerton
Actual
Shows Bainbridge -> Seattle
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.