Skip to content

docs(tutorials): example apps (DashMint lite, DashProof lite, Dashnote)#147

Merged
thephez merged 9 commits into
dashpay:3.1.0from
thephez:feat/platform-sdk-test
May 12, 2026
Merged

docs(tutorials): example apps (DashMint lite, DashProof lite, Dashnote)#147
thephez merged 9 commits into
dashpay:3.1.0from
thephez:feat/platform-sdk-test

Conversation

@thephez
Copy link
Copy Markdown
Collaborator

@thephez thephez commented May 7, 2026

Summary

Adds three example apps to the v3.1 tutorial set and surfaces them from places readers actually land.

Embedded read-only apps (commits abf1533, 147cd4b)

  • New DashMint Lite and DashProof Lite tutorial pages embedding standalone HTML demos from _static/.
  • Hides the primary sidebar on dashmint-lite and dashproof-lite in conf.py.
  • Adds frontmatter to hide the secondary sidebar and CSS to widen the content area to ~1100px on those pages.

Dashnote walkthrough (commits cc2eb38, 26b97fd)

  • New Dashnote walkthrough (mutable-note CRUD on Platform; fetch → bump revision → replace).
  • New embedded Dashnote Lite page with mirrored HTML in _static/.

Discoverability (commits b372abe, f2dfaf7)

Preview build: https://dash-docs-platform--147.org.readthedocs.build/en/147/

Summary by CodeRabbit

  • New Features

    • Added DashMint Lite, DashProof Lite, and Dashnote Lite read-only web demos (testnet) with searchable/viewable cards, notes, and proof-of-existence tooling.
  • Documentation

    • Added tutorial pages, navigation entries, and embedded demos; adjusted layouts for wide embedded content and removed secondary sidebars where needed.
    • Added a full Dashnote tutorial covering mutable-note workflows.
  • Chores

    • Added tooling/config to support whole-file tutorial embeds and sync mappings.

Review Change Stack

thephez and others added 5 commits April 30, 2026 09:28
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Extends tutorial-sync with a `kind: copy` mapping type to mirror
whole-file embed apps (DashMint Lite, DashProof Lite) from
platform-tutorials into _static/. Pulls in the latest DashMint Lab
contractStorage extraction, pins both lite apps to evo-sdk@3.1.0-dev.1,
and tightens their intro paragraphs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

📝 Walkthrough

Walkthrough

Adds three read-only demo apps (DashMint Lite, DashProof Lite, DashNote Lite) as static HTML pages, embeds them in tutorial pages, updates docs navigation and Sphinx sidebar config, updates DashMint Lab docs for a storage-helper refactor, and extends the tutorial sync script to support whole-file copy mappings.

Changes

Example App Demos and Documentation Integration

Layer / File(s) Summary
Static HTML Demo Applications
_static/dashmint-lite.html, _static/dashproof-lite.html, _static/dashnote-lite.html
Three single-file demos: DashMint Lite queries NFT card documents and renders a filterable grid; DashProof Lite computes SHA‑256 for local files and queries anchors + chainId history; DashNote Lite lists recent notes and fetches a note by ID.
Documentation Navigation and Configuration
docs/tutorials/example-apps.md, conf.py, docs/index.md
Populates the example-apps toctree, adds an "Example apps" homepage card, and extends html_sidebars to include empty sidebar lists for the new tutorial paths.
Tutorial Pages with Embedded Apps & Content
docs/tutorials/example-apps/dashmint-lite.md, docs/tutorials/example-apps/dashproof-lite.md, docs/tutorials/example-apps/dashnote-lite.md, docs/tutorials/example-apps/dashmint-lab.md, docs/tutorials/example-apps/dashnote.md, docs/tutorials/introduction.md
New/updated tutorial pages hide the secondary sidebar, inject CSS to widen the article container, add descriptive text, embed the static demos via iframes, and update DashMint Lab docs to reflect moving storage helpers to contractStorage. Dashnote adds a full tutorial with read/write samples.
Tutorial Sync Tooling for File Copying
scripts/tutorial-sync/sync_tutorial_code.py, scripts/tutorial-sync/tutorial-code-map.yml
Adds process_copy_mapping() to support kind: copy mappings that mirror whole files into _static/ with diff/check/sync modes; tutorial-code-map.yml documents kind semantics and adds copy mappings for the embed HTML files and Dashnote source mappings.
Documentation Tip Callouts
docs/tutorials/contracts-and-documents/*.md
Inserted {tip} admonitions across contract/document tutorials linking to example apps demonstrating delete, register, retrieve, submit, and update flows.

Sequence Diagram(s)

sequenceDiagram
  participant Browser as Browser (embedded iframe)
  participant EvoSDK as EvoSDK (client)
  participant Testnet as Dash Testnet
  Browser->>EvoSDK: EvoSDK.testnetTrusted() / sdk.documents.query / sdk.documents.get
  EvoSDK->>Testnet: forward queries
  Testnet->>EvoSDK: return document/anchor results
  EvoSDK->>Browser: deliver results (array/Map/object)
  Browser->>Browser: normalize results -> render UI (cards/anchors/notes)
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through docs and stitched an iframe seam,

Cards, proofs, and notes now sparkle in the theme,
I copy files, embed the demo light,
Testnet hums softly into the night,
A rabbit claps — the tutorials gleam!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the main change: addition of example apps (DashMint Lite, DashProof Lite, and Dashnote) to the tutorials documentation.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
docs/tutorials/example-apps/dashproof-lite.md (1)

24-26: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Unclosed {raw} directive fence may cause build warnings or missed iframe rendering.

The {raw} block opened on line 24 is never closed — the file ends at line 26 without a matching ```. The style block earlier (lines 5–11) is correctly closed. MyST parsers vary in how they handle an unclosed fence at EOF: some silently treat the rest of the file as directive content (iframe renders), others emit a warning or drop the block entirely.

🛠️ Proposed fix
 ```{raw} html
 <iframe src="../../../_static/dashproof-lite.html" width="100%" height="600"></iframe>
+```
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/tutorials/example-apps/dashproof-lite.md` around lines 24 - 26, The
markdown ends with an unclosed `{raw}` directive containing the iframe, which
can cause build warnings or dropped content; close the raw fence by adding the
missing closing fence ``` after the <iframe> block so the `{raw} html` directive
is properly terminated (identify the `{raw}` directive opening and the iframe
line containing src="../../../_static/dashproof-lite.html" and add the closing
triple-backtick immediately after it).
docs/tutorials/example-apps/dashmint-lite.md (1)

24-26: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Same unclosed {raw} directive fence as dashproof-lite.md.

The {raw} block opened on line 24 has no closing ``` before EOF, while the earlier style block (lines 5–11) is correctly closed.

🛠️ Proposed fix
 ```{raw} html
 <iframe src="../../../_static/dashmint-lite.html" width="100%" height="600"></iframe>
+```
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/tutorials/example-apps/dashmint-lite.md` around lines 24 - 26, The
`{raw}` directive block that opens with "{raw} html" around the iframe is
missing its closing backtick fence; to fix, add a closing triple-backtick (```)
after the iframe line to terminate the `{raw}` block so the directive is
balanced and the HTML iframe is properly contained (look for the "{raw} html"
opening and the "<iframe src=\"../../../_static/dashmint-lite.html\"" line and
insert the closing ``` immediately after that iframe line).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@docs/tutorials/example-apps/dashmint-lite.md`:
- Around line 24-26: The `{raw}` directive block that opens with "{raw} html"
around the iframe is missing its closing backtick fence; to fix, add a closing
triple-backtick (```) after the iframe line to terminate the `{raw}` block so
the directive is balanced and the HTML iframe is properly contained (look for
the "{raw} html" opening and the "<iframe
src=\"../../../_static/dashmint-lite.html\"" line and insert the closing ```
immediately after that iframe line).

In `@docs/tutorials/example-apps/dashproof-lite.md`:
- Around line 24-26: The markdown ends with an unclosed `{raw}` directive
containing the iframe, which can cause build warnings or dropped content; close
the raw fence by adding the missing closing fence ``` after the <iframe> block
so the `{raw} html` directive is properly terminated (identify the `{raw}`
directive opening and the iframe line containing
src="../../../_static/dashproof-lite.html" and add the closing triple-backtick
immediately after it).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6939af99-601e-4342-bfc0-0f0d5ca67291

📥 Commits

Reviewing files that changed from the base of the PR and between 7e57ddd and 4b2ba33.

📒 Files selected for processing (9)
  • _static/dashmint-lite.html
  • _static/dashproof-lite.html
  • conf.py
  • docs/tutorials/example-apps.md
  • docs/tutorials/example-apps/dashmint-lab.md
  • docs/tutorials/example-apps/dashmint-lite.md
  • docs/tutorials/example-apps/dashproof-lite.md
  • scripts/tutorial-sync/sync_tutorial_code.py
  • scripts/tutorial-sync/tutorial-code-map.yml

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/index.md (1)

81-89: ⚡ Quick win

Consider updating the description to reflect the Lite apps added in this PR.

The card description mentions "DashMint Lab, Dashnote" but doesn't mention the Lite versions (DashMint Lite, DashProof Lite, DashNote Lite) which are the primary focus of this PR according to the objectives. Consider either listing all app types or using a more general description like "SDK example applications and interactive demos" to better represent the full range of available apps.

📝 Suggested alternatives

Option 1 (more specific):

-        End-to-end SDK walkthroughs (DashMint Lab, Dashnote)
+        SDK example applications and interactive browser demos

Option 2 (list all types):

-        End-to-end SDK walkthroughs (DashMint Lab, Dashnote)
+        SDK walkthroughs and demos (DashMint, DashProof, Dashnote)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/index.md` around lines 81 - 89, Update the grid-item-card description
text in docs/index.md (the ".. grid-item-card:: 🧩 Example apps" block that
links to tutorials-example-apps) to mention the new Lite apps or use a more
general phrase; specifically replace the "End-to-end SDK walkthroughs (DashMint
Lab, Dashnote)" line with either a list that includes "DashMint Lite, DashProof
Lite, DashNote Lite" alongside the existing names or a general description like
"SDK example applications and interactive demos" so the card accurately
represents the PR's added Lite apps.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/tutorials/example-apps/dashnote.md`:
- Line 2: The reStructuredText label ".. tutorials-example-apps-dashnote:" is
missing the required underscore prefix for a reference target; change it to
include the underscore (i.e., update the label string used in the docs to
"_tutorials-example-apps-dashnote" so the directive becomes "..
_tutorials-example-apps-dashnote:") to ensure cross-references to this section
resolve correctly.

---

Nitpick comments:
In `@docs/index.md`:
- Around line 81-89: Update the grid-item-card description text in docs/index.md
(the ".. grid-item-card:: 🧩 Example apps" block that links to
tutorials-example-apps) to mention the new Lite apps or use a more general
phrase; specifically replace the "End-to-end SDK walkthroughs (DashMint Lab,
Dashnote)" line with either a list that includes "DashMint Lite, DashProof Lite,
DashNote Lite" alongside the existing names or a general description like "SDK
example applications and interactive demos" so the card accurately represents
the PR's added Lite apps.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7227bced-266f-4db1-9b44-f210761abb09

📥 Commits

Reviewing files that changed from the base of the PR and between 26b97fd and b372abe.

📒 Files selected for processing (9)
  • docs/index.md
  • docs/tutorials/contracts-and-documents/delete-documents.md
  • docs/tutorials/contracts-and-documents/register-a-data-contract.md
  • docs/tutorials/contracts-and-documents/retrieve-documents.md
  • docs/tutorials/contracts-and-documents/submit-documents.md
  • docs/tutorials/contracts-and-documents/update-documents.md
  • docs/tutorials/example-apps.md
  • docs/tutorials/example-apps/dashnote.md
  • docs/tutorials/introduction.md
✅ Files skipped from review due to trivial changes (6)
  • docs/tutorials/contracts-and-documents/submit-documents.md
  • docs/tutorials/introduction.md
  • docs/tutorials/contracts-and-documents/update-documents.md
  • docs/tutorials/contracts-and-documents/delete-documents.md
  • docs/tutorials/contracts-and-documents/retrieve-documents.md
  • docs/tutorials/contracts-and-documents/register-a-data-contract.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/tutorials/example-apps.md

Comment thread docs/tutorials/example-apps/dashnote.md Outdated
@thephez thephez changed the title docs(tutorials): add DashMint Lite and DashProof Lite embed apps docs(tutorials): example apps (DashMint lite, DashProof lite, Dashnote) May 12, 2026
@thephez thephez merged commit ab61cb9 into dashpay:3.1.0 May 12, 2026
2 checks passed
@thephez thephez deleted the feat/platform-sdk-test branch May 12, 2026 14:52
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