Skip to content

feat(dashboard): add drill-down dashboard with section and pdf preview - #127

Merged
vishwajeet-13 merged 3 commits into
bwhtech:mainfrom
vishwajeet-13:feat/drill-down-dashboard
Oct 10, 2026
Merged

vishwajeet-13 merged 3 commits into
bwhtech:mainfrom
vishwajeet-13:feat/drill-down-dashboard

Conversation

@vishwajeet-13

@vishwajeet-13 vishwajeet-13 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a Dashboard page (/wikify/dashboard, first in the sidebar) for drilling from a project down to a section without leaving the page.

  • Site-wide totals on top: projects, documents, categories, sections
  • Projects list on the left (with search); the right panel drills category → subcategory → sections, with breadcrumbs to step back
  • Subcategory = the top-level heading of a section's path
  • A section opens in a dialog with its content and subsections; the page badge slides in the original PDF at that page
  • New wikify.api.dashboard.summary / section_detail, scoped to readable projects

Demo

dashboard-demo-1.5x.mp4

Screenshots

All projects Project → categories
overview categories
Category → subcategories Subcategory → sections
subcategories sections
Section dialog Original PDF at the section's page
dialog pdf

Projects list on the left, category -> subcategory -> section cards on the
right, site-wide totals on top. Sections open in a dialog with subsection
navigation; the page badge slides in the original PDF at that page.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

… fix counts

Subcategories and dialog breadcrumbs come from the section tree instead of splitting
hierarchy_path. The PDF panel stops at the document's last page. Documents without
sections (failed imports) are no longer counted, the All projects row shows the
document total, and untagged sections show an Untagged category in the dialog.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@vishwajeet-13

Copy link
Copy Markdown
Collaborator Author

Fixed in 749d239, from testing the dashboard against edge-case PDFs.

Before After
All projects row shows documents, not projects; failed imports no longer counted before after
Headings containing > stay whole before after
Breadcrumb from the section tree; PDF stops at the last page before after
Untagged sections show their category before after

The PDF panel shows "Can't embed" only because the screenshots are from headless Chromium.

@vishwajeet-13
vishwajeet-13 merged commit 0dda1e3 into bwhtech:main Oct 10, 2026
7 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