Skip to content

Commit

Permalink
Remove graphql stuff from tool shed frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Feb 28, 2025
1 parent dfa2c53 commit f87d79b
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 721 deletions.
3 changes: 0 additions & 3 deletions lib/tool_shed/webapp/frontend/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist

# Ignore codegen artifacts
src/gql/*.ts
2 changes: 1 addition & 1 deletion lib/tool_shed/webapp/frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ client:
yarn build

dev:
yarn dev-all
yarn dev

format:
yarn format
Expand Down
7 changes: 3 additions & 4 deletions lib/tool_shed/webapp/frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Tool Shed 2.0 client

You will need to start the Tool Shed backend from the galaxy root directory.
This is required if you want to develop against a local tool shed, and if you
plan to make changes to the graphql queries if you want to target a remote tool shed.
This is required if you want to develop against a local tool shed.

```shell
TOOL_SHED_API_VERSION=v2 ./run_tool_shed.sh
```

Start the HMR dev server **and** the graphql dev server
Start the HMR dev server.

```shell
yarn run dev-all
yarn run dev
```

If you want to target an external V2 tool shed API run
Expand Down
16 changes: 0 additions & 16 deletions lib/tool_shed/webapp/frontend/codegen.ts

This file was deleted.

6 changes: 0 additions & 6 deletions lib/tool_shed/webapp/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"scripts": {
"dev": "vite --port 4040 --strict-port",
"build": "vue-tsc --noEmit && vite build",
"graphql": "graphql-codegen --watch",
"dev-all": "concurrently --kill-others \"npm run dev\" \"npm run graphql\"",
"format": "prettier --write src",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint src --ext .ts,.vue"
Expand Down Expand Up @@ -40,13 +38,9 @@
"dependencies": {
"@apollo/client": "^3.8.6",
"@quasar/extras": "^1.12.4",
"@vue/apollo-composable": "^4.0.0-beta.1",
"@vue/apollo-option": "^4.0.0-alpha.20",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"e": "^0.2.2",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"openapi-fetch": "^0.10.2",
"pinia": "^2.0.28",
"quasar": "^2.5.0",
Expand Down
35 changes: 0 additions & 35 deletions lib/tool_shed/webapp/frontend/src/apollo.ts

This file was deleted.

6 changes: 0 additions & 6 deletions lib/tool_shed/webapp/frontend/src/components/ShedToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ const admin = computed(() => authStore.user && authStore.user.is_admin)
>
</q-item-section>
</q-item>
<q-item clickable v-close-popup tabindex="0" href="/graphql/">
<q-item-section>
<q-item-label>GraphQL</q-item-label>
<q-item-label caption>GraphQL graphical console and query explorer.</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
<q-btn
Expand Down
50 changes: 0 additions & 50 deletions lib/tool_shed/webapp/frontend/src/gql/fragment-masking.ts

This file was deleted.

58 changes: 0 additions & 58 deletions lib/tool_shed/webapp/frontend/src/gql/gql.ts

This file was deleted.

Loading

0 comments on commit f87d79b

Please sign in to comment.