incubrain / nuxt-feedback

Building a feedback system that integrates with GitHub
https://nuxt-supabase-auth-sable.vercel.app
0 stars 0 forks source link

feedback widget #1

Open Drew-Macgibbon opened 1 year ago

Drew-Macgibbon commented 1 year ago

Simplicity and accessibility are key for feedback. We want to encourage users to submit feedback!

Supabase has a good widget, we will use this as a start

feedback-form

This is going to be a Nuxt Module So keep the following in mind when developing:

Comment with your thoughts/ideas!

aayu5hgit commented 1 year ago

@Drew-Macgibbon , so me and @JapneetRajput discusses about the workflow of this widget that:

Added a comment on related issue. #2

When it comes to allowing devs to customize the UI, I think the best approach is to use the app.config.ts like what nuxt/ui does, eg:

export default defineAppConfig({
  title: 'Incubrain',
  ui: {
    primary: 'emerald',
    slideover: {
      background: 'background'
    },
  }
})

You will need to review their repo to understand how it's done. They declare the module:

declare module '@nuxt/schema' {
  interface AppConfigInput {
    ui?: {
      primary?: string
      gray?: string
      colors?: string[]
    } & DeepPartial<typeof appConfig.ui>
  }
}

DeepPartial<typeof appConfig.ui> refers to this file

I imagine we can do something similar WHEN we create the nuxt module, for now, this is just FYI.

aayu5hgit commented 1 year ago

@Drew-Macgibbon @JapneetRajput and I started like this:

https://github.com/incubrain/nuxt-feedback/assets/86314754/f36fc0ac-2133-4c90-a775-c4d9c0445e0a

The UI needs to be worked upon, but I shared the above just as to showcase the functionality part. Let me know if there's more/less to add to it.