Hi, noticing something interesting inside of multipage apps, possibly other apps too. If I write a markdown link to another app page the whole page refreshes. Is that expected with markdown links? Is there a better way to write links?
We have tables with a text link action to another page and I'd like to know if there is a better way to do this. Currently we are mostly using a transformer for the table data and creating the links with search params for each entry at the same time.
For row clicks and row actions we have it using the openPage util and that works fine and there is no blank page (global header stays).
Ideally, we can set up the column to use the native event handler. What about styling the markdown to look like a link instead of using markdown links?
That would work some of the time for our use case. But we have different query params which make it dynamic occasionally which we can't do in that box as the UI won't let us have a dynamic string value in the query params key.
We also have the scenario both in and out of tables where we have some text like "lorem ipsum .... link1, link2, lorem... link3" where we want each link to be clickable and go to potentially different apps/pages.
In a table it might be more like "PageX, PageY, PageZ" in one column where they have to be separate links as well.
Thanks for flagging! I will make a feature request for this. In the meantime, you should be able to dynamically set queryParams in a run script event handler that runs utils.openPage (see screenshot below)
For multiple links, it looks like we could have better support here, so I'll also make a request.
Our html component, (which you can't use in a column cell, but you can use in an expanded row) supports setting the data target so that you can have different event handlers per link.