Query Confirmation Modal Not Showing Markdown

The confirmation modal for my queries is having strange behavior. It now displays a new title, " Confirmation to run query" that I had not seen before. It also does not show my confirmation message using Markdown syntax.

This is in a multipage app if that helps.

Screenshot 2024-11-13 at 11.05.09 AM

2 Likes

I'm experiencing the same bug @kporter

Our users are reporting the same as of this morning, including for HTML in the confirmation which used to render as expected but now shows the markup:
Screenshot 2024-11-14 at 10.53.07 AM

Retool version 3.118.0

Hey folks - Checking into what may have changed around this, will keep you in the loop here!

1 Like

Found the likely change that's leading to it, following up with the owning team once they're online US west here soon. Will post back once we're sending out a fix!

3 Likes

To give an update here, we have a fix ready to go but are also currently working through some other bigger impact issues and need to explore the best path forward in terms of rolling these out. Worst case we should have this out by end of day tomorrow, but I'll confirm as we figure these out. In the meantime, would just remove any markdown in the confirmations for now!

1 Like

Ended up getting this deployed end of day yesterday, and looks like it's resolved now. Thanks for flagging everyone!

2 Likes

Thanks! It looks like Markdown syntax is rendering correctly now, but it still shows the new "Confirmation to run query" header that was not previously there. Is it possible to remove or edit this?

Hi @jmann unfortunately it's now worse for us, crashing the app:

Screenshot 2024-11-15 at 11.01.34 AM

Per my example above, we have HTML in some confirmation dialogs.

I've already filed a ticket through the support portal, which they closed since it was "noted". Should I re-open there/file anew?

Hey @dguzzo - Oh weird! Can you DM me a JSON export of the app you're seeing that with? Seems like some kind of content that we didn't take into account

1 Like

I'm working through this with Justin directly, but for anyone who has HTML in a confirmation dialog, it's an anchor tag (<a>) that'll crash the page. As simple as this:

Screenshot 2024-11-15 at 4.50.10 PM

Hoping for a swift resolution so I don't have to rip out a bunch of links and release late on a Friday afternoon :sweat_smile:

Hey folks - Working with the team now, as @dguzzo mentioned it looks like the crash is only with anchor tags, and is due to assumptions around the markdown syntax. Looks like the assumed [Display Text](URL) syntax does render as expected in case a quick convert helps unblock before the weekend!

1 Like

Thanks @jmann ! For your support here and directly.

One thing to note, and one reason why I don't always use Markdown's links, is that they don't support the target='_blank' attribute; one has to use full HTML for that, otherwise a link will open atop your current Retool app. Sometimes okay, sometimes not desirable.

But otherwise that is a great workaround and I favor using Markdown in Retool whenever/wherever I can get away with it!

Of course, thanks for helping us figure this out! And that's a great point about the target attribute, I'll work with the team on how we can either support what it did before, or how else we can address that. I don't know if we'll get to this before the weekend, but happy to loop back next week on where we're at. Apologies for us breaking this, I just don't think anyone really knew markdown was supported/used in this part of the product! :sweat_smile:

1 Like

Is there a plan to be able to customize the header text of the modal and the buttons?

1 Like

Same question here!

Hey folks - Definitely something we want to add in and I'm making sure it's on the radar, but don't yet have a set timeline on it. We also moved this behind a feature flag for now so we can iron some of these issues out without affecting existing modals!

1 Like