Skip to content

Commit

Permalink
Mh/remove feedback fish (#2775)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Heneghan authored Feb 16, 2024
1 parent ed7d245 commit ff55003
Show file tree
Hide file tree
Showing 18 changed files with 93 additions and 723 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ jobs:
REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }}
REACT_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }}
REACT_APP_API_URL: https://api.${{ env.FULL_DOMAIN }}
REACT_APP_FEEDBACK_FISH_ID: 65f02de00b90d1
REACT_APP_HASURA_URL: https://hasura.${{ env.FULL_DOMAIN }}/v1/graphql
REACT_APP_SHAREDB_URL: wss://sharedb.${{ env.FULL_DOMAIN }}
# needed because there's no API to change google's allowed OAuth URLs
Expand All @@ -224,7 +223,6 @@ jobs:
REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }}
REACT_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }}
REACT_APP_API_URL: https://api.${{ env.FULL_DOMAIN }}
REACT_APP_FEEDBACK_FISH_ID: 65f02de00b90d1
REACT_APP_HASURA_URL: https://hasura.${{ env.FULL_DOMAIN }}/v1/graphql
REACT_APP_SHAREDB_URL: wss://sharedb.${{ env.FULL_DOMAIN }}
REACT_APP_GOOGLE_OAUTH_OVERRIDE: https://api.editor.planx.dev
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
working-directory: editor.planx.uk
env:
REACT_APP_API_URL: https://api.editor.planx.dev
REACT_APP_FEEDBACK_FISH_ID: 65f02de00b90d1
REACT_APP_HASURA_URL: https://hasura.editor.planx.dev/v1/graphql
REACT_APP_SHAREDB_URL: wss://sharedb.editor.planx.dev
REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
working-directory: editor.planx.uk
env:
REACT_APP_API_URL: https://api.editor.planx.uk
REACT_APP_FEEDBACK_FISH_ID: 65f02de00b90d1
REACT_APP_HASURA_URL: https://hasura.editor.planx.uk/v1/graphql
REACT_APP_SHAREDB_URL: wss://sharedb.editor.planx.uk
REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }}
Expand Down
20 changes: 0 additions & 20 deletions api.planx.uk/modules/admin/controller.ts

This file was deleted.

29 changes: 0 additions & 29 deletions api.planx.uk/modules/admin/docs.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions api.planx.uk/modules/admin/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@ import { getHTMLExport, getRedactedHTMLExport } from "./session/html";
import { generateZip } from "./session/zip";
import { getSessionSummary } from "./session/summary";
import { getDigitalPlanningApplicationPayload } from "./session/digitalPlanningData";
import { validate } from "../../shared/middleware/validate";
import { downloadFeedbackCSVSchema } from "./service/feedback/types";
import { downloadFeedbackCSV } from "./controller";

const router = Router();

router.use("/admin/", usePlatformAdminAuth);
router.get(
"/admin/feedback",
validate(downloadFeedbackCSVSchema),
downloadFeedbackCSV,
);

// TODO: Split the routes below into controller and service components
router.get("/admin/session/:sessionId/xml", getOneAppXML);
Expand Down

This file was deleted.

85 changes: 0 additions & 85 deletions api.planx.uk/modules/admin/service/feedback/downloadFeedbackCSV.ts

This file was deleted.

Loading

0 comments on commit ff55003

Please sign in to comment.