Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
8715361
Resolved conflits and pushing the changes
Mar 12, 2025
aede3ac
Fix: Added missing craco.config.js file
Mar 12, 2025
725420b
Fix: Added missing preview.js
Mar 12, 2025
3116be8
Fix: Added missing PreviewModal.tsx
Mar 12, 2025
5082fdd
Fix: Added missing DatasetFlashcards.tsx
Mar 12, 2025
f0e8407
Fix: Prevent Webpack from parsing displayed require() code
Mar 12, 2025
45ebc47
Fix:Prevent Webpack from parsing displayed require() code
Mar 12, 2025
bc826d2
Fix: Adjust Webpack config to handle dynamic dependencies
Mar 12, 2025
2a32dcb
Fix: Suppressed Webpack critical dependency warning
Mar 12, 2025
8f8178a
Fix: Disabled strict CI mode to allow warnings
Mar 12, 2025
dcca5ec
Fix: Disabled strict CI mode to allow warnings
Mar 12, 2025
18dcd63
Fix: Use CommonJS syntax in craco.config.js to avoid syntax errors
Mar 12, 2025
5e27720
change the background of landing page
elainefan331 Mar 3, 2025
e3912b7
style: updated backgrounk and theme colors for landing page and slide…
elainefan331 Mar 3, 2025
d59e18c
Add Raleway and Ubuntu fonts, and update typography settings
elainefan331 Mar 4, 2025
f9fc708
Assign distinct colors to different datatypes and update node color r…
elainefan331 Mar 5, 2025
881dd0d
Revise the circle nodes layout to a constellation-style graph
elainefan331 Mar 11, 2025
0caca39
Update node sizing: replace fixed sizes with dataset-based dynamic sc…
elainefan331 Mar 11, 2025
948e99f
Update node links: refactored link logic to prioritize connections be…
elainefan331 Mar 12, 2025
0644260
Update home page background
elainefan331 Mar 12, 2025
8b3ac8c
modify build-deploy-zodiac.yml for deploy on zodiac
elainefan331 Mar 13, 2025
d5f8fc7
Update GitHub Actions: Set PUBLIC_URL dynamically for branch-based de…
elainefan331 Mar 13, 2025
14f7e9b
Update GitHub Actions: Set PUBLIC_URL for dev-fan branch deployment
elainefan331 Mar 13, 2025
cdc9d63
Fix: Zodiac error
Mar 13, 2025
8449eb2
Fix: Use the url as in old code instead of Proxy url
Mar 13, 2025
e72fa26
Fix: Github action and Handle Preview
Mar 13, 2025
fc6ceb8
Update GitHub Actions: Set PUBLIC_URL dynamically for branch-based de…
elainefan331 Mar 13, 2025
c010fe5
Fix validation workflow to include PUBLIC_URL
elainefan331 Mar 13, 2025
08a646a
Add lint script to package.json
elainefan331 Mar 13, 2025
2678363
Temporarily disable lint step to test the workflow
elainefan331 Mar 13, 2025
dd17901
Upgrade axios to 1.8.2 to fix high-severity vulnerability
elainefan331 Mar 14, 2025
f334c38
Upgrade @babel/runtime and @babel/helpers to 7.26.10
elainefan331 Mar 14, 2025
3b815f1
Merge pull request #22 from NeuroJSON/dev-fan
fangq Mar 14, 2025
62a392c
Add FilterMenu, ModalitiesFilter, and KeywordFilter components for da…
elainefan331 Mar 17, 2025
f75906a
Adjust dropdown menu layout and apply modality-specific colors
elainefan331 Mar 17, 2025
ba4e030
Modify build-deploy-zodiac.yml to trigger deployment by merging PR to…
elainefan331 Mar 18, 2025
740b0bd
Add a reset button in modalities filter
elainefan331 Mar 18, 2025
0b08372
Merge pull request #27 from NeuroJSON/dev-fan
elainefan331 Mar 18, 2025
009d782
Merge pull request #28 from NeuroJSON/staging
elainefan331 Mar 19, 2025
943b83d
Fix: Prevent graph re-render on node click, Adjust: Optimize node spa…
elainefan331 Mar 19, 2025
109d760
Adjust 3d graph node spacing for better spatial distribution
elainefan331 Mar 19, 2025
2197025
Fix navbar cutoff on small screens and enforce Raleway for headers, U…
elainefan331 Mar 21, 2025
d7449ae
Resolved merge conflicts after applying stash
Mar 21, 2025
ffa8cf9
Resolved yarn.lock merge conflict
Mar 21, 2025
07e231a
Resolved yarn.lock merge conflict
Mar 21, 2025
a68be55
Added Craco to dependencies
Mar 21, 2025
96005cc
Feature: Add statistics banner displaying databases, datasets, subjec…
elainefan331 Mar 24, 2025
e3513a6
Preview feature
Mar 25, 2025
ccba17d
Add .htaccess file, update home page layout, add StatisticBanner feat…
elainefan331 Mar 25, 2025
6682b9d
Added scripts to zodiac
Mar 25, 2025
dd0aed4
Merge pull request #31 from NeuroJSON/dev-fan
elainefan331 Mar 25, 2025
f03dfa1
Added script related to jdata
Mar 25, 2025
88b3c41
Merge pull request #32 from NeuroJSON/staging
elainefan331 Mar 25, 2025
08a76a7
Styling to datasetdetails page
Mar 25, 2025
bf10afc
Merge remote-tracking branch 'origin/dev' into dev_hari
Mar 25, 2025
37fbbfd
Fix CI audit failure by disabling strict mode
Mar 26, 2025
d69d9ed
Merge pull request #34 from NeuroJSON/dev_hari
harikiranrommala Mar 26, 2025
e0b7959
Reproduce CI audit failure
Mar 27, 2025
75ca5d5
Reset deps to reproduce audit error
Mar 27, 2025
4a283fc
Force audit failure by re-installing deps
Mar 27, 2025
6fd943b
Force yarn.lock update to test audit
Mar 27, 2025
51b55b7
Fix validation failure bug without ignoring any checks#35
Mar 27, 2025
b988f48
Fix validation failure bug without ignoring any checks#35
Mar 27, 2025
276ca06
Revert the change to ignore audit check
Mar 27, 2025
d7a92ee
Fix validation failure bug without ignoring any checks #35
Mar 27, 2025
3c4ade9
Merge pull request #39 from NeuroJSON/staging
elainefan331 Mar 28, 2025
6527967
Update navigation to link search to /search route
elainefan331 Apr 1, 2025
dfe2cef
feat: add metadata search form and result rendering to SearchPage; re…
elainefan331 Apr 4, 2025
daec985
feat: integrate metadata search form with Redux for state management
elainefan331 Apr 4, 2025
6a397e1
style: improve layout by displaying form and results side-by-side wit…
elainefan331 Apr 4, 2025
8d22f35
refactor: dynamically generate database options in search form from r…
elainefan331 Apr 8, 2025
cf5af16
feat: add DatasetCard component to display dataset-level search results
elainefan331 Apr 8, 2025
1c8179a
feat: add SubjectCard component to display subject-level search results
elainefan331 Apr 9, 2025
1c8de35
refactor: display formatted age and gender in SubjectCard
elainefan331 Apr 9, 2025
29115f3
style: improve DatasetCard layout and visual styling
elainefan331 Apr 9, 2025
e01e13b
feat: add user-friendly description to limit and skip fields, and sho…
elainefan331 Apr 9, 2025
75259dc
Fix #36 external linked files labelling and rendering method based on…
Apr 10, 2025
5d6a7eb
Resolved merge conflict with staging
Apr 10, 2025
31ac4bf
Fix #36 external linked files labelling and rendering method based on…
harikiranrommala Apr 10, 2025
bf7e159
Fix #37 Display README and CHANGES with line wrapping and ellipsis ov…
Apr 11, 2025
6d26736
Fix #37 Script to Download All Files button
Apr 11, 2025
e9d877d
Fix #37 the database link to the right of the Home icon on every Data…
Apr 11, 2025
f9b5aab
Fix #37 DOWNLOAD DATASET button file size
Apr 11, 2025
5380513
Merge pull request #45 from NeuroJSON/dev_hari
harikiranrommala Apr 11, 2025
501cd72
Fix #13 find keyword in dataset button in dataset details page
Apr 11, 2025
67ae379
Fix #13 find keyword in dataset button in dataset details page
harikiranrommala Apr 11, 2025
097f90e
feat: highlight form fields with background color when user inputs va…
elainefan331 Apr 11, 2025
19a138c
feat: add collapsible section for subject-level filters in metadata s…
elainefan331 Apr 11, 2025
9ce87f1
feat: add a reset button to clear all filters and reset search state;…
elainefan331 Apr 11, 2025
e44f129
feat: add a Load More button for paginated results and display card i…
elainefan331 Apr 14, 2025
02b4e88
feat: add loading spinner while fetching search results; resolve #40
elainefan331 Apr 14, 2025
33c89f8
feat: replace Load More button with pagination component for improved…
elainefan331 Apr 14, 2025
b4d58a3
Fix #26 Add pagination for database page
Apr 15, 2025
c87bfd5
Fix #26 Add pagination for database page
harikiranrommala Apr 15, 2025
04e34e5
feat: add a Load Extra 50 button with skip logic to support increment…
elainefan331 Apr 15, 2025
9d22ebd
Merge pull request #48 from NeuroJSON/staging
harikiranrommala Apr 18, 2025
7d603e8
feat: add a shareable URL with prefilled form and auto query executio…
elainefan331 Apr 18, 2025
eba5d72
fix #40: prevent rendering error on paginated search results
elainefan331 Apr 18, 2025
b0200b2
refactor: display database name in dataset search results
elainefan331 Apr 18, 2025
e225e96
refactor: display N/A when modality list is empty or missing in datas…
elainefan331 Apr 18, 2025
27e08a9
merge: resolved conflicts and merged origin/dev into test-merge-dev
elainefan331 Apr 18, 2025
12bf11a
pin 3d-force-graph to 1.74.6 using resolutions
elainefan331 Apr 18, 2025
9c45fc1
Merge pull request #49 from NeuroJSON/dev-fan
elainefan331 Apr 18, 2025
6b45240
feat: add section 1 for search bar and section 2 for 3D force graph r…
elainefan331 Apr 23, 2025
012b11f
feat: add search bar on landing page that redirects with query to sea…
elainefan331 Apr 23, 2025
d40b1f7
Fix #52 dataset page bugs
Apr 24, 2025
204a5ca
feat: add section 3 for worflow figure; refs #50
elainefan331 Apr 24, 2025
c8c7c3f
fix: enforce limit=50 in search queries to ensure consistent results …
elainefan331 Apr 24, 2025
e465a63
feat: add logo in section 1 and add view databases button in section …
elainefan331 Apr 24, 2025
5977091
fix: resolve z-index issue causing filter menu to be overlapped by 3d…
elainefan331 Apr 24, 2025
e8a7c56
feat: add title, description and start exploring button in section 2;…
elainefan331 Apr 25, 2025
05811fd
feat: implement responsive button layout for landing page section 2; …
elainefan331 Apr 25, 2025
b66e020
refactor: extract section2 into dedicated component; refs #50
elainefan331 Apr 25, 2025
c201543
feat: add introduction cards in section3 to showcase 3D volume, 3D me…
elainefan331 Apr 28, 2025
1ad82bc
feat: add title and description for section3; redesign the layout of …
elainefan331 Apr 28, 2025
46ffa9d
feat: add workflow example in home page section4; #50
elainefan331 Apr 29, 2025
5583c43
fix: image not showing on zodiac
elainefan331 Apr 29, 2025
42a2fc9
fix: broken img on landing page
elainefan331 Apr 29, 2025
ca43c4d
landing page section1 img path testing
elainefan331 Apr 29, 2025
9ee4859
fix: fix the broken path of images on the landing page; refs #50
elainefan331 Apr 30, 2025
94df081
feat: adjust section2 and section3 background to full screen width; a…
elainefan331 Apr 30, 2025
ad12033
feat: add scroll-down arrows to each section for smooth section-to-se…
elainefan331 Apr 30, 2025
d4c69dc
feat: change the scroll-down arrows into expand more icon from MUI
elainefan331 Apr 30, 2025
b15fd33
fix: reader different navbar styles based on landing page or internal…
elainefan331 May 2, 2025
407a68a
feat: add databases item to nav bar linking to databases page; resolv…
elainefan331 May 2, 2025
7464aac
feat: add a static nodes img and adjust responsive layout design for …
elainefan331 May 2, 2025
0c64e9a
feat: move 3d graph and filter into the ForceGraphModal; refs #50
elainefan331 May 5, 2025
cbcb880
feat: add new workflow img to section4; #50
elainefan331 May 5, 2025
8378746
feat: adjust section3 layout to center all content within full screen…
elainefan331 May 5, 2025
3fe34c1
feat: update the background of section4; refs #50
elainefan331 May 5, 2025
bd0ac74
feat: add a mp4 demo for section3; #50
elainefan331 May 6, 2025
0a43578
feat: make workflow cards interactive, apply visual redesign, and mod…
elainefan331 May 7, 2025
ac46992
feat: update section4 layout to match landing page and add responsive…
elainefan331 May 7, 2025
ee387e2
feat: modify nav item hover effect
elainefan331 May 7, 2025
d264008
feat: enable chip click to updata search form and trigger metadata fi…
elainefan331 May 9, 2025
1718565
feat: make type chips clickable and change the hover effect on chips;…
elainefan331 May 9, 2025
d538784
feat: display active filters as removable chips above the search pane…
elainefan331 May 10, 2025
42f573b
feat: add demo video link in section3; refs #50
elainefan331 May 12, 2025
677a8cf
feat: display dynamic WorkflowDetailCard content and style based on s…
elainefan331 May 12, 2025
4998852
style: apply Ubuntu font to text in section4 images; refs #50
elainefan331 May 13, 2025
2efba0f
chore: clean up unused code and remove redundant comments
elainefan331 May 13, 2025
cb77d1c
feat: add hover underline and improve layout in NodeInfoPanel; refs #51
elainefan331 May 13, 2025
9792574
feat: improve responsive layout in section1; closes #51
elainefan331 May 13, 2025
d8b80c2
feat: update landing page layout for responsive behavior on different…
elainefan331 May 14, 2025
c3dbcb8
fix: adjust nav layout to use full width only on small screens and au…
elainefan331 May 14, 2025
7515e26
fix: adjust slide-in panel width on different screen size; refs #51
elainefan331 May 14, 2025
f462101
add learn more button for WorkflowDetailCard; adjust color theme on D…
elainefan331 May 15, 2025
f4fa600
feat: update search page layout for responsive behavior on different …
elainefan331 May 16, 2025
6b3db02
chore: clean up the search page code for improved readability
elainefan331 May 16, 2025
9a2b79a
refactor: extract search page utility functions and constants into se…
elainefan331 May 16, 2025
30e8b85
refactor: rename route path from /databases to /db and update all rel…
elainefan331 May 19, 2025
6a348a4
test: add test file for datasets per page and pagination on dataset page
elainefan331 May 19, 2025
3dee052
refactor: extract dataset card to separate component and fix data mix…
elainefan331 May 20, 2025
0544045
make yarn audit non-blocking in CI
elainefan331 May 20, 2025
2aaa1ec
Merge pull request #55 from NeuroJSON/dev-fan
elainefan331 May 20, 2025
d359d7d
Merge branch 'dev-fan' into Fix/dataset-page
elainefan331 May 20, 2025
e2b7d09
feat: enable Enter key to trigger search in section1 input
elainefan331 May 21, 2025
c7e4d9d
feat: enable form submission on Enter key press in search page
elainefan331 May 21, 2025
402c30f
feat: add Google Analytics script to index.html for traffic monitoring
elainefan331 May 21, 2025
c63c32d
feat: update the logo
elainefan331 May 22, 2025
40898e6
fix: apply global styles to body to prevent scroll rubber-band
elainefan331 May 23, 2025
895fbb5
feat: updated the logo in navbar and home page
elainefan331 May 23, 2025
964a934
fix: adjust redux logic to prevent data mixing when changing paginati…
elainefan331 May 23, 2025
b5186db
feat: add animation for the arrow icon in section1
elainefan331 May 28, 2025
1cd94ad
feat: convert flashcard layout to tab interface for cleaner navigation
elainefan331 May 29, 2025
c5ad42c
style: customize tab design to override MUI default styles
elainefan331 May 29, 2025
3dc8cf8
Merge pull request #56 from NeuroJSON/dev-fan
elainefan331 May 29, 2025
c90cad2
feat: add copy-to-clipboard icon for code blocks in dataset loading tabs
elainefan331 May 30, 2025
c83d02b
fix: improved visual alignment between panels and apply theme-aligned…
elainefan331 May 30, 2025
724a823
fix: adjust left and right panel layout to properly constrain height
elainefan331 Jun 2, 2025
ff5af0b
Merge pull request #57 from NeuroJSON/dev-fan
elainefan331 Jun 2, 2025
5530ec2
Merge pull request #58 from NeuroJSON/staging
elainefan331 Jun 2, 2025
37f0066
fix: add utility function to format file size in dataset detail page
elainefan331 Jun 4, 2025
e594250
feat: add syntax highlight to code blocks in dataset detail page
elainefan331 Jun 4, 2025
166f4a2
fix: prevent copy icon overlapping code block on small screens by add…
elainefan331 Jun 4, 2025
42972ff
feat: add scrollable buttons to code blocks on mobile screen size
elainefan331 Jun 4, 2025
b7d7188
feat: make left and right panels stack vertically on small screens fo…
elainefan331 Jun 4, 2025
f8ad760
fix: adjust the find next button padding to prevent overflow on small…
elainefan331 Jun 5, 2025
5bfd7af
Fix Preview feature JS version
Jun 6, 2025
98aeaf7
Fix sub naming format under External data
Jun 6, 2025
1fd71b6
Fix Preview bug
Jun 6, 2025
d88f3bf
Fix Preview bug
Jun 6, 2025
97e4b36
Merge dev into dev_hari
Jun 6, 2025
c3a37fe
feat: add highlightKeyword function and apply it to authors field in …
elainefan331 Jun 9, 2025
6ff36d4
feat: apply highlightKeyword function to title and summary fields in …
elainefan331 Jun 9, 2025
4d49a9d
style: adjust font size of logo h1 and h2 for better mobile responsiv…
elainefan331 Jun 9, 2025
8220c90
feat: show tooltip when user hover or clicks copy icon in code blocks…
elainefan331 Jun 9, 2025
af74f29
Merge pull request #61 from NeuroJSON/dev_hari
elainefan331 Jun 10, 2025
3f7553e
Merge pull request #62 from NeuroJSON/staging
elainefan331 Jun 10, 2025
25606e9
Merge branch 'dev' into dev-fan
elainefan331 Jun 11, 2025
2f918dd
chore: add comments to internal data extraction function for clarity
elainefan331 Jun 13, 2025
4db078b
chore: update yarn.lock after clean install with system libvips
elainefan331 Jun 13, 2025
f56807b
fix: delete the helpers in package.josn resolutions
elainefan331 Jun 13, 2025
f24e270
Merge pull request #63 from NeuroJSON/dev-fan
elainefan331 Jun 13, 2025
1755d4b
feat: updated the text in home page, remove edges in 3d-graph, and mo…
elainefan331 Jun 13, 2025
a33ea75
fix: preview rendering by refining file extension check for query par…
elainefan331 Jun 16, 2025
c1563b2
fix: clean up the PreviewModal.tsx and fix the UCL 4D neonatal head m…
elainefan331 Jun 25, 2025
4fd27b5
test: add spinner test for preview rendering
elainefan331 Jun 26, 2025
9029c45
fix:reset previous rendering and show spinner before loading new prev…
elainefan331 Jun 27, 2025
6b53a8b
modify deploy to zodiac action to print the GitHub Ip
elainefan331 Jun 27, 2025
0ad0a4d
test ssh from github to zodiac
elainefan331 Jun 30, 2025
0c9718a
modify build-deploy-zodiac file to test the firewall issue
elainefan331 Jun 30, 2025
9c6384e
feat: replaced MeshBasicMaterial with MeshNormalMaterial to visualize…
elainefan331 Jun 30, 2025
3901ed8
updated section3 img in home page
elainefan331 Jul 1, 2025
71a281e
feat: set up about page route and added link to navigation bar; refs #66
elainefan331 Jul 1, 2025
04e4e20
feat: add introduction and getting started sections to about page; re…
elainefan331 Jul 1, 2025
3bd6d69
feat: add introduction video to about page; refs #66
elainefan331 Jul 2, 2025
db93695
feat: update introduction video and add preview video in about page; …
elainefan331 Jul 7, 2025
fecab28
fix: restore texture_dtype mapping to prevent crash when dragging T T…
elainefan331 Jul 7, 2025
fef11e3
add print GitHub runner public IP in zodiac deploy file
elainefan331 Jul 9, 2025
f4943aa
test video access
elainefan331 Jul 9, 2025
faec447
fix: modify the access path to the video in about page
elainefan331 Jul 9, 2025
533b1a0
Merge pull request #65 from NeuroJSON/dev-fan
elainefan331 Jul 9, 2025
4f397ce
test: deploy to neurojson.io
elainefan331 Jul 9, 2025
495d51d
Merge pull request #68 from NeuroJSON/dev-fan
elainefan331 Jul 9, 2025
725ae42
test: deploy to neurojson.io
elainefan331 Jul 9, 2025
89d2df8
adjust CI PATH in build-deploy-neurojsonio.yml
elainefan331 Jul 9, 2025
5afc2e4
Add a pull_request trigger to the Deploy to Production workflow to ca…
elainefan331 Jul 9, 2025
2bef1eb
test for deploy to neurojson.io
elainefan331 Jul 9, 2025
79e251a
move io_fav.png to img folder
elainefan331 Jul 9, 2025
be2eec0
fix: update title and content of fNIRS card in homw page section3
elainefan331 Jul 9, 2025
9c740c9
Merge branch 'dev-fan' into fangq
fangq Jul 10, 2025
52116be
feat: redesign About page intro section with side by side layout; ref…
elainefan331 Jul 10, 2025
ff26d4a
Merge pull request #69 from NeuroJSON/dev-fan
elainefan331 Jul 10, 2025
9712c98
fix: reduce the resolution of section3 png file
elainefan331 Jul 10, 2025
32aa911
[nav] add V1 link for the old website
fangq Jul 10, 2025
5131fe8
Merge pull request #70 from NeuroJSON/fangq
fangq Jul 10, 2025
d6aeb48
feat: add search icon in about page; refs #66
elainefan331 Jul 10, 2025
3ee18cd
feat: add and position icons in about page; refs #66
elainefan331 Jul 10, 2025
6fd269f
[ci] update deployment branch names, main to production
fangq Jul 10, 2025
7eb4a37
[css] update nav bar item css
fangq Jul 10, 2025
9e9a225
Merge pull request #71 from NeuroJSON/fangq
fangq Jul 10, 2025
00d4481
[video] remove video files from git, use external links
fangq Jul 11, 2025
53db753
Merge branch 'fangq' into staging
fangq Jul 11, 2025
dc3146f
replace source of video with external video URL in about page
elainefan331 Jul 18, 2025
2bb796c
fix: resolved incorrect code content in download tabs and added exter…
elainefan331 Jul 18, 2025
16fb821
fix: fix total file size calculation from external link URLs
elainefan331 Jul 18, 2025
c9a8e2e
clean DatasetDetailPage code
elainefan331 Jul 18, 2025
019d4a7
feat: add a mp4 demo for section3; #50
elainefan331 May 6, 2025
55d5196
feat: redesign About page intro section with side by side layout; ref…
elainefan331 Jul 10, 2025
9a8f4b7
fix: reduce the resolution of section3 png file
elainefan331 Jul 10, 2025
5b4629c
Resolve merge conflicts from CSS/aboutPag
elainefan331 Jul 21, 2025
5dabd84
add docId to useEffect array to force rerendering when dataset switch
elainefan331 Jul 21, 2025
a993b27
text: change externalLinks to links to calculate and set script size
elainefan331 Jul 21, 2025
2c3bd3e
feat: update the Download Dataset button to Download Matadata
elainefan331 Jul 23, 2025
684cd67
update the video url in home page and about page
elainefan331 Jul 24, 2025
ebc1195
update the htaccess file rewrite rules
elainefan331 Jul 24, 2025
23e9d21
feat: add download metadata button to python and matlab local tabs
elainefan331 Jul 24, 2025
b76b7dc
Merge branch 'staging' into dev-fan
elainefan331 Jul 24, 2025
14f653f
Merge pull request #75 from NeuroJSON/dev-fan
elainefan331 Jul 24, 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
41 changes: 41 additions & 0 deletions .github/workflows/build-deploy-neurojsonio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy to Production

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-22.04
env:
CI: false

steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build React App for production
run: |
echo "Building for production at root /"
PUBLIC_URL="/" yarn build

- name: Copy JS libraries
run: |
mkdir -p build/js
cp -r public/js/* build/js/

- name: Deploy to neurojson.io
uses: NeuroJSON/SFTP-Deploy-Action@v1.2.5
with:
server: ${{ secrets.NEUROJ_IO_SERVER }}
username: ${{ secrets.NEUROJ_SERVER_USER }}
ssh_private_key: ${{ secrets.NEUROJ_SERVER_SSH_KEY }}
local_path: "./build/*"
remote_path: "${{ secrets.NEUROJ_IO_CI_PATH }}"
50 changes: 50 additions & 0 deletions .github/workflows/build-deploy-zodiac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy Zodiac Server

on:
push:
branches:
- dev-fan
- dev_mario
- fangq
- staging

jobs:
deploy:
runs-on: ubuntu-22.04
env:
CI: false

steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Determine Branch Name
id: get_branch
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV

- name: Print GitHub Runner Public IP
run: |
echo "GitHub runner public IP:"
curl https://api.ipify.org

- name: Build React App with Dynamic PUBLIC_URL
run: |
echo "Building for /dev/${{ env.BRANCH_NAME }}/"
PUBLIC_URL="/dev/${{ env.BRANCH_NAME }}/" yarn build

- name: Copy JS libraries (jdata, bjdata etc.)
run: |
mkdir -p build/js
cp -r public/js/* build/js/

- name: Copy package to server
uses: NeuroJSON/SFTP-Deploy-Action@v1.2.5
with:
server: ${{ secrets.NEUROJ_SERVER }}
username: ${{ secrets.NEUROJ_SERVER_USER }}
ssh_private_key: ${{ secrets.NEUROJ_SERVER_SSH_KEY }}
local_path: "./build/*"
remote_path: "${{ secrets.NEUROJ_CI_PATH }}/${{ env.BRANCH_NAME }}"
32 changes: 32 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Validate NeuroJson_io Project

on:
pull_request:
branches:
- "*"

jobs:
validate:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

- name: Install dependencies
run: yarn install

# - name: Run Linter (Report Issues)
# run: yarn lint

- name: Compile TypeScript
run: |
PUBLIC_URL="/dev/${{ github.head_ref }}/" yarn build

- name: Run Security Audit (non-blocking)
run: yarn audit --level moderate || echo "Audit failed with moderate issues, continuing anyway."
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.env
node_modules
.DS_Store
.DS_Store
package-lock.json

build
32 changes: 32 additions & 0 deletions build-log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
yarn run v1.22.22
$ craco build --debug
Creating an optimized production build...
Compiled with warnings.

Critical dependency: the request of a dependency is an expression

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

717.18 kB build/static/js/main.30f0cad2.js

The bundle size is significantly larger than recommended.
Consider reducing it with code splitting: https://goo.gl/9VhYWB
You can also analyze the project dependencies: https://goo.gl/LeUzfb

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

yarn global add serve
serve -s build

Find out more about deployment here:

https://cra.link/deployment

Done in 15.95s.
21 changes: 21 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
webpack: {
configure: (webpackConfig) => {
webpackConfig.resolve.fallback = {
...webpackConfig.resolve.fallback,
path: require.resolve("path-browserify"),
};

webpackConfig.module.rules.push({
test: /\.js$/,
parser: {
requireEnsure: false, // Prevents Webpack from treating require() as a critical dependency
},
});

webpackConfig.ignoreWarnings = [/the request of a dependency is an expression/];

return webpackConfig;
},
},
};
47 changes: 40 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,61 @@
"private": true,
"dependencies": {
"3d-force-graph": "^1.73.4",
"@babel/helpers": "7.26.10",
"@babel/runtime": "7.26.10",
"@craco/craco": "^7.1.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.3",
"@mui/material": "^5.14.4",
"@reduxjs/toolkit": "^1.9.5",
"@rjsf/core": "^5.24.8",
"@rjsf/mui": "^5.24.8",
"@rjsf/utils": "^5.24.8",
"@rjsf/validator-ajv8": "^5.24.8",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/numjs": "^0.16.8",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/three": "^0.169.0",
"@types/three": "^0.176.0",
"ajv": "^8",
"ajv-keywords": "^5",
"axios": "^1.4.0",
"bda": "^1.0.0",
"bjd": "^0.3.2",
"buffer": "6.0.3",
"dayjs": "^1.11.10",
"jquery": "^3.7.1",
"json-stringify-safe": "^5.0.1",
"jwt-decode": "^3.1.2",
"lzma": "^2.3.2",
"numjs": "^0.16.1",
"pako": "1.0.11",
"path-browserify": "^1.0.1",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view": "^1.21.3",
"react-redux": "^8.1.2",
"react-router-dom": "^6.15.0",
"react-scripts": "5.0.1",
"three": "^0.169.0",
"react-scripts": "^5.0.1",
"react-syntax-highlighter": "^15.6.1",
"sharp": "^0.33.5",
"stats-js": "^1.0.1",
"stats.js": "0.17.0",
"three": "0.145.0",
"typescript": "^5.1.6",
"uplot": "1.6.17",
"web-vitals": "^2.1.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/node": "^20.5.7",
"@types/pako": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.21.0",
Expand All @@ -46,10 +72,11 @@
"prettier": "^2.3.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"start": "craco start || react-scripts start",
"build": "craco build || react-scripts build",
"test": "craco test || react-scripts test",
"eject": "craco eject || react-scripts eject",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --ext .js,.jsx,.ts,.tsx"
},
"browserslist": {
"production": [
Expand All @@ -62,5 +89,11 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"postcss": "^8.4.31",
"nth-check": "^2.0.1",
"@babel/runtime": "7.26.10",
"3d-force-graph": "1.74.6"
}
}
9 changes: 9 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RedirectMatch 404 /\.git
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^ index.html [L]
</IfModule>
Binary file added public/img/3d_graph_logo.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 public/img/about_page/api.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 public/img/about_page/download.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 public/img/about_page/preview.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 public/img/about_page/search.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 public/img/about_page/search_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added public/img/logo_updated.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 public/img/logo_yellow.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 public/img/neurojson_logo_color.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 public/img/section3_cards.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 public/img/section4/click_icon.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 public/img/section4/workflow1.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 public/img/section4/workflow2.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 public/img/section4/workflow3.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 public/img/section4/workflow4.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 public/img/static_nodes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading