Skip to content

Commit

Permalink
Fix default export card configuration and show content
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Feb 20, 2023
1 parent d20a9ee commit 1b82969
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,10 @@ export const BACKLOGS_ROUTES:Ng2StateDeclaration[] = [
url: '/sprints/{sprintId:int}/burndown_chart',
component: BacklogsPageComponent,
},
{
name: 'backlogs_export',
parent: 'optional_project',
url: '/sprints/{sprintId:int}/export_card_configurations',
component: BacklogsPageComponent,
},
];
21 changes: 4 additions & 17 deletions modules/pdf_export/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ group1:
minimum_lines: 2
render_if_empty: false
width: 30%
due_date:
subject:
has_label: false
font_size: 15
font_style: italic
Expand Down Expand Up @@ -70,28 +70,15 @@ group2:
font_style: normal
minimum_lines: 1
render_if_empty: true
row2:
row3:
priority: 2
columns:
custom_field_name:
subject:
has_label: true
font_size: 15
minimum_lines: 1
group3:
rows:
row1:
priority: 2
columns:
children:
has_label: true
has_count: true
indented: true
font_size: 15
font_style: normal
minimum_lines: 1
render_if_empty: true

</pre>

The config is divided into groups. A group can have a height property which will enforce the minimum height of the group in pixels. The has_border property can be set to true which will draw a border around the rows in the group.

Any number of rows can be defined. The font_size and minimum_lines properties define how much height on the card is given to the row. The plugin will attempt to assign enough space to each of the rows, however space will be assigned based on the priorities of the the rows, with rows with lower priority (higher numbers) being reduced and removed first if there is not enough for all the data. The row height can be forced by giving a value, in pixels, for the row height property. This will override the assigned row height.
Expand Down
Empty file added test.yml
Empty file.

0 comments on commit 1b82969

Please sign in to comment.