bb-plane-fork/apps/api/plane/bgtasks
Nikhil 151674687c
[WEB-5059] feat: add page creation functionality to workspace seeding process (#7948)
* feat: add page creation functionality to workspace seeding process

- Implemented `create_pages` function to create pages for each project in the workspace based on data from `pages.json`.
- Integrated page creation into the `workspace_seed` task, ensuring pages are created alongside project issues.
- Added a new `pages.json` seed file containing initial page data and descriptions.

* fix: update page creation logic and seed data

- Set `is_global` to `False` for pages created in the `create_pages` function.
- Adjusted the project type check to be case-insensitive in the page creation logic.
- Added `id`, `project_id`, and `description_stripped` fields to the `pages.json` seed data for improved page initialization.
2025-10-10 18:32:15 +05:30
..
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
analytic_plot_export.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
apps.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
cleanup_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
copy_s3_object.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
deletion_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
dummy_data_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
email_notification_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
event_tracking_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
export_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
exporter_expired_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
file_asset_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
forgot_password_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_activities_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_automation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_description_version_sync.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_description_version_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_version_sync.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
magic_link_code_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
notification_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
page_transaction_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
page_version_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
project_add_user_email_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
project_invitation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
recent_visited_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
storage_metadata_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
user_activation_email_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
user_deactivation_email_task.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
webhook_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
work_item_link_task.py [WEB-4380] chore: work item link sentry error (#7316) 2025-07-08 15:43:42 +05:30
workspace_invitation_task.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
workspace_seed_task.py [WEB-5059] feat: add page creation functionality to workspace seeding process (#7948) 2025-10-10 18:32:15 +05:30