Skip to content

Commit

Permalink
feat(front): u#2860 t#4051 edit workflow design review
Browse files Browse the repository at this point in the history
  • Loading branch information
cocotime committed Oct 3, 2023
1 parent 65117a3 commit 6006aec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Copyright (c) 2023-present Kaleidos INC
@import url("shared/option-list.css");

:host {
align-items: center;
display: flex;
gap: var(--spacing-4);
}
Expand All @@ -31,12 +30,15 @@ Copyright (c) 2023-present Kaleidos INC
@mixin separator;
}

.kanban-header-breadcrumbs {
padding-block-start: var(--spacing-4);
}

.workflow-form {
&::ng-deep {
background: transparent;
border: 0;
border-color: transparent;
box-shadow: none;
margin-block-start: var(--spacing-4);
padding: 0;

&.input-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
t('kanban.workflows').slice(1),
workflow.name
]"
[accent]="true">
[accent]="true"
class="kanban-header-breadcrumbs">
</tg-ui-breadcrumb>

<tui-hosted-dropdown
Expand All @@ -43,7 +44,9 @@
role="menu"
aria-haspopup="true"
[attr.aria-expanded]="openWorkflowOptions"
[tgUiTooltip]="t('kanban.status_options')"
[tgUiTooltip]="
t('kanban.status_options_tooltip', { name: workflow.name })
"
icon="more-vertical"
data-test="status-options"
class="status-options-menu-button"
Expand Down Expand Up @@ -87,7 +90,7 @@
</ng-template>

<tg-new-workflow-form
*ngIf="editStatusFormOpened"
*ngIf="editStatusFormOpened && project.userIsAdmin"
class="workflow-form"
[workflow]="workflow"
(createWorkflow)="editWorkflowName($event)"
Expand Down
1 change: 1 addition & 0 deletions javascript/apps/taiga/src/assets/i18n/kanban/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"write_status": "Write a status name",
"status_empty": "Status name can’t be empty.",
"status_options": "Display status options",
"status_options_tooltip": "{{ name }} workflow options",
"status_btn_tooltip": "Status actions",
"edit_status_name": "Edit status name",
"status_name": "Status name",
Expand Down

0 comments on commit 6006aec

Please sign in to comment.