Skip to content

feat(chat): extensive updates to code charts and chat #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

ocornec
Copy link
Contributor

@ocornec ocornec commented Apr 29, 2025

Closes #

{{short description}}

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}

Removed

  • {{removed thing}}

Testing / Reviewing

{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}

@ocornec ocornec requested review from a team as code owners April 29, 2025 20:38
@ocornec ocornec requested review from alisonjoseph, emyarod, matthewgallo and anamikaanu96 and removed request for a team April 29, 2025 20:38
Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for carbon-labs-web-components failed. Why did it fail? →

Name Link
🔨 Latest commit 44691df
🔍 Latest deploy log https://app.netlify.com/sites/carbon-labs-web-components/deploys/6813a395576e28000815b35d

Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for carbon-labs-react ready!

Name Link
🔨 Latest commit 44691df
🔍 Latest deploy log https://app.netlify.com/sites/carbon-labs-react/deploys/6813a395dfbc1100084c593a
😎 Deploy Preview https://deploy-preview-582--carbon-labs-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@elycheea elycheea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t catch too many issues but there are a few small ones that we should update in this PR:

  • Remove conflict markers
  • Look into the broken charts on the Faceting test story

Things that can be addressed later:

  • Clean up unused code/comments
  • Fix the table in Code docs

Comment on lines +454 to +462
<<<<<<< HEAD
<h4>Multi-scatter-chart</h4>
<clabs-chat-chart
content="${'{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","repeat":{"row":["Horsepower","Acceleration","Miles_per_Gallon"],"column":["Miles_per_Gallon","Acceleration","Horsepower"]},"spec":{"data":{"url":"https://vega.github.io/vega-lite/examples/data/cars.json"},"mark":"point","params":[{"name":"brush","select":{"type":"interval","resolve":"union","on":"[pointerdown[event.shiftKey], window:pointerup] > window:pointermove!","translate":"[pointerdown[event.shiftKey], window:pointerup] > window:pointermove!","zoom":"wheel![event.shiftKey]"}},{"name":"grid","select":{"type":"interval","resolve":"global","translate":"[pointerdown[!event.shiftKey], window:pointerup] > window:pointermove!","zoom":"wheel![!event.shiftKey]"},"bind":"scales"}],"encoding":{"x":{"field":{"repeat":"column"},"type":"quantitative"},"y":{"field":{"repeat":"row"},"type":"quantitative","axis":{"minExtent":30}},"color":{"condition":{"param":"brush","field":"Origin","type":"nominal"},"value":"grey"}}}}'}"
container-height="450px"
container-width="600px">
</clabs-chat-chart>
<br />
======= >>>>>>> upstream/main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another conflict marker over here. Was this section meant to be removed? Can you double check?

Also noticing that weather example and concat aren’t loading in the Faceting test story.

@@ -78,6 +78,78 @@
}
}
},
{
"title": "",
"prompt": "Make a pair-plot of all columns with scatter plots, use bar distributions when coloumns match",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"prompt": "Make a pair-plot of all columns with scatter plots, use bar distributions when coloumns match",
"prompt": "Make a pair-plot of all columns with scatter plots, use bar distributions when columns match",

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably clean up some of the comments if no longer in use.

<td>`debug-editing-mode`</td>
<td>`boolean`</td>
<td>Show overlapping text in virtual text-area</td>
<td>To debug issues with editing mode resizing etc</td>
</tr>
<tr>
<td>`customLabels`</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty minor but noticed this is missing a last cell.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants