Code Monkey home page Code Monkey logo

civic_voice_plus_fe's People

Contributors

aplasket avatar jcbeldo avatar jcjurado3 avatar jredish11 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

civic_voice_plus_fe's Issues

User Story 6 - Bills Index - Search Bills by state only

As a logged in user, I can search bills by region alone.
I can also search bills by region alone. If I do not type in a search topic but instead only select a state - “Florida” - and click button ‘search’, the page then renders with the 50 most recently updated bills from that state. I can see multiple pages of bills within the search, each page of results are limited to 10 results per page.

User Story 8 - Bill Show - save a bill to dashboard

As a logged in user, when I am on ‘/bills/:id”. There is also a bookmark to save or unsave the bill to my index page. When I first click the bookmark icon, and then visit my dashboard ‘/dashboard’, I see that bill saved in my “saved bills” section.

sad path: anytime a bookmark is selected/saved to a user's dashboard it persists across all pages. So even if a user goes a searches for that bill again or goes to its show page, it shows the bill is already bookmarked

ReadME

Create ReadME Documentation

User Story 3 - User Show Page - initial selecting of bill categories

As a logged in user, when I click on select bill topics I am routed to the user show page. There I see a form to select categories of legislative interest. I am required to select at least one of the categories and then click the button save. When I visit my dashboard, I see the digest sections has been updated with bills from the category(s) I selected. The button to select bill topics no longer appears and instead I see a button near the top of my page to edit my categories

User Story 7 - Bills show - select "Bill" from search result

As a logged in user, when I click a search result’s bill name, it is a link that redirects me to the bill’s show page. When I visit ‘bills/:id’ I see the bill’s name, status, and a simplified description of the bill.

I also see a section that shows the congressperson who sponsored it - displaying a photo of the congressperson, their name, and their contact information.

Additionally I see a button that will route me to the full text of the bill.

User Story 2 - User Dashboard

Now that I am logged in, the navigation bar has a link to go to my dashboard or to sign out. I no longer see a ‘login button’.

When I click ‘my dashboard’ I am routed to ‘/dashboard’. On my dashboard, I see a greeting ‘Welcome @user_email’. As a new user, I see a section called “Digest” and text that informs me to click a button to select bill topics that will appear in my digest section.

Conditional: if I have already selected bill topics, this button will not appear, and instead I will only see a button to edit my categories which routes me to ‘users/:id’ --the Users show page .

Additionally I see a section header for My Saved Bills. This is where my saved bills will be added when i've searched and saved them to my dashboard

User Story 4 - User Show Page - editing bill categories

As a logged in user on my dashboard, I see a button to edit my categories which routes me to ‘/users/:id’. Here I see a form to update my categories of legislative interest. When I change my selections and click ‘save’, I see that my list has been updated. When I visit

User Story 9 - User Index Dashboard - unsave a bookmark

As a logged in user, on my dashboard, I have the ability to unsave a bill by clicking the bookmark. When I click the bookmark for the saved bill, the bill will no longer be saved and will not be visible on my index page. Sad path: If I go to search for the bill again, I can click the bookmark button to save the bill back to the dashboard.

User Story 1 - Login User

As a user, when I visit the landing page I see a button to “login”. When I click this link I am taken to ‘/login’ where I see a button to “sign in with google”. When I click this button I am routed to ‘accounts.google.com’ where a login form asks me to select the google email account I would like to use to sign in. Once I select an email account, I am redirected to ‘/dashboard’ and I see that I am logged in.

User Story 5 - Bills Index - Search Bills by topic and region

As a logged in user, I can search bills by topic and region. When I click the button “search bills” it routes me to visit ‘/bills’ (bills index) I see a form to search for house/senate bills by keyword and I also see a drop-down selector to choose a state. When I fill in the search with ‘workers rights’ and the default region is auto selected ‘everywhere’. When I click the “search” button, the page renders with the up to 50 search results matching that search criteria in descending order of ‘last action’ where the most recently updated bill is first. I can see multiple pages of bills to click through to find bills based on my search criteria. Each page has at most 10 results per page. For each bill I see it’s name, a truncated short description, and a bookmark icon. Each bills name is a link to that bills show page.

Extension - Bill show - OpenAI summarizer

Extension: as a logged in user, on the bills show page, I can click a button to ‘simplify’ the summary in more user-friendly terms. When I click this button, it populates a summary utilizing openai in simpler terms.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.