Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add new seed data for "demo-project"

Wieland Lindenthal7c87bfeab76f
diff --git a/app/seeders/demo_data/work_package_board_seeder.rb b/app/seeders/demo_data/work_package_board_seeder.rb
index ca6365a94f2..a5018cd203a 100644
--- a/app/seeders/demo_data/work_package_board_seeder.rb
+++ b/app/seeders/demo_data/work_package_board_seeder.rb
@@ -176,13 +176,11 @@ module DemoData
def basic_query_work_packages
[
- [WorkPackage.find_by(subject: 'Create a new project').id,
- WorkPackage.find_by(subject: 'Edit a work package').id,
- WorkPackage.find_by(subject: 'Create work packages').id,
- WorkPackage.find_by(subject: 'Activate further modules').id],
- [WorkPackage.find_by(subject: 'Create a project plan').id],
- [WorkPackage.find_by(subject: 'Invite new team members').id],
- [WorkPackage.find_by(subject: 'Customize project overview page').id]
+ [WorkPackage.find_by(subject: 'Set date and location of conference').id,
+ WorkPackage.find_by(subject: 'Party for conference supporters :-)').id],
+ [WorkPackage.find_by(subject: 'Setup conference website').id],
+ [WorkPackage.find_by(subject: 'Invite attendees to conference').id],
+ [WorkPackage.find_by(subject: 'End of project').id]
]
end
end
diff --git a/app/seeders/standard_seeder/basic_data/type_seeder.rb b/app/seeders/standard_seeder/basic_data/type_seeder.rb
index 9624e1f75a6..bf8f8be3a23 100644
--- a/app/seeders/standard_seeder/basic_data/type_seeder.rb
+++ b/app/seeders/standard_seeder/basic_data/type_seeder.rb
@@ -36,13 +36,13 @@ module StandardSeeder
def type_table
{ # position is_default color_id is_in_roadmap is_milestone
- task: [1, true, I18n.t(:default_color_blue), true, false, :default_type_task],
- milestone: [2, true, I18n.t(:default_color_green_light), false, true, :default_type_milestone],
- phase: [3, true, I18n.t(:default_color_blue_light), false, false, :default_type_phase],
- feature: [4, true, 'indigo-5', true, false, :default_type_feature],
- epic: [5, true, 'violet-5', true, false, :default_type_epic],
- user_story: [6, true, 'orange-5', true, false, :default_type_user_story],
- bug: [7, true, 'red-7', true, false, :default_type_bug]
+ task: [1, true, I18n.t(:default_color_blue), true, false, :default_type_task],
+ milestone: [2, true, I18n.t(:default_color_green_light), false, true, :default_type_milestone],
+ phase: [3, true, 'orange-5', false, false, :default_type_phase],
+ feature: [4, false, 'indigo-5', true, false, :default_type_feature],
+ epic: [5, false, 'violet-5', true, false, :default_type_epic],
+ user_story: [6, false, I18n.t(:default_color_blue_light), true, false, :default_type_user_story],
+ bug: [7, false, 'red-7', true, false, :default_type_bug]
}
end
end
diff --git a/config/locales/en.seeders.standard.yml b/config/locales/en.seeders.standard.yml
index 7ba3551227c..f4989a0015e 100644
--- a/config/locales/en.seeders.standard.yml
+++ b/config/locales/en.seeders.standard.yml
@@ -67,8 +67,6 @@ en:
- :default_type_task
- :default_type_milestone
- :default_type_phase
- - :default_type_feature
- - :default_type_bug
categories:
- Category 1 (to be changed in Project settings)
queries:
@@ -107,283 +105,96 @@ en:
basic:
name: 'Task board'
work_packages:
- - subject: Project kick-off
- description: Plan and execute the project kick-off.
- status: :default_status_scheduled
- type: :default_type_milestone
- priority: :default_priority_high
- estimated_hours: 8
- start: 4
- duration: 0
- done_ratio: 50
- - subject: Project planning
- description: |
- Please execute the related tasks:
-
- * ##child:1
- * ##child:2
- * ##child:3
- * ##child:4
- * ##child:5
- * ##child:6
- * ##child:7
- status: :default_status_scheduled
- type: :default_type_phase
- priority: :default_priority_high
- estimated_hours: 8
- start: 0
- duration: 3
- children:
- - subject: Create a new project
- description: |
- Please [create a new project](%{base_url}/projects/new) from the project drop down menu in the left hand header navigation.
-
- **You can:**
- * give your project a name,
- * add a project description,
- * create a project structure,
- * set a project to public.
-
- **Visuals:**
- ![new project](##attachment:"new_project.jpg")
+ - :start: 4
+ :subject: Start of project
+ :description:
+ :status: default_status_new
+ :type: default_type_milestone
+ :duration: 0
+ :schedule_manually: false
+ - :start: 5
+ :subject: Organize open source conference
+ :description:
+ :status: default_status_in_progress
+ :type: default_type_phase
+ :children:
+ - :start: 5
+ :subject: Set date and location of conference
+ :description: ''
+ :status: default_status_in_progress
+ :type: default_type_task
+ :duration: 16
+ :schedule_manually: false
+ - :start: 22
+ :subject: Setup conference website
+ :description: ''
+ :status: default_status_new
+ :type: default_type_task
+ :duration: 35
+ :relations:
+ - :to: Set date and location of conference
+ :type: follows
+ :schedule_manually: false
+ - :start: 22
+ :subject: Invite attendees to conference
+ :description: ''
+ :status: default_status_new
+ :type: default_type_task
+ :duration: 16
+ :relations:
+ - :to: Set date and location of conference
+ :type: follows
+ :schedule_manually: false
+ :assigned_to: Niels Lindenthal
+ :duration: 70
+ :schedule_manually: true
+ - :start: 76
+ :subject: Conference
+ :description:
+ :status: default_status_scheduled
+ :type: default_type_milestone
+ :duration: 0
+ :relations:
+ - :to: Organize open source conference
+ :type: follows
+ :schedule_manually: false
+ - :start: 77
+ :subject: Follow-up tasks
+ :description:
+ :status: default_status_to_be_scheduled
+ :type: default_type_phase
+ :children:
+ - :start: 77
+ :subject: Upload presentations to website
+ :description: ''
+ :status: default_status_new
+ :type: default_type_task
+ :duration: 16
+ :schedule_manually: false
+ - :start: 77
+ :subject: Party for conference supporters :-)
+ :description: |-
+ * [ ] Beer
+ * [ ] Snacks
+ * [ ] Music
+ * [ ] Even more beer
+ :status: default_status_new
+ :type: default_type_task
+ :duration: 0
+ :schedule_manually: false
+ :duration: 16
+ :schedule_manually: false
+ - :start: 94
+ :subject: End of project
+ :description:
+ :status: default_status_new
+ :type: default_type_milestone
+ :duration: 0
+ :relations:
+ - :to: Follow-up tasks
+ :type: follows
+ :schedule_manually: false
- **Find out more:**
- * https://docs.openproject.org/system-admin-guide/manage-projects/
- status: :default_status_in_progress
- type: :default_type_task
- start: 0
- duration: 0
- attachments:
- - new_project.jpg
- - subject: Customize project overview page
- description: |
- You can [customize your project overview page](%{base_url}/my_projects_overview/demo-project/page_layout) to add important information, such as project description, important links, work packages overview, news, and much more.
-
- **You can:**
- * edit the project overview by clicking on the gear icon,
- * add a project description,
- * add links to important project information or custom reports,
- * insert news or work packages,
- * and much more.
-
- **Visuals:**
- ![project overview](##attachment:"project_overview.jpg")
-
- **Find out more:**
- * https://docs.openproject.org/user-guide/project-overview/
- status: :default_status_in_progress
- type: :default_type_task
- start: 0
- duration: 0
- attachments:
- - project_overview.jpg
- - subject: Activate further modules
- description: |
- Please activate further [Modules](%{base_url}/projects/demo-project/settings/modules) in the Project settings in order to have more features in your project.
-
- **You can:**
- * add a Scrum module (Backlogs),
- * add time tracking, reporting, and budgets (Time Tracking, Cost Reports, Budgets),
- * add a wiki,
- * add meetings,
- * and more.
-
- **Visuals:**
- ![project modules](##attachment:"project_modules.jpg")
-
- **Find out more:**
- * https://docs.openproject.org/user-guide/projects/project-settings/modules/
- status: :default_status_new
- type: :default_type_task
- start: 0
- duration: 0
- attachments:
- - project_modules.jpg
- - subject: Invite new team members
- description: |
- Please invite new team members by going to [Members](%{base_url}/projects/demo-project/members) in the project navigation.
-
- **You can:**
- * add existing users to a project by typing in their names,
- * invite new users to OpenProject by typing in their email address,
- * assign a certain role in this project for each user.
-
- **Visuals:**
- ![project members](##attachment:"project_members.jpg")
-
- **Find out more:**
- * https://docs.openproject.org/user-guide/members/
- status: :default_status_new
- type: :default_type_task
- start: 1
- duration: 1
- priority: :default_priority_high
- attachments:
- - project_members.jpg
- - subject: Create work packages
- description: |
- Please create work packages for your project. Go to [Work package](%{base_url}/projects/demo-project/work_packages) and click the green +Create button.
-
- **You can**:
- * create any type of work, e.g. features, tasks, bugs, risks, ideas,
- * add a title and description,
- * add attachments via copy and paste to the description,
- * set status, priority and assign it to a team member,
- * insert any custom field to the forms.
-
- **Visuals**:
- ![create work package](##attachment:"create_work_package.jpg")
-
- **Find out more**:
- * https://docs.openproject.org/user-guide/work-packages/create-work-package/
- status: :default_status_in_progress
- type: :default_type_task
- start: 1
- duration: 1
- priority: :default_priority_high
- attachments:
- - create_work_package.jpg
- - subject: Create a project plan
- description: |
- Please create a project plan by going to [Project plan](##query:"Project plan") in the project navigation.
-
- **You can:**
- * create new phases and milestones by simply clicking in the project plan,
- * change phases and milestones with drag and drop,
- * add labels, such as start and finish date, title, or assignee,
- * add dependencies by right clicking on a phase or milestone and choose pre-decessor or follower,
- * custom columns, group, filter and save timeline reports to have them at your fingertips.
-
- **Visuals:**
- ![gantt chart](##attachment:"gantt_chart.jpg")
-
- **Find out more:**
- * https://docs.openproject.org/user-guide/gantt-chart/
- status: :default_status_new
- type: :default_type_task
- start: 2
- duration: 1
- priority: :default_priority_high
- attachments:
- - gantt_chart.jpg
- - subject: Edit a work package
- description: |
- [Edit a work package](%{base_url}/projects/demo-project/work_packages/41/activity) by double clicking on a row in the list view or open the split screen with the "i".
-
- **You can**:
- * change title or description,
- * assign it to a team member,
- * comment on topics or notify team members with @-notifications,
- * set status, priority, finish dates or other custom fields,
- * include documents or screenshots with copy & paste,
- * add relations to other work packages,
- * change forms in the Administration settings.
-
- **Visuals**:
- ![edit work package](##attachment:"edit_work_package.jpg")
-
- **Find out more**:
- * https://docs.openproject.org/user-guide/work-packages/
- status: :default_status_new
- type: :default_type_task
- start: 3
- duration: 0
- priority: :default_priority_high
- attachments:
- - edit_work_package.jpg
- - subject: Develop v1.0
- status: :default_status_scheduled
- type: :default_type_phase
- start: 7
- duration: 17
- children:
- - subject: Great feature
- status: :default_status_developed
- type: :default_type_feature
- start: 7
- duration: 8
- - subject: Best feature
- status: :default_status_specified
- type: :default_type_feature
- start: 16
- duration: 5
- relations:
- - to: Great feature
- type: follows
- - subject: Terrible bug
- status: :default_status_confirmed
- type: :default_type_bug
- start: 22
- duration: 2
- relations:
- - to: Best feature
- type: follows
- - subject: Go-Live v1.0
- status: :default_status_scheduled
- type: :default_type_milestone
- start: 25
- duration: 0
- relations:
- - to: Develop v1.0
- type: follows
- - subject: Develop v1.1
- status: :default_status_scheduled
- type: :default_type_phase
- start: 28
- duration: 2
- children:
- - subject: Wonderful feature
- status: :default_status_new
- type: :default_type_feature
- start: 28
- duration: 1
- - subject: Ugly bug
- status: :default_status_rejected
- type: :default_type_bug
- start: 30
- duration: 1
- relations:
- - to: Wonderful feature
- type: follows
- - subject: Go-Live v1.1
- status: :default_status_to_be_scheduled
- type: :default_type_milestone
- start: 32
- duration: 0
- relations:
- - to: Develop v1.1
- type: follows
- wiki:
- - title: Wiki
- content: |
- In this wiki you can collaboratively create and edit pages and sub-pages to create a project wiki.
-
- **You can:**
-
- * insert text and format it with the toolbar,
- * insert text and images with copy and paste,
- * paste formatted text directly from MSOffice documents,
- * create a page hierarchy by inserting parent pages,
- * use makros to include, e.g. table of contents, work packages lists or Gantt charts,
- * include wiki pages in other text fields, e.g. project overview or meetings,
- * reference tickets with one, two or three "#"+ticket number, depending on what information should be displayed,
- * include links to other documents,
- * view the change history,
- * view as Mardown.
-
- **More information:**
- https://docs.openproject.org/user-guide/wiki/
- children:
- - title: Project documentation
- content: |
- This is a sub-page of the wiki. You can change this by editing the Parent page (Click the _EDIT_ button and see bottom of the page).
-
- ## Project scope
-
- ## Deliverables
- children:
- - title: Project manual
- content: ''
scrum-project:
name: Scrum project
identifier: your-scrum-project
diff --git a/modules/overviews/config/locales/en.seeders.standard.yml b/modules/overviews/config/locales/en.seeders.standard.yml
index 46471f133f1..19842ddf361 100644
--- a/modules/overviews/config/locales/en.seeders.standard.yml
+++ b/modules/overviews/config/locales/en.seeders.standard.yml
@@ -64,7 +64,7 @@ en:
3. *Create a new work package*: → Go to [Work packages → Create](%{base_url}/projects/demo-project/work_packages/new).
4. *Create and update a project plan*: → Go to [Project plan](%{base_url}/projects/demo-project/work_packages?query_id=##query.id:"Project plan") in the project navigation.
5. *Activate further modules*: → Go to [Project settings → Modules](%{base_url}/projects/demo-project/settings/modules).
- 6. *Complete your tasks in the project*: → Go to [Work packages → Tasks](%{base_url}/projects/demo-project/work_packages/details/##wp.id:"Edit a work package"/overview?query_id=##query.id:"Tasks").
+ 6. *Complete your tasks in the project*: → Go to [Work packages → Tasks](%{base_url}/projects/demo-project/work_packages/details/##wp.id:"Set date and location of conference"/overview?query_id=##query.id:"Tasks").
Here you will find our [User Guides](https://docs.openproject.org/user-guide/).
Please let us know if you have any questions or need support. Contact us: [support[at]openproject.com](mailto:[email protected]).