pushpin's People
pushpin's Issues
Professional profiles - dashboard
Professionals should be able to publicly post profiles of their skills.
Write a Readme for Project Setup
Issue 2, 3 questions
Taking user offline/online?
Taking associated content from profile offline?
Both professionals and requesters should be able to message each other to discuss the project including sending images of the work that needs to be done and PDFs of estimates.
As a professional or requester
When I visit /:proposal_id
And I fill in message
And I attach a PDF
And I attach an image
And I click "Submit"
My message is printed to the page
My image is printed to the page
There is a link to my PDF
User roles
User roles should include: guest, professional, requester, admin.
Requesters should be able to publicly post work they need done on their property.
As a requester
When I visit /dashboard
And I click on "Create New Project"
Then I should be redirected to /:username/projects/new
And I fill in project name
And I fill in project location
And I fill in project skill
And I click "Submit"
Then I should be redirected to /dashboard
My project should be displayed on the page
As a guest, I should be able to login
As a guest user
When I visit '/'
And I click on 'Login'
And I fill in 'Username' with 'Janedoe1'
And I fill in 'Password' with 'password'
And I click 'Login'
Then I should be redirected to "/dashboard"
And I should be logged in
Add Twilio
Database queries in test suite
In the test environment, Is it a good idea to query the database to see if an instance has been updated on the database level (as in User.last.name e.g.) or to test the variable we have created in the test (as in user.name) for the sake of speed and lightness of the test suite?
Style login page
Admin delete
As a platform admin, I should be able to:
- delete postings/content.
As a user, I can rate a professional after a project concludes.
As a requesting user
After one of my projects is completed
And I visit the project page
I can put in a rating of the professional
When I hit submit
The review is accounted for in the user’s profile
And I see a message that my review was successfully submitted
As a guest, I should be able to browse public content / profiles
As a guest user
When I visit '/'
I should see dropdown menu with options to select needed service
I should see option to Sign Up / Login
And I click on "Browse Professionals"
I should be on '/professionals'
I should see index of professionals.
As a registered user, I should be able to post listings or content either publicly or privately - professional.
As a registered user
When I visit '/dashboard'
I should see 'Possible Requests'
And I select one request
Then I should be redirected to '/proposal/:id'
And I fill in 'Message' with 'Proposal attached!'
And I attach 'Additional Documents' with 'PDF'
And I click on "Submit Proposal"
Then I should be redirected to '/dashboard'
And I should see above project in 'Proposals'
twilio testing
-factory girl?
-flow between user controller & confirmation controller
Add requester user stories
X Requesters should be able to publicly post work they need done on their property.
X Both professionals and requesters should be able to message each other to discuss the project including sending images of the work that needs to be done and PDFs of estimates.
-Once a project is assigned to a professional, it should no longer be listed publicly.
-Requesters should be able to see all projects they’ve listed.
db migrations
-role
-users_role
-projects
-skills
-projects_skills
-users_skills
-messages
-rating
As a professional, I can see a requester's rating.
As a logged in professional
When I visit a potential project page
I can see the requester’s rating
belongs to through relationships
Add styling to new project form
Authorization for the rest of users
Requester
Professional
Guest
Build seed file
Style signup page
Add signup link to login page
As a professional, I should be able to see all the work I've applied for.
As a professional user
Who has applied for projects and is assigned to projects
When I am logged in
And I visit my dashboard
I should see the projects I have applied for
And the projects I am assigned to
Style admin dashboard
Redirect after signup
being redirected to root, should change it to dashboard in a dynamic way
user model migration
As a professional, I can rate a requester after a project concludes.
As a professional user
After I complete a project
And I visit the project page
I can put in a rating of the requester
When I hit submit
The review is accounted for in the user’s profile
And I see a message that my review was successfully submitted
Test Admin user authorization
A regular user should not be authorized to view admin dashboard
Create guest user and registered user waffle cards
Guest User
-Browse public content / profiles.
-Log in or create an account.
Registered User
-Post listings or content either publicly or privately.
-Manage my account information.
-Manage my profile / content.
Wireframes
- Homepage
- Professionals profile: professionals#show (or dashboard#show)
- Projects: projects#index, projects#show
- Messages: proposals#show
- Ratings: professionals#show
As a professional, I only see jobs that match my skills.
As a professional user
When there are potential projects that fit my skills and some that do not fit my skills
And I visit the projects index
I only see potential projects that fit my skills
Should we render navbar from layout?
so that we do not render it from dashboards all the time
Requesters should be able to publicly post work they need done on their property. Part 2
As a logged in user
When I visit /:username/project/:project_name
I should see a project's name
I should see a project's location
I should see a project's skill
I should see a project's description
Both professionals and requesters should be able to message each other to discuss the project including sending images of the work that needs to be done and PDFs of estimates. Part 2
As a professional or requester
When I visit /:proposal_id
And I fill in message
And I attach a PDF
And I attach an image
And I click "Submit"
My message is printed to the page
My image is printed to the page
There is a link to my PDF
Add professional profile show page
Add unit level tests for Twilio modules
How could we use mocking to better test these modules?
Requesters should be able to see all projects they’ve listed.
As a requester
When I visit /requester/dashboard
I should see all my projects
As a registered user, I should be able to manage my account information
As a registered user
When I visit '/users/:id'
And I click on a project under 'Projects with Proposals'
And I should be on '/proposals/:id'
And I click on 'Award this proposal to this professional'
I should be on '/projects/:id'
I should see message history with professional
And I should see professional's information
model level tests
-validation
-relationship
Add flash messages for failed signup
Add flash notices for failed login
As a guest, I should be able to create an account.
As a guest user
When I visit '/'
And I click on 'Sign Up'
Then I should be on 'users/new'
And I fill in 'Name' with 'Jane Doe'
And I fill in 'Username' with 'Janedoe1'
And I fill in 'Location' with 'Denver'
And I fill in 'Email' with '[email protected]'
And I fill in 'Phone Number' with '303-333-3333'
And I fill in 'Password' with 'password'
And I fill in 'Password Confirmation' with 'password'
And I click 'Submit'
Then I should be redirected to "/dashboard"
And I should be logged in
Admin take a user offline/online
Platform Admin
As a platform admin, I should be able to:
Take a user offline / online, including all content associated with them but without removing the user or any of their data from the database.
Final Four User Stories
-Professionals should be able to see all work they’ve applied for (with differentiation for projects they’ve been assigned to).
-To keep both professionals and requesters honest, each can rate each other. (polymorhic association)
-Only professionals can see a requester’s rating.
-Professionals should only see requests for jobs they have the skills to complete. (i.e. A seamstress probably shouldn’t see a request for siding)
Add Attachment Tables to DB
-images
-pdfs
As a registered user, I should be able to post listings or content either publicly or privately.
As a registered user
When I visit '/users/:id'
I should see my profile information
And I click on 'Create New Project'
Then I should be redirected to '/projects/new'
And I fill in 'Project Name' with 'Painting'
And I fill in 'Project Description' with 'Living Room'
And I fill in 'Location' with 'Denver'
And I select the desired skill
And I click on 'Submit'
Then I should be redirected to '/users/:id'
And I should see my new project under 'Projects'
Once a project is assigned to a professional, it should no longer be listed publicly.
As a requester
When I visit /:proposal_id
And I click on "Pin this Professional" (Award this proposal)
I am redirected to the dashboard_path
As a guest
When I visit /:project_id
I am shown a 404 error
As a registered user, I should be able to manage my profile / content.
As a registered user
When I visit '/users/:id'
And I fill in 'Name' with 'Jane Smith'
And I fill in 'Location' with 'Boulder'
And I click 'Update Profile'
And I should be on 'users/:id'
And I should see the updated account information
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.