Skip to content

merging frontend-queryBackend branch

Jesse Burson requested to merge frontend-queryBackend into dev

The frontend-queryBackend branch moves the code for making roadmap queries against the backend to a separate dedicated component. This enables having a single common component for the different routes for querying the backend (the default route, the milestones/all route, the root for getting a single milestone, the route for getting a chain of connected milestones, etc.).

This in turn facilitates having multiple different roadmaps in one database:

  • a special "database root" node contains metadata about the different roadmaps in the database
  • each separate roadmap has its own "roadmap root" node
  • a list of all "roadmap root" nodes can be obtained by querying for the "database root" node
  • once a particular "roadmap root" node is chosen, that roadmap can be obtained by querying for its chain of connected nodes

This branch includes a proof of concept for that multi-roadmap approach: non-authenticated users see one roadmap, and authenticated users see a different one.

Merge request reports