Skip to content

v15.0 Release #377

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

Merged
merged 68 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
23ae71a
fixed deprecated SCSS syntax usage in files
apinkhasov101 Jan 16, 2025
dbf8b6d
updated all dependencies to WANTED versions
apinkhasov101 Jan 16, 2025
8462814
SCSS deprecation warnings ignored, added better caching protocols in …
apinkhasov101 Jan 16, 2025
11f13e6
removed deprecated Material UI theme
apinkhasov101 Jan 16, 2025
24567f4
update kubernetes example read me link 84
ashleybisram Jan 17, 2025
683942d
add .env.example to kubernetes example
ashleybisram Jan 17, 2025
567e5fd
add .env.example to docker
ashleybisram Jan 17, 2025
4152749
MONGO URI set, dependcies all in and updated to wanted lvl
apinkhasov101 Jan 17, 2025
65a8875
Merge pull request #3 from oslabs-beta/CHRONOS-30
apinkhasov101 Jan 17, 2025
46243c3
Merge pull request #2 from oslabs-beta/CHRONOS-29-Initial-updates-to-…
apinkhasov101 Jan 17, 2025
966571a
update names in TeamMembers. update names in PastContributors.tsx
ashleybisram Jan 21, 2025
b833463
Merge pull request #4 from oslabs-beta/CHRONOS-46-About
Gitfrich Jan 21, 2025
f446fd1
Merge pull request #5 from oslabs-beta/Arnold/MaterialUIDeprecationFix
ashleybisram Jan 21, 2025
443bf0d
updated UserModel.ts file to use dotenv for URI privacy. installed do…
Peter2oussaint Jan 22, 2025
8cfcbce
Merge pull request #6 from oslabs-beta/pete/dotenv
ashleybisram Jan 22, 2025
7fb5930
ESBuildMerge
Jan 22, 2025
88aa461
ESbuildUpdate
Jan 22, 2025
c808ef4
Merge branch 'dev' into ESbuilMerge
Jan 22, 2025
1538fec
update readme to include info on .env.example
ashleybisram Jan 23, 2025
baeb56f
Update package.json
Gitfrich Jan 23, 2025
54c6772
Merge pull request #8 from oslabs-beta/ESbuilMerge
ashleybisram Jan 23, 2025
6fffad5
yes
Peter2oussaint Jan 24, 2025
c1a09c0
JSfilesInUtilitiesConvertedToTS
Jan 24, 2025
0674525
Merge pull request #10 from oslabs-beta/TsBabelRemoverANDTsMigration
ashleybisram Jan 27, 2025
cff1385
Chronos Models converted to TS
Jan 27, 2025
d06e774
Merge pull request #13 from oslabs-beta/TSmigration
ashleybisram Jan 27, 2025
9263220
edit webpack for TSX. installed node modules. converted index.js to i…
ashleybisram Jan 27, 2025
cdd6815
add interface for props, state, and pass along types for component.
ashleybisram Jan 28, 2025
3ef1bf4
updates to modals and react frontend
Peter2oussaint Jan 28, 2025
ab5902a
merge with dev branch
Peter2oussaint Jan 28, 2025
750dcbe
updated Add Modal.scss
Peter2oussaint Jan 28, 2025
6fecc88
Merge pull request #15 from oslabs-beta/ash/electronReadMe
ashleybisram Jan 28, 2025
f736df4
examples/microservices/auth/src/controllers/auth-controller.ts and ex…
apinkhasov101 Jan 28, 2025
599ffeb
Fixing ES vs CommonJS module issues
apinkhasov101 Jan 28, 2025
21fc8e7
convert chronos_npm_package files to .ts. created a tsconfig file for…
apinkhasov101 Jan 28, 2025
9422ade
update fileController to .ts
apinkhasov101 Jan 28, 2025
25092dc
update server to .ts and update import statements
apinkhasov101 Jan 28, 2025
42be5d0
update MongoClientWrapper to TS and update import/export
apinkhasov101 Jan 28, 2025
a8a14f0
update all wrappers to typescript syntax
apinkhasov101 Jan 28, 2025
b0c830a
update chronos.js to chronos.ts. change import/export syntax
apinkhasov101 Jan 28, 2025
e8a1b83
updating imports of chronos.js to chronos.ts. edits in alert.ts for t…
apinkhasov101 Jan 28, 2025
04d037c
Merge pull request #16 from oslabs-beta/CHRONOS-71-AWS-index.js-to-ts
Gitfrich Jan 28, 2025
a33c352
Merge pull request #17 from oslabs-beta/CHRONOS-69-AWS-EC2-App-to-TSX
Gitfrich Jan 28, 2025
1a9edf4
fixes needed from .TS migration of chronos_npm_package/controllers
apinkhasov101 Jan 29, 2025
c020d3d
Update README.md
ashleybisram Jan 30, 2025
b5d96c3
Update README.md
ashleybisram Jan 30, 2025
90e48fb
updated pull request
Peter2oussaint Jan 31, 2025
3ceed13
update readme to include info on .env.example
ashleybisram Jan 23, 2025
59255cb
edit webpack for TSX. installed node modules. converted index.js to i…
ashleybisram Jan 27, 2025
85d31d9
add interface for props, state, and pass along types for component.
ashleybisram Jan 28, 2025
eb79547
Merge pull request #18 from oslabs-beta/CHRONOS-59-Updating-UX-UI
ashleybisram Feb 2, 2025
0e2a2d5
first commit
Peter2oussaint Feb 3, 2025
c473d53
update grafana dashboard for docker
ashleybisram Feb 4, 2025
e3b3297
Merge pull request #19 from oslabs-beta/ashleybisram-readme
ashleybisram Feb 5, 2025
0581d6c
debugging Chronos errors in chronos_npm_package
Peter2oussaint Feb 6, 2025
b766409
update k8 example
ashleybisram Feb 6, 2025
f985488
merge dev
ashleybisram Feb 6, 2025
a0c4e2f
Merge pull request #20 from oslabs-beta/CHRONOS-62-grafana-pathways
ashleybisram Feb 7, 2025
51f4e15
ts migration debugging user.ts
Peter2oussaint Feb 10, 2025
1c36dc6
Merge branch 'dev' into CHRONOS-76-Fix-issues-from-.TS-migration-for-…
Peter2oussaint Feb 10, 2025
673f495
Merge pull request #21 from oslabs-beta/CHRONOS-76-Fix-issues-from-.T…
ashleybisram Feb 10, 2025
754cfcb
edit updates for v15 release
ashleybisram Feb 11, 2025
aa42356
add Medium article
ashleybisram Feb 11, 2025
09323be
add ChroNotes
ashleybisram Feb 11, 2025
bf9468c
edit updates
ashleybisram Feb 11, 2025
b06ba92
Merge pull request #22 from oslabs-beta/CHRONOS-91-Edit-README
ashleybisram Feb 11, 2025
1c46eab
rm vite
ashleybisram Feb 11, 2025
ea86757
Merge pull request #23 from oslabs-beta/CHRONOS-97-rm-vite
apinkhasov101 Feb 11, 2025
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
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is an example .env file for you to create in order to insert your private URI for /electron
# Your .env file should live in the root directory for the current configuration used in UserModel.ts
MONGO_URI='<MongoDB-URI-for-private-User-DB-here>'
62 changes: 46 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,57 @@ Chronos is a comprehensive developer tool that monitors the health and web traff

## What's New?

### Chronos 14.0
### Chronos 15.0

<div>

Contributors:
[Arnold Pinkhasov](https://github.com/apinkhasov101),
[Ashley Bisram](https://github.com/ashleybisram),
[Fridchard Chery](https://github.com/Gitfrich),
[Peter Toussaint](https://github.com/Peter2oussaint)

</div>
Updates:
<li>Improved runtime by incorporating esbuild-loader, removing deprecated syntax/unused node modules, and other bundling optimizations.</li>
<li>Refactored SASS by updating deprecated syntax and import statements.</li>
<li>Grafana dashboard updates include deprecated syntax removal and a more intuitive layout, making it simpler for users to visualize key metrics in the newest version of Grafana.</li>
<li>TypeScript migration allows contributors and users to catch errors early and work with a more robust codebase, making the app more reliable.</li>
<li>Introduced ChroNotes, full documentation of our file structure and their purposes.</li>
<li>Refactored the UI of the app to give it a more intuitive appearance regarding where/how to initialize network monitoring.</li>


<a href='(https://ashleybisram.medium.com/a-new-chapter-for-chronos-introducing-version-15-0-12b83def342b)'>Version 15.0 Medium Article</a>

### **Iteration Log**
<details><summary>Chronos 14.0</summary>
<ul>
<div>


Contributors:
[Michael Tagg](https://github.com/mdtagg),
[Ted Pham](https://github.com/TedPham397),
[Sofia Sarhiri](https://github.com/sarhiri),
[Stephen Yang](https://github.com/stephenhyang),
[Stephen Yang](https://github.com/stephenhyang)

</div>
Updates:
<li>Implemented a new visualization button (example) to expedite data rendering processes.</li>
<li>Refactored microservices example, switched over to community version of MongoDB for easier URI implementation.</li>
<li>Modularized cluttered components into modular units to improve code readability and reusability.</li>
<li>Optimized startup scripts to reduce application load time and streamline environment configuration.</li>
<li>Upgraded Material-UI from version 4 to version 5, adapting to new API changes and improving UI responsiveness. </li>
<li>Refactored portions of the electron app </li>
<li>Refactored data parsing logic to reduce unnecessary rerenders and improve app performance</li>
<li>Fixed data bottle necks in the local npm packages, data is now able to flow to microservices for data visualization</li>

<ul>
<li>Implemented a new visualization button (example) to expedite data rendering processes.</li>
<li>Refactored microservices example, switched over to community version of MongoDB for easier URI implementation.</li>
<li>Modularized cluttered components into modular units to improve code readability and reusability.</li>
<li>Optimized startup scripts to reduce application load time and streamline environment configuration.</li>
<li>Upgraded Material-UI from version 4 to version 5, adapting to new API changes and improving UI responsiveness. </li>
<li>Refactored portions of the electron app </li>
<li>Refactored data parsing logic to reduce unnecessary rerenders and improve app performance</li>
<li>Fixed data bottle necks in the local npm packages, data is now able to flow to microservices for data visualization</li>
</ul>

<a href='link here'>Version 14.0 Medium Article</a>
<a href='https://medium.com/@m.sofiasarhiri/a-tale-as-old-as-time-for-the-modern-developer-chronos-v-14-f84733fd4f93'>Version 14.0 Medium Article</a>

### **Iteration Log**
</ul>
</details>

<details><summary>Chronos 13.0</summary>
<ul>
Expand Down Expand Up @@ -216,7 +242,7 @@ Updates:
</ul>
</details>

### With Chronos 14.0
### With Chronos 15.0

<a href="https://chronoslany.com/">
<img src="assets/demo.gif" alt="Chronos" title="Chronos" align="center" height="500" width="auto" />
Expand All @@ -226,10 +252,14 @@ Updates:

## Overview of the CodeBase

- In our ChroNotes, we have a full overview of all the files in the codebase, and their purpose.
<a href='https://docs.google.com/document/d/e/2PACX-1vTWIX6Is3uuvWX73ab5K521X7Ddr_fVN64F82bJ8l4VNF45cM9PbfDj2gVV9MVi_HhDrbNmZK51-dHP/pub'>Click here to view</a>!
<img src='./assets/ChroNotes.png' alt='ChroNotes screenshot' align='center' height='500'/>
- If you want to visualize the way the files in the app are connected, we suggest using this data visualizer. Below, it's showing the same repository, but instead of a directory structure, each file and folder as a circle: the circle’s color is the type of file, and the circle’s size represents the size of the file. See live demo
<a href='https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=oslabs-beta%2FChronos'>here</a>.
<img src="assets/codebase_visulization.png" alt="codebase visulization" align="center" height="500"/>


## Features

- Cloud-Based Instances:
Expand All @@ -245,7 +275,7 @@ Updates:

# Installation

This is for the latest Chronos **version 13.0 release**.
This is for the latest Chronos **version 15.0 release**.

## NPM Package

Expand Down Expand Up @@ -310,7 +340,7 @@ export DISPLAY="`sed -n 's/nameserver //p' /etc/resolv.conf`:0"

**NOTE: You must create your own user database for extended features**

1. Create a MongoDB database in which to store user information and insert it on line 2 within the [UserModel.ts](./electron/models/UserModel.ts) (_electron/models/UserModel.ts_) file.
1. Create a MongoDB database in which to store user information and insert it within a root .env file based on .env.example [.env.example](./.env.example) (_.env.example_) file.
- This database will privately store user information.
2. Once this is set up, you can create new users, log in, and have your data persist between sessions.

Expand Down
2 changes: 1 addition & 1 deletion __backend-tests__/chronosMethods.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { EcoTwoTone } = require('@mui/icons-material');
const Chronos = require('../chronos_npm_package/chronos.js');
const Chronos = require('../chronos_npm_package/chronos.ts');
const helpers = require('../chronos_npm_package/controllers/utilities.js');
const hpropagate = require('hpropagate');
const mongo = require('../chronos_npm_package/controllers/mongo.js');
Expand Down
2 changes: 2 additions & 0 deletions app/charts/GrafanaEventChart/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


#graphType {
min-width: 100px;
height: 25px;
Expand Down
17 changes: 8 additions & 9 deletions app/components/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ const About: React.FC = React.memo(() => {
const currentMode = mode === 'light' ? lightAndDark.lightModeText : lightAndDark.darkModeText;
const currentStyle = mode === 'light' ? lightAndDark.lightModeData : lightAndDark.darkModeData;
return (


<div className="about" >
<div className="about">
<div className="blurb" data-testid="aboutPage" style={currentStyle}>
<h3 style={currentStyle} className="mainTitle">About</h3>
<p style={currentStyle} className="text" >
The Chronos Team has a passion for building tools that are powerful, beautifully
designed, and easy to use. Chronos was conceived as an Open Source endeavor that directly benefits the developer
community. It can also monitor applications deployed using AWS, EC2, and ECS from Amazon.
<h3 style={currentStyle} className="mainTitle">About </h3>
<p style={currentStyle} className="text">
The Chronos Team has a passion for building tools that are powerful, beautifully designed,
and easy to use. Chronos was conceived as an Open Source endeavor that directly benefits
the developer community. It can also monitor applications deployed using AWS, EC2, and ECS
from Amazon.
</p>
<br></br>
<TeamMembers />
Expand All @@ -31,4 +30,4 @@ const About: React.FC = React.memo(() => {
);
});

export default About;
export default About;
2 changes: 1 addition & 1 deletion app/components/About/PastContributors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { useStylingContext } from './StylingContext';

const contributors = [
'Haoyu', 'Eisha', 'Edwin', 'Tyler', 'Snow', 'Taylor', 'Tim', 'Roberto', 'Nachiket', 'Tiffany', 'Bruno', 'Danny', 'Vince',
'Mike', 'Stephen', 'Ted', 'Sofia', 'Haoyu', 'Eisha', 'Edwin', 'Tyler', 'Snow', 'Taylor', 'Tim', 'Roberto', 'Nachiket', 'Tiffany', 'Bruno', 'Danny', 'Vince',
'Matt', 'Derek', 'Kit', 'Grace', 'Jen', 'Patty', 'Stella', 'Michael', 'Ronelle', 'Todd',
'Greg', 'Brianna', 'Brian', 'Alon', 'Alan', 'Ousman', 'Ben', 'Chris', 'Jenae', 'Tim',
'Kirk', 'Jess', 'William', 'Alexander', 'Elisa', 'Josh', 'Troy', 'Gahl', 'Brisa', 'Kelsi',
Expand Down
2 changes: 1 addition & 1 deletion app/components/About/TeamMembers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useStylingContext } from './StylingContext';

const names = ['Mike', 'Stephen', 'Ted', 'Sofia'];
const names = ['Arnold', 'Ashley', 'Pete', 'Rich'];

const TeamMembers: React.FC = () => {
const currentMode = useStylingContext();
Expand Down
20 changes: 17 additions & 3 deletions app/components/About/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../index.scss';
@use '../../index.scss' as *; // @use '../../index' as index;

.about {
min-width: 421px;
Expand All @@ -9,31 +9,39 @@
align-items: center;
width: 100%;
height: 100%;
padding: 0;

}

.sprout {
margin: 0;

}

.mainTitle {
font-size: 36px;
color: $background;
text-align: left;
font-weight: 600;
margin: 0;
}

.title {
font-size: 18px;
color: $background;
text-align: left;
font-weight: 600;
padding: 0;
margin: 0;
}

.text {
font-size: 20px;
color: $background;
text-align: left;
font-weight: 300;
padding: 0;
margin: 0;
}

.blurb {
Expand All @@ -46,7 +54,7 @@
border: none;
box-shadow: $boxshadow2;
padding: 30px;

margin: 0;
&:hover {
background-color: rgba(255, 255, 255, 0.1);
}
Expand All @@ -63,13 +71,19 @@
background-color: transparent;
border-radius: 50%;
background-size: scale-down;
padding: 0;
margin: 0;
&:hover {
background-color: $hover;
opacity: 0.85;
animation: none;
}
}

#OSPNames p{
margin: 10px 0px;
}
p {
padding-left: 10px;
margin: 0;
// border:2px green solid;
}
2 changes: 1 addition & 1 deletion app/components/ApplicationsCard/ApplicationsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ApplicationsCard:React.FC<ApplicationCardProps> = (props) => {
key={`card-${i}`}
className={classes.paper}
variant="outlined"
onClick={() => handleClick(application[0], application[3], i)}
onClick={() => handleClick(application[0], application[3], i)}
>
<div className="databaseIconContainer">
<div className="databaseIconHeader"></div>
Expand Down
4 changes: 2 additions & 2 deletions app/components/ApplicationsCard/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../index.scss';
@use '../../index.scss' as *;

.card {
display: flex;
Expand All @@ -8,7 +8,7 @@
padding: 0;
cursor: pointer;
transition: all 0.5s;

// border: 2px solid green;
&:after,
&:before {
content: ' ';
Expand Down
14 changes: 10 additions & 4 deletions app/components/Contact/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../index.scss';
@use '../../index' as *;

.contact {
display: flex;
Expand All @@ -10,13 +10,13 @@
justify-items: center;
top: 0;
left: 0;
height: auto;
min-height: 100vh;
opacity: 1;
vertical-align: top;
justify-content: center;
align-items: center;
color: $background;

}
.contact-border {
display: flex;
Expand Down Expand Up @@ -167,6 +167,12 @@ input[type='file'] {
}
}

.contact-blurb p{
.contact-blurb p {
margin: 0;
font-weight: 300;
}

}
.contact-blurb h1 {
margin: 0;
padding: 0;
}
5 changes: 4 additions & 1 deletion app/components/DashboardIcons/styles.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
@import '../../index.scss';
@use '../../index.scss' as *;

.dashboardIconWrapper {
margin-right: 37px;

}

.dashboardIconArea {
Expand All @@ -25,6 +26,7 @@
z-index: 1;
top: 50px;
right: -14px;

}

.dashboardIconArea .dashboardTooltip::after {
Expand Down Expand Up @@ -134,6 +136,7 @@
.personIconArea {
position: relative;
display: inline-block;

}

.personIconArea:hover .personTooltip {
Expand Down
1 change: 1 addition & 0 deletions app/components/FirstLaunch/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

.home {
background: $darkblue;

display: flex;
flex-direction: column;
align-content: center;
Expand Down
3 changes: 2 additions & 1 deletion app/components/Header/styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import '../../index.scss';
@use '../../index.scss' as *;

.microservice-header {
width: 100%;
@include centerWithFlex(center);
Expand Down
Loading
Loading