mattburnett-repo / carbon-interface Goto Github PK
View Code? Open in Web Editor NEWReact application that provides a front end for the Carbon Interface Estimates API. https://www.carboninterface.com/
Home Page: https://carbon-interface.vercel.app
React application that provides a front end for the Carbon Interface Estimates API. https://www.carboninterface.com/
Home Page: https://carbon-interface.vercel.app
The API returns duplicate values for vehicle models. Duplicated data is the model year and the model name.
However, each duplicate has a unique id.
Right now there is a hack documented in VehicleModels.jsx. This adds the first five characters of the id to the display option.
This should be resolved in a manner that filters out the duplicates before rendering the Autocomplete component in VehicleModels.jsx
Try using Vitest.
As a fallback, go back to Jest / RTL / etc.
Maybe also Cypress or something similar.
Add something that compares a carbon estimate to some sort of standard, so that the end user has a better understanding of the impact of a carbon-emitting activity.
This shouldn't happen. Once a form is submitted, it shouldn't re-submit if the user tabs away from the app/browser and then tabs back into the app/browser.
The code currently passes the form's requestData to useQuery()'s queryKeys array, but this doesn't consistently solve the problem. Sometimes it works, most of the time it doesn't. No idea why.
Not sure why this happens. The assumption is that the queryKeys will cache the query and prevent a re-render / re-fetch of the Estimate component. This does not work consistently.
useMemo() might solve this. Need to figure out if / where / how.
Some sort of HOC / wrapper components to reduce repeated code in forms and estimates components.
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.