Skip to content

Switch the editor over to the apiserver by default #3508

Description

@pbiggar

Some users would like to try the v2 canvas. We would also like some users to try this.

There are two parts to this:

  • loading the /a/ route from ApiServer
  • calling the api

Switching /a/ over

To allow users to switch over, we could provide a new route that routes to F#

  • make a new route that points to the apiserver: /a-testing-fsharp/CANVASNAME
    • add to ingress
    • add to apiserver

To fully switch the /a/CANVASNAME route to the Apiserver, while still allowing /api/CANVASNAME to go to OCaml, we would need:

  • port all the functions (or at least have their metadata listed).
  • fix issues that come up ()
  • test top 50 canvases to check if they still load
  • switch /a/CANVASNAME to apiserver by default

Users don't care too much about this, it's just loading a page. So maybe the second part is more important.

Switching /api/ over

If we add a ?fsharp-backend option to the client, it could use a different api, perhaps /api-private-for-testing-only/

This allows the user to opt-in for API calls.

  • add to the client
  • add api routes to the ingress

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions