Skip to content

Conversation

@danmarshall
Copy link
Collaborator

@danmarshall danmarshall commented Nov 17, 2025

This opens a report as a Chartifact in a new tab instead of an in-app dialog:

Chartifact.pop.from.Data.Formulator.mp4

Copilot AI and others added 7 commits November 14, 2025 18:13
…n and CSS styling (#1)

* Initial plan

* Initial exploration - understanding report types structure

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Add Chartifact report type with large dialog box

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Refactor Chartifact: Move to separate dialog, add Create button, remove from report types

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Remove package-lock.json from tracking

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Revert .gitignore changes - remove package-lock.json entry

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* add example chartifacts

* Add Chartifact markdown conversion function with CSV export utility

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Revert yarn.lock to prevent lock file modifications

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Fix image regex pattern to match [IMAGE(chart-id)] format

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* Enhance ChartifactDialog to load Chartifact scripts and initialize sandbox

* Refactor ChartifactDialog to improve sandbox initialization and state management

* Refactor Chartifact markdown conversion to separate spec and CSV replacements, enhance dialog layout, and improve styling

* Refactor ChartifactDialog to improve type declarations, enhance sandbox handling, and clean up unused code

* Enhance ChartifactDialog to add AI-generated content footer and improve download options for Markdown and HTML reports

* Destroy existing sandbox before creating a new one in ChartifactDialog

* Add CSS styling based on report type to Chartifact output

Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>

* tweak styles

* delete sample chartifacts

* Add Create Chartifact button with icon in ReportView

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
Co-authored-by: Dan Marshall <danmar@microsoft.com>
… tables, and conceptShelfItems parameters for improved markdown conversion
…openChartifactViewer functions; remove ChartifactDialog component usage in ReportView
Copy link
Collaborator

@Chenglong-MS Chenglong-MS left a comment

Choose a reason for hiding this comment

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

looking good

@Chenglong-MS
Copy link
Collaborator

Btw, I think you should open it in chartartifact with markdown panel open already for people to start editing side by side

Copy link
Collaborator

@Chenglong-MS Chenglong-MS left a comment

Choose a reason for hiding this comment

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

looks good to me.

Copy link
Collaborator

@Chenglong-MS Chenglong-MS left a comment

Choose a reason for hiding this comment

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

looks good

@danmarshall danmarshall merged commit a9d7748 into microsoft:main Nov 19, 2025
3 checks passed
@danmarshall danmarshall deleted the chartifact-popup branch November 19, 2025 23:13
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