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

Updates to improve usability of GlycanDetail #77

Merged
merged 69 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
a0a76ce
removed emsdk folder
louholland Nov 29, 2023
967e657
remove privateer_webserver_dependencies folder
louholland Nov 29, 2023
25e2959
Updated to Moorhen v0.6.7
Dialpuri Dec 10, 2023
ff94724
Changed SNFG table to be SVG
Dialpuri Dec 10, 2023
d638f9e
Added symmetry toggle and Moorhen resizable
Dialpuri Dec 11, 2023
e63d555
removed console logs
Dialpuri Dec 11, 2023
ae8e98a
Added Moorhen Logo
Dialpuri Dec 11, 2023
723a870
Added xl layout
Dialpuri Dec 11, 2023
6278144
Added glyctoucan link
Dialpuri Dec 11, 2023
b8fa934
Changed the default layout of the glycan detail view
glycojones Dec 11, 2023
6b90e27
Improved database graphs
Dialpuri Dec 11, 2023
d90f4e3
Added loading Moorhen loading screen
Dialpuri Dec 12, 2023
265e9ee
Added map contour label
Dialpuri Dec 12, 2023
0313f7f
Refactored GlycanDetail
Dialpuri Dec 12, 2023
2dcedca
Moved Moorhen slider and symmetry to same line
Dialpuri Dec 12, 2023
21f564d
Added url update to database
Dialpuri Dec 12, 2023
9cda707
Added PDB code to validation report if using URL
Dialpuri Dec 12, 2023
5abdee5
Clear URL on reset
Dialpuri Dec 12, 2023
a3ebacb
removed emsdk folder
louholland Nov 29, 2023
fc71d6e
remove privateer_webserver_dependencies folder
louholland Nov 29, 2023
e4c9d7b
Updated to Moorhen v0.6.7
Dialpuri Dec 10, 2023
299909f
Changed SNFG table to be SVG
Dialpuri Dec 10, 2023
89745a2
Added symmetry toggle and Moorhen resizable
Dialpuri Dec 11, 2023
31df8b5
removed console logs
Dialpuri Dec 11, 2023
79290d6
Added Moorhen Logo
Dialpuri Dec 11, 2023
c3f40a5
Added xl layout
Dialpuri Dec 11, 2023
8f06699
Added glyctoucan link
Dialpuri Dec 11, 2023
1b7d530
Changed the default layout of the glycan detail view
glycojones Dec 11, 2023
46fd6b7
Improved database graphs
Dialpuri Dec 11, 2023
d66e06a
Added loading Moorhen loading screen
Dialpuri Dec 12, 2023
d4a282b
Added map contour label
Dialpuri Dec 12, 2023
b97848e
Refactored GlycanDetail
Dialpuri Dec 12, 2023
f6ccf44
Moved Moorhen slider and symmetry to same line
Dialpuri Dec 12, 2023
c7e498b
Added url update to database
Dialpuri Dec 12, 2023
3c92671
Added PDB code to validation report if using URL
Dialpuri Dec 12, 2023
ebc1e66
Clear URL on reset
Dialpuri Dec 12, 2023
244e469
Merge branch 'reviewer_1_feedback' of https://github.com/glycojones/p…
Dialpuri Dec 12, 2023
91b2517
Add proper enter detection to PDB Fetch
Dialpuri Dec 12, 2023
2f94480
Renamed webserver folder to webapp
Dialpuri Dec 13, 2023
13ef43a
Began refactor, added prettier and eslint
Dialpuri Dec 13, 2023
3e054ad
Removed unknown import
Dialpuri Dec 13, 2023
17f474f
Removed unknown import
Dialpuri Dec 13, 2023
bce48a2
Fixed torsion comparison issue
Dialpuri Dec 13, 2023
5d1cbaf
Fixed all ESLint issues
Dialpuri Dec 14, 2023
11c9070
Updated GH Actions for new folder
Dialpuri Dec 14, 2023
8336cde
Added tooltips
Dialpuri Dec 14, 2023
c5d2a14
Added reflection cube
Dialpuri Dec 14, 2023
25c03b7
Added GlycoBlocks toggle
Dialpuri Dec 15, 2023
5a01231
Added download buttons
Dialpuri Dec 15, 2023
15c11ce
Updated build
Dialpuri Dec 15, 2023
c28760b
Increased info size in small mode
Dialpuri Dec 15, 2023
6e599d2
Added End To End testing on NavBar and Header
Dialpuri Dec 17, 2023
c55186a
Added test and lint to GH actions
Dialpuri Dec 17, 2023
b422029
Rem test for now
Dialpuri Dec 17, 2023
75635c2
Added local glytoucan from file
Dialpuri Dec 20, 2023
a1bd0d2
Fixed linting issues with loadGlytoucan
Dialpuri Dec 20, 2023
212ac1c
Added testing framework
Dialpuri Dec 20, 2023
8217b12
Added glyconnect to Glycan Detail Info Box
Dialpuri Dec 20, 2023
c1bb986
Added slim glycan output to glycomics database script
Dialpuri Dec 20, 2023
1abe01e
Added check for WURCS issue
Dialpuri Dec 20, 2023
04bf9a9
Changed resetApp to just refresh page
Dialpuri Dec 20, 2023
13da0a5
Updated torsion plot
Dialpuri Dec 21, 2023
3b5a57d
Added email to footer
Dialpuri Dec 21, 2023
f0981e6
prettified js files
Dialpuri Dec 21, 2023
a7f81fd
linting and formatting
Dialpuri Dec 21, 2023
dd36585
Changed database glycan table title
Dialpuri Dec 29, 2023
44869ae
Added local monomer library
Dialpuri Jan 4, 2024
d0e7b79
format changes
Dialpuri Jan 4, 2024
a994bd8
Updated package-lock
Dialpuri Jan 4, 2024
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
23 changes: 23 additions & 0 deletions .github/frontend_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Privateer Web App Frontend Test

on:
pull_request:
branches: [ "webapp" ]
paths:
- webapp/**


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build frontend
uses: actions/setup-node@v3
with:
node-version: 20.x
- run: |
export NODE_OPTIONS=--max-old-space-size=8192
cd webapp
npm ci
npm run test
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [ "webapp" ]
paths:
- webserver/**
- webapp/**


jobs:
Expand All @@ -18,7 +18,7 @@ jobs:
node-version: 20.x
- run: |
export NODE_OPTIONS=--max-old-space-size=8192
cd webserver
cd webapp
npm ci
npm run build
cp ../.htaccess dist
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/frontend_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Privateer Web App Frontend Lint

on:
pull_request:
branches: [ "webapp" ]
paths:
- webapp/**


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build frontend
uses: actions/setup-node@v3
with:
node-version: 20.x
- run: |
export NODE_OPTIONS=--max-old-space-size=8192
cd webapp
npm ci
npm run lint
npm run prettier

6 changes: 3 additions & 3 deletions .github/workflows/frontend_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ "webapp" ]
paths:
- webserver/**
- webapp/**


jobs:
Expand All @@ -18,7 +18,7 @@ jobs:
node-version: 20.x
- run: |
export NODE_OPTIONS=--max-old-space-size=8192
cd webserver
cd webapp
npm ci
npm run build
cp ../.htaccess dist
Expand All @@ -33,6 +33,6 @@ jobs:
password: ${{ secrets.ftp_password }}
protocol: ftps
port: 21
local-dir: webserver/public_html/
local-dir: webapp/public_html/
server-dir: ${{ secrets.ftp_server_dir }}/

29 changes: 8 additions & 21 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
# source /Applications/ccp4-8.0/bin/ccp4.setup-sh
# source ~/Development/privateer/emsdk/emsdk_env.sh
source /opt/xtal/ccp4-8.0/bin/ccp4.setup-sh
source ~/dev/privateer_wasm/emsdk/emsdk_env.sh
source /Applications/ccp4-8.0/bin/ccp4.setup-sh
source ~/Development/privateer/emsdk/emsdk_env.sh
# source /opt/xtal/ccp4-8.0/bin/ccp4.setup-sh
# source ~/dev/privateer_wasm/emsdk/emsdk_env.sh

emcmake cmake .
emmake make -j
emmake make -j

# cp privateer.js webserver/api/privateer.js
# cp privateer.wasm webserver/api/privateer.wasm
# cp privateer.data webserver/api/privateer.data

mv privateer.js webserver/src/wasm/privateer.js
mv privateer.wasm webserver/src/wasm/privateer.wasm
cp privateer.data webserver/public/privateer.data


# mv privateer.js web/privateer/privateer/src/wasm/privateer.js
# mv privateer.wasm web/privateer/privateer/src/wasm/privateer.wasm
# mv privateer.data web/privateer/privateer/src/wasm/privateer.data

# cp web/privateer/privateer/src/wasm/privateer.data web/privateer/privateer/public/privateer.data
# cp web/privateer/privateer/src/wasm/privateer.wasm web/privateer/privateer/public/privateer.wasm
# cp web/privateer/privateer/src/wasm/privateer.js web/privateer/privateer/public/privateer.js
mv privateer.js webapp/src/wasm/privateer.js
mv privateer.wasm webapp/src/wasm/privateer.wasm
cp privateer.data webapp/public/privateer.data
Loading