Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

jazzathedev/Old-SA-Suggestions-Site

Repository files navigation

Scratch Addons Suggestion Site

It's in the name. Made by Jazza, and maybe others? I'm not sure. I am also not sure if this will ever be finished, or actually used in a semi-official capacity.

How to contribute?

Clone the repo. If you don't know how to do that, this probably isn't the project for you.

Install dependencies with pnpm, I forget to do this all the time.

Then run pnpm dev to start the dev server, and it will by default be available at http://localhost:5173/

Right now there is no need for enviroment variables, but they will probably be needed eventually, if I remember I'll update this to include instructions on how to set them up.

Try to stick to the design characteristics of SA as much as possible, I'll set up some CSS variables for colors and stuff.

Todo

  • Make a repo
  • Basic design
  • Theme switch - kinda done
  • Displaying suggestions text
  • Displaying suggestions images
  • Submitting suggestions
  • Sorting suggestions
  • Pagination
  • Authentication - Scratch for community, Github for devs
  • "Roles" - dev, admin, etc
  • More

Current supabase config in json, I am not too familar with supabase, but I think this is semi-right; Please note these are not JS types nor supabase types, so they need to be converted accordingly:

{
  "suggestion": {
    "id": "unique-uuid-v4",
    "title": "Descriptive title of the suggestion",
    "description": "Detailed explanation of the suggestion",
    "type": "bug | improvement | new",
    "status": "pending | good | done | in-progress | rejected",
    "notes": "Notes on the status set by a dev - why rejected etc",
    "tags": ["editor | website | other | string"],
    "images": [
      {
        "id": "unique-file-identifier",
        "url": "full-public-url-to-image",
        "alt": "Descriptive alternative text"
      }
    ],
    "votes": "number",
    "author": {
      "id": "user-unique-identifier",
      "username": "display-username"
    },
    "createdAt": "ISO-8601-timestamp"
  }
}

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors