Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

High-level questions, to help user take decisions #26

Closed
brillout opened this issue Jun 25, 2023 · 4 comments
Closed

High-level questions, to help user take decisions #26

brillout opened this issue Jun 25, 2023 · 4 comments
Labels
✨ enhancement New feature or request

Comments

@brillout
Copy link
Member

Is your website internal?

Yes => auto-select SPA. (FYI :ssr config.)

Does the content of your website change only occasionally?

Yes => auto-select Pre-rendering and GitHub Pages / Netlify.

Do you need a database?

Auto-select accordingly.

A neat thing is that it would enable us to show warnings if the user's selection doesn't make sense and/or isn't recommended.

@brillout brillout added the ✨ enhancement New feature or request label Jun 25, 2023
@magne4000
Copy link
Member

It could be a good alternative entry point for people which are not sure of what technology they want/need.
We probably should define a global flow to choose which Bati UI to show on which conditions.

@brillout
Copy link
Member Author

I can't think of some kind of flow right now but maybe there will be some, e.g. if "No database" then some questions will become irrelevant. We'll see I guess 👀.

Maybe there are some questions we want to always show the user? For expert users it could be pesty, but I'm thinking a solution could be to make answering questions optional, so that expert users can go right ahead and select the tools they want.

As for the UI, maybe we can show the questions on a compact left sidebar? (If we don't need some kind of flow in the foreseeable future.)

Questions helping you choose:

  • Do you like JSX? [i]
  • Is your website internal? [i]
  • Does content change only occasionally? [i]
  • Do you need to persist data? [i]

With compact yes/no toggles like on mobile UIs.

On a tangent, it could be neat to show a confirmation:

No issues detected.

⚠️ 2 warnings:

  1. You selected I like JSX and Vue. While Vue does support JSX, it's a second class citizen and we recommend using Solid or React instead.
  2. You selected Content changes only occasionally and Vercel. For websites with content that changes only occasionally (e.g. a few times a day), we recommend using a static host such as GitHub Pages or Netlify.

@magne4000
Copy link
Member

Maybe there are some questions we want to always show the user? For expert users it could be pesty, but I'm thinking a solution could be to make answering questions optional, so that expert users can go right ahead and select the tools they want.

A wizard UI would be for Junior devs and new Bati users, and the current UI for users that have already used it before I think. So I think that both UI will need to exist at any moment.

As for the UI, maybe we can show the questions on a compact left sidebar? (If we don't need some kind of flow in the foreseeable future.)

That's something I would need to test

On a tangent, it could be neat to show a confirmation

That's a good addition, could be added rather sooner than later if it's simple enough 👍

@redbar0n
Copy link

Not the be-all-end-all, but maybe some inspiration:

image

@vikejs vikejs locked and limited conversation to collaborators Sep 28, 2023
@magne4000 magne4000 converted this issue into discussion #86 Sep 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants