mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 20:13:35 +09:00
## Description https://github.com/webstudio-is/webstudio/assets/5077042/ea38835c-ec5c-4333-a982-f5bb9580d9e0 URLs can be dropped on Image Manager + small fixes. - Files without extensions broke FileName control - svg files were not shown on local builder after upload ## Steps for reproduction Open Image Manager, drag urls ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node-postgres
|
|
{
|
|
"name": "Node.js & PostgreSQL",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/webstudio",
|
|
"features": {
|
|
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {
|
|
"version": "15"
|
|
},
|
|
"ghcr.io/devcontainers-contrib/features/fzf:1": {}
|
|
},
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
// "features": {},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// This can be used to network with other containers or with the host.
|
|
// "forwardPorts": [3000, 5432],
|
|
"forwardPorts": [5173, "db:5432"],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
|
|
"postCreateCommand": ".devcontainer/postinstall.sh",
|
|
// "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"esbenp.prettier-vscode",
|
|
"redhat.vscode-yaml",
|
|
"me-dutour-mathieu.vscode-github-actions",
|
|
"eamodio.gitlens",
|
|
"bradymholt.pgformatter",
|
|
"YoavBls.pretty-ts-errors"
|
|
]
|
|
}
|
|
}
|
|
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|