tesseract-olap / tesseract-ui

Interface for exploration/debugging of tesseract cube servers.
MIT License
5 stars 1 forks source link

[tesseract-ui] add support for composable permalinks #25

Closed alexandersimoes closed 6 months ago

alexandersimoes commented 3 years ago

The idea here is that we will want some way link to a specific vizbuilder selection within tesseract-ui from the CMS profiles. I'm not sure of the exact implementation but one way we discussed solving this was adding a query param to allow a user to give a LL endpoint that could be transformed into a proper tesseract-ui permalink... something like:

domain.com/tesseract-ui/?LL=urlencoded("cube=trade_i_baci_a_92&drilldowns=HS6&measures=Trade+Value")

frabarz commented 3 years ago

Implemented in 777f264df32e476016b484c8daac710e6b803971 The parameter is encoded in base64url instead of urlencoding to prevent losing parameters during transmission/handling of permalinks, as some utilities could try to decode & in the way and lose the consistency.