Repository navigation
Feat/pptx template - #3924
Open
ashwinmukund2 wants to merge 11 commits into
Open
Feat/pptx template#3924ashwinmukund2 wants to merge 11 commits into
ashwinmukund2 wants to merge 11 commits into
Conversation
added 6 commits
November 10, 2026 18:22
…ate node
- Allow chart categories and series values to be an exact variable
reference (e.g. ${step.output}) resolved at runtime, using BoundInput
with upstream variable suggestions in the chart editor
- Add optional outputFileName to the template PPTX config and carry it
through the workflow adapter (default and merge paths)
- Use outputFileName in the TemplatePPTX pixel preview instead of the
hardcoded "output.pptx"
- Widen PptxChartSeries/TemplatePptxReplacement types to accept string
references
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Author
|
Travon Comments:
|
added 5 commits
November 23, 2026 14:22
(WIP)
Replace the free-text Template File input in the PPTX template node's
inspector form with a searchable dropdown. It lists .pptx files found in
the automation's project assets and in the current insight folder,
grouped by location, and still accepts a typed path or ${variable}.
- add usePptxTemplateFiles hook that runs SearchAppAssets and
SearchInsightAssets only while the dropdown is open
- add PptxTemplateSelect popover/command combobox
- pass appId from StepForm through TemplatePptxForm
- add tests for the search result parsing
… (WIP) Pick Shapes now opens the template chosen in Template File, then collapses the left and bottom panels so only the PPTX and the Inspector stay visible. - add findPptxTemplateFile to resolve a template (insight folder first, then project assets) - add usePickPptxShapes in the client to open the template, collapse the borders and show the inspector, and move that logic out of the workbench shell - add onPickShapes to the workbench context - move pptxShapeSelection and onPickShapes into PptxPickContext so the inspector, node drawer and step form no longer pass them as props - add unit tests for the template lookup, the form's shape picking and usePickPptxShapes Work in progress and NOT tested in the browser. Only the unit tests above have been run. Still to do: verify the open and collapse behavior in the running app, and restore the collapsed panels when pick mode is turned off.
… or project assets - findPptxTemplateFile and usePptxTemplateFiles take the run's insight id instead of the UI insight; the run is searched first, then the project, and a closed run workspace falls through to the project assets - the template picker lists "Run Files" and "Project Assets" - Pick Shapes opens a run template scoped to the run's insight - add getVisibleRun and use it in the run files panel, the inspector panel and the pick shapes hook so all three agree on which run is shown - add runInsightId to PptxPickContext - update and add unit tests for the lookup, getVisibleRun and usePickPptxShapes Unit tests pass. Not verified: opening a template from a run whose workspace has already closed, and that TemplatePPTX reads project assets at run time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Template PPTX step (
export.template_pptx) to the automation canvas. Users pick a PowerPoint template, click shapes in the PPTX viewer to define replacements (text, image or chart), and the step generates a PPTX through theTemplatePPTXpixel. Shape picking works through a new event from the PPTX file panel to the automation inspector.Changes Made
@semoss/panelsFILE_PPTX_VIEWER_PANELblueprint (file-pptx-panel.tsx). It replaces the genericcreateFileViewPanelentry for the PPTX viewer.FilePptxViewnow takes anonShapeSelectedprop and forwards the viewer'sonSelectionChangeas{ shapeName, shapeType }.FILE_PANEL_EVENTS.PPTX_SHAPE_SELECTEDbus event and thePptxShapeSelectedPayloadtype. Both are exported.@semoss/automationTemplatePptxForm(forms/template-pptx-form.tsx):${step.output}, resolved at runtime.TemplatePPTX(...)pixel.TemplatePptxConfig,TemplatePptxReplacementandPptxChartSeriestypes and the new node type.STEP_TYPESandTYPE_DISPLAY_META.pptxShapeSelectionthroughAutomationWorkbenchContext, the inspector panel,InspectorTab,NodeEditDrawerandStepForm.PptxShapeSelectionandPptxChartSeries.@semoss/clientAutomationWorkbenchlistens forPPTX_SHAPE_SELECTEDand stores the selection with an incrementing token. Selecting the same shape twice still triggers the form.How to Test
pnpm install, thenpnpm dev:client..pptxin the app, and open it in a PowerPoint panel.${upstream.var}references.output.pnpm checkandpnpm test.Notes
pnpm-lock.yamlhas uncommitted changes in your working tree. They aren't part of the branch commits, so check before pushing.deriveReplacementType) are the best candidates.TemplatePPTXpixel and the backend contract for variable references aren't part of this PR. The form only builds the pixel for preview.