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

Old UI #1

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0a88bce
commit changes before routing
surajsrivathsa Mar 24, 2023
5a33682
fixed api call issue
surajsrivathsa Mar 24, 2023
edb96d0
added local storage
surajsrivathsa Mar 24, 2023
adb1d56
add query bk paramto lndg pg to fix lcl_expln bug
surajsrivathsa Mar 24, 2023
add98a2
added global explanation slider
surajsrivathsa Mar 25, 2023
4961bf2
changed tables header name and dims
surajsrivathsa Mar 25, 2023
d993d50
added user facet preference, bugs still present
surajsrivathsa Mar 26, 2023
f2346bd
added navbar
surajsrivathsa Mar 30, 2023
66d466e
added aboutus, mdfied chips, redced books to 15
surajsrivathsa Mar 31, 2023
5a9c6c5
reduced search results to 15
surajsrivathsa Apr 3, 2023
89c8c36
added session start page to track users activity
surajsrivathsa Apr 10, 2023
139a0f4
chngd aboutus, failed to add tooltip, axes names
surajsrivathsa Apr 10, 2023
8294e5f
changed about us
surajsrivathsa Apr 11, 2023
686efa2
added chips for displaying facets
surajsrivathsa Apr 12, 2023
970d434
added home button and about us
surajsrivathsa Apr 12, 2023
f0ab003
beautify local expln and landing
surajsrivathsa Apr 12, 2023
52d2d15
added textual story pace
surajsrivathsa Apr 13, 2023
cf40fd5
default visual
surajsrivathsa Apr 13, 2023
3cc08a3
added thumbs up and down button
surajsrivathsa Apr 15, 2023
298e13a
mv glbl expln chips to book grid and add color
surajsrivathsa Apr 15, 2023
7aba9c0
thumbs up down and view book pdf
surajsrivathsa Apr 21, 2023
d5975d7
fixed bug in searchbar query update
surajsrivathsa Apr 22, 2023
23c73bd
re-searching on same query, mvd sidebar out div
surajsrivathsa Apr 23, 2023
2e14dc7
changed display message for global relvance fdbck
surajsrivathsa Apr 23, 2023
23db14c
added apis to search without reranking
surajsrivathsa Apr 23, 2023
ccb4e69
switched to real backend
surajsrivathsa Apr 24, 2023
142e5d4
added compare explanations
surajsrivathsa Apr 28, 2023
b9787c6
added view pdf api
surajsrivathsa May 1, 2023
b27a601
added different api endpoints mapping
surajsrivathsa May 1, 2023
d5f65fc
updated endpoint apis
surajsrivathsa May 2, 2023
7d99dde
added conditions for comparing books nullcheck
surajsrivathsa May 5, 2023
5372362
changed about-us
surajsrivathsa May 7, 2023
a4dfbb9
reverted line graph and compare books
surajsrivathsa May 9, 2023
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
Binary file added hom_button_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added home_button.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
628 changes: 535 additions & 93 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8",
"@material-ui/core": "^4.12.4",
"@mui/icons-material": "^5.11.11",
"@mui/material": "^5.11.11",
"@mui/styled-engine-sc": "^5.11.11",
"@mui/x-data-grid": "^6.0.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
159 changes: 0 additions & 159 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,159 +0,0 @@
.app-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;

}

.nav-bar {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #e3ebda;
padding: 10px;
height: 5%;

}

/* .search-container {
background-color: #E0E0E0;
display: flex;
align-items: center;
width: 50%;
height: 30px;
margin-right: auto;
margin-left: auto;
border: 1px solid gray;
justify-content: center;
} */


/* .search-container input {
width: 100%;
} */

.search-container {
display: content;
flex-direction: row;
align-items: center;
justify-content: center;
margin-top: 5px;
width: 70%;
margin-right: auto;
margin-left: auto;
}

.search-container input {
width: 90%;
}

.book-container {
display: flex;
flex-direction: column;
align-items: end;
justify-content: end;
width: 500px;
height: 400px;
margin: 10px;
border: 10px solid black;
border-radius: 20px;
}

.book-name {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}

.book-genre {
font-size: 16px;
margin-bottom: 10px;
}


.query-seed-button {
width: 90%;
height: 20px;
background-color: lightblue;
border: 1px solid black;
border-radius: 10px;
font-size: 12px;
font-weight: bold;
cursor: pointer;
}

.grid-container {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-gap: 2%;
width: 77%;

}

.grid-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2px;
background-color: #fff;
border-radius: 10px;
cursor: pointer;
}

.global-explanation-container {
padding: 20px;
text-align: center;
height: 200px;
display: flex;
}

.local-explanation-container {
padding: 20px;
text-align: center;
height: 200px;
display: flex;
}

.side-bar-container {
background-color: #e3ebda;
padding: 5px;
width: 23%;
position: absolute;
right: 0;
top: 7%;
bottom: 0;
}

.main-screen{
padding-left: 2%;
padding-top: 1%;
width: 100%
}

.book-object {
width: 73%;
height: 76%;
margin: 10px;
border: 1px #ccc;
border-radius: 5px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.book-object img {
width: 100%;
height: 100%;
align-items: flex-start;
object-fit: cover;
border-radius: 1px 1px 0 0;
}

.book-object p {
margin: 1px 0;
}
Loading