MaibornWolff / MaibornWolff/codecharta
Export to Pptx
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 529
- Forks
- 56
- Avg merge
- 7h 17m
- Merged PRs (30d)
- 34
Description
# Feature request
Please provide a button to export the current view not as flat image, but as something editable, i.e. Powerpoint pptx.
## Description
As a auditor, I want pptx export, so that I have an "image" where the additional elements are moveable and editable.
This is a niche-feature that only an auditor would want. But man I want it, because I would use it all the time.
In my daily work I create multiple screenshots of the map inside CodeCharta. Then I add all the other information on top with PowerPoint. What is the rloc of the whole map, what is the rloc of the colorized folder, what are the names of the colorized folders, what is the name of the highlighted file, etc. I visualize this like so:
It would be great if I did not have to do that but all the information was directly created by CodeCharta. Then all I have to do is move the additional shapes around when they overlay each other or are not visually distinctive or something.
All that I need is to have a regular image screenshot of the CodeCharta map, with the additional elements on separate layers so I can move them. Alas I could not find an image format that supports that (TIFF in the adobe edition can do that but that is non-standard). So, I turn to PowerPoint (pptx) because it has layers. [PPtxGenJs](https://github.com/gitbrent/PptxGenJS) seems to be one library that can generate a pptx in the browser.
## Acceptance criteria
- I have a button to export the current view to pptx (whether or not that can be placed in the Clipboard is unknown. It seems copying Powerpoint slides to clipboard, stores some weird binary pointer, not the actual slide in xml format)
- - It shows exactly the same map as the regular screenshot button
- The powerpoint contains
- - The current map as an image (preferably without building labels)
- - Building labels are a powerpoint shapes, so they can be moved
- - All the colorized folders have also become shapes. The shapes contain the folder names but also the rloc size.
- - Whatever is searched right now is also placed inside a shape
- - The currently selected metrics (area, height, color) are placed below the map
- - The color thresholds are placed right next to the selected color metrics.
- - - If delta-mode is selected, then it is simply stated by color if a positive delta (+Δ) is green and negative delta (-Δ) is red or if it is the other way around.
- - The (rloc) size of the whole map is also a shape
## Assumptions & Exclusions
- This assumes that a pptx export is the best technical solution to get a layered image.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing the existing regular screenshot export and current map, label, search, and metric rendering, then review whether PptxGenJS supports the requested layers. Done means a button exports the current view with the specified editable shapes and map image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100