igorkrupenja / zaino Goto Github PK
View Code? Open in Web Editor NEWFirst-year university project. Hiking and mountaineering equipment web app.
Home Page: https://zaino.cc
License: MIT License
First-year university project. Hiking and mountaineering equipment web app.
Home Page: https://zaino.cc
License: MIT License
Need custom logo for legal reasons
could be similar to this one https://www.freepik.com/premium-vector/travel-tourism-icon-set-fillio-black-icon-series_6169321.htm#page=1&query=backpack%20icon&position=2
List display:
Misc:
Some ideas:
editItem.pending
?) but then show error if request fails (editItem.rejected
)? maybe use a modal with Retry button? gets complicated with Adding item though as id's are generated in Firestorehttps://stackoverflow.com/questions/59424523/reset-state-to-initial-with-redux-toolkit
react_devtools_backend.js:2273 Warning: Encountered two children with the same key, 002GHZPLElfu9SVAcatg
. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted โ the behavior is unsupported and could change in a future version.
in section (created by InventoryList)
in InventoryList (created by ConnectFunction)
in ConnectFunction (created by DashboardPage)
in DashboardPage (created by Context.Consumer)
in Route (created by AppRouter)
in Switch (created by AppRouter)
in Router (created by AppRouter)
in AppRouter
in Provider
~150 items good target
history
npm module v5 is broken with router, use v4 insteadLikely use some icon, perhaps Swiss knife
lastCalledWith
instead of toHaveBeenLastCalledWith
src="images/mountains.svg"
Can have catalogue with e.g. with items from some shop?
Check for ESLint warnings
misc
Development:
tasks.json
gsutil -m acl set -R -a public-read gs://zaino-2e6cf.appspot.com
- or add to zshrcyarn config set ignore-engines true
Workspaces/repo structure
Firebase
Demo data
gcloud config set project *zaino-dev-81292*
gcloud pubsub topics create 'add-demo-data-db'
gcloud pubsub topics publish 'add-demo-data-db' --message 'g'
Acknowledgements:
.firebaserc
from repoSeen this in existing apps, Dima S. also thinks this could work
https://stackoverflow.com/questions/40987309/react-display-loading-screen-while-dom-is-rendering
https://medium.com/@felippenardi/how-to-do-componentdidmount-with-react-hooks-553ba39d1571
This is also likely the reason why scroll position is not saved. Was this working before though?
https://stackoverflow.com/questions/492994/compare-two-dates-with-javascript
From the list below I think I like Zaino, attrezzato, Rack, sentiero, Ready the most.
Firebase periodically re-attempts to update DB on connection loss, but:
Misc
If no other routes, maybe get rid of router altogether?
https://stackoverflow.com/questions/43441856/how-to-scroll-to-an-element
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.