Skip to content

Initial file structure setup. - #1

Merged
davidlehn merged 31 commits into
mainfrom
initial-setup
Aug 7, 2026
Merged

Initial file structure setup.#1
davidlehn merged 31 commits into
mainfrom
initial-setup

Conversation

@bparth24

@bparth24 bparth24 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@bparth24
bparth24 requested review from BigBlueHat and dlongley August 4, 2026 13:29

@BigBlueHat BigBlueHat left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Still reviewing, but the const stuff seems necessary.

Comment thread lib/documents.js Outdated
@bparth24
bparth24 requested a review from mandyvenables August 4, 2026 17:42
@bparth24
bparth24 requested a review from BigBlueHat August 4, 2026 20:21
Comment thread package.json
@@ -0,0 +1,45 @@
{
"name": "@digitalbazaar/vc-html-render-method",
"version": "0.1.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This might need to be set to something else prior to initial release for our tooling, I can't remember, so just making a note.

Comment thread lib/htmlRenderer.js
Comment on lines +254 to +258
} catch(e) {
// surface listener errors globally without breaking the emit loop
setTimeout(() => {
throw e;
});

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should consider changing this uncatchable error pattern. I'll turn this into an issue.

@davidlehn
davidlehn merged commit e62b753 into main Aug 7, 2026
2 checks passed
@davidlehn
davidlehn deleted the initial-setup branch August 7, 2026 20:10

@BigBlueHat BigBlueHat left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I didn't get this review in in time, apparently. I'll make an issue...

Comment thread lib/documents.js
return `<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-security-policy" content="${TEMPLATE_CSP}">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
<meta http-equiv="content-security-policy" content="${TEMPLATE_CSP}">
<meta http-equiv="content-security-policy" content="${TEMPLATE_CSP}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

We need the "wrapper code" to set the viewport for responsive display, so breakpoints can be used in CSS, etc.

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.

4 participants