Skip to content

Submit Review Page Frontend#474

Open
mdwerneken wants to merge 1 commit into
masterfrom
submit-review-frontend
Open

Submit Review Page Frontend#474
mdwerneken wants to merge 1 commit into
masterfrom
submit-review-frontend

Conversation

@mdwerneken

Copy link
Copy Markdown

Need to route to this page in main app file where desired. Still need to connect to backend and route "Close" button to preferred destination (likely home, but may depend on previous location so need to check). And double check that there are all the desired input fields/items.

Need to route to this page in main app file where desired. Still need to connect to backend and route "Close" button to preferred destination (likely home, but may depend on previous location so need to check). And double check that there are all the desired input fields/items.
@mdwerneken mdwerneken self-assigned this Jun 3, 2021

@erin2722 erin2722 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks pretty good!

what you wrote as far as remaining tasks is spot on, as well as the comments i left here

@@ -0,0 +1,172 @@
import React, { useState } from 'react';
import styled from 'styled-components';
import '../css/SubmitReview.css';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could probably only use styled-components here, no external css file

id="dd"
onSelect={setBuilding}
>
<Dropdown.Item className="item" eventKey="47 Claremont">47 Claremont</Dropdown.Item>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to use map with the dorm names pulled from the API

<Dropdown.Item className="item" eventKey="2019">2019</Dropdown.Item>
<Dropdown.Item className="item" eventKey="2020">2020</Dropdown.Item>
<Dropdown.Item className="item" eventKey="2021">2021</Dropdown.Item>
<Dropdown.Item className="item" eventKey="Furnald Hall">Furnald Hall</Dropdown.Item>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to dynamically generate this based on the current year

}

body {
background-color: #707070;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is affecting the regular reviews page also

Comment thread src/server/database.js
user: process.env.SHAFTUSER,
password: process.env.SHAFTPASSWORD,
database: process.env.SHAFTDATABASE
host: "192.34.62.10",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will want to take out before merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants