feat(dashboard): add template listing and pull APIs#258
Merged
ApusBerliozi merged 4 commits intoJul 17, 2026
Conversation
Contributor
Author
|
I opened #258 with the proposed backend implementation. It adds the template-listing and template-pull APIs, target-directory and force options, structured errors, reusable CLI logic, and tests. The dashboard UI and file preview remain follow-up work. |
ApusBerliozi
self-requested a review
July 17, 2026 06:10
This was referenced Jul 17, 2026
Contributor
|
Hey @sarkarshrayan2-max! Everything looks fine, please fix 2 comments in the review above and I will merge your PR. Thx 4 your work :) |
Contributor
|
Thx a lot for your fixes @sarkarshrayan2-max! Unfortunately, there is currently a merge conflict, since we had another PR related to dashboard :( Sorry for that. Please fix it, and we will proceed |
ApusBerliozi
approved these changes
Jul 17, 2026
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
Implements the backend portion of #246 for downloading Fenn templates through the dashboard.
Changes
GET /api/templatesto list available public templatesPOST /api/templates/pullto download a selected templateEndpoints
List templates
GET /api/templatesExample response:
{"templates": ["base", "chatbot"], "total": 2}Pull a template
POST /api/templates/pullExample request:
{"template": "base", "path": "/path/to/project", "force": false}Example response:
{"template": "base", "path": "/path/to/project", "downloaded": true}Testing
57 passedScope
This PR implements the backend APIs. Dashboard UI integration and template-file preview can be handled as a follow-up.
Refs #246