File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const About: React.FC = React.memo(() => {
1212 < div className = "about" >
1313 < div className = "blurb" data-testid = "aboutPage" >
1414 < h3 style = { currentMode } className = "mainTitle" > About</ h3 >
15- < p style = { currentMode } className = "text" >
15+ < p style = { currentMode } className = "text" >
1616 The Chronos Team has a passion for building tools that are powerful, beautifully
1717 designed, and easy to use. Chronos was conceived as an Open Source endeavor that directly benefits the developer
1818 community. It can also monitor applications deployed using AWS, EC2, and ECS from Amazon.
Original file line number Diff line number Diff line change 3030}
3131
3232.text {
33- font-size : 18 px ;
33+ font-size : 20 px ;
3434 color : $background ;
3535 text-align : left ;
36- font-weight : 100 ;
36+ font-weight : 200 ;
3737}
3838
3939.blurb {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ const Occupied = React.memo(() => {
9797 return (
9898 < Link
9999 to = { services . length > 0 ? `/applications/example/${ services . join ( ' ' ) } ` : '#' }
100- >
100+ className = '' >
101101 < ApplicationsCard
102102 key = { crypto . randomUUID ( ) }
103103 application = { application }
Original file line number Diff line number Diff line change @@ -100,4 +100,9 @@ select:-webkit-autofill:focus {
100100 align-self : center ;
101101 width : 80% ;
102102 margin-top : 50px ;
103+ text-decoration : none ;
104+ }
105+
106+ a {
107+ text-decoration : none ;
103108}
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ const SearchBar = (props) => {
2525 )
2626}
2727
28- export default SearchBar
28+ export default SearchBar ;
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import { EventContext } from '../context/EventContext';
66import { DataGrid } from '@material-ui/data-grid' ;
77import * as DashboardContext from '../context/DashboardContext' ;
88import lightAndDark from './Styling' ;
9- import { Button } from '@material-ui/core' ;
9+ import { Button , TextField } from '@material-ui/core' ;
10+ import SearchBar from './SearchBar/SearchBar' ;
11+
1012
1113interface Params {
1214 service : string ;
@@ -26,6 +28,7 @@ const TransferColumns = React.memo(() => {
2628 const { eventData } = useContext ( EventContext ) ;
2729 const { service } = useParams < keyof Params > ( ) as Params ;
2830 const { mode } = useContext ( DashboardContext . DashboardContext ) ;
31+ const [ searchTerm , setSearchTerm ] = useState < string > ( '' ) ;
2932
3033 const currentMode = mode === 'light' ? lightAndDark . lightModeText : lightAndDark . darkModeText ;
3134
@@ -197,6 +200,7 @@ const TransferColumns = React.memo(() => {
197200 </ div >
198201 < div id = "transferTest" >
199202 < div style = { { height : '500px' , width : '100%' } } >
203+
200204 < DataGrid
201205 style = { currentMode }
202206 rows = { rows }
@@ -212,6 +216,7 @@ const TransferColumns = React.memo(() => {
212216 setTargetKeys ( metrics ) ;
213217 } }
214218 />
219+
215220 </ div >
216221 { selectedRows . length > 0 && (
217222 < h3 style = { { marginTop : '20px' , color : currentMode . color } } > Selected Rows:</ h3 >
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import Close from '@material-ui/icons/Close' ;
3- import Maximize from '@material-ui/icons/CheckBoxOutlineBlankSharp' ;
4- import Minimize from '@material-ui/icons/RemoveSharp' ;
2+ // import Close from '@material-ui/icons/Close';
3+ // import Maximize from '@material-ui/icons/CheckBoxOutlineBlankSharp';
4+ // import Minimize from '@material-ui/icons/RemoveSharp';
55import './styles.scss' ;
66
7- const { ipcRenderer } = window . require ( 'electron' ) ;
7+ // const { ipcRenderer } = window.require('electron');
88
99const WindowBar = ( ) => {
1010 return (
1111 < div id = "titleBar" >
12- < Minimize className = "button" id = "min-btn" onClick = { ( ) => ipcRenderer . send ( 'min' ) } />
12+ { /* <Minimize className="button" id="min-btn" onClick={() => ipcRenderer.send('min')} />
1313 <Maximize className="button" id="max-btn" onClick={() => ipcRenderer.send('max')} />
14- < Close className = "button" id = "close-btn" onClick = { ( ) => ipcRenderer . send ( 'close' ) } />
14+ <Close className="button" id="close-btn" onClick={() => ipcRenderer.send('close')} /> */ }
1515 </ div >
1616 ) ;
1717}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { DashboardContext } from '../context/DashboardContext';
1414const SidebarContainer = React . memo ( ( ) => {
1515
1616 // Extract invervalID from ApplicationContext. Initival value: intervalID = null
17- const { intervalID, setExample } = useContext ( ApplicationContext ) ;
17+ const { intervalID } = useContext ( ApplicationContext ) ;
1818 // Extract isLoading and setLoading state from AwsContext. Initial value: isLoading = true
1919 const { isLoading, setLoadingState } = useContext ( AwsContext ) ;
2020 // clear interval and set loading state to true when leaving graph containers
@@ -29,9 +29,6 @@ const SidebarContainer = React.memo(() => {
2929 } ;
3030
3131 const handleExample = ( ) => {
32-
33- setExample ( true )
34-
3532 const fields = {
3633 typeOfService : 'Microservices' ,
3734 database : 'MongoDB' ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const EnvModal: React.FC<TModalSetter> = React.memo(
99
1010 return (
1111 < div className = "add-container" >
12+
1213 < div className = "card" id = "card-env" >
1314 < button
1415 className = "env-button"
@@ -19,6 +20,8 @@ const EnvModal: React.FC<TModalSetter> = React.memo(
1920 </ Typography >
2021 < Typography > Cloud-Based</ Typography >
2122 </ button >
23+
24+
2225 < button
2326 className = "env-button2"
2427 onClick = { ( ) => setModal ( { isOpen :true , type :'addModal' } ) }
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ const UserModal: React.FC<TModalSetter> = React.memo(({ setModal }) => {
2626 < h2 > Hello { user } </ h2 > < PersonIcon className = "navIcon" id = "personIcon" />
2727 </ div >
2828 { user === 'guest' ?
29- < >
30- < Button variant = 'contained' color = 'primary' onClick = { ( ) => navigate ( '/login' ) } > Log In</ Button >
31- < br > </ br > < br > </ br >
32- < Button variant = "outlined" color = 'primary' onClick = { ( ) => navigate ( '/signup' ) } > Sign Up</ Button >
33- < br > </ br > < br > </ br >
34- </ >
35- :
36- < >
37- < Button variant = 'outlined' color = 'primary' onClick = { handleSignout } > Log Out</ Button >
38- < br > </ br > < br > </ br >
39- </ >
29+ < >
30+ < Button variant = 'contained' color = 'primary' onClick = { ( ) => navigate ( '/login' ) } > Log In</ Button >
31+ < br > </ br > < br > </ br >
32+ < Button variant = "outlined" color = 'primary' onClick = { ( ) => navigate ( '/signup' ) } > Sign Up</ Button >
33+ < br > </ br > < br > </ br >
34+ </ >
35+ :
36+ < >
37+ < Button variant = 'outlined' color = 'primary' onClick = { handleSignout } > Log Out</ Button >
38+ < br > </ br > < br > </ br >
39+ </ >
4040
4141 }
4242 < Button
You can’t perform that action at this time.
0 commit comments