Compare commits

...

No commits in common. 'master' and 'gh-pages' have entirely different histories.

  1. 58
      .github/workflows/build-deploy.yml
  2. 28
      .gitignore
  3. 0
      .nojekyll
  4. 14
      BACKEND_SETUP_INFO
  5. 2
      CNAME
  6. 19
      README.md
  7. 26
      asset-manifest.json
  8. 51
      backup_class_selctor_stuff_lol
  9. 0
      bootstrap.css
  10. 0
      favicon.ico
  11. 0
      font.css
  12. 0
      fonts/1.woff
  13. 0
      fonts/2.woff
  14. 0
      fonts/3.woff
  15. 0
      fonts/4.woff
  16. 0
      icons/2021 Twitter logo - white.png
  17. 0
      icons/20M6Z7t.png
  18. 0
      icons/64px-NGSUIItemFoursisRifle.png
  19. 0
      icons/64px-NGSUIItemPrimmRifle.png
  20. 0
      icons/64px-NGSUIItemResurgirRifle.png
  21. 0
      icons/64px-NGSUIItemTheseusRifle.png
  22. 0
      icons/64px-NGSUIItemTzviaRifle.png
  23. 0
      icons/Blight_Rounds.png
  24. 0
      icons/F0t58xP.png
  25. 0
      icons/GitHub-Mark-Light-32px.png
  26. 0
      icons/GitHub-Mark-Light-64px.png
  27. 0
      icons/GitHub-Mark-Light.png
  28. 0
      icons/MEL.png
  29. 0
      icons/N6M74Qr.png
  30. 0
      icons/NGSUIItemAssaultRifleMini.png
  31. 0
      icons/NGSUIItemDoubleSaberMini.png
  32. 0
      icons/NGSUIItemGunbladeMini.png
  33. 0
      icons/NGSUIItemKnuckleMini.png
  34. 0
      icons/NGSUIItemLauncherMini.png
  35. 0
      icons/NGSUIItemPartizanMini.png
  36. 0
      icons/NGSUIItemPotentialAbility.png
  37. 0
      icons/NGSUIItemRodMini.png
  38. 0
      icons/NGSUIItemSwordMini.png
  39. 0
      icons/NGSUIItemTalisMini.png
  40. 0
      icons/NGSUIItemTwinDaggersMini.png
  41. 0
      icons/NGSUIItemTwinMachinegunsMini.png
  42. 0
      icons/NGSUIItemWandMini.png
  43. 0
      icons/NGSUIItemWiredLanceMini.png
  44. 0
      icons/NGSUIRarity1Star.png
  45. 0
      icons/NGSUIRarity2Star.png
  46. 0
      icons/NGSUIRarity3Star.png
  47. 0
      icons/NGSUIRarity4Star.png
  48. 0
      icons/NGSUIStatATKOutline.png
  49. 0
      icons/RNG.png
  50. 0
      icons/TEC.png
  51. 0
      icons/TQ8EBW2.png
  52. 0
      icons/UINGSClassBr.png
  53. 0
      icons/UINGSClassFi.png
  54. 0
      icons/UINGSClassFo.png
  55. 0
      icons/UINGSClassGu.png
  56. 0
      icons/UINGSClassHu.png
  57. 0
      icons/UINGSClassRa.png
  58. 0
      icons/UINGSClassTe.png
  59. 0
      icons/UINGSItemPresetAbility.png
  60. 0
      icons/UINGSItemSpecialAbility.png
  61. 0
      icons/VIYYNIm.png
  62. 0
      icons/aug_plus.png
  63. 0
      icons/class/br.png
  64. 0
      icons/class/fi.png
  65. 0
      icons/class/fo.png
  66. 0
      icons/class/gu.png
  67. 0
      icons/class/hu.png
  68. 0
      icons/class/ra.png
  69. 0
      icons/class/te.png
  70. 0
      icons/class_main.png
  71. 0
      icons/class_skills/ra/Bad_Condition_Reduction.png
  72. 0
      icons/class_skills/ra/Bad_Condition_Ward.png
  73. 0
      icons/class_skills/ra/Blight_Rounds.png
  74. 0
      icons/class_skills/ra/Blight_Rounds_Reinforce.png
  75. 0
      icons/class_skills/ra/Launcher_Charge_Grouping.png
  76. 0
      icons/class_skills/ra/Rifle_Grenadier.png
  77. 0
      icons/class_skills/ra/Slide_Shot_Advance.png
  78. 0
      icons/class_skills/ra/Slow_Landing_Attack-Ranger.png
  79. 0
      icons/class_skills/ra/Slow_Landing_Charge-Ranger.png
  80. 0
      icons/class_skills/ra/Spread_Shot.png
  81. 0
      icons/class_skills/ra/Spread_Shot_Quick_Getaway.png
  82. 0
      icons/class_skills/ra/Sticky_Bomb_Quick_Reload.png
  83. 0
      icons/class_sub.png
  84. 0
      icons/d_global_bg_header.png
  85. 0
      icons/fo.png
  86. 0
      icons/food/aelio_meat.png
  87. 0
      icons/food/crisp_aelio_crab.png
  88. 0
      icons/food/crisp_aelio_pear.png
  89. 0
      icons/food/crisp_aelio_tomato.png
  90. 0
      icons/food/fruit.png
  91. 0
      icons/food/light_aelio_mushroom.png
  92. 0
      icons/food/light_aelio_peach.png
  93. 0
      icons/food/light_aelio_turban_shell.png
  94. 0
      icons/food/meat.png
  95. 0
      icons/food/rich_aelio_apple.png
  96. 0
      icons/food/rich_aelio_clam.png
  97. 0
      icons/food/rich_aelio_herb.png
  98. 0
      icons/food/robust_aelio_banana.png
  99. 0
      icons/food/robust_aelio_lobster.png
  100. 0
      icons/food/robust_aelio_turnip.png
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,58 +0,0 @@
name: Build & deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 13.x
- name: Install NPM packages
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
run: npm run test
- name: Upload production-ready build files
uses: actions/upload-artifact@v2
with:
name: production-files
path: ./build
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: production-files
path: ./build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: ngsplanner.com

28
.gitignore vendored

@ -1,28 +0,0 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.env
# Dudley's crap
/public/test.html
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode/settings.json

@ -1,14 +0,0 @@
The backend can be run for local testing by loading a
new docker-compose workspace provided by the projectdivar
git repository.
once loaded, you can seed the database using the seed files
from the ngsplanner_backend repository. You can use the locally
created .docker_terminal command to access the terminal of the
projectdivar_postgres_1 instance. Finally, you need to
add a .env file for your environment that includes:
REACT_APP_BACKEND_URL=https://4501-scarlet-echidna-bpwfvar6.ws-us11.gitpod.io/ngsplanner
Replacing the URL with the URL that points to the /server docker
hosted backend.

@ -1 +1 @@
ngsplanner.com
ngsplanner.com

@ -1,19 +0,0 @@
# NGS Planner
![](https://ngsplanner.com/spinner.gif "")
This tool was created for Phantasy Star Online 2: New Genesis. It is used to therorycraft builds and share them with other players!
The goal of NGS Planner is be accurate, accessible, and shareable.
### Contributors
- Developer, Database Designer - [sigonasr2](https://twitter.com/sigonasr2)
- UI & Game Consultant - [Dudley](https://twitter.com/dudleyc_)
- Clutch Code Revision - [Mira](https://twitter.com/MiraWaNeko)
- Background Artwork - [Patata-tan](https://twitter.com/PatataTan)
### Resources Used:
- [NGS Verification Data Storage](https://docs.google.com/spreadsheets/d/1_OgubzM5QFe4rua4Xu0GSMAI8Idoq8r2yI8Ioyec6oY/edit#gid=661779228) created by [ものさし](https://twitter.com/flowerint1034) & [Theuberelite](https://twitter.com/TheuberClips)
- [Arks-Visiphone](https://pso2na.arks-visiphone.com/wiki/Portal:New_Genesis)

@ -0,0 +1,26 @@
{
"files": {
"main.css": "/static/css/main.db622843.chunk.css",
"main.js": "/static/js/main.25745d1f.chunk.js",
"main.js.map": "/static/js/main.25745d1f.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.149b9349.js",
"runtime-main.js.map": "/static/js/runtime-main.149b9349.js.map",
"static/css/2.324513a4.chunk.css": "/static/css/2.324513a4.chunk.css",
"static/js/2.089a168d.chunk.js": "/static/js/2.089a168d.chunk.js",
"static/js/2.089a168d.chunk.js.map": "/static/js/2.089a168d.chunk.js.map",
"static/js/3.2e231d4e.chunk.js": "/static/js/3.2e231d4e.chunk.js",
"static/js/3.2e231d4e.chunk.js.map": "/static/js/3.2e231d4e.chunk.js.map",
"index.html": "/index.html",
"static/css/2.324513a4.chunk.css.map": "/static/css/2.324513a4.chunk.css.map",
"static/css/main.db622843.chunk.css.map": "/static/css/main.db622843.chunk.css.map",
"static/js/2.089a168d.chunk.js.LICENSE.txt": "/static/js/2.089a168d.chunk.js.LICENSE.txt",
"static/media/style.css": "/static/media/skilltree_div_overlay.6d142e79.png"
},
"entrypoints": [
"static/js/runtime-main.149b9349.js",
"static/css/2.324513a4.chunk.css",
"static/js/2.089a168d.chunk.js",
"static/css/main.db622843.chunk.css",
"static/js/main.25745d1f.chunk.js"
]
}

@ -1,51 +0,0 @@
function ClassSelectorWindow(p) {
return <SelectorWindow title={(p.editClass)?"Select Sub Class":"Select Main Class"} modalOpen={p.modalOpen} setModalOpen={p.setModalOpen} GetData={p.GetData}
dataFunction={() => {
var dat1 = p.GetData("class")
return Object.keys(dat1)
}
}
displayFunction={(key) => {
return <li className="classSelect" onClick={() => { if (p.editClass===0){p.setClassName(key)}else{p.setSubClassName(key)}; p.setModalOpen(false) }}><img alt="" src={DisplayIcon(p.GetData("class", key, "icon"))} /> {p.GetData("class", key, "name")}</li>
}}
/>
}
<ClassSelectorWindow setClassName={setClassName} editClass={classNameSetter} setSubClassName={setSubClassName} modalOpen={classSelectWindowOpen} setModalOpen={setClassSelectWindowOpen} GetData={p.GetData}/>
<div className="box treeSelectBox">
<div className="boxTitleBar">
<h1>Class Skill Tree</h1>
<div className="boxExit" onClick={() => { setClassSkillTreeWindowOpen(false) }}></div>
</div>
<div className="treeListContainer customScrollbar">
<ul className="treeList">
{Object.keys(p.GetData("class")).map((cl)=><li className={className===cl?"treeListMain":subclassName===cl?"treeListSub":""}><img alt="" src={p.GetData("class")[cl].icon} />{cl}</li>)}
</ul>
</div>
</div>
function ClassSelector(p){
const CLASSES = p.GetData("class")
const wrapperRef = useRef(null);
useOutsideAlerter(wrapperRef,p.setEdit);
return <><div className="popup2" ref={wrapperRef}>
Class Selector<hr/>
<div className="popup">
{Object.keys(CLASSES).map((cl,i)=>{
return <button id={i} className="rounded" onClick={()=>{p.setClassName(cl);p.setEdit(false)}}><img alt="" src={process.env.PUBLIC_URL+CLASSES[cl].icon}/><br/>{CLASSES[cl].name}</button>
})}
</div>
</div>
</>
}

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 312 B

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 413 B

After

Width:  |  Height:  |  Size: 413 B

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Before

Width:  |  Height:  |  Size: 579 B

After

Width:  |  Height:  |  Size: 579 B

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 249 B

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 270 B

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 268 B

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 273 B

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 523 B

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

Before

Width:  |  Height:  |  Size: 755 B

After

Width:  |  Height:  |  Size: 755 B

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 281 B

Before

Width:  |  Height:  |  Size: 119 B

After

Width:  |  Height:  |  Size: 119 B

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 128 B

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

Before

Width:  |  Height:  |  Size: 118 B

After

Width:  |  Height:  |  Size: 118 B

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 197 B

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 436 B

Before

Width:  |  Height:  |  Size: 394 B

After

Width:  |  Height:  |  Size: 394 B

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 281 B

Before

Width:  |  Height:  |  Size: 119 B

After

Width:  |  Height:  |  Size: 119 B

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

Before

Width:  |  Height:  |  Size: 128 B

After

Width:  |  Height:  |  Size: 128 B

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

Before

Width:  |  Height:  |  Size: 118 B

After

Width:  |  Height:  |  Size: 118 B

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 197 B

Before

Width:  |  Height:  |  Size: 753 B

After

Width:  |  Height:  |  Size: 753 B

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 733 B

Before

Width:  |  Height:  |  Size: 418 KiB

After

Width:  |  Height:  |  Size: 418 KiB

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save