botffy / bubistats Goto Github PK
View Code? Open in Web Editor NEWStats and data visualizations of your Bubi usage
Home Page: https://bubistats.hu/
License: GNU General Public License v3.0
Stats and data visualizations of your Bubi usage
Home Page: https://bubistats.hu/
License: GNU General Public License v3.0
It looks like nothing is happening.
When a new ride is added, toast messages should be displayed:
this Could be calculated serverside, with the list of celebrations returned to frontend as the response
"Cannot read properties of undefined (reading 'name')"
Elsewhere we handle this gracefully, displaying the station code.
when the visitor is not logged in
Also add a celebration if the user had to pay for the ride (the ride is longer than 30 minutes)
It lets the user select only 0 and 1 as hours for the current day. Also, it doesn't allow seconds as input
After #14 , we can implement a custom firebase auth for Strava (oauth flow => firebase token)
It should have its own section in the settings page.
When the user is not auth'ed, we display the InfoPage in the StatPage and elsewhere. I did it this way because I like soft redirects, and we have no login page to redirect to anyway.
Once #14 necessitates a login page, we will be able to use vue route guards in the traditional way.
On mobile, the situation is pretty bad, as the navbar is squashed into the hamburger menu, and the html title isn't visible, that may need a different solution, but I'm not a fan of having a h1 title in the page itself
on the station page.
it should use dynamically calculated categories
Users with no rides are presented with a rather confusing situation: they can click all the menu items, but all pages show the very same view:
Proposed solution
When the user has no rides, we should hide the menu items pointing at the stat pages and show the current page, except with an expanded tutorial/introduction about the thing.
fyi @egkrly
When the user clicks on the row, they should see the rides linked to that bike or station in a subtable.
At least on mobile, when i add a new ride either by screenshot or by the form, I get wrongly calculated celebrations. As though the newly added ride weren't filtered out properly: e.g the first ride is celebrated as second etc
This will also take care of handling the title changes needed for #39
There should be feedback for the user after every ride, the spinner stopping is not enough,
Currently mostly everything is just in the src root (except totally reusable components like TimeAgo).
@egkrly proposed a feature based system, and we do have multiple independent features:
ride-service.ts doesn't really play nice with this, especially since it reads and writes firestore data and also calculates celebrations (which it shouldn't). But it can be split into a "read rides from firestore" and "write ride to firestore" service.
It should be human-readable, easily accessible from the front page even when not logged in, and also when logged in. Maybe we could also push notifications about recent changes when the user logs in.
So the problem is that the editor loves applying it's own rules while editing, for example, "
characters for automatic imports.
It also loves to play with identation and other stuff like that.
We should at least agree on these things:
ESLint for TypeScript: https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin
In my opinion we should try out the default configuration first, with our own set of rules that we discuss here.
When sorting by a column, it should always have an implicit secondary sort that makes the table look less ragged.
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.