Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support importing drawing along with attachments #7276

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@
"name": "Debug Huly import",
"type": "node",
"request": "launch",
"args": ["src/__start.ts", "import", "/home/anna/xored/huly/platform/dev/import-tool/src/huly/example-workspace", "-u", "user1", "-pw", "1234", "-ws", "ws12"],
"args": ["src/__start.ts", "import", "/home/anna/huly/platform/dev/import-tool/docs/huly/example-workspace", "-u", "user1", "-pw", "1234", "-ws", "ws1"],
"env": {
"FRONT_URL": "http://localhost:8087"
},
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[json]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down
122 changes: 117 additions & 5 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dev/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
STORAGE_CONFIG="minio|minio?accessKey=minioadmin&secretKey=minioadmin"
MONGO_URL=mongodb://mongodb:27017?compressors=snappy
DB_URL_PG=postgresql://postgres:example@postgres:5432
DB_URL_PG=postgresql://postgres:example@postgres:5432
WS_INIT_SCRIPTS=../../init
9 changes: 6 additions & 3 deletions dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ services:
- stats
volumes:
- ./branding.json:/var/cfg/branding.json
- ${WS_INIT_SCRIPTS}:/init-scripts
environment:
# - WS_OPERATION=create
- SERVER_SECRET=secret
Expand All @@ -138,7 +139,7 @@ services:
- ACCOUNTS_URL=http://host.docker.internal:3000
- BRANDING_PATH=/var/cfg/branding.json
# - PARALLEL=2
- INIT_SCRIPT_URL=https://raw.githubusercontent.com/hcengineering/init/main/script.yaml
- INIT_REPO_DIR=/init-scripts
- INIT_WORKSPACE=test
restart: unless-stopped
workspacepg:
Expand All @@ -151,6 +152,7 @@ services:
- stats
volumes:
- ./branding.json:/var/cfg/branding.json
- ${WS_INIT_SCRIPTS}:/init-scripts
environment:
# - WS_OPERATION=create
- SERVER_SECRET=secret
Expand All @@ -164,8 +166,8 @@ services:
- MODEL_ENABLED=*
- ACCOUNTS_URL=http://host.docker.internal:3000
- BRANDING_PATH=/var/cfg/branding.json
- INIT_REPO_DIR=/init-scripts
# - PARALLEL=2
- INIT_SCRIPT_URL=https://raw.githubusercontent.com/hcengineering/init/main/script.yaml
# - INIT_WORKSPACE=onboarding
restart: unless-stopped
workspace_cockroach:
Expand All @@ -178,6 +180,7 @@ services:
- stats
volumes:
- ./branding.json:/var/cfg/branding.json
- ${WS_INIT_SCRIPTS}:/init-scripts
environment:
# - WS_OPERATION=create
- SERVER_SECRET=secret
Expand All @@ -190,8 +193,8 @@ services:
- MODEL_ENABLED=*
- ACCOUNTS_URL=http://host.docker.internal:3000
- BRANDING_PATH=/var/cfg/branding.json
- INIT_REPO_DIR=/init-scripts
# - PARALLEL=2
- INIT_SCRIPT_URL=https://raw.githubusercontent.com/hcengineering/init/main/script.yaml
# - INIT_WORKSPACE=onboarding
restart: unless-stopped
collaborator:
Expand Down
8 changes: 4 additions & 4 deletions dev/import-tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Tool for importing data into Huly workspace.
## Recommended Import Method

### Unified Format Import
The recommended way to import data into Huly is using our [Unified Import Format](./src/huly/README.md). This format provides a straightforward way to migrate data from any system by converting it into an intermediate, human-readable structure.
The recommended way to import data into Huly is using our [Unified Import Format](./docs/huly/README.md). This format provides a straightforward way to migrate data from any system by converting it into an intermediate, human-readable structure.

See the [complete guide](./src/huly/README.md) and [example workspace](./src/huly/example-workspace) to get started.
See the [complete guide](./docs/huly/README.md) and [example workspace](./docs/huly/example-workspace) to get started.

### Why Use Unified Format?
- Simple, human-readable format using YAML and Markdown
Expand All @@ -19,7 +19,7 @@ See the [complete guide](./src/huly/README.md) and [example workspace](./src/hul

We also support direct import from some platforms:

1. **Notion**: see [Import from Notion Guide](./src/notion/README.md)
2. **ClickUp**: see [Import from ClickUp Guide](./src/clickup/README.md)
1. **Notion**: see [Import from Notion Guide](./docs/notion/README.md)
2. **ClickUp**: see [Import from ClickUp Guide](./docs/clickup/README.md)

These direct imports are suitable for simple migrations, but for complex cases or systems not listed above, please use the Unified Format.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class: document:class:Teamspace
title: Documentation
emoji: 📖
private: false
autoJoin: true
owners:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class: tracker:class:Project
title: Project Alpha
identifier: ALPHA
emoji: 🦄
private: false
autoJoin: true
owners:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ comments:
- author: [email protected]
text: |
Perfect, don't forget to update [documentation](../Documentation/User%20Guide/Installation.md) when you're done.
attachments:
- ./files/screenshot.png
---
**Initial project infrastructure setup.**

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading