Develop - #13
Merged
Merged
Develop#13
Conversation
Introduce match modes and state sharing UI for the regex creator. - UI: add a mode-selector (exact, startsWith, endsWith, contains), Base64 export field, copy button and restore input + feedback; update placeholders and tester hints. Styles added in regexcreator.css for selector and share/restore widgets. - Logic: regexcreator.tsx wires mode buttons, share serialization (Base64 UTF‑8), clipboard copy, restore parsing and UI feedback. - Core: src/lib/regex.ts adds MatchMode and mode option, assembles anchored/negated patterns per mode and returns the RegExp accordingly. Improves flexibility for file-extension and substring matching and allows saving/loading editor state.
Adds support for optional markdown notes stored in template JSON (mdnote_base64), decodes them in the viewer modal, and renders them with dedicated styling. This keeps template metadata readable without altering the raw JSON format.
This change adds Markdown note editing to the template creator and persists it as mdnote_base64 on the root folder so unicode text survives JSON export/import. It also wires the creator to the app version from package.json, initializes the root min_version from that value, and adds the corresponding field to the Go folder schema.
This change adds CLI support for viewing cache statistics. It introduces a --count flag for search results and a cache-size command that calculates the Finder cache directory size, printing JSON or human-readable output depending on the output mode. Search and result printing were updated to support count-only output without listing matches.
Regenerate finder-template-generator-ssg backend metadata: updated generatedAt, total file counts/sizes, by-extension percentages and many asset entries (renames, size adjustments, added viewer/regexcreator/markdown assets). Also make a small TypeScript refactor in src/creator/main.tsx: introduce a narrowed noteFolder variable for the note preview closure and tidy querySelector formatting to avoid nullable-reference issues.
Adds Docker Compose configuration and per-service Dockerfiles for the findergen API, template SSG, and upload page. Updates nginx proxying to route /api requests to findergen, and removes the obsolete dub README placeholder.
Introduce a development-only local mailbox and wire it into authentication and the UI. Added npm/hub/lib/local-mailbox (save/get/clear + env gate), a dev API route /api/dev-mailbox, and updated server auth to save verification/reset emails. Exported verification/reset helpers from auth-client. New UI pages: forgot-password, reset-password, verify-email; sign-in now links to forgot-password and sign-up redirects to verify-email. Also fixed docker-compose Dockerfile path and added start/stop snippets to docker/README.md.
Update the template site container to build from the repo root and copy the SSG app from its subdirectory. Also align Next.js generated type imports with the production build layout and enable standalone output for the Hub app.
Adds two new custom Finder templates and updates the template discovery page to render highlighted JSON in the modal. This also includes the highlight.js dependency and a Next.js type-path fix for local dev builds.
Refreshes the hub styling to a more consistent, formatted CSS layout and adds Highlight.js theme support for syntax-highlighted template previews. This also includes the related dependency updates for Highlight.js typings and a small cleanup in the discover client.
Refactor the user profile page into a server page plus a dedicated client component to keep data fetching server-side while preserving the template preview modal behavior. The dashboard also gains navigation links back to Discover and the current user's profile page.
Extract prettyJson into lib/utils and use it across dashboard, discover and user clients to pretty-print template JSON in editors and views. Improve template input validation in npm/hub/lib/templates.ts: stricter type checks, parse-and-normalize JSON content before applying the byte-size limit, normalize/trim/lowercase tags and deduplicate them, and ensure saved content is non-null. Also apply minor formatting/TS fixes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a dedicated JSON highlighter for Finder templates and colorize regex/glob tokens in `name` fields. This keeps the existing dark theme while making pattern matches easier to read in template previews for discover and user pages.
Relocate the finder template generator SSG app from finder-template-generator-ssg to npm/site and update repository ignores for generated build artifacts. This keeps the site assets in the npm package structure and prevents local build outputs like node_modules, dist folders, and tsbuildinfo files from being tracked.
This change replaces the previous Base64 markdown note field with a percent-encoded `mdnote` across the Go model, TypeScript types, and web UI. The template creator and viewer now encode/decode note content consistently, and the hub app renders markdown notes directly. It also adds a new sample template and updates the hub dependency list to include the markdown parsing helper.
This change introduces a reusable TemplateView modal for template details, rendering both the JSON content and the rendered markdown notes in the hub UI. It also adds markdown styling for the preview pane and updates the folder metadata comments to reflect the single-line whitespace-normalized storage format used for mdnote content.
This commit adds a Monaco-based JSON editor to the dashboard template form, prevents empty template content from being saved, and updates template rendering to support optional close controls and markdown notes. It also wires the new editor dependency into the app and lockfiles.
This change adds markdown note support to templates and exposes it in the template viewer/editor, plus several creator and regex builder improvements. It also updates the default Finder server port to 13420, expands installer script support for latest-version resolution, and refreshes the docs/site assets and config schema to match the newer template and UI behavior.
This change bumps the project to finder-lib 0.3.17 and updates template metadata across the built-in template catalog, adding tags and min_version fields for many templates. It also moves the syntax highlighter to the shared finder-lib package, refreshes the creator preview styling, and fixes template parsing/size field compatibility with the new schema. The diff also includes git parser cleanup and compatibility updates in the Go scanner code, plus dependency and generated site data refreshes that match the new library version.
Add "min_version": "0.3.17" across many templates (templates/ and internal/templates/), add tags to several templates (examples: mistral → ai; next/nuxt/remix/redwood/react-native → web; quarkus → java; quart → python; rethinkdb → docker), and perform minor JSON5 formatting cleanups. Update AGENTS.md and npm/site/data/agents.md to document the new mdnote field for templates. These changes document and enable the newer Finder features while improving template metadata for discovery.
Regenerate frontend/site assets and metadata: update cmd/findergen frontend main_entry.js (changelog/docs/markdown additions), bump lightningcss to 1.33 in dependency lists, and refresh generated site stats (npm/site/data/backend.json and gh-pages.json). Also update templates index (npm/site/src/templates.js) to add min_version/tags for many templates. These changes reflect a site build and template metadata refresh.
This change adds a Newest_Changes.md artifact and a generate-changelog.js script to gather recent commit summaries, updates the release workflow to publish and use that file for GitHub releases, and refreshes generated changelog/site assets to match the new output. It also includes a small HTML escape fix in the SSG plugin to avoid minifier issues with raw angle brackets in generated markdown.
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.
📌 Summary
Describe the change in a few sentences
🔍 Related Issue
Closes #
🛠 Proposed Changes
🧪 Testing
📸 Screenshots (if applicable)
✅ Checklist