Hi Yanisa,

Thank you for the proposal. As Beto mentioned, the best way to introduce new 
features to Superset is through the SIP process where we can collectively 
collaborate on the proposal. I bet that during the SIP review we’ll have many 
questions about the security implications of the proposed feature and how it 
interacts with our current HTML rendering restrictions. 

To learn about SIPs, just check the link Beto provided.

Best regards,
Michael S. Molina

> On 8 Mar 2024, at 10:44, Beto Dealmeida <robe...@dealmeida.net.invalid> wrote:
> 
> Do we have a SIP written for this? (see 
> https://github.com/apache/superset/issues/5602 for context)
> 
> Also, did you consider having some kind of macro that would indicate to the 
> frontend that the result should be rendered as HTML? For example, this:
> 
> ```
> SELECT product, {{ render_html('product_url') }}, price
> FROM some_table
> ```
> 
> Could generate SQL like this:
> 
> ```
> SELECT product, '<RENDER>' || product_url || '</RENDER>', price
> FROM some_table
> ```
> 
> Which would then be detected by the frontend and we'd render `product_url` as 
> HTML.
> 
> Then this could be defined at the column level, and people would be able to 
> create derived columns in datasets that are automatically rendered as HTML.
> 
> --Beto
> 
>> On 3/7/24 10:56 PM, Treesak, Yanisa (Agoda) wrote:
>> Hi everyone,
>> 
>> I hope this email finds you well. I wanted to reach out to propose an idea 
>> for enhancing Superset SQLLab's functionality.
>> 
>> Currently, the platform renders any HTML command in the result table, which 
>> can sometimes obscure the full HTML in the request body. To address this, I 
>> suggest implementing an option button that enables users to control the 
>> rendering of HTML in the result table.
>> 
>> 
>> This feature would provide users with more flexibility and clarity when 
>> viewing HTML content within SQLLab. I believe it could greatly improve the 
>> user experience and streamline workflows.
>> 
>> I would appreciate your consideration of this proposal and would be happy to 
>> discuss it further at your convenience.
>> 
>> Thank you for your time and attention.
>> 
>> Best regards,
>> 
>> *Yanisa Treesak*
>> 
>> Data Engineer
>> 
>> Agoda Services Co., Ltd.
>> 
>> a *Booking Holdings* company
>> 
>> 
>> ------------------------------------------------------------------------
>> 
>> 
>>          This message is confidential and is for the sole use of the
>>          intended recipient(s). It may also be privileged or
>>          otherwise protected by copyright or other legal rules. If
>>          you have received it by mistake please let us know by reply
>>          email and delete it from your system. It is prohibited to
>>          copy this message or disclose its content to anyone. Any
>>          confidentiality or privilege is not waived or lost by any
>>          mistaken delivery or unauthorized disclosure of the message.
>>          All messages sent to and from Agoda may be monitored to
>>          ensure compliance with company policies, to protect the
>>          company's interests and to remove potential malware.
>>          Electronic messages may be intercepted, amended, lost or
>>          deleted, or contain viruses.
>> 
> 

Reply via email to