Skip to content
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
f929d3a
HomePage
hunter-powell Mar 10, 2022
8eb3d59
Second Batch of Updates
hunter-powell Mar 25, 2022
c984ce2
Fixed image links
hunter-powell Mar 25, 2022
69ce078
Latest HomePage updates for handoff
hunter-powell May 2, 2022
f877652
New Build
hunter-powell Jun 22, 2022
01655d9
Added onHover affect to back arrow on side menu for newProject page
hunter-powell Jun 24, 2022
535fc56
revise homepage button list styles
nthitz Jun 28, 2022
576323f
shrink down update notice text size
nthitz Jun 28, 2022
245b968
add hover help button
nthitz Jun 28, 2022
cbec6d3
remove background color on help numbered buttons, decrease help butto…
nthitz Jun 28, 2022
46d0b38
tweaks to first help screen
nthitz Jun 28, 2022
a9e7a63
update helper backdrop opacity & color
nthitz Jun 28, 2022
9fa6ed8
adjust styles of helper tooltips 2-4
nthitz Jun 28, 2022
c45a19a
adjust project list rule size & padding
nthitz Jun 28, 2022
8d299e3
adjust project list edit & delete textarea & button
nthitz Jun 28, 2022
b89a932
update tooltip text
nthitz Jun 28, 2022
87b7a50
add react-tooltip for tooltips, add new project tooltip
nthitz Jun 28, 2022
93d157f
update new project button
nthitz Jun 28, 2022
13a56a6
update sidebar color
nthitz Jun 28, 2022
58db4fd
adjust new project styles
nthitz Jun 28, 2022
02e6833
update file validation warning
nthitz Jun 28, 2022
3157142
stick to grey only microbes on validation screen
nthitz Jun 28, 2022
3257a1c
restyle about logos
nthitz Jun 28, 2022
59641a0
adjust About first letter positioning
nthitz Jun 28, 2022
9ef87df
adjust about header weight
nthitz Jun 28, 2022
0a8e0f0
help section, hide step 3/4 when no projects present in list
nthitz Jun 29, 2022
2d70abb
Revert "help section, hide step 3/4 when no projects present in list"
hunter-powell Jun 30, 2022
352b52a
Added New Vis Options to Filter Page
hunter-powell Jun 30, 2022
f9e8153
Revert "Revert "help section, hide step 3/4 when no projects present …
hunter-powell Jun 30, 2022
b1e6e30
scroll about page, fix null error
nthitz Jul 15, 2022
7ce4568
fit content on new project page on smaller screens better
nthitz Jul 15, 2022
f597674
Updated Tooltip feature and filter page checkboxes
hunter-powell Jul 21, 2022
185d2db
adjusted checkmarks
hunter-powell Jul 25, 2022
0adcb43
fix about hiding step 4
nthitz Jul 29, 2022
15f3e66
make default window larger
nthitz Jul 29, 2022
b801762
revert New Project layout changes
nthitz Jul 29, 2022
49fd152
hide help buttons in about page
nthitz Jul 29, 2022
e3e6949
increase about logo sizes
nthitz Jul 29, 2022
376d477
Filter Page Updated
hunter-powell Jul 29, 2022
b72c8f7
Spotlight Updates
hunter-powell Aug 1, 2022
f75ff5f
ShowSidebarUpdate/LatestFilterPageBuild
hunter-powell Aug 1, 2022
7a5a226
Updated LinkList links
hunter-powell Aug 3, 2022
df1d473
remove trailing whitespace from files
nthitz Aug 3, 2022
b9585ee
fix filter help step 1
nthitz Aug 3, 2022
801095c
fix filter step 2, revise boxShadow
nthitz Aug 3, 2022
027454b
fix filter step 3, revise Spotlight nesting, add dropShadow and backg…
nthitz Aug 3, 2022
28f695d
fix help step 4 & 5, add container div, limit height when in help mode
nthitz Aug 3, 2022
9d7168f
Updated Homepage Links
hunter-powell Aug 22, 2022
10ecf85
render empty div rather than empty string in Sidebar menuItems when c…
nthitz Sep 2, 2022
a832210
FilterPage Updates 2
hunter-powell Sep 15, 2022
7777be5
Filter Page Final Revisions
hunter-powell Oct 4, 2022
9b0b1b7
Update Push
hunter-powell Nov 18, 2022
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
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ The BSD 2-Clause License

* * *

![Alfred P. Sloan](./app/images/aps-sm.png)
![Alfred P. Sloan](./app/images/apsf-logo.png)

![University of California Riverside](./app/images/ucr-sm.png)
![University of Georgia at Athens](./app/images/uga-logo@2x.png)

![Pitch Interactive](./app/images/pitch.png)
47 changes: 38 additions & 9 deletions app/app.global.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
-webkit-box-sizing: border-box;
}

/* This gets rid of the blue border around different elements, might need to reimplement in future to
to accomodate keyboard only users or find another way to visually replace it */
*:focus {
outline: 0 !important;
}

::-webkit-scrollbar {
-webkit-appearance: none;
cursor: pointer;
Expand All @@ -21,9 +27,10 @@
border: 2px solid white;
}

::-webkit-scrollbar-track {
background-color: inherit;
}
/* This can later be used to add the line to show scroll bar range */
/* ::-webkit-scrollbar-track {

} */

::-webkit-scrollbar:vertical {
width: 10px;
Expand All @@ -41,30 +48,30 @@ html {
body {
position: relative;
height: 100vh;
font-weight: 200;
background-color: #333;
font-weight: 400;
background-color: #575A5C;
color: #eee;
font-family: 'IBM Plex Sans', Verdana, Sans-serif;
font-family: 'Open Sans';
margin: 0;
overflow: hidden;
}

h1 {
font-weight: 200;
font-weight: 400;
font-size: 1.5rem;
margin: 0;
padding: 0;
}

h2 {
font-weight: 200;
font-weight: 400;
font-size: 1.2rem;
margin: 0;
padding: 0;
}

p {
font-weight: 200;
font-weight: 400;
}

li {
Expand All @@ -73,6 +80,7 @@ li {

a {
text-decoration: none;
text-underline-offset: auto;
}

a:hover {
Expand All @@ -86,4 +94,25 @@ img {

button {
cursor: pointer;
background: none;
border: none;
outline: none !important;
}

button:hover {
fill:#F09E6A;
}

button:focus {
outline: none;
}

.__react_component_tooltip {
padding: 2px 6px !important;
font-weight: 600;
z-index: 9999999 !important;
}
.__react_component_tooltip.show {
opacity: 1 !important;
z-index: 9999999 !important;
}
88 changes: 74 additions & 14 deletions app/components/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,95 @@ import React, { Component } from 'react';
import { Link, Redirect } from 'react-router-dom';

import close from 'images/close.svg';
import aps from 'images/aps.png';
import ucr from 'images/ucr.png';
import closeDefault from 'images/closeDefault.svg';
import aps from 'images/apsf-logo.png';
import uga from 'images/uga-logo@2x.png';
import pitch from 'images/pitch.png';
import arrow from 'images/arrow.svg';
import arrowHover from 'images/arrowHover.svg';

import { pageView } from '../analytics';
import SideBar from './SideBar';
import styles from './Home.css';
import gstyles from './general.css';

export default class About extends Component {
constructor(props) {
super(props);

pageView('/about');

this.state = { redirect: null };
this.state = {
redirect: null,
hoveringClose: false,
link1: arrow,
link2: arrow,
link3: arrow,
link4: arrow,
link5: arrow,
};
}

/*This function deals with when the mouse hovers over the edit icon on top right of
the home screen and changes img src accordingly to correct svg file */
handleMouseOver (title) {
switch(title) {
case 'New to Phinch?':
this.setState({ link1: arrowHover });
break;
case 'View our Flagship Datasets':
this.setState({ link2: arrowHover });
break;
case 'Join the Community':
this.setState({ link3: arrowHover });
break;
case 'About Phinch':
this.setState({ link4: arrowHover });
break;
case 'Find a software issue?':
this.setState({ link5: arrowHover });
break;
}
}

/*This function deals with the mouse leaving an icon (no longer hovering) and
changed img src to correct svg file */
handleMouseLeave (title) {
switch(title) {
case 'New to Phinch?':
this.setState({ link1: arrow });
break;
case 'View our Flagship Datasets':
this.setState({ link2: arrow });
break;
case 'Join the Community':
this.setState({ link3: arrow });
break;
case 'About Phinch':
this.setState({ link4: arrow });
break;
case 'Find a software issue?':
this.setState({ link5: arrow });
break;
}
}

render() {
if (this.state.redirect !== null && this.state.redirect !== '/about') {
return <Redirect push to={this.state.redirect} />;
return (<Redirect push to={this.state.redirect} />);
}
return (
<div>
<div className={styles.container} data-tid="container">
<SideBar context={this} />
<div className={`${styles.section} ${styles.right} ${styles.about}`}>
<div className={`${styles.section} ${styles.center} ${styles.scroll}`}>
<SideBar context={this} inAboutPage />
<div className={`${styles.section} ${styles.right} ${styles.about} ${styles.center}`}>

<div
onMouseOver={() => this.setState({hoveringClose: true})}
onMouseOut={() => this.setState({hoveringClose: false})}
>
<Link to="/"><img className={styles.close} src={this.state.hoveringClose ? close : closeDefault} alt="Home" /></Link>
</div>
<h2>About Phinch</h2>
<p className={styles.first}>
PHINCH is an open-source framework for visualizing biological data, funded by a grant from the Alfred P. Sloan foundation. This project represents an interdisciplinary collaboration between Pitch Interactive, a data visualization studio in Oakland, CA, and biological researchers at UC Davis. {/* eslint-disable-line max-len */}
Expand All @@ -42,13 +104,11 @@ export default class About extends Component {
<p>
Scientific visualization represents an innovative method towards tackling the current bottleneck in bioinformatics; in addition to giving researchers a unique approach for exploring large datasets, it stands to empower biologists with the ability to conduct powerful analyses without requiring a deep level of computational knowledge. {/* eslint-disable-line max-len */}
</p>
</div>
<div className={`${styles.section} ${styles.logos}`}>
<Link to="/"><img className={styles.close} src={close} alt="Home" /></Link>
<img src={aps} className={styles.alogo} alt="Alfred P. Sloan Logo" />
<img src={ucr} className={styles.alogo} alt="University of California Riverside Logo" />
<img src={pitch} className={styles.alogo} alt="Pitch Interactive Logo" />
</div>
<div className={` ${styles.logos}`}>
<img src={aps} className={styles.alogo} alt="Alfred P. Sloan Logo" />
<img src={uga} className={styles.ugalogo} alt="University of Georgia Logo" />
<img src={pitch} className={styles.pitchlogo} alt="Pitch Interactive Logo" />
</div>
</div>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions app/components/CheckBoxes.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.group {
color: #000;
font-weight: 300;
font-size: 14px;
font-weight: 500;
}

.row {
Expand All @@ -21,7 +22,7 @@

.name {
font-size: 14px;
font-weight: 400;
font-weight: 600;
vertical-align: top;
margin-right: 1rem;
overflow-wrap: break-word;
Expand Down
2 changes: 1 addition & 1 deletion app/components/CheckBoxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from './CheckBoxes.css';
import gstyle from './general.css';

export default class CheckBoxes extends Component {
render() {
render() {
const buttons = this.props.filter.expanded ? (
<div>
<div
Expand Down
Loading