Giter Club home page Giter Club logo

snip's People

Contributors

harshhhdev avatar ibra avatar tarikcoskun avatar timagixe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

snip's Issues

[FEATURE] Migrate project over onto Supabase's new JavaScript client

Is your feature request related to a problem? Please describe.
Recently, Supabase released the v2 of their JavaScript client. This solves issues with things such as #7 as I've tested on another branch.

Describe the solution you'd like
Migrate this repository over onto the new RFC version of @supabase/supabase-js.

Additional context
I initially wanted to do this during the hackathon, but due to a time constraint I decided to revert back to the old version using v1.35.6.

[FEATURE] Store snips onto Supabase Storage

Is your feature request related to a problem? Please describe.
Currently, the only option we have to download files is by downloading an encoded file which just contains the text.

Describe the solution you'd like
I would like a code file, with the appropriate extension, to be stored onto Supabase Storage and allow the user to download them from the website.

[BUG] User not detected on first load

Describe the bug
When a user signs in, they aren't shown as authenticated by default. They'll have to reload the page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to snip
  2. Go into the command menu
  3. Click on 'Continue With ...'
  4. See error

Expected behavior
I'd expect the user to be detected by default, and not have to reload the page.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Brave/Chromium
  • Version v1.42.97

Additional context
If the user just signs in and creates a paste, their account is associated with the paste although the website doesn't detect that they're logged into their account. Strange ๐Ÿค”.

Running migration fails on supabase sql editor

Describe the bug
Running initdb.sql sql commands fails on supabase sql editor.

To Reproduce
Steps to reproduce the behavior:

  1. Copy initdb.sql content
  2. Open supabase sql editor
  3. Paste initdb.sql content
  4. Observe error: Failed to validate sql query: syntax error at or near "user"

Expected behavior
No errors

[FEATURE] Migrate onto React 18

Is your feature request related to a problem? Please describe.
Currently, we're unable to use features such as Suspense because Next.js does not support it on React versions that are below 18.

Describe the solution you'd like
I would like to upgrade this repository to use React 18.

Additional context
None.

[FEATURE] Viewing pastes by other users

Is your feature request related to a problem? Please describe.
There is no way to view all the pastes by a specific user.

Describe the solution you'd like
Restructure the user system to allow for this as user IDs are sensitive information that aren't meant to be given to other users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.