@hart365/pp-md-pptb-edition 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ACCESSIBILITY.MD +75 -0
- package/CODE_OF_CONDUCT.md +24 -0
- package/CONTRIBUTING.md +57 -0
- package/README.md +7 -3
- package/SECURITY.md +18 -0
- package/dist/assets/pp-md-app.js +541 -537
- package/docs/PP-MD-PPTB-Edition-DocGeneration.png +0 -0
- package/docs/PP-MD-PPTB-Edition-DocHeader.png +0 -0
- package/docs/PP-MD-PPTB-Edition-HomePage.png +0 -0
- package/package.json +9 -2
package/ACCESSIBILITY.MD
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Accessibility
|
|
2
|
+
|
|
3
|
+
## People first, not a tick in a box
|
|
4
|
+
|
|
5
|
+
Accessibility matters to me. PP-MD should help people document their Power Platform solutions, not put another barrier in their way.
|
|
6
|
+
|
|
7
|
+
That means thinking about how people actually use the tool. A mouse isn't everyone's starting point. Neither is being able to see a diagram, distinguish a colour, or work through a busy screen without difficulty. Accessibility belongs in what I deliver, not on a list of things to consider afterwards.
|
|
8
|
+
|
|
9
|
+
I'm still learning, and there will be things I've missed. If something gets in your way, I want to hear about it. You don't need to be an Accessibility expert to tell me that something doesn't work for you.
|
|
10
|
+
|
|
11
|
+
## What I'm working towards
|
|
12
|
+
|
|
13
|
+
The target for PP-MD's interface is [WCAG 2.2 Level AA](https://www.w3.org/TR/WCAG22/). In practical terms, that means:
|
|
14
|
+
|
|
15
|
+
- Being able to complete tasks with a keyboard, with a visible and sensible focus order.
|
|
16
|
+
- Giving controls clear names, and making progress, errors, and changes understandable to screen-reader users.
|
|
17
|
+
- Making text and controls readable in light and dark themes, without relying on colour alone.
|
|
18
|
+
- Supporting zoom, smaller windows, reduced motion, and different ways of interacting.
|
|
19
|
+
- Making the documentation and exported content usable too. An accessible interface is only part of the job.
|
|
20
|
+
|
|
21
|
+
The tool already includes keyboard file selection alongside drag and drop, focus styles, status announcements, light and dark themes, reduced-motion support, and diagram source fallbacks. There is also an automated check for selected text and interface colour combinations in both themes.
|
|
22
|
+
|
|
23
|
+
Those are useful foundations. They are **not a declaration of full WCAG conformance**, and a passing automated check doesn't tell me whether you can actually finish your task.
|
|
24
|
+
|
|
25
|
+
## Known limitations and gaps
|
|
26
|
+
|
|
27
|
+
This statement describes the current implementation and its verification gaps. It isn't a completed Accessibility audit.
|
|
28
|
+
|
|
29
|
+
### Diagrams
|
|
30
|
+
|
|
31
|
+
Mermaid diagrams are visual, and a diagram name or its source code isn't the same as a useful description of the relationships it shows. Source text and the surrounding documentation may help, but they aren't guaranteed to provide an equivalent experience.
|
|
32
|
+
|
|
33
|
+
Try the raw Markdown view or export the Markdown to an editor you use comfortably. Please report any information you can only get from a diagram.
|
|
34
|
+
|
|
35
|
+
### PDF exports
|
|
36
|
+
|
|
37
|
+
PDF output contains searchable text, but it isn't verified as a tagged, accessible PDF or as PDF/UA conformant. Visual headings and tables shouldn't be assumed to provide the structure a screen reader needs. Diagrams are embedded as images, and the PDF fonts also replace or omit some unsupported characters.
|
|
38
|
+
|
|
39
|
+
Markdown or HTML export may be a more useful starting point, depending on your tools. These formats aren't a guarantee of Accessibility either; check the result before sharing it with others.
|
|
40
|
+
|
|
41
|
+
### Large documents and other exports
|
|
42
|
+
|
|
43
|
+
Wide metadata tables and complex diagrams can be difficult to navigate or magnify. Excel exports and generated HTML haven't been comprehensively verified with assistive technology. Imported Markdown and descriptions from your solution can also bring their own Accessibility problems.
|
|
44
|
+
|
|
45
|
+
### Power Platform ToolBox and assistive technology
|
|
46
|
+
|
|
47
|
+
PP-MD runs inside Power Platform ToolBox (PPTB). Host navigation, connection screens, and file dialogs are also part of your experience, even where this project doesn't control them.
|
|
48
|
+
|
|
49
|
+
End-to-end screen-reader behaviour, Windows forced colours, zoom and reflow, and keyboard focus across the host/tool boundary still need validation in the target host. The repository's automated tests don't cover those combinations. There isn't a verified browser, host, and assistive-technology support matrix to publish yet.
|
|
50
|
+
|
|
51
|
+
If you're unsure whether a barrier belongs to PP-MD or the host, report it here anyway. I can help work out where it needs to go.
|
|
52
|
+
|
|
53
|
+
## Found a barrier? Please raise an Issue
|
|
54
|
+
|
|
55
|
+
1. Open [a new Accessibility barrier report](https://github.com/Hart365/pp-md-pptb-edition/issues/new?template=accessibility.yml). You'll need to sign in to GitHub.
|
|
56
|
+
2. Give it a short title describing the problem, such as "Keyboard focus disappears after closing export options".
|
|
57
|
+
3. Tell me what you were trying to do, what happened, and what you needed to happen instead.
|
|
58
|
+
4. If you can, add the PP-MD version, PPTB version (or browser for local use), operating system, and any relevant assistive technology or settings.
|
|
59
|
+
5. Submit the Issue. You can return to it later to add information or answer follow-up questions.
|
|
60
|
+
|
|
61
|
+
Steps to reproduce, the impact on your task, and any workaround are helpful. Screenshots, recordings, and technical details are welcome **if they help and you're comfortable sharing them**, but they aren't required. A plain-language description is enough to start. You don't need a WCAG reference, a diagnosis, or an explanation of your disability.
|
|
62
|
+
|
|
63
|
+
GitHub Issues are public. Please don't attach customer solution ZIPs, generated documents containing sensitive metadata, credentials, personal information, or unredacted screenshots. Use a small, made-up example where possible. For a suspected security vulnerability, follow the [Security policy](SECURITY.md) instead of opening a public Issue.
|
|
64
|
+
|
|
65
|
+
### If GitHub itself is a barrier
|
|
66
|
+
|
|
67
|
+
If you can't use the Issue form, try [a blank Issue](https://github.com/Hart365/pp-md-pptb-edition/issues/new). If GitHub isn't usable for you, contact me, Mike Hartley, through [LinkedIn](https://www.linkedin.com/in/mikebhartley/). Let me know your preferred way to continue the conversation. I'll ask before putting anything you share privately into a public Issue.
|
|
68
|
+
|
|
69
|
+
## What happens next?
|
|
70
|
+
|
|
71
|
+
I'll review reports, ask for clarification where needed, and use the Issue to record progress, a workaround, or a proposed fix. Problems that stop someone completing a task need particular attention, especially where there isn't a workable alternative.
|
|
72
|
+
|
|
73
|
+
This is a community project, so I can't promise a response or fix within a set time. I can commit to taking barriers seriously, being honest about limitations, and learning from the people experiencing them. A report doesn't need to arrive with a solution attached.
|
|
74
|
+
|
|
75
|
+
Contributors can find practical checks in the [contributing guide](CONTRIBUTING.md#accessibility-checks). Thanks for helping make this better.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Make room for people
|
|
4
|
+
|
|
5
|
+
I want PP-MD to be a place where people feel comfortable asking questions, sharing ideas, and admitting they don't know something yet. Whether this is your first Issue or your fiftieth Pull Request, you're welcome here.
|
|
6
|
+
|
|
7
|
+
Different experiences make this project better. Treat people with respect regardless of disability, age, race, ethnicity, nationality, religion, sex, gender identity or expression, sexual orientation, appearance, or level of experience.
|
|
8
|
+
|
|
9
|
+
- Be kind, patient, and constructive. Challenge an idea without attacking the person.
|
|
10
|
+
- Respect people's names, pronouns, boundaries, and privacy.
|
|
11
|
+
- Keep language clear and make room for different communication and access needs.
|
|
12
|
+
- Listen when someone explains the impact of your words or actions. If you get it wrong, acknowledge it and change course.
|
|
13
|
+
|
|
14
|
+
Harassment, discrimination, threats, sexualised attention or content, personal attacks, and publishing someone's private information aren't acceptable. Neither is retaliation against someone who raises a concern.
|
|
15
|
+
|
|
16
|
+
## If something goes wrong
|
|
17
|
+
|
|
18
|
+
This applies to Issues, Pull Requests, discussions, and other spaces connected with this project, including when representing it elsewhere.
|
|
19
|
+
|
|
20
|
+
For a conduct concern, contact me, Mike Hartley, privately through [LinkedIn](https://www.linkedin.com/in/mikebhartley/). Share only what you're comfortable sharing. Please don't open a public Issue containing personal details or allegations about someone else.
|
|
21
|
+
|
|
22
|
+
I'll review concerns fairly and handle information as privately as possible, sharing it only where needed to address the situation. Depending on the behaviour and its impact, I may request a change, issue a warning, remove content, or restrict or end someone's participation. Serious or repeated harm can mean an immediate ban.
|
|
23
|
+
|
|
24
|
+
We don't have to agree on everything. We do need to treat each other as people.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for helping improve PP-MD - PPTB Edition.
|
|
4
|
+
|
|
5
|
+
You don't need to know the whole codebase to make a useful contribution. A clear bug report, an Accessibility barrier you've experienced, or a better explanation in the docs all help. Please read the [Code of Conduct](CODE_OF_CONDUCT.md); there's room here for different experiences and levels of knowledge.
|
|
6
|
+
|
|
7
|
+
## Before making a change
|
|
8
|
+
|
|
9
|
+
- Check existing issues and discussions to avoid duplicating work.
|
|
10
|
+
- Keep changes scoped and avoid including generated solution documents, exports, credentials, or other sensitive data.
|
|
11
|
+
- For documentation updates, check statements against the current source and package manifest. Identify host- or tenant-dependent behaviour as something to validate, not as a platform guarantee.
|
|
12
|
+
|
|
13
|
+
## Raising an Issue
|
|
14
|
+
|
|
15
|
+
Use the [Issue chooser](https://github.com/Hart365/pp-md-pptb-edition/issues/new/choose) for a bug report, a feature or improvement idea, or an Accessibility barrier. Tell me what you were trying to do and what would make it work better. You don't need to arrive with a fix.
|
|
16
|
+
|
|
17
|
+
For access barriers, see the [Accessibility statement](ACCESSIBILITY.MD) for reporting guidance, known limitations, and an alternative contact route. Don't post suspected security vulnerabilities publicly; follow the [Security policy](SECURITY.md).
|
|
18
|
+
|
|
19
|
+
## Development setup
|
|
20
|
+
|
|
21
|
+
Requirements: Node.js 20 or later and npm.
|
|
22
|
+
|
|
23
|
+
```powershell
|
|
24
|
+
npm.cmd ci
|
|
25
|
+
npm.cmd run dev
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
For connected-mode or host integration work, use a suitable Power Platform ToolBox test environment. Local browser development does not provide the PPTB connection or host file-system APIs.
|
|
29
|
+
|
|
30
|
+
## Validation
|
|
31
|
+
|
|
32
|
+
Run the repository's standard checks before submitting a change:
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
npm.cmd test
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Useful focused checks include `npm.cmd run lint`, `npm.cmd run type-check`, `npm.cmd run test:unit`, `npm.cmd run test:contrast`, `npm.cmd run validate:offline`, and `npm.cmd run validate:dist`. Run `npm.cmd run validate` when network access is available and official URL checks are needed.
|
|
39
|
+
|
|
40
|
+
Changes to connected collection, document rendering, or exports should include focused regression tests where practical. Host-dependent behaviour should be identified and validated in PPTB; do not describe a host-only test as covered by the repository test suite.
|
|
41
|
+
|
|
42
|
+
### Accessibility checks
|
|
43
|
+
|
|
44
|
+
For interface changes, check the affected task with a keyboard: logical focus order, visible focus, no traps, and focus returning sensibly when menus or dialogs close. Check accessible names and whether a screen reader announces relevant state, progress, and errors without unexpectedly moving focus.
|
|
45
|
+
|
|
46
|
+
Check light and dark themes, Windows forced colours, text resizing and zoom/reflow (including 200% text and 400% zoom / a 320 CSS-pixel viewport), and reduced-motion settings where relevant. Genuine data tables and diagrams may need two-dimensional scrolling, but surrounding controls and content should remain usable.
|
|
47
|
+
|
|
48
|
+
For generated documents and exports, consider headings, table structure, reading order, meaningful links, and text alternatives to diagrams. Don't assume a visually tidy PDF is an accessible one.
|
|
49
|
+
|
|
50
|
+
Run `npm.cmd run test:contrast` when changing colours or theme tokens, alongside the relevant code checks. It covers selected token pairs, not every rendered state or exported document. Record the browser or PPTB version, assistive technology, checks performed, and any gaps in your PR. If you couldn't test a combination, say so; that's more useful than a pass that hasn't been verified.
|
|
51
|
+
|
|
52
|
+
## Pull requests
|
|
53
|
+
|
|
54
|
+
- Explain the user-visible change and any important limitations.
|
|
55
|
+
- List the validation commands run and the checks that still require a PPTB host.
|
|
56
|
+
- Keep unrelated files and generated build/export artefacts out of the change.
|
|
57
|
+
- Update the [README](README.md), [changelog](CHANGELOG.md), or relevant [design documentation](docs/high-level-design.md) when behaviour or user guidance changes.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# PP-MD Power Platform Markdown Document Generator
|
|
2
2
|
|
|
3
|
+
<img src="docs/PP-MD-PPTB-Edition-HomePage.png" alt="The PP-MD PPTB Edition welcome page showing the buttons to do either Local or Dataverse Connected document generation" width="400" height="300">
|
|
4
|
+
|
|
3
5
|
PP-MD generates structured Markdown documentation for Microsoft Power Platform solutions in two modes:
|
|
4
6
|
|
|
5
7
|
- Local Solutions mode (upload one or more solution ZIP files)
|
|
@@ -10,7 +12,6 @@ PP-MD generates structured Markdown documentation for Microsoft Power Platform s
|
|
|
10
12
|
### Input and solution scope
|
|
11
13
|
|
|
12
14
|
- Process exported Power Platform solution ZIP files entirely in the local tool runtime; ZIP data is not uploaded by this tool. Dataverse Connected mode reads selected solution metadata through the active ToolBox connection.
|
|
13
|
-
- The app header shows the running version (`PP-MD - PPTB Edition v#.#.#`), and the **Generate Selected** button stays pinned to the bottom-right of the solution selection page.
|
|
14
15
|
- Browse, search, sort, filter, refresh, and multi-select solutions from the active Power Platform ToolBox Dataverse connection.
|
|
15
16
|
- Filter connected solutions by publisher and managed or unmanaged status.
|
|
16
17
|
- Keep connected collection read-only and scoped to the selected solution components through `solutioncomponent` records.
|
|
@@ -38,7 +39,6 @@ PP-MD generates structured Markdown documentation for Microsoft Power Platform s
|
|
|
38
39
|
- Save reusable configuration presets through ToolBox settings with a local-development fallback.
|
|
39
40
|
- View sanitised GitHub Flavored Markdown as rendered content or raw source.
|
|
40
41
|
- Import existing Markdown, search within rendered documents, copy Markdown, and follow generated table-of-contents and Back to Top links.
|
|
41
|
-
- Keep the logo and name left-aligned and actions right-aligned across the full window width. Wrap header controls below the app title when space is limited, and keep viewer controls visible above the independently scrolling document.
|
|
42
42
|
- Keep parse warnings, collection errors, and issues in a separate **Diagnostics** document, available from the header when diagnostics exist. Solution documentation and Excel workbooks retain inventory and unknown/unavailable states without embedding diagnostic messages.
|
|
43
43
|
- Render Mermaid diagrams lazily, then pre-render the rest in the background (top-down, low priority, paused while scrolling, visible diagrams first), cache completed SVG output in a bounded least-recently-used cache (100 diagrams), and force outstanding diagrams to finish before PDF generation.
|
|
44
44
|
- Yield during large PDF drawing operations so status updates can paint and the interface remains responsive where possible.
|
|
@@ -71,7 +71,7 @@ This README is aligned to metadata in package.json used by Power Platform ToolBo
|
|
|
71
71
|
| --- | --- |
|
|
72
72
|
| name | @hart365/pp-md-pptb-edition |
|
|
73
73
|
| displayName | PP-MD Power Platform Markdown Document Generator |
|
|
74
|
-
| version | 1.2.
|
|
74
|
+
| version | 1.2.2 |
|
|
75
75
|
| description | Generate Power Platform documentation from either Solution ZIP files or direct Dataverse connection |
|
|
76
76
|
| icon | icons/pp-md.svg |
|
|
77
77
|
| configurations.repository | https://github.com/Hart365/pp-md-pptb-edition |
|
|
@@ -258,6 +258,8 @@ The package intentionally declares `api.github.com` as an optional CSP connectio
|
|
|
258
258
|
- [PPTB platform reference](docs/research/pptb-platform-reference.md)
|
|
259
259
|
- [Changelog](CHANGELOG.md)
|
|
260
260
|
- [Contributing](CONTRIBUTING.md)
|
|
261
|
+
- [Accessibility commitment, limitations, and reporting barriers](ACCESSIBILITY.MD)
|
|
262
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
|
261
263
|
- [Security policy](SECURITY.md)
|
|
262
264
|
|
|
263
265
|
## Support
|
|
@@ -266,6 +268,8 @@ The package intentionally declares `api.github.com` as an optional CSP connectio
|
|
|
266
268
|
- Issues: https://github.com/Hart365/pp-md-pptb-edition/issues
|
|
267
269
|
- Website: https://github.com/Hart365/pp-md-pptb-edition
|
|
268
270
|
|
|
271
|
+
Found something getting in your way? [Report an Accessibility barrier](https://github.com/Hart365/pp-md-pptb-edition/issues/new?template=accessibility.yml). You don't need technical terminology or a proposed fix. The [Accessibility statement](ACCESSIBILITY.MD) also explains the current limitations and how to contact me if GitHub isn't usable for you.
|
|
272
|
+
|
|
269
273
|
## AI Assistance
|
|
270
274
|
|
|
271
275
|
Parts of this tool were generated with GitHub Copilot and reviewed, tested, and maintained by the contributors listed in package.json.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Reporting a vulnerability
|
|
4
|
+
|
|
5
|
+
Please do not report suspected vulnerabilities in a public issue or discussion. Use GitHub's private vulnerability reporting for this repository if it is enabled. If private reporting is unavailable, contact the maintainers through a private channel linked from the repository or maintainer profile.
|
|
6
|
+
|
|
7
|
+
Include the affected version, a concise description, and safe steps to reproduce. Do not include real customer solution files, personal data, credentials, access tokens, or live environment-variable values. Coordinate public disclosure with the maintainers after a fix or mitigation is available.
|
|
8
|
+
|
|
9
|
+
## Security and privacy notes
|
|
10
|
+
|
|
11
|
+
- Local Solutions mode parses user-selected solution ZIP files in the client application; this repository does not implement a server upload path.
|
|
12
|
+
- Dataverse Connected mode performs read-only collection through the active Power Platform ToolBox connection. Requests use the current user's host-provided connection and permissions.
|
|
13
|
+
- The application is designed not to query or render credentials, secure plug-in configuration, or live environment-variable values. Connected reporting uses a non-null filter without selecting current values; failed presence checks are shown as unknown. Extended component collection selects configuration metadata rather than arbitrary payloads and excludes secured fields.
|
|
14
|
+
- Generated documents may contain solution metadata and should be handled according to the user's organisational data-protection requirements.
|
|
15
|
+
- The optional Environment Appendix policy reads environment-level metadata (organisation settings, languages, currencies, installed solutions and packages, publishers, business-unit names, and inventory counts). Users and teams are reported only as aggregate counts. Power Platform API environment settings are read only when the connection enables that API, and only primitive setting values are retained. The appendix appears only in the consolidated All Selected Solutions document and its exports.
|
|
16
|
+
- Environment-user aggregates qualify enabled accounts by role/non-default-team membership without returning user identifiers, names or email addresses. No Microsoft Entra directory user list is requested. Non-person inventory counting reads only component primary keys and namespace fields for de-duplication and publisher classification; arbitrary business-record contents are not collected.
|
|
17
|
+
|
|
18
|
+
These notes describe intended and repository-visible behaviour; they are not a security certification of Power Platform ToolBox, Dataverse, or exported documents.
|