Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI for teammate review #82

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b6b6791
add new page for project topics
Oct 24, 2024
bfb7e09
New E2464UI component added, supporting both student and instructor p…
Oct 27, 2024
2770b8f
Update the readme, please follow the steps in the current readme to c…
Oct 27, 2024
4034ee3
add changes before pull with csc and tsx files
Oct 28, 2024
db2cbe0
Merge pull request #5 from arlee-shelby/ProjectTopicsUI
arlee-shelby Oct 28, 2024
8862337
Merge branch 'ProjectTopicsUI' into E2464_version1
arlee-shelby Oct 28, 2024
1fe2b91
Merge pull request #6 from arlee-shelby/E2464_version1
arlee-shelby Oct 28, 2024
da4de31
fix project topics route path
Oct 28, 2024
45be514
set test data as separate json file
Oct 28, 2024
2dc48e0
fixed table to load on full screen for changing screen sizes
Oct 28, 2024
142b1e5
Merge pull request #8 from arlee-shelby/E2464_version1
arlee-shelby Oct 28, 2024
c13508c
Merge pull request #9 from arlee-shelby/main
arlee-shelby Oct 28, 2024
c2d76c0
fixed small error with test data import
Oct 28, 2024
a55519b
Merge pull request #10 from arlee-shelby/ProjectTopicsUI
arlee-shelby Oct 28, 2024
bb5f81f
add new view for show student topics
Oct 29, 2024
86c2d84
Merge pull request #12 from arlee-shelby/feature-filterByYourTopics
arlee-shelby Oct 29, 2024
557340c
updated admin view
Oct 29, 2024
c0c63e4
Merge pull request #13 from arlee-shelby/feature-filterByYourTopics
arlee-shelby Oct 29, 2024
bd11fbf
Update README.md
KomachiZ Oct 29, 2024
c8177de
update test data for second assignment
Oct 29, 2024
1dfbf6a
add waitlist to table for students
Oct 29, 2024
c9fe92f
Update README.md
AryanT7 Oct 29, 2024
99ed63f
Update README.md
AryanT7 Oct 29, 2024
ad52ec2
add user feature to show star in table next to selected topic
Oct 29, 2024
bcb6651
delete unsued handle
Oct 29, 2024
3adbe2e
Merge pull request #15 from arlee-shelby/feature-filterByYourTopics
arlee-shelby Oct 29, 2024
569dc29
add preconfigured admin checkbox for assignment topics settings
Oct 29, 2024
7a74377
delete old code
Oct 29, 2024
597032a
Merge pull request #18 from arlee-shelby/feature-filterByYourTopics
arlee-shelby Oct 29, 2024
015efe2
Update README.md
KomachiZ Oct 30, 2024
75b6205
Update README.md
KomachiZ Oct 30, 2024
3b5df63
Update README.md
KomachiZ Oct 30, 2024
d333f6d
Update README.md
KomachiZ Oct 30, 2024
03886cd
Update README.md
KomachiZ Oct 30, 2024
a07329d
Update useAPI.ts for deployment
arlee-shelby Oct 30, 2024
07c031b
Update axios_client.ts for deployment
arlee-shelby Oct 30, 2024
99def2b
Update Login.tsx for deployment
arlee-shelby Oct 30, 2024
1021ccc
added tests for login and project topics index
Oct 30, 2024
380b94a
revert 99def2b commit for other deployment
Oct 30, 2024
b5569f8
Revert "Update axios_client.ts for deployment"
Oct 30, 2024
bfd0e71
Revert "Update useAPI.ts for deployment"
Oct 30, 2024
3673585
init a preview version of final project
Dec 2, 2024
ac78b0b
add the total score calculation for students, anonymous mode.
Dec 2, 2024
13ebbc6
add review details
Dec 2, 2024
51070c3
remove round & modularized the heatgrid function
Dec 3, 2024
8a3de64
update the style of button
Dec 3, 2024
e1e6764
add instructor selection functionality
Dec 3, 2024
9286bbd
finished adding instructor functionality to limit student view of tea…
Dec 3, 2024
3864868
Update README.md
KomachiZ Dec 4, 2024
1f3e403
Update README.md
KomachiZ Dec 4, 2024
081d8ef
Merge pull request #25 from arlee-shelby/final_project_preview
arlee-shelby Dec 4, 2024
a28d027
Merge pull request #26 from arlee-shelby/e2464test
arlee-shelby Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.0
105 changes: 79 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,99 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# E2494

## Available Scripts
## Project Overview
The project deals with implementing the review for teammate, the view is available in both student as well as instructor view. The current implementation does not have a designated heatgrid for either of the view that is specifically shown, the problem is far worse in the instructor section which has no clarification whether the score is about the reviews given by the student or given to the student. The main task here is to use the heatgrid component, and create the UI to display the teammate review scores. It is important to also ensure that the design stays consistent with other heatgrid components that are utilized in order to ensure uniformity throughout.

In the project directory, you can run:
## View Teammate Reviews

### `npm start`
### Current Service Online Address

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
You can visit the project online at the following address:
[http://152.7.179.32:3000](http://152.7.179.32:3000)

The page will reload if you make edits.\
You will also see any lint errors in the console.
[http://152.7.179.32:3000/teammate_review](http://152.7.179.32:3000/teammate_review)

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
## Admin Credentials

### `npm run build`
- **Username:** admin
- **Password:** password123

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
## Student Role Credentials

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
- **Username:** user4
- **Password:** password123

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
## Developing and Deploying with npm

### `npm run eject`
You can also develop and deploy the frontend using npm. Follow these steps:

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
1. **Clone the Repository**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Clone the project repository to your local machine:
```bash
git clone https://github.com/arlee-shelby/reimplementation-front-end.git
cd reimplementation-front-end
```

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
2. **Install Dependencies**

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
Install the required dependencies using npm:
```bash
npm install
```

## Learn More
3. **Start the Development Server**

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
Run the following command to start the development server:
```bash
npm start
```

To learn React, check out the [React documentation](https://reactjs.org/).
The app will run in development mode, and you can access it at [http://localhost:3000](http://localhost:3000).

## Backend Required to Deploy the Project with Docker

**Prerequisites:**

Docker needs to be installed on the machine where the application is running.

Backend Project address:https://github.com/expertiza/reimplementation-back-end

1. **Start the Docker Containers**

Use the following command to start the containers in detached mode:
```bash
sudo docker compose up -d
```

2. **Add the Student Role**

Run the following command to create a test user (`user4`):
```bash
sudo docker compose exec app rails runner

User.create(name: 'user4', email: '[email protected]', password: 'password123', full_name: 'user4', institution_id: 1, role_id: 5)
```

## Project Repository

For more information and access to the project code, visit the GitHub repository: [Reimplementation Frontend](https://github.com/arlee-shelby/reimplementation-front-end)



# The previous project of our team is E2464

## Current Service Online Address

You can test the project online at the following address:
[http://152.7.179.32:3000](http://152.7.179.32:3000)

[http://152.7.179.32:3000/project_topics](http://152.7.179.32:3000/project_topics)

### View Project Topics

To view the current project ('E2464'), open the following link in your browser:
[http://localhost:3000/project_topics](http://localhost:3000/project_topics)

##The step up pathway is the same as E2494.
Loading