[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.
This commit is contained in:
parent
8cd29c5009
commit
151674687c
2 changed files with 57 additions and 0 deletions
11
apps/api/plane/seeds/data/pages.json
Normal file
11
apps/api/plane/seeds/data/pages.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue