Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: admin settings browser / editor #281

Closed
Tracked by #520
Tahul opened this issue May 3, 2021 — with Volta.net · 6 comments · Fixed by #524
Closed
Tracked by #520

feat: admin settings browser / editor #281

Tahul opened this issue May 3, 2021 — with Volta.net · 6 comments · Fixed by #524

Comments

Copy link
Contributor

Tahul commented May 3, 2021

Our Admin UI should allow to preview and edit themes settings.

Maybe we could start taking in account the theming packaging and distribution and allow to define a "Demo page" each theme?

This should be written as a Draft PR, any PoC are welcome!

Instructions are coming!

@Tahul Tahul added bug Something isn't working and removed bug Something isn't working labels May 3, 2021 — with Volta.net
@antfu
Copy link
Contributor

antfu commented Jun 28, 2021

Since the theme setting it written in ts, would you expected to see we have a text editor directly for docus.config.ts?

@Tahul
Copy link
Contributor Author

Tahul commented Jun 29, 2021

@antfu ; it would be amazing to have an UI for that, but TypeScript AST might be a little tricky.

Have you got suggestions about that? 😄

@Tahul Tahul mentioned this issue Jun 29, 2021
17 tasks
@atinux
Copy link
Contributor

atinux commented Jun 29, 2021

@pi0 can you share https://github.com/unjs/paneer with the Docus team so they can take a look at it?

@pi0
Copy link
Contributor

pi0 commented Jun 29, 2021

@atinux Config edit and underlying library are exclusively developed for nuxt3 and unstable. I think this feature is overlapping and can be hold on until you migrate admin to nuxt devtools.

Copy link
Contributor

atinux commented Jun 29, 2021

The Docus Admin won't be move inside the Nuxt Devtools before a long time and we do need it in order to launch Docus as a product.

On top of that, unjs should be agnostic but I guess the API for editing of the docus.config.ts could be done anyway by the Docus team using https://www.npmjs.com/package/recast

@pi0
Copy link
Contributor

pi0 commented Jun 29, 2021

Paneer would be agnostic once released public :) but currently is a poc to try with nuxt3.

Feel free directly using reast to prototype for docus.

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 a pull request may close this issue.

5 participants