messman / tidy Goto Github PK
View Code? Open in Web Editor NEWFind out when to go out on the beach in Wells, Maine.
Home Page: https://wellsbeachtime.com
License: MIT License
Find out when to go out on the beach in Wells, Maine.
Home Page: https://wellsbeachtime.com
License: MIT License
Alas, you used to know the difference. Update the code to use the proper term, whatever it is.
And here I was, actually optimistic for a bit that it would Just Work.
Why's it so bad?
We use local dependencies between the projects in development (file references in package.json
) and we don't host any of the code publicly on npm
. This puts us in a unique situation when trying to bundle code.
Current process
tsc
in server-http
to build for the azure-deploy
directoryshared
and server
, build them with production settings and npm pack
thempackage.json
Not too bad, but could be better.
Users (like my sister) of older versions enjoyed the crab that sat on the rock. Try to bring back some version of that or other marine life.
Maybe not always visible, but shows on changelogs or special alerts?
From dad's iPhone 8.
Could be that the top and bottom bars added by Safari shrink the height to below 500 and I have code to throw up that message.
From dad.
Wants:
This could be a new panel on the settings page.
When the application refreshes data, some pieces (like the tide chart or sun chart) flash to update (because they require knowledge of their bounds). We should animate these for a smoother effect.
Additionally, the loading screen should transition in and out using opacity. A generic component could be added to handle this.
Looks like there are about 10 right now.
Thought of this while working on the settings page - why not include some of the information learned about tides while creating this app?
Some of the things to talk about:
This application really only works when the data is fresh. If the user has the application open for awhile (maybe 5 minutes), we should prompt them to refresh.
And let readers know they exist in each project folder.
Right now the logic for determining timeline time is "end of this day, plus 2 days". That means we could end up with almost 72 hours of timeline, which is at least 3600 pixels.
Use hours instead, so we can keep things manageable. Either update the API or do it all client-side.
Gotta help out those Canadians.
Raised by mom. Right now, day of week can be reasoned from timeline and forecast view but isn't apparent on the screen.
It's not 100% necessary feature-wise, but it's valid.
Moving from the dark theme to the light theme turns users off from the light theme - it's just too bright. Improve the contrast and maybe CSS transition between themes.
This is the big one - when moving between compact and extended size, we re-render a lot. That's not a common user case, but fixing it would be nice.
I figured this would be automatically configured, but it's not. Gotta figure out what obscure Azure setting this is.
In this application, the weather API data is different from tide or sun data - it is only recent. AFAIK, with this NWS API there's no way to go back in time to view yesterday's weather or the weather from earlier today.
That means that at 8PM today, the only weather information I have for today is 8PM to the end of the day - so I can't really create a good summary of that entire day for the Forecast view. Hence, why we only show 'Tomorrow' and forward.
There's probably either a different API from NWS or another API entirely that can provide this - it will just take some time to research.
Start goes with Stop, Begin goes with End,
But Start does not go with End, my friend.
Unfortunately, I forgot that until halfway through. I can feel the disappointment from my old coworker Kousay.
It could just be that this particular iPad is messing up, but take a look just in case. There is a CSS rule out there for controlling scroll style. Weird, though, the iPhone 8 Plus scrolled as expected.
Right now the timeline weather data is squished together so
We need a clean design to allow everything to be shown (probably on click/tap).
So that even if it goes down, people still see what it looked like
Three parts here:
A quick test on timing reveals:
weather 1 done 6386.6288100034
predictions done 6415.023443996906
weather 2 done 6642.094659000635
Meaning, first request to weather API to discover the station takes about 6 seconds. Then the other two requests finish quickly. Our bottleneck is the first call to NWS.
The result of that call is the information we use to call the second time to NWS, but it doesn't change often. We could cache it and check against an item in our result set of the second call to know whether it's still valid.
Or, maybe using a different API would solve this and #14 at the same time.
Fix the madness with:
useEffect
sstyled-components
There needs to be a way, no matter what (barring a failure by React
) for a user to see the basic information about the app:
In order to see this when there's an app-wide error, we might need to add a new icon to the menu bar and disable all other icons. Bleh.
The API is deployed on Azure, so it's subject to go to sleep after 60 (?) minutes of inactivity. Then it needs to warm up, and so the first request by a user may fail.
Conveniently, the user can tap the screen to try again. But maybe increase the timeout a little more to lessen the chance of that happening.
There used to be one, but it was likely deleted.
This is the obvious "next step" for this application and would help its adoption with a wider audience.
What stands in the way, as I see it now:
In order to:
Part of the original design of this page, but was moved out of MVP.
Some elements on the page, like the summary blocks, can be tapped to show more information. There should be some UI indicator to let a user know that they should try to click or tap.
This indication could be turned off or could automatically turn off once the user has tapped correctly once.
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.