Giter VIP home page Giter VIP logo

chatwell's People

Watchers

 avatar

chatwell's Issues

CSS styling

Add CSS styling to:

  • all pages
  • ensure contents are all on one page - no scroll down effect
  • make sure sponsor and client pages are differentiated based on colours
  • ensure background image transparency

styled components video
https://www.youtube.com/watch?v=3SpAg5tr7Ws

Create an api.js

This should contain a function that is called by Topics.jsx and sends a promise to the route to get the list of topics from the database. It then returns that resolved promise to the Topics.jsx component.

Create a Disclaimer.jsx component

This will be a disclaimer message based on the state of user (client/sponsor) and contain an "I understand" button that takes you to the next page.

style-homepage

restyle homepage so page doesn't scroll and looks pretty.

Create TopicListItem.jsx

This should be a button that displays a topic, onClick this should dispatch an action that pushes the topic into an array of topics in the store. This button should stay active when selected.

STRETCH: Click it again to deselect and remove from store.

Create tests on topics

create tests on functions below
getTopicsPending
getTopicsSuccess
getTopics
saveTopics

Touch up chatroom component

  • Show connection / searching / disconnection messages from the system

  • Display matched topics on connection

  • Display usernames and timestamp with each message

Create a Button.jsx component

This button will be used for both client and sponsor options, but differ in appearance and background behaviour. This should have an onClick function that dispatches an action to the store, setting the state of the user to be client or sponsor.

Implement functionality in SponsorTopics component

The SponsorTopics component is connecting properly to the database but has no option to select individual topics for discussion. It needs to be hooked up as a checkbox and properly save the user's choices as state in the store.

(UNNECESSARY) Create TopicsList.jsx component (+ reducer and action creator)

This should retrieve the topics from the database, map through them, rendering a TopicListItem.jsx for each in the loop.

Edited To Add: As part of this ticket I'm also writing the action creator and reducer.

EDITED TO ADD AGAIN: We don't need this component! It is doing the same job as the Client Topics and Sponsor Topics components.

Build out ClientTopics/SponsorTopics components

Change ClientTopics component to be stateful and set up to receive user's selections in state.

ETA: ClientTopics is now a hard-coded checklist. It doesn't receive state properly, but it is getting there.
SponsorTopics is rendering a list of topics from the database, which need to be made into a checklist.

Create a Homepage component

A component to house the client/sponsor buttons.

It should have breakpoints for desktop and mobile, check and adjust CSS and HTML files acordingly

Generate a random username

Generate a random username from a seed file (utils.js) for the user.

(Look into random-username-generator on npmjs.com)

deploy to heroku

  • messaging working between ip's
  • migrate db from sqlite3 to postgresql so db works on heroku

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.