Skip to content

Initial V2 Framework Release - #19

Merged
sarus merged 4 commits into
masterfrom
develop
Jun 1, 2026
Merged

Initial V2 Framework Release#19
sarus merged 4 commits into
masterfrom
develop

Conversation

@sarus

@sarus sarus commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Merges the v2 framework migration into master for release.

sarus and others added 4 commits May 13, 2026 21:10
- Convert integration.js to TypeScript (src/integration.ts)
- Replace postman-request with polarity-integration-utils
- Convert Ember/Handlebars component to Lit web component (web-components/details.ts)
- Update config.json (runtimeVersion 2, dataTypes, webComponents)
- Fix credential leakage in error logging (security review)
- Sanitize parseErrorToReadableJSON to strip auth from serialized errors
- Remove v1 files (integration.js, config/config.js, components/, templates/, styles/)
- Version 4.0.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The closing tag </pi-external-link was split across two lines, causing a
literal > to render after each external link in link lists. Restructure
the template so the closing bracket stays on the same line as the tag
name, and add a prettier-ignore comment to prevent reformatting.

Addresses PR review feedback for #18

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Server tests (17):
- startup initialization
- doLookup with valid host detection results
- doLookup returning null for empty/miss results
- Multiple entity handling
- Ignored IP filtering (127.0.0.1, etc.)
- Request options verification
- Error propagation (API errors, non-Error throws)
- QID custom type entity support
- validateOptions for all fields and URL validation

Web component tests (16):
- Renders host detection data correctly
- Handles empty/undefined details gracefully
- Key-value pair rendering
- Title fields with showLabelAndValue
- Date formatting
- Collapsible list items (collapsed by default)
- HTML content in expandable sections
- Copy button presence
- Section breaks
- Single tab vs multi-tab rendering
- Empty tab filtering
- Copyable fields with copy button
- External links via pi-external-link
- List of links rendering

Also adds resolve aliases to vitest.config.ts to fix
polarity-integration-utils ESM resolution.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sarus
sarus merged commit ad99216 into master Jun 1, 2026
1 of 2 checks passed
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.

1 participant