feat: update build script and add PWA support#27
Open
Subham-chaudhary wants to merge 1 commit into
Open
Conversation
- Modified the build script in package.json to include webpack. - Added next-pwa dependency for Progressive Web App support. - Included new icons for PWA in the public directory: - Created manifest.json and site.webmanifest files for PWA configuration.
This was referenced May 11, 2026
Merged
Dev-020
added a commit
to Dev-020/nodepad_Dev
that referenced
this pull request
May 11, 2026
Three-phase AI pipeline that consolidates sparse nodespace notes into
a structured, contextualized markdown document:
- lib/synthesis.ts
- buildEdgeMap(): Phase 1 — serialises block graph from
influencedBy edges; separates reference nodes as source anchors
- callDecontextualize(): Call A — rewrites each node into a
self-contained statement using only its graph neighbours and
source anchor as context (no external knowledge fill)
- callCluster(): Call B — groups nodes into named sections by
semantic meaning; post-processes to ensure every ID is assigned
to exactly one section, missing nodes go to "General"
- callSynthesize(): Call C — writes section headings, intros,
expounding prompts (Socratic, not recall), and gap markers;
nodeIds merged from clustering step by index
- generateSynthesisDocument(): orchestrates Phases 1–3 with
calls A+B in parallel then call C sequential
- lib/synthesis-export.ts
- renderSynthesisDocument(): Phase 3 renderer — YAML frontmatter,
self-contained statements with source attribution, expounding
prompts and gaps as Obsidian callout blocks
- components/vim-input.tsx
- Add "Synthesis document" action to command palette
- pluginOnly: false (web-app only for now; plugin port later)
- app/page.tsx
- Handle "synthesis-doc" command: captures project snapshot
synchronously then runs async pipeline, downloads result
- synthesisStatus state drives a spinner toast during generation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Dev-020
added a commit
to Dev-020/nodepad_Dev
that referenced
this pull request
May 11, 2026
- renderTimingTable now takes wallClockMs? and uses it for the Total
row label ("Total (wall-clock)"), consistent with the generated_in
frontmatter field. Both renderSynthesisDocument and
renderPolishedDocument pass their wallClockMs through.
- Remove clusters_known from ProgressEvent type and its emission in
callCluster — the event was never consumed by the UI handler since
Call C phase_start events fire immediately after B completes,
making the signal redundant.
- Update BACKLOG mskayyali#27 to reflect web-app implementation is complete;
plugin port remains open as future work.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Dev-020
added a commit
to Dev-020/nodepad_Dev
that referenced
this pull request
May 11, 2026
docs: Synthesis Document Generation — implementation plan (mskayyali#27)
Dev-020
added a commit
to Dev-020/nodepad_Dev
that referenced
this pull request
May 12, 2026
chore(backlog): close #4, mskayyali#27, add mskayyali#30
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.
feature added: PWA support
Motivation
I just wanted to use this as an dedicated app, not just another browser tab.
Thus, I added Progressive WebApp support, the goal is to make the app feel like a dedicated, installable tool, improving accessibility and usability for frequent users.
Testing