supabase-community / supabase-vscode-extension

Supabase Extension for VS Code and GitHub Copilot.
https://marketplace.visualstudio.com/items?itemName=Supabase.vscode-supabase-extension
MIT License
46 stars 4 forks source link

Extension loads, but doesn't do much else #22

Open lestan opened 1 month ago

lestan commented 1 month ago

Bug report

Extension loads, but no other functionality works

Describe the bug

The extension installs without issue. I get a warning that I don't have GitHub CoPilot which I'm assuming is not an issue. The Supabase panel loads fine, clicking Connect has no error, but the Database view doesn't show any of the database. It's like it wasn't able to connect, though I don't see an error.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Install extension
  2. Launch extension by clicking on Supabase icon in left gutter
  3. Click 'connect' button to connect to the database
  4. See the Database view with sub-menu for Tables, Views, etc.
  5. None of the sub-menu items have any functionality. I.e. Clicking Tables doesn't do anything.

Expected behavior

I expected to see the sub-menu items under Database populated so when I click Tables, I should see the tables

Screenshots

Screenshot 2024-08-16 at 9 39 00 PM

System information

Additional context

Add any other context about the problem here.

Am I missing any steps? I don't see any settings for this extension so not sure if I missed something. Also, not sure how to find the logs to diagnose it. Appreciate any guidance.

ricardomatias commented 2 days ago

It's impressive that they managed to release this without adding a field where you can write the address of your local supabase AND used 127.0.0.1:80 as the default?! How's this supposed to work when the defaults are that the local supabase api is exposed on port 54321?

thorwebdev commented 1 day ago

Sorry for the delay, this is is very much an MVP for now we've shipped for Launch Week 12 and we're currently exploring where to go from here, so your feedback and feature requests are very much appreciated 🙏

You can see the default ports that are being used here: https://github.com/supabase-community/supabase-vscode-extension/blob/main/src/features/database/classes/supabase-api.ts#L8-L11

These are the default ports that the supabase CLI uses when you run supabase start. I believe not having GitHub Copilot might be the issue here. I'll investigate how we can unbundle it.