pieces-app / example-typescript

A React example project showing how to get started with Pieces TS SDK.
MIT License
38 stars 48 forks source link

bug : fixed response formatting using rehype and ReactMarkdown #111

Closed VishalPawar1010 closed 2 months ago

VishalPawar1010 commented 4 months ago

Description

This PR fixes #62

Resolved response formatting issue using rehype and ReactMarkdownlibrary

VishalPawar1010 commented 4 months ago

Hello @shivay-at-pieces , I have added specific type declarations for both ReactMarkdownand rehypeSanitize . Please let me know for any.

shivay-at-pieces commented 4 months ago
image

Certain parts are not updated properly. I would suggest focus on changing the CSS right now for the Copilot message section

VishalPawar1010 commented 4 months ago

Yes, I am on it.

VishalPawar1010 commented 4 months ago

Hey @shivay-at-pieces , I have made required changes to resolve css/font-color conflicts. Please have a look, It should work fine now.

VishalPawar1010 commented 4 months ago

In dark mode : image

In light mode : image

mason-at-pieces commented 4 months ago

@shivay-at-pieces we can close the older pr (#102 ) and review this one

VishalPawar1010 commented 3 months ago

@shivay-at-pieces please let me know, if we need any modifications/corrections for this PR.

Thanks

VishalPawar1010 commented 3 months ago

Just a heads up-> Hey @shivay-at-pieces , @mason-at-pieces : If this PR looks good, could you please merge it ? If having any modifications please let me know. Thanks

VishalPawar1010 commented 2 months ago

Thank you for the merge.