Skip to content
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

[AI] Create design spec for AI Code-snippet #15301

Open
7 tasks
Tracked by #15460 ...
aagonzales opened this issue Dec 1, 2023 · 3 comments
Open
7 tasks
Tracked by #15460 ...

[AI] Create design spec for AI Code-snippet #15301

aagonzales opened this issue Dec 1, 2023 · 3 comments
Labels
area: AI Used to filter issues in the Carbon for AI project. component: code-snippet proposal: accepted This request has gone through triaging and we are accepting PR's against it. role: design ✏️ type: enhancement 💡
Milestone

Comments

@aagonzales
Copy link
Member

aagonzales commented Dec 1, 2023

Create a design spec for an AI flavor of code snippet (inline, single line and multi-line), incorporating the slug and aura gradient where appropriate. Design a solution for both light and dark themes.

Tasks

Features AI Chat needs

See: https://labs-canary.carbondesignsystem.com/?path=/story/components-chat-code--showcase

@aagonzales aagonzales added type: enhancement 💡 component: code-snippet proposal: accepted This request has gone through triaging and we are accepting PR's against it. role: design ✏️ area: AI Used to filter issues in the Carbon for AI project. labels Dec 1, 2023
@github-project-automation github-project-automation bot moved this to Triage in Roadmap Dec 1, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Carbon for AI Dec 1, 2023
Copy link
Contributor

github-actions bot commented Dec 1, 2023

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

@laurenmrice laurenmrice added this to the Phase 2 - C4AI milestone Dec 13, 2023
@aagonzales aagonzales moved this to ⏱ Backlog in Design System Dec 13, 2023
@aagonzales aagonzales moved this from ⏱ Backlog to 🏗 In Progress in Design System Dec 15, 2023
@RichKummer RichKummer moved this from 🆕 New to 🏗 In progress in Carbon for AI Dec 18, 2023
@RichKummer
Copy link

RichKummer commented Dec 29, 2023

Figma design specs

Image

@RichKummer RichKummer moved this from 🏗 In progress to 👀 In review in Carbon for AI Dec 29, 2023
@RichKummer RichKummer moved this from 👀 In review to 🏗 In progress in Carbon for AI Jan 2, 2024
@RichKummer RichKummer moved this from 🏗 In progress to 👀 In review in Carbon for AI Jan 2, 2024
@RichKummer RichKummer moved this from 👀 In review to 🏗 In progress in Carbon for AI Jan 2, 2024
@aagonzales aagonzales moved this from 🏗 In progress to 👀 In review in Carbon for AI Jan 3, 2024
@aagonzales aagonzales moved this from 🏗 In Progress to 🚦 In Review in Design System Jan 3, 2024
@sstrubberg sstrubberg moved this from Triage to Now in Roadmap Jan 6, 2024
@RichKummer RichKummer moved this from 👀 In review to 🏗 In progress in Carbon for AI Jan 8, 2024
@RichKummer
Copy link

I also looked at how AI generated code could be previewed inside a code editor. Sharing some quick sketches here, along with feedback from Taylor:

Hey! I'll give you my 2c. Feasibility of this will depend on the tech powering the code editor. It is typically possible though to bold, italic, etc within these. vscode does this through themes as part of their support for syntax highlighting.
Determining what gets italicized can differ between themes. I'm sure there's a default set of things in vscode, but I'm not sure what they are.
Overall I think italicizing as the only marker of AI generated code may not be enough. It would need a background highlight or something like a slug imo. (edited)

Slack message

Image

@RichKummer RichKummer moved this from 🏗 In progress to ✅ Done in Carbon for AI Jan 12, 2024
@laurenmrice laurenmrice moved this from 🚦 In Review to ✅ Done in Design System Jan 17, 2024
@github-project-automation github-project-automation bot moved this from Now to Completed in Roadmap Jan 26, 2024
@aagonzales aagonzales changed the title Create design spec for AI Code-snippet [AI] Create design spec for AI Code-snippet Aug 14, 2024
@aagonzales aagonzales assigned aagonzales and unassigned RichKummer Aug 14, 2024
@aagonzales aagonzales moved this from ✅ Done to ⏱ Backlog in Design System Aug 14, 2024
@aagonzales aagonzales reopened this Aug 14, 2024
@github-project-automation github-project-automation bot moved this from ✅ Done to 📋 Backlog in Carbon for AI Aug 14, 2024
@aagonzales aagonzales modified the milestones: Phase 2 - C4AI, 2024 Q3 Aug 14, 2024
@sstrubberg sstrubberg modified the milestones: 2024 Q3, 2024 Q4 Sep 19, 2024
@sstrubberg sstrubberg removed the status in Carbon for AI Sep 19, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Carbon for AI Oct 8, 2024
@thyhmdo thyhmdo modified the milestones: 2024 Q4, 2025 Q1 Dec 4, 2024
@sstrubberg sstrubberg removed this from Roadmap Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: AI Used to filter issues in the Carbon for AI project. component: code-snippet proposal: accepted This request has gone through triaging and we are accepting PR's against it. role: design ✏️ type: enhancement 💡
Projects
Status: 🆕 New
Status: ⏱ Backlog
Development

No branches or pull requests

5 participants