Code Monkey home page Code Monkey logo

vscode-extension's People

Contributors

atilafassina avatar fabien0102 avatar ftonato avatar gimenete avatar snide avatar tejasq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ftonato

vscode-extension's Issues

Support for mono-repository project

Description of the problem

I have a mono-repo with more than one .xatarc, the vscode extension only use the root level .xatarc

Proposed solution

We could read the mono-repository manifest to load the different .xatarc available and behave as vscode multiple workspace mode

Extension doesn't show columns created via Xata UI

Table was created via Xata UI (on the website).
Column "test" via VSCode extension.
As you can see, columns created by the first method doesn't show in extension.
Maybe I don't know something or it is really problem.

Знімок екрана 2023-12-10 о 20 05 36 Знімок екрана 2023-12-10 о 20 05 46

Not sure about the benefit of listing columns

Why do we list columns here:

image

Instead of just showing them in the right pane in the table view? I think it could be valuable–if we show columns in the sidebar–to toggle them to make the right pane table view more concise. That could be pretty cool.

Thoughts?

"Add column" looks like "insert row"

I click this and I want to insert a row:

image

But instead I add a column. Can we switch and make inserting with this plus icon and add a column with right click context menu? Adding a column is done much less often than inserting rows.

make readme nice

Add:

  • Get Started
  • Global mode vs Focus mode
  • Complete list of features
  • Add support to README
  • Contributing

Setup the CI

Tasks

  • Run the tests
  • Deploy to VSCode stores on new version

Improve "Insert record" DX

Context

So far we can just adding one record per one record and we have a very basic auto-completion on link

Solutions

  • Add a data key that take an array of records
  • Use bulk endpoint
  • Improve generated JSON schema to autocomplete the link ids

Use vscode.uri for the auth flow

Following of #17

Let's redirect to vscode directly instead of spawing a web server.

This will improve a bit the UX, since the user will be focus on the vscode instance directly after defining an API key.

Challenges

  • uri flow on vscode
  • uri flow on vscode.dev (need to deal with crypto in a webworker env)

Save to insert record

Instead of F1 -> Insert Records, what if we had the following flow when inserting a record:

  • Save inserts a new record, then
  • if we change the JSONC document and save again, it updates it

Can we do that?

Login with existing API key

When clicking the Login button on the Xata: Explorer I am always directed to the page "New API key for Xata VSCode extension". Once I log out I have no option in the UI to log back in with an existing key. It would be great to provide an option "Login with existing API key".

Also, for this purpose, when creating an API key for the extension it would be great to expose it to the user so they can keep it to log back in. This way the user won't need to sign in to their Xata app account on a browser session every time they would like to login to the Xata VS Code extension.

Error setting up database url

After the last update for multi-region support the extension is creating and incomplete and invalid URL for the database.

Once clicked on the Get Started to link to a database on the Project panel, the following dialog pops-up:

Screenshot 2022-11-11 at 13 11 46

And the generated .xatarc has the following value:

{
  "databaseURL": "/db/my-db-name"
}

instead of the following pattern:

https://{{workspace name}}.{{ region }}.xata.sh/db/{{ db name }}

Once properly generated and added, the Extension also throws an error saying the URL is invalid.

Add "Copy login url" option

The Login button opens the system's default browser.

image

As an end user, I may prefer to log in to app.xata.io using a browser or session that isn't my default browser.

In order to do that, I would have to go to the default browser session that was started by the vscode extension, and copy the create API key URL from there, then paste it to the browser session of my preference. A "Copy login url" option, or simply making the existing Login button right-clickable to allow copying its url content, would help address this.

Add a logo

We need a nice logo (and tweak the description, categories…) for the vscode marketplace.

Support object type

Problem

Right now, adding coucou.test in the schema is show like this:

image

Also, we don't have any way to add this coucou.test right now inside the VS Code extension.

Proposed solution

  • Add "object" type
  • Add a special flow to create object properties
  • Add a hierachy level in the view tree for object

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.