diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4bbae94..3bf76fb2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,8 +49,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./client/bin/Visualiser-linux-x64.zip - asset_name: Visualiser-linux-x64.zip + asset_path: ./client/bin/Posthoc-linux-x64.zip + asset_name: Posthoc-linux-x64.zip asset_content_type: application/zip - name: Upload release asset uses: actions/upload-release-asset@v1 @@ -58,8 +58,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./client/bin/Visualiser-win32-x64.zip - asset_name: Visualiser-win32-x64.zip + asset_path: ./client/bin/Posthoc-win32-x64.zip + asset_name: Posthoc-win32-x64.zip asset_content_type: application/zip - name: Upload release asset uses: actions/upload-release-asset@v1 diff --git a/adapter-fs-bridge/build.sh b/adapter-fs-bridge/build.sh index b403f85c..f90df7ab 100644 --- a/adapter-fs-bridge/build.sh +++ b/adapter-fs-bridge/build.sh @@ -32,10 +32,10 @@ npx --yes resedit-cli \ --in dist/main-win.exe \ --out dist/main-win.exe \ --icon "1,icon.ico" \ - --product-name "Visualiser" \ + --product-name "Posthoc" \ --product-version "0.1.0.0" \ --file-version "0.1.0.0" \ - --file-description "Visualiser Adapter Server" + --file-description "Posthoc Adapter" # Sign Windows executable @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then -in private/cert.pem fi osslsigncode sign -pkcs12 private/cert.p12 \ - -n "Visualiser Adapter Server" \ + -n "Posthoc Adapter" \ -i "https://github.com/path-visualiser" \ -in dist/main-win.exe \ -out dist/main-win-signed.exe diff --git a/adapter-fs-bridge/src/index.ts b/adapter-fs-bridge/src/index.ts index d72de1ec..1bc7fea2 100644 --- a/adapter-fs-bridge/src/index.ts +++ b/adapter-fs-bridge/src/index.ts @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright( `http://localhost:${port}/` )}`; -const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`); +const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`); const server = createAdapter(port); diff --git a/adapter-iron-harvest/build.sh b/adapter-iron-harvest/build.sh index b403f85c..f90df7ab 100644 --- a/adapter-iron-harvest/build.sh +++ b/adapter-iron-harvest/build.sh @@ -32,10 +32,10 @@ npx --yes resedit-cli \ --in dist/main-win.exe \ --out dist/main-win.exe \ --icon "1,icon.ico" \ - --product-name "Visualiser" \ + --product-name "Posthoc" \ --product-version "0.1.0.0" \ --file-version "0.1.0.0" \ - --file-description "Visualiser Adapter Server" + --file-description "Posthoc Adapter" # Sign Windows executable @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then -in private/cert.pem fi osslsigncode sign -pkcs12 private/cert.p12 \ - -n "Visualiser Adapter Server" \ + -n "Posthoc Adapter" \ -i "https://github.com/path-visualiser" \ -in dist/main-win.exe \ -out dist/main-win-signed.exe diff --git a/adapter-iron-harvest/src/index.ts b/adapter-iron-harvest/src/index.ts index d94ac61f..57e57102 100644 --- a/adapter-iron-harvest/src/index.ts +++ b/adapter-iron-harvest/src/index.ts @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright( `http://localhost:${port}/` )}`; -const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`); +const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`); const server = createAdapter(port); diff --git a/adapter-warthog-websocket/build.sh b/adapter-warthog-websocket/build.sh index b403f85c..f90df7ab 100644 --- a/adapter-warthog-websocket/build.sh +++ b/adapter-warthog-websocket/build.sh @@ -32,10 +32,10 @@ npx --yes resedit-cli \ --in dist/main-win.exe \ --out dist/main-win.exe \ --icon "1,icon.ico" \ - --product-name "Visualiser" \ + --product-name "Posthoc" \ --product-version "0.1.0.0" \ --file-version "0.1.0.0" \ - --file-description "Visualiser Adapter Server" + --file-description "Posthoc Adapter" # Sign Windows executable @@ -53,7 +53,7 @@ if which osslsigncode >/dev/null; then -in private/cert.pem fi osslsigncode sign -pkcs12 private/cert.p12 \ - -n "Visualiser Adapter Server" \ + -n "Posthoc Adapter" \ -i "https://github.com/path-visualiser" \ -in dist/main-win.exe \ -out dist/main-win-signed.exe diff --git a/adapter-warthog-websocket/src/index.ts b/adapter-warthog-websocket/src/index.ts index 4f911a6d..81814be0 100644 --- a/adapter-warthog-websocket/src/index.ts +++ b/adapter-warthog-websocket/src/index.ts @@ -21,7 +21,7 @@ const mainText = `Adapter started on ${chalk.blueBright( `http://localhost:${port}/` )}`; -const hintText = chalk.dim(`(Hint: Add it to Visualiser's connections list)`); +const hintText = chalk.dim(`(Hint: Add it to Posthoc's connections list)`); const server = createAdapter(port); diff --git a/client/package.sh b/client/package.sh index 08ea0a2f..ca0721cd 100644 --- a/client/package.sh +++ b/client/package.sh @@ -1,7 +1,7 @@ -npx electron-packager . Visualiser --dir dist --platform=win32 --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin -npx electron-packager . Visualiser --dir dist --platform=linux --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin +npx electron-packager . Posthoc --dir dist --platform=win32 --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin +npx electron-packager . Posthoc --dir dist --platform=linux --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin cd bin -zip -r Visualiser-linux-x64.zip Visualiser-linux-x64 -zip -r Visualiser-win32-x64.zip Visualiser-win32-x64 +zip -r Posthoc-linux-x64.zip Posthoc-linux-x64 +zip -r Posthoc-win32-x64.zip Posthoc-win32-x64 diff --git a/client/src/index.html b/client/src/index.html index 7e911b5f..a7b1e4cd 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -5,10 +5,10 @@ - + - + diff --git a/client/src/pages/AboutPage.tsx b/client/src/pages/AboutPage.tsx index bd9ab66b..59de595d 100644 --- a/client/src/pages/AboutPage.tsx +++ b/client/src/pages/AboutPage.tsx @@ -14,7 +14,7 @@ import { Scroll } from "components/generic/Scrollbars"; import { useViewTreeContext } from "components/inspector/ViewTree"; import { head } from "lodash"; import logo from "public/logo512.png"; -import { name, version_name } from "public/manifest.json"; +import { name, version_name, repository } from "public/manifest.json"; import { ReactNode } from "react"; import { PageContentProps } from "./PageMeta"; @@ -67,17 +67,11 @@ export function AboutContent() { "Resources", <> - + - + diff --git a/client/src/pages/TreePage.tsx b/client/src/pages/TreePage.tsx index 944a105d..3f7423dc 100644 --- a/client/src/pages/TreePage.tsx +++ b/client/src/pages/TreePage.tsx @@ -241,7 +241,7 @@ export function TreeGraph({ }); forEach(slice(trace?.events, 0, step + 1), ({ id, type, pId }, i) => { const color = getColorHex(type); - const finalColor = r(color)(max([1 - (step - i) / pastSteps, 0.1])!); + const finalColor = r(color)(max([1 - (step - i) / pastSteps, 0.2])!); if (graph.hasNode(`${id}`)) { graph.setNodeAttribute(`${id}`, "color", finalColor); graph.setNodeAttribute( diff --git a/client/src/public-dev/manifest.json b/client/src/public-dev/manifest.json index dda55067..1383ce4a 100644 --- a/client/src/public-dev/manifest.json +++ b/client/src/public-dev/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "Visualiser", - "name": "Visualiser", + "short_name": "Posthoc", + "name": "Posthoc", "version": "dev", "description": "Visualise pathfinding search and more", "version_name": "dev", diff --git a/client/src/public/manifest.json b/client/src/public/manifest.json index 71d9f402..b4dd8d71 100644 --- a/client/src/public/manifest.json +++ b/client/src/public/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "Visualiser", - "name": "Visualiser", + "short_name": "Posthoc", + "name": "Posthoc", "version": "1.2.1", "description": "Visualise pathfinding search and more", "version_name": "1.2.1; mid April 2024",