Skip to content

Topics route

The topics route is responsible for rendering the detailed view of the app. This file is called \_route.tsx.tsx which can be found under the routes/topics.$+/ directory.

A side page is also rendered which acts as a container for rich texts. One can access it locally by going to e.g localhost

How it works

A user request the page /interactive-collection-page-poc/topics/1164, we take the topic id from the id from the URL params -> 1164 and request the page required data in parallel.

Data Set

This data tells a the widget what visualization should be shown and also includes the meta information for the charts.

Collections Data

This data tells a few information upfront namely, widgetVariant, side-page type, headlinePosition, disabledTabs, default selected tabs (defaultSelectedId), dataset (id) and textId.