Comments (19)
Create New Project in selected Folder with the default Evidence template project cloning below. I don't think this can be any simpler. We'll see if we should embed template project instead of cloning it from github in a separate ticket.
from evidence-vscode.
New Evidence Project command display in the Command Palette...
from evidence-vscode.
New Evidence Project command displayed for the selected folder in the built-in vscode File explorer context menu:
from evidence-vscode.
Select new project folder dialog display listing all the folders in an open workspace:
from evidence-vscode.
Evidence extension Output view with the start of Create new project logging to trace this process:
from evidence-vscode.
Empty folder check, info message, and project folder dialog selection re-redisplay when the previously selected folder has files, or subfolders with files:
from evidence-vscode.
Some final notes on this New Evidence Project
feature implementation for testing:
- We don't prompt for the template project github url to clone it for a new Evidence project
- Users can use the initial
Create Project from Template
feature to create new projects from their own Evidence app templates on github - We don't prompt to install dependencies for the Evidence project created in an open Workspace with other files because we don't support the "nested" Evidence projects and files in an open workspace yet. See our new Limitations section in docs for more info on this. We will update that section prior to
v1.1.0
final features release. - For the time being, users will need to open created Evidence project folder in a separate VS Code window session, i.e. new workspace for all the other Evidence extension features and enhancements we implemented in the published
v1.0.0
and will ship inv1.1.0
to work.
from evidence-vscode.
The last part is now scripted too in #59, but users need to click Open Folder
and ok
when folder list is displayed to open newly ceated Evidence project in a new VS Code window. We are using standard VS Code Open Folder command and UI there:
from evidence-vscode.
Updated New Project
Output view logging and display from #58:
from evidence-vscode.
Changed selected folder is not empty notification to an error message in #61. This dialog is displayed when you use New Evidence Project
command from the Command Palette...
:
from evidence-vscode.
Creating New Project in an empty VS Code workspace from start to finish:
from evidence-vscode.
Issue with credentials
Repro
- Open a new workspace
- add a folder that will contain evidence eg
reports
- right click
reports
-> Create new Evidence project
Expected behaviour
No credentials are added in root folder
Actual
Credentials are added at the root folder (not inside reports
folder).
These probably aren't harmful, but are confusing.
I don't think we need to add any credentials in this circumstance
from evidence-vscode.
@archiewood what do you mean by credentials? we don't modify any file or folder credentials anywhere in this vscode extension.
Are you referring to the ./evidence
folder created at the top level of the open workspace folder?
Looks like I need to copy the settings.json
with demo duckdb config to the selected project folder inside an open workspace.
Btw, that was added as a workaround for the missing settings.json in your app template to resolve evidence-dev/evidence#804 in extension code and have a working app template we can use for new project scaffolding.
See: #39
from evidence-vscode.
Are you referring to the ./evidence folder created at the top level of the open workspace folder?
Yes
In this case it is not used, as it should be inside the child directory
from evidence-vscode.
See most recent changes in #60 to address that. I will remove my settings.json copy from clone repo code.
from evidence-vscode.
Tagging #65 to track it for v1.1.0 release
from evidence-vscode.
@archiewood resolved your issue in the commit above. Also, please try creating new project from the built-in template. It's instant:
from evidence-vscode.
Yep works instantly for me as well. 🔥
Any reason we do not use this for the core "Create Evidence Project from template" command?
from evidence-vscode.
Did not get to it 🙂 See #63
Plus I was not sure how well it would work on the Mac and needed you to test it.
We can wrap it up in #63 today.
from evidence-vscode.
Related Issues (20)
- Preview window shows up if you kill server before it has finished launch HOT 5
- Ctrl+R startServer keybinding collision with browser refresh in codespaces HOT 3
- Clean Install Walkthrough Flow HOT 1
- Make component props discoverable HOT 1
- Slash command is fired even when focus is outside of current file HOT 1
- Restore default `README.md` and standard `.md` markdown documents handling in VS Code IDE HOT 1
- New Evidence Project option in right-click menu shows up at the top of the list HOT 2
- Evidence: New Evidence Project - does not appear to fetch latest template HOT 1
- VSCode: Remove 'tab target' in SQL code blocks HOT 2
- Display current version of node if incompatible
- Extension does not activate in evidence project HOT 6
- VS Code re-opens the file-select window on top of the error message when trying to create evidence in non empty folder
- Create Templated Page from Query does not work without a link column HOT 2
- Extension is not activitated HOT 6
- Curating of CLI information
- Terminology of commands exposed to users HOT 1
- Setting to prefer external browser rather than simple browser HOT 1
- Remove Create Evidence Project from Template
- Button placement/icon to start/stop server HOT 1
- Automatic server start causes second loading message to appear
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evidence-vscode.