ideabox's Introduction
ideabox's People
ideabox's Issues
Phase 3 - Idea Filtering and Searching
We’d like our users to be able to easily find specific ideas they already created, so let’s provide them with a filtering interface on the idea list.
At the top of the idea list, include a text field labeled “Search”.
As a user types in the search box, the list of ideas should filter in real time to only display ideas whose title or body include the user’s text. The page should not reload.
Clearing the search box should restore all the ideas to the list.
Phase 1 Refactor
Phas1 - Changing the Quality of an Idea
As we said above, ideas should start out as “swill.” In order to change the recorded quality of an idea, the user will interact with it from the idea list.
Each idea in the list should include an “upvote” and “downvote” button.
Clicking upvote on the idea should increase its quality one notch (“swill” → “plausible”, “plausible” → “genius”).
Clicking downvote on the idea should decrease its quality one notch (“genius” → “plausible”, “plausible” → “swill”).
Incrementing a “genius” idea or decrementing a “swill” idea should have no effect.
Phase 1 - View Ideas - Adding A New Idea
Adding a new idea
On the application’s main page, a user should:
See two text boxes for entering the “Title” and “Body” for a new idea, and a “Save” button for committing that idea.
When a user clicks “Save”:
A new idea with the provided title and body should appear in the idea list.
The text fields should be cleared and ready to accept a new idea.
The page should not reload.
The idea should be persisted. It should still be present upon reloading the page.
Phase 2 - Changing the Quality of an Idea
Each idea in the list should include an “upvote” and “downvote” button.
Clicking upvote on the idea should increase its quality one notch (“swill” → “plausible”, “plausible” → “genius”).
Clicking downvote on the idea should decrease its quality one notch (“genius” → “plausible”, “plausible” → “swill”).
Incrementing a “genius” idea or decrementing a “swill” idea should have no effect.
Phase 2 Refactor
Phase 1 - Data Model
An Idea has an id, title, a body, and a quality.
The id should be a unique identifier.
title and body are free-form strings.
quality should be one of the follow: “genius”, “plausible”, and “swill.”
By default, the idea’s “quality” should default to the lowest setting (i.e. “swill”).
Phase 3 Refactor
Phase 1 - User Flow - Viewing Ideas
When visiting the application, the user should:
See a list of all existing ideas, including the title, body, and quality for each idea.
Ideas should appear in descending chronological order (with the most recently created idea at the top).
Responsive Layout
Phase 1 - Deleting an Idea
When a user clicks “Save”:
A new idea with the provided title and body should appear in the idea list.
The text fields should be cleared and ready to accept a new idea.
The page should not reload.
The idea should be persisted. It should still be present upon reloading the page.
Phase 3 - Editing an Existing Idea
When a user clicks the title or body of an idea in the list, that text should become an editable text field, pre-populated with the existing idea title or body.
The user should be able to “commit” their changes by pressing “Enter/Return” or by clicking outside of the text field.
If the user reloads the page, their edits will be reflected.
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.