Comments (1)
Plan: combine creating, viewing, and editing functionality into 1 view and 2 containers.
View: components/views/SingleSessionView.jsx
which renders a session, and each bit of info can be displayed as an input field if the appropriate prop boolean option is supplied.
Adding Container: components/containers/AddSession.js
renders the view, telling it to display everything as an input field with empty default values, then when the save button is pressed this container will issue an ADD_SESSION action
Editing Container: components/containers/EditSession.js
renders the view, telling it to display everything as an input field if the editing boolean prop is true.
Viewing Container: components/containers/ViewSession.js
renders the view
from boulder-tracker-frontend.
Related Issues (20)
- Create component for landing page
- Create login flow
- Create component for a session
- Create component for an individual climb
- Create component for active session
- create component for individual problems
- Add styling for problem component
- Send a post request to the backend when a new session is created
- Allow for error messages in the store that each React component has access to
- include a component on the session page that lets you add a climb to that session
- List all climbs on the session page
- Send a post request to the backend when a new climb is created
- send signup request to correct endpoint
- redirect to homepage after successful login
- redirect to homepage after login
- pass current user id when adding new session
- redirect to newly created session page after it is created
- remove problems from session
- verify there aren't more sends than attempts when adding a new climb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boulder-tracker-frontend.