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

Inspect btn #364

Open
wants to merge 2,728 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2728 commits
Select commit Hold shift + click to select a range
b82b66e
Merge branch 'client' of https://github.com/oslabs-beta/Chronos into …
seantokuzo Dec 20, 2023
9cf8266
login page
seantokuzo Dec 20, 2023
27cfbc8
Merge pull request #6 from oslabs-beta/client
seantokuzo Dec 20, 2023
dc15e36
add cors
seantokuzo Dec 20, 2023
b028779
Merge pull request #7 from oslabs-beta/auth
seantokuzo Dec 20, 2023
dfbd4b3
incorporate customFetch - get current user
seantokuzo Dec 20, 2023
7ff38bc
Merge pull request #8 from oslabs-beta/client
seantokuzo Dec 20, 2023
0f5e233
Merge pull request #9 from oslabs-beta/item-service
seantokuzo Dec 20, 2023
cc2c09b
items
kchandler44 Dec 20, 2023
8bd1631
Co-authored-by: seantokuzo <seantokuzo@users.noreply.github.com>
kchandler44 Dec 20, 2023
762bfac
deleteItem started
kchandler44 Dec 20, 2023
6e062ed
fix double res.send in get current user route
seantokuzo Dec 20, 2023
38497b0
Merge pull request #10 from oslabs-beta/auth
seantokuzo Dec 20, 2023
f3fd917
Updates to common package
seantokuzo Dec 20, 2023
337b20f
update common package in each service
seantokuzo Dec 20, 2023
e0b5b9f
Merge pull request #11 from oslabs-beta/common
seantokuzo Dec 20, 2023
0e21b52
deleteItem tests created
kchandler44 Dec 20, 2023
2a2b614
common pkg update in each service
seantokuzo Dec 20, 2023
095e6ea
Merge pull request #12 from oslabs-beta/common
seantokuzo Dec 20, 2023
89173f1
Updates to common package
seantokuzo Dec 20, 2023
f58d5b0
Updates to common package
seantokuzo Dec 20, 2023
ef6b68e
update common package
seantokuzo Dec 20, 2023
e4d1cda
Merge pull request #13 from oslabs-beta/common
seantokuzo Dec 20, 2023
6d3ea9b
#
kchandler44 Dec 20, 2023
9588cc5
orders update
ZhongyanLiang Dec 20, 2023
04719c5
merged with common
kchandler44 Dec 20, 2023
777c83a
Merge branch 'microservice' of https://github.com/oslabs-beta/Chronos…
ZhongyanLiang Dec 20, 2023
e650159
update user_created event to enforce payload type
seantokuzo Dec 20, 2023
455c21e
Merge pull request #14 from oslabs-beta/auth
seantokuzo Dec 20, 2023
409ff8f
inventory
ZhongyanLiang Dec 21, 2023
13e6268
Merge pull request #15 from oslabs-beta/inventory
seantokuzo Dec 21, 2023
ee7ae31
items broken
kchandler44 Dec 21, 2023
bc6f026
Merge pull request #16 from oslabs-beta/item-service
seantokuzo Dec 21, 2023
000e18d
Merge pull request #17 from oslabs-beta/orders
seantokuzo Dec 21, 2023
34e10fd
client is clienting
seantokuzo Dec 21, 2023
436387e
Merge pull request #18 from oslabs-beta/client
seantokuzo Dec 21, 2023
a6c3a78
push orders now
ZhongyanLiang Dec 21, 2023
16095fe
orders 8:59
ZhongyanLiang Dec 21, 2023
71e7a4a
simplified items
kchandler44 Dec 21, 2023
a218d70
Merge pull request #19 from oslabs-beta/item-service
seantokuzo Dec 21, 2023
3dc95f6
simplified test user login - home page revamp
seantokuzo Dec 21, 2023
bce28f0
Merge branch 'microservice' of https://github.com/oslabs-beta/Chronos…
seantokuzo Dec 21, 2023
0f0e285
inventory simplified
ZhongyanLiang Dec 21, 2023
d8b7622
implementing createItem functionality
seantokuzo Dec 21, 2023
2bca0d4
Merge pull request #20 from oslabs-beta/inventory
seantokuzo Dec 21, 2023
c7e8e71
Merge pull request #21 from oslabs-beta/client
seantokuzo Dec 21, 2023
ab3da18
add cors and clean DB on startup
seantokuzo Dec 21, 2023
c4e574d
add cors - clean DB on startup - itemName unique
seantokuzo Dec 21, 2023
155d17e
create item form created
seantokuzo Dec 21, 2023
3898cf8
orders
ZhongyanLiang Dec 21, 2023
37c03e7
orders updated
ZhongyanLiang Dec 21, 2023
6c6bbe0
order last push
ZhongyanLiang Dec 21, 2023
8a5c7b6
Merge branch 'microservice' into orders
ZhongyanLiang Dec 21, 2023
cf92032
Merge pull request #22 from oslabs-beta/orders
ZhongyanLiang Dec 21, 2023
5a431fd
services hooked - chronos configured but not working
seantokuzo Dec 21, 2023
f6dd1eb
Merge pull request #23 from oslabs-beta/hook-it-up
seantokuzo Dec 21, 2023
c948434
update loading component styling
seantokuzo Dec 21, 2023
2597a0a
new orders
ZhongyanLiang Dec 22, 2023
a076e8d
added service name when connected to each PORT
ZhongyanLiang Dec 22, 2023
9cde904
Merge pull request #24 from oslabs-beta/orders
seantokuzo Dec 22, 2023
057a05d
added chronosconfig
ZhongyanLiang Dec 22, 2023
ad4095a
Merge pull request #25 from oslabs-beta/orders
seantokuzo Dec 23, 2023
4203228
add dotenv and chronos config to event-bus
seantokuzo Dec 23, 2023
71e5918
Merge pull request #26 from oslabs-beta/chronos-integration
seantokuzo Dec 23, 2023
e97297a
begin debug
seantokuzo Jan 4, 2024
193ce54
add tracking middleware to all services
seantokuzo Jan 4, 2024
7c5e18a
D-readme
ZhongyanLiang Jan 4, 2024
f6d1d78
readme updated
ZhongyanLiang Jan 4, 2024
9535f51
readme updated
ZhongyanLiang Jan 4, 2024
4ac6074
readmenow
ZhongyanLiang Jan 4, 2024
573841d
readmenow2
ZhongyanLiang Jan 4, 2024
717af05
Merge pull request #27 from oslabs-beta/ms-ex-debug
seantokuzo Jan 4, 2024
d89c63c
docker init
ZhongyanLiang Jan 5, 2024
ade6243
readme3
ZhongyanLiang Jan 5, 2024
3ac0e42
readme past version
ZhongyanLiang Jan 5, 2024
86e8ce7
client
ZhongyanLiang Jan 6, 2024
66f82d5
readme latest
ZhongyanLiang Jan 6, 2024
dea7bac
sarturday
ZhongyanLiang Jan 6, 2024
1a0e758
docker
ZhongyanLiang Jan 8, 2024
7d5c1d6
preparing app for launch
seantokuzo Jan 8, 2024
c087e5c
add sample.env file for microservices example
seantokuzo Jan 8, 2024
609e856
main readme Monday
ZhongyanLiang Jan 8, 2024
a7391a9
troubleshoot docker example
seantokuzo Jan 9, 2024
9648cf7
readme tuesday
ZhongyanLiang Jan 9, 2024
e748f8e
microservice example functioning - small cleanup needed
seantokuzo Jan 9, 2024
0fe11d1
begin readme
seantokuzo Jan 9, 2024
eb7c20e
outline for microservice app readme
seantokuzo Jan 9, 2024
1737e9e
docker readme
ZhongyanLiang Jan 10, 2024
0ec3a12
microservice example readme done
seantokuzo Jan 10, 2024
663d188
finalizing ms example app
seantokuzo Jan 10, 2024
9fa2d45
ms example complete
seantokuzo Jan 10, 2024
1bc6b4e
reenable chronos tracking
seantokuzo Jan 10, 2024
cbdafd5
Merge pull request #28 from oslabs-beta/ms-ex-cleanup
seantokuzo Jan 10, 2024
4012506
npm package readme completed
ekh88 Jan 10, 2024
bbac43b
microservices merged with E-readme
ekh88 Jan 10, 2024
9d14027
Merge pull request #29 from oslabs-beta/E-readme
ZhongyanLiang Jan 10, 2024
f23e0c5
Merge branch 'microservice' into docker
seantokuzo Jan 10, 2024
7470065
main readme
ZhongyanLiang Jan 10, 2024
4b92460
Merge branch 'microservice' into D-readme
ZhongyanLiang Jan 10, 2024
b5c5771
Merge pull request #30 from oslabs-beta/D-readme
seantokuzo Jan 10, 2024
6d46489
new ms app for dockerization
seantokuzo Jan 10, 2024
6a14d63
remove user model from items
seantokuzo Jan 10, 2024
7877d31
Merge branch 'microservice' of https://github.com/oslabs-beta/Chronos…
seantokuzo Jan 10, 2024
a3fc669
Merge pull request #32 from oslabs-beta/cleanup
seantokuzo Jan 10, 2024
6b4ba46
Merge branch 'microservice' into docker
seantokuzo Jan 10, 2024
3e5aee0
updated readme in npm package
ZhongyanLiang Jan 10, 2024
0864309
npm package really done this time
ZhongyanLiang Jan 10, 2024
4a18ea7
Merge pull request #34 from oslabs-beta/E-readme
ZhongyanLiang Jan 10, 2024
aea37a7
interservice communcation working
seantokuzo Jan 10, 2024
41028e3
finalizing docker - readme needs image
seantokuzo Jan 11, 2024
fb089e8
docker example complete
seantokuzo Jan 11, 2024
e679905
delete old readme
seantokuzo Jan 11, 2024
b12a56f
Merge pull request #35 from oslabs-beta/docker
seantokuzo Jan 11, 2024
6623f28
remove .nyc_output
seantokuzo Jan 11, 2024
8dabc51
Merge pull request #37 from oslabs-beta/microservice
kchandler44 Jan 11, 2024
9523d92
replace old microservice and docker examples
seantokuzo Jan 11, 2024
88051a1
Merge pull request #38 from oslabs-beta/microservice
kchandler44 Jan 11, 2024
b83105a
Merge pull request #39 from oslabs-beta/dev
kchandler44 Jan 11, 2024
9f8bf15
Update README.md with medium article link
seantokuzo Jan 11, 2024
65ca995
Merge pull request #40 from oslabs-beta/seantokuzo-patch-1
ZhongyanLiang Jan 11, 2024
9be087c
Merge pull request #356 from oslabs-beta/master
ZhongyanLiang Jan 11, 2024
018bc83
dev env set up
sarhiri Apr 24, 2024
6b0d8bf
imports for new search bar component added
mdtagg Apr 25, 2024
8f6206f
Modularlized search bar component
mdtagg Apr 25, 2024
1f6f808
Dashboard icons extracted into seperate component
mdtagg Apr 25, 2024
f85b8db
search bar styles import added
mdtagg Apr 25, 2024
371b96f
extracted dashboard icons component
mdtagg Apr 25, 2024
f70d764
styles moved to repective compoents folders
mdtagg Apr 25, 2024
548ed0b
Applications card extracted into separate component
mdtagg Apr 25, 2024
f5c4584
styles moved to applicationsCard component
mdtagg Apr 25, 2024
1f0b31e
extracted from occupied component
mdtagg Apr 25, 2024
a63c7f8
stylesheets for Occupied component moved to Occupied
mdtagg Apr 25, 2024
5eddf77
stylesheets moved to Occupied folder
mdtagg Apr 25, 2024
c87a97c
import changed for occupied component
mdtagg Apr 25, 2024
c62f683
occupied folder added
mdtagg Apr 25, 2024
ceee56e
spacing added
mdtagg Apr 25, 2024
e855891
extracted svg into search bar component
mdtagg Apr 25, 2024
5863f13
spaces added
mdtagg Apr 26, 2024
2ac7c3e
added example state
mdtagg Apr 26, 2024
e573e05
added example button
mdtagg Apr 26, 2024
5e2a8a3
added styles for example button
mdtagg Apr 26, 2024
c9db5cb
deleted icons folder
mdtagg Apr 26, 2024
01ef0f9
Merge pull request #1 from oslabs-beta/modularization
sarhiri Apr 26, 2024
dcc33a1
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 26, 2024
a6903d6
extracted styles from occupied component
mdtagg Apr 27, 2024
ac8d98b
mui styles now live in helper folder
mdtagg Apr 27, 2024
b173708
spacing removed
mdtagg Apr 27, 2024
401f04a
added types for new modal and set modal state to be imported to each …
mdtagg Apr 27, 2024
dfdc00e
Condensed modal states into single state
mdtagg Apr 27, 2024
57d1f73
Modal component refactor
mdtagg Apr 27, 2024
f918bf6
Merge pull request #2 from oslabs-beta/modularization
stephenhyang Apr 27, 2024
bcf52ac
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 27, 2024
2630911
removed unused styles
mdtagg Apr 28, 2024
fbd0a9b
removed commented out code
mdtagg Apr 28, 2024
7697e43
Occupied component styling broken up and extracted to components
mdtagg Apr 28, 2024
b299a5f
removed redundant div and associated styles. Added padding to retain …
mdtagg Apr 28, 2024
1480d17
explanation for where connect db is function gets fired added
mdtagg Apr 28, 2024
3e0afbf
explanations added
mdtagg Apr 28, 2024
dae6b8b
explanations added
mdtagg Apr 28, 2024
70ff8d0
updated array destructured values with appropriate names
mdtagg Apr 28, 2024
cff8f92
start of modularizing modals
stephenhyang Apr 29, 2024
5f874ce
Merge pull request #3 from oslabs-beta/modularization
stephenhyang Apr 29, 2024
194185c
Merge pull request #4 from oslabs-beta/stateUpdate
stephenhyang Apr 29, 2024
9527960
initial search bar feature
sarhiri Apr 29, 2024
de6ccfc
Updated file paths for modularization changes
stephenhyang Apr 29, 2024
d2092a2
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 29, 2024
970d048
Merge branch 'dev' into stephenfeature
stephenhyang Apr 29, 2024
3f5b941
Removed examples state from dashboard container
mdtagg Apr 30, 2024
fb76bf4
unused props removed from memoized componetns
mdtagg Apr 30, 2024
7593af1
console logs removed
mdtagg Apr 30, 2024
b2bdf1d
button removed from material UI not being used
mdtagg Apr 30, 2024
81825c9
styling added to example button
mdtagg Apr 30, 2024
14ac040
Merge pull request #5 from oslabs-beta/mvp
sarhiri Apr 30, 2024
bae3625
nav in graphs bar extracted into seperate component
mdtagg Apr 30, 2024
3b55a6e
extracted string to color function into helper folder
mdtagg Apr 30, 2024
1e2ee13
Metric containers now rendered through ternary
mdtagg Apr 30, 2024
a6f09a9
created About folder to modularizing About.tsx
tedpham3 Apr 30, 2024
e889a46
added modulized About, added Contact folder for next modulization
tedpham3 Apr 30, 2024
4db81c3
modularized addmodal and servicesmodal components
stephenhyang Apr 30, 2024
bafcdbf
light adjustments to structure of compoment
mdtagg Apr 30, 2024
855da62
completed Contact modularization
tedpham3 Apr 30, 2024
809958c
Merge pull request #6 from oslabs-beta/graphContainer/refactor
sarhiri Apr 30, 2024
e46be48
Modularized AddModal and ServicesModal components
stephenhyang Apr 30, 2024
0c47451
Merge pull request #8 from oslabs-beta/stephenfeature
mdtagg Apr 30, 2024
8f55a4d
premerge
tedpham3 Apr 30, 2024
618fd39
merged dev
tedpham3 Apr 30, 2024
72125a5
Merge pull request #9 from oslabs-beta/ted-module
mdtagg Apr 30, 2024
cc6d949
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 30, 2024
7eb60c1
deleted unused files, moved some work in progress file in the folder,…
tedpham3 Apr 30, 2024
ba68df7
modularized header, define an interface in Header that describe all t…
tedpham3 Apr 30, 2024
d1ae658
added comments, removed console.log
mdtagg Apr 30, 2024
2c8157e
modularized AwsModal, deleted unnecessary code in other modals
stephenhyang Apr 30, 2024
5c51f61
modularized Setting, moved scss to its folder
tedpham3 Apr 30, 2024
dae52ca
modularized WindowBar, added its scss file
tedpham3 Apr 30, 2024
ac3ec98
Merge pull request #10 from oslabs-beta/stephenfeature
sarhiri Apr 30, 2024
00a7a20
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 30, 2024
ccfb1ba
pre-pull dev
tedpham3 Apr 30, 2024
75fb379
pre merge
tedpham3 Apr 30, 2024
3833b31
Merge pull request #11 from oslabs-beta/ted-module
mdtagg Apr 30, 2024
8ebe547
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 30, 2024
524cc1e
dev merge
mdtagg Apr 30, 2024
a028ae5
Merge pull request #12 from oslabs-beta/graphContainer/refactor
tedpham3 Apr 30, 2024
08f900e
Merge branch 'dev' into sofia
sarhiri Apr 30, 2024
c84e723
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri Apr 30, 2024
343bdd9
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into sofia
sarhiri Apr 30, 2024
205d793
Merge branch 'dev' into sofia
sarhiri Apr 30, 2024
83f3be7
Bug fix: Settings component
mdtagg May 1, 2024
16e06be
Merge pull request #13 from oslabs-beta/componentsrefactor
sarhiri May 1, 2024
9c1ce04
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri May 1, 2024
9c87bb3
Merge branch 'dev' into sofia
sarhiri May 1, 2024
520d8b8
Bug fix: when graphs container loaded it did not have correct app tit…
mdtagg May 1, 2024
8ffa343
Merge pull request #14 from oslabs-beta/bug-fix
sarhiri May 1, 2024
c68dafa
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri May 1, 2024
97de0f4
Merge branch 'dev' into sofia
sarhiri May 1, 2024
d258407
Bare minimum mvp working
mdtagg May 1, 2024
0e0e25c
Merge pull request #15 from oslabs-beta/mvp
sarhiri May 1, 2024
95b4775
Merge branch 'dev' of github.com:oslabs-beta/Chronos-MTSS into dev
sarhiri May 1, 2024
baccfe0
Merge branch 'dev' into sofia
sarhiri May 1, 2024
292585f
new button styling
sarhiri May 1, 2024
a7e362e
Merge pull request #16 from oslabs-beta/sofia
mdtagg May 1, 2024
5691e51
branch protection test
mdtagg May 1, 2024
ff9ae32
console log removed
mdtagg May 1, 2024
c0b6b77
Merge pull request #17 from oslabs-beta/mvp
sarhiri May 1, 2024
7044222
fixed example bug
mdtagg May 1, 2024
09a8717
Merge pull request #18 from oslabs-beta/branchFix
sarhiri May 1, 2024
a410461
branch protection test
mdtagg May 1, 2024
9703c7d
branch protection test
mdtagg May 1, 2024
4b0da1d
console log removed from branch test
mdtagg May 1, 2024
a60cd78
Exit example implemented
mdtagg May 2, 2024
2f33208
awscomtainer modularized
tedpham3 May 2, 2024
4cd02fc
moved scss file to AwsGraphContainer and DashboardContainer
tedpham3 May 2, 2024
ef2e600
modularized Inspect
tedpham3 May 2, 2024
7f881bf
MainContainer modularized
tedpham3 May 2, 2024
af08add
search bar function removed to facilitate rendering multiple components
mdtagg May 2, 2024
3337f85
Multple cards can now be added at once
mdtagg May 2, 2024
e0e538e
Moved search filter in occupied component
mdtagg May 3, 2024
aef3529
Modularized container, move every scss files to its own component, mo…
tedpham3 May 3, 2024
3fda80e
removed stylesheet for app, merge every global files into index.scss
tedpham3 May 3, 2024
6cccea8
Delete card functionality refactor
mdtagg May 3, 2024
0a0ed94
made Ifield data type any temporarily
mdtagg May 3, 2024
83d19e5
Merge pull request #19 from oslabs-beta/ted-modular
mdtagg May 3, 2024
0ec96c0
merged ted-modular branch
mdtagg May 3, 2024
5e8a6fd
resolved conflicts with ted-modular
mdtagg May 3, 2024
b75a750
Merge pull request #20 from oslabs-beta/feature/example
stephenhyang May 4, 2024
ef1cb41
MUI updated package installed
sarhiri May 5, 2024
c8c5ccd
main MUI update, app working
sarhiri May 5, 2024
c607f6a
final MUI update before deleting old version. app not crashed
sarhiri May 5, 2024
047a49d
Fully updated MUI
sarhiri May 5, 2024
bdf3b1c
Merge pull request #21 from oslabs-beta/MUI
mdtagg May 6, 2024
b4ccb1c
Updated inspect button issue
sarhiri May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.png'
68 changes: 68 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"globals": {
"NodeJS": true,
"JSX": true,
"Electron": true
},
"plugins": ["react", "prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "eslint:recommended", "plugin:react/recommended", "prettier"],
"rules": {
"react/display-name": "off",
"prettier/prettier": "error",
"no-unused-vars": [
"warn",
{
"args": "none"
}
],
"react/prop-types": "off",
"no-console": "warn",
"react/jsx-filename-extension": "off",
"no-alert": "off",
"no-plusplus": "off",
"no-new": "off",
"react/button-has-type": "off",
"react/jsx-one-expression-per-line": "off",
"no-restricted-globals": "off",
"react/no-array-index-key": "warn",
"no-restricted-syntax": "off",
"guard-for-in": "off",
"no-param-reassign": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never",
"mjs": "never"
}
]
},
"settings": {
"import/extensions": [".js", ".mjs", ".jsx", ".ts", ".tsx"],
// "import/parsers": {
// "@typescript-eslint/parser": [".ts", ".tsx"]
// },
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
31 changes: 31 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Frontend and Backend testing

on:
pull_request:
branches: [master]
##Branch name may need to be changed depending on name of your dev branch
jobs:
frontend_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npm run test

backend_testing:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npx jest --config __backend-tests__/jest.config.js --verbose
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish ./chronos_npm_package --access=public
env:
# need to add NPM token to github secret if not available
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
# JS Project-Specific #
#######################
# node_modules
/dist
/build
release-builds
coverage
__tests__/**/__snapshots__
.env
databases.txt
settings.json

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite
.nyc_output

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
node_modules

out/
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"useTabs": false,
"endOfLine": "auto",
"arrowParens": "avoid",
"printWidth": 100
}
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js
node_js:
- 'stable'
os: osx
jobs:
# allow_failures:
# - os: osx
fast_finish: true
install:
- npm install
script:
npm run test:app
# safelist
# branches:
# only:
# - master
# - middleware
# - chronosWebsite
45 changes: 45 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "File",
"skipFiles": [
"<node_internals>/**",
],
"program": "${file}"
},
{
"type": "node",
"request": "launch",
"name": "Electron: Main",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": [
"--remote-debugging-port=9223",
"."
],
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
}
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000,
"url": "http://localhost:8080/",
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": [
"Electron: Main",
"Electron: Renderer"
]
}
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Contributing

Chronos encourages contributions to this product.

## Pull Requests

Chronos welcomes all pull requests.

1. Fork the repo and create a working branch from `master`.
2. If you've added any code that requires testing, add tests.
3. If you've changed APIs, update the `README.md`.
4. Check to ensure that all tests pass.
5. Make sure code is formatted with `prettier` and follows the [Airbnb React/JSX Style Guide](https://github.com/airbnb/javascript/blob/master/react/README.md).
6. Create a pull request to `master`.

## Getting started
- `npm run dev:app` and `npm run dev:electron`: Run Node and Electron at the same time to start Chronos app
- To make changes to codebase on the Main Process:
- Files in the main process must be compiled prior to starting the app
- In the terminal in Chronos directory, input `tsc` to compile typescript files
- Once compiled, `npm run dev:app` and `npm run dev:electron`
* Note: If typescript is not installed, `npm install -g typescript`

## Chronos Website

The `chronosWebsite` branch holds the code for the website. Edit the website by checking out the branch, modifying the website, and then updating the AWS S3 bucket with the changes.
## Issues

Please do not hesitate to file issues that detail bugs or offer ways to enhace Chronos.

Chronos is based off of community feedback and is always looking for ways to get better. The team behind Chronos is interested to hear about your experience and how we can improve it.

When submitting issues, ensure your description is clear and has instructions to be able to reproduce the issue.

## Get In Touch

We use GitHub as a platform of communication between users and developers to promote transparency, community support and feedback.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Chronos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file removed LISENCE.md
Empty file.
Loading