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

[#48641] Automatic time tracking for work packages (start/stop buttons) (#12936)

Oliver Günther6c598243795f
diff --git a/app/models/version.rb b/app/models/version.rb
index 4f6405c9638..369c2442fba 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -81,10 +81,11 @@ class Version < ApplicationRecord
# Returns the total reported time for this version
def spent_hours
@spent_hours ||= TimeEntry
- .includes(:work_package)
- .where(work_packages: { version_id: id })
- .sum(:hours)
- .to_f
+ .not_ongoing
+ .includes(:work_package)
+ .where(work_packages: { version_id: id })
+ .sum(:hours)
+ .to_f
end
def closed?
@@ -148,7 +149,9 @@ class Version < ApplicationRecord
@wiki_page
end
- def to_s; name end
+ def to_s
+ name
+ end
def to_s_with_project
"#{project} - #{name}"
@@ -212,9 +215,9 @@ class Version < ApplicationRecord
)
done = work_packages
- .where(statuses: { is_closed: !open })
- .includes(:status)
- .sum(sum_sql)
+ .where(statuses: { is_closed: !open })
+ .includes(:status)
+ .sum(sum_sql)
progress = done.to_f / (estimated_average * issues_count)
end
progress
diff --git a/app/models/work_packages/scopes/include_spent_time.rb b/app/models/work_packages/scopes/include_spent_time.rb
index fdb91ebc4c1..5865a440067 100644
--- a/app/models/work_packages/scopes/include_spent_time.rb
+++ b/app/models/work_packages/scopes/include_spent_time.rb
@@ -58,7 +58,7 @@ module WorkPackages::Scopes::IncludeSpentTime
end
def allowed_to_view_time_entries(user)
- time_entries_table[:id].in(TimeEntry.visible(user).select(:id).arel)
+ time_entries_table[:id].in(TimeEntry.not_ongoing.visible(user).select(:id).arel)
end
def wp_table
diff --git a/config/initializers/menus.rb b/config/initializers/menus.rb
index cab9b107fa5..de4ca0e58fc 100644
--- a/config/initializers/menus.rb
+++ b/config/initializers/menus.rb
@@ -95,6 +95,9 @@ Redmine::MenuManager.map :quick_add_menu do |menu|
end
Redmine::MenuManager.map :account_menu do |menu|
+ menu.push :timers,
+ { controller: '/my/timer', action: 'show' },
+ partial: '/my/timer/menu'
menu.push :my_page,
:my_page_path,
caption: I18n.t('js.my_page.label'),
diff --git a/config/locales/en.yml b/config/locales/en.yml
index d1ab8637f29..c0947be4e76 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -594,6 +594,7 @@ en:
hours: "Hours"
spent_on: "Date"
type: "Type"
+ ongoing: "Ongoing"
type:
description: "Default text for description"
attribute_groups: ''
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 8169d0425be..319c043a7fd 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -792,6 +792,15 @@ en:
time_entry:
work_package_required: 'Requires selecting a work package first.'
title: 'Log time'
+ tracking: 'Time tracking'
+ stop: 'Stop'
+
+ timer:
+ start_new_timer: 'Start new timer'
+ timer_already_running: 'To start a new timer, you must first stop the current timer:'
+ timer_already_stopped: 'No active timer for this work package, have you stopped it in another window?'
+ tracking_time: 'Tracking time'
+ button_stop: 'Stop current timer'
two_factor_authentication:
label_two_factor_authentication: 'Two-factor authentication'
diff --git a/docs/api/apiv3/components/schemas/time_entry_model.yml b/docs/api/apiv3/components/schemas/time_entry_model.yml
index 60c7a7b6039..db28a80d619 100644
--- a/docs/api/apiv3/components/schemas/time_entry_model.yml
+++ b/docs/api/apiv3/components/schemas/time_entry_model.yml
@@ -18,6 +18,9 @@ properties:
type: string
format: duration
description: The time quantifying the expenditure
+ ongoing:
+ type: boolean
+ description: Whether the time entry is actively tracking time
createdAt:
type: string
format: date-time
diff --git a/docs/api/apiv3/paths/time_entries.yml b/docs/api/apiv3/paths/time_entries.yml
index 5cdb4383d84..c719af64caf 100644
--- a/docs/api/apiv3/paths/time_entries.yml
+++ b/docs/api/apiv3/paths/time_entries.yml
@@ -55,6 +55,8 @@ get:
+ user: Filter time entries by users
+ + ongoing: Filter for your ongoing timers
+
+ spent_on: Filter time entries by spent on date
+ created_at: Filter time entries by creation datetime
diff --git a/docs/api/apiv3/paths/time_entries_schema.yml b/docs/api/apiv3/paths/time_entries_schema.yml
index cbbe12ee0f7..97f410f0784 100644
--- a/docs/api/apiv3/paths/time_entries_schema.yml
+++ b/docs/api/apiv3/paths/time_entries_schema.yml
@@ -58,6 +58,13 @@ get:
required: false
type: Project
writable: true
+ ongoing:
+ hasDefault: false
+ name: Ongoing
+ options: {}
+ required: false
+ type: Boolean
+ writable: true
spentOn:
hasDefault: false
name: Date
diff --git a/docs/api/apiv3/tags/time_entries.yml b/docs/api/apiv3/tags/time_entries.yml
index 7fb94478919..c25ee086b7e 100644
--- a/docs/api/apiv3/tags/time_entries.yml
+++ b/docs/api/apiv3/tags/time_entries.yml
@@ -4,9 +4,9 @@ description: |-
| Link | Description | Condition |
|:-------------------:| -------------------------------------------------------------------------- | ---------------------------------------------------------------- |
- | updateImmediately | Directly perform edits on this time entry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user |
- | update | Form endpoint that aids in preparing and performing edits on a TimeEntry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user |
- | delete | Delete this time entry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user |
+ | updateImmediately | Directly perform edits on this time entry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user, or 'log own time' if the time entry is ongoing |
+ | update | Form endpoint that aids in preparing and performing edits on a TimeEntry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user, or 'log own time' if the time entry is ongoing |
+ | delete | Delete this time entry | **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user, or 'log own time' if the time entry is ongoing |
## Linked Properties
@@ -16,7 +16,7 @@ description: |-
| project | The project the time entry is bundled in. The project might be different from the work package's project once the workPackage is moved. | Project | not null | READ / WRITE | |
| workPackage | The work package the time entry is created on | WorkPackage | | READ / WRITE | |
| user | The user the time entry tracks expenditures for | User | not null | READ / WRITE | **Permission**: Log time for other users permission |
- | activity | The time entry activity the time entry is categorized as | TimeEntriesActivity | not null | READ / WRITE | |
+ | activity | The time entry activity the time entry is categorized as | TimeEntriesActivity | | READ / WRITE | |
Depending on custom fields defined for time entries, additional links might exist.
@@ -30,6 +30,7 @@ description: |-
| comment | A text provided by the user detailing the time entry | String | | READ / WRITE | |
| spentOn | The date the expenditure is booked for | Date | | READ / WRITE | |
| hours | The time quantifying the expenditure | Time | | READ / WRITE | |
+ | ongoing | Whether the time entry is actively tracking | Boolean | | READ / WRITE | |
| createdAt | The time the time entry was created | DateTime | | READ | |
| updatedAt | The time the time entry was last updated | DateTime | | READ | |
diff --git a/frontend/src/app/core/setup/global-dynamic-components.const.ts b/frontend/src/app/core/setup/global-dynamic-components.const.ts
index aee37e347df..0787f2db8d4 100644
--- a/frontend/src/app/core/setup/global-dynamic-components.const.ts
+++ b/frontend/src/app/core/setup/global-dynamic-components.const.ts
@@ -225,6 +225,10 @@ import {
StorageLoginButtonComponent,
opStorageLoginButtonSelector,
} from 'core-app/shared/components/storages/storage-login-button/storage-login-button.component';
+import {
+ TimerAccountMenuComponent,
+ timerAccountSelector,
+} from 'core-app/shared/components/time_entries/timer/timer-account-menu.component';
export const globalDynamicComponents:OptionalBootstrapDefinition[] = [
{ selector: appBaseSelector, cls: ApplicationBaseComponent },
@@ -293,4 +297,6 @@ export const globalDynamicComponents:OptionalBootstrapDefinition[] = [
// It is important to initialize the remoteFieldUpdaterSelector after the datepickers,
// because we need to access the input field of the datepickers inside the remoteFieldUpdaterSelector
{ selector: remoteFieldUpdaterSelector, cls: RemoteFieldUpdaterComponent },
+
+ { selector: timerAccountSelector, cls: TimerAccountMenuComponent },
];
diff --git a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
index c2d8d1197dc..5898fe8790f 100644
--- a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
+++ b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts
@@ -425,12 +425,13 @@ export class TimeEntryCalendarComponent {
});
}
- private updateEventSet(event:TimeEntryResource, action:'update'|'destroy'|'create'):void {
+ private updateEventSet(event:TimeEntryResource, action:'update'|'destroy'|'create'|'unchanged'):void {
void this.memoizedTimeEntries.entries.then((collection) => {
const foundIndex = collection.elements.findIndex((x) => x.id === event.id);
switch (action) {
case 'update':
+ case 'unchanged':
collection.elements[foundIndex] = event;
break;
case 'destroy':
diff --git a/frontend/src/app/features/hal/resources/time-entry-resource.ts b/frontend/src/app/features/hal/resources/time-entry-resource.ts
index aad9fcf30bf..8d03f11cddf 100644
--- a/frontend/src/app/features/hal/resources/time-entry-resource.ts
+++ b/frontend/src/app/features/hal/resources/time-entry-resource.ts
@@ -43,6 +43,8 @@ export class TimeEntryResource extends HalResource {
spentOn:string;
+ ongoing:boolean;
+
public get state():InputState<this> {
return this.states.timeEntries.get(this.id as string) as unknown as InputState<this>;
}
diff --git a/frontend/src/app/features/hal/resources/work-package-resource.ts b/frontend/src/app/features/hal/resources/work-package-resource.ts
index 657eb2146f7..a0ef75583f2 100644
--- a/frontend/src/app/features/hal/resources/work-package-resource.ts
+++ b/frontend/src/app/features/hal/resources/work-package-resource.ts
@@ -100,6 +100,8 @@ export interface WorkPackageResourceLinks extends WorkPackageResourceEmbedded {
logTime():Promise<any>;
+ startTimer():Promise<unknown>;
+
move():Promise<any>;
removeWatcher():Promise<any>;
diff --git a/frontend/src/app/features/invite-user-modal/principal/principal.component.ts b/frontend/src/app/features/invite-user-modal/principal/principal.component.ts
index 13bf025952f..2de2c62498d 100644
--- a/frontend/src/app/features/invite-user-modal/principal/principal.component.ts
+++ b/frontend/src/app/features/invite-user-modal/principal/principal.component.ts
@@ -1,20 +1,29 @@
import {
ChangeDetectionStrategy,
- ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild,
+ ChangeDetectorRef,
+ Component,
+ EventEmitter,
+ Input,
+ OnInit,
+ Output,
+ ViewChild,
} from '@angular/core';
import { HttpClient } from '@angular/common/http';
import {
- UntypedFormGroup,
+ AbstractControl,
UntypedFormControl,
+ UntypedFormGroup,
Validators,
- AbstractControl,
} from '@angular/forms';
import { take } from 'rxjs/internal/operators/take';
import { map } from 'rxjs/operators';
import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
import { I18nService } from 'core-app/core/i18n/i18n.service';
import { DynamicFormComponent } from 'core-app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component';
-import { PrincipalData, PrincipalLike } from 'core-app/shared/components/principal/principal-types';
+import {
+ PrincipalData,
+ PrincipalLike,
+} from 'core-app/shared/components/principal/principal-types';
import { ProjectResource } from 'core-app/features/hal/resources/project-resource';
import { HalResource } from 'core-app/features/hal/resources/hal-resource';
import { PrincipalType } from '../invite-user.component';
@@ -53,7 +62,12 @@ export class PrincipalComponent implements OnInit {
@Output() close = new EventEmitter<void>();
- @Output() save = new EventEmitter<{ principalData:PrincipalData, isAlreadyMember:boolean, role:RoleResource, message:string }>();
+ @Output() save = new EventEmitter<{
+ principalData:PrincipalData,
+ isAlreadyMember:boolean,
+ role:RoleResource,
+ message:string
+ }>();
@Output() back = new EventEmitter();
diff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/time-formatter.helper.ts b/frontend/src/app/features/work-packages/components/wp-timer-button/time-formatter.helper.ts
new file mode 100644
index 00000000000..4cef4644263
--- /dev/null
+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/time-formatter.helper.ts
@@ -0,0 +1,9 @@
+import * as moment from 'moment/moment';
+
+export function formatElapsedTime(startTime:string):string {
+ const start = moment(startTime);
+ const now = moment();
+ const offset = moment(now).diff(start);
+
+ return moment.utc(offset).format('HH:mm:ss');
+}
diff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html
new file mode 100644
index 00000000000..689c6920e70
--- /dev/null
+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.html
@@ -0,0 +1,26 @@
+<ng-container *ngIf="{ timer: (timer$ | async), active: activeForWorkPackage(timer$ | async) } as context">
+ <ng-container *ngIf="context.timer && context.active">
+ <button
+ class="button button_flex"
+ type="button"
+ data-qa-selector="timer-active"
+ [title]="text.stop_timer"
+ (click)="stop()"
+ >
+ <span class="spot-icon spot-icon_time-tracking-stop"></span>
+ <span class="button--text">
+ {{ elapsed$ | async }}
+ </span>
+ </button>
+ </ng-container>
+ <button
+ class="button"
+ type="button"
+ data-qa-selector="timer-inactive"
+ *ngIf="!context.timer || !context.active"
+ [title]="text.start_timer"
+ (click)="start()"
+ >
+ <span class="spot-icon spot-icon_time-tracking-start"></span>
+ </button>
+</ng-container>
diff --git a/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts
new file mode 100644
index 00000000000..202918fd313
--- /dev/null
+++ b/frontend/src/app/features/work-packages/components/wp-timer-button/wp-timer-button.component.ts
@@ -0,0 +1,163 @@
+// -- copyright
+// OpenProject is an open source project management software.
+// Copyright (C) 2012-2023 the OpenProject GmbH
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License version 3.
+//
+// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+// Copyright (C) 2006-2013 Jean-Philippe Lang
+// Copyright (C) 2010-2013 the ChiliProject Team
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+// See COPYRIGHT and LICENSE files for more details.
+//++
+
+import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';
+import {
+ ChangeDetectionStrategy,
+ ChangeDetectorRef,
+ Component,
+ Injector,
+ Input,
+} from '@angular/core';
+import { I18nService } from 'core-app/core/i18n/i18n.service';
+import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';
+import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
+import { TimeEntryCreateService } from 'core-app/shared/components/time_entries/create/create.service';
+import {
+ filter,
+ map,
+ switchMap,
+} from 'rxjs/operators';
+import {
+ firstValueFrom,
+ from,
+ Observable,
+ timer,
+} from 'rxjs';
+import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
+import { HalResourceEditingService } from 'core-app/shared/components/fields/edit/services/hal-resource-editing.service';
+import * as moment from 'moment';
+import { SchemaCacheService } from 'core-app/core/schemas/schema-cache.service';
+import { TimezoneService } from 'core-app/core/datetime/timezone.service';
+import { TimeEntryTimerService } from 'core-app/shared/components/time_entries/services/time-entry-timer.service';
+import { formatElapsedTime } from 'core-app/features/work-packages/components/wp-timer-button/time-formatter.helper';
+import { OpModalService } from 'core-app/shared/components/modal/modal.service';
+import { StopExistingTimerModalComponent } from 'core-app/shared/components/time_entries/timer/stop-existing-timer-modal.component';
+import { TimeEntryEditService } from 'core-app/shared/components/time_entries/edit/edit.service';
+import { ToastService } from 'core-app/shared/components/toaster/toast.service';
+
+@Component({
+ selector: 'op-wp-timer-button',
+ templateUrl: './wp-timer-button.component.html',
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class WorkPackageTimerButtonComponent extends UntilDestroyedMixin {
+ @Input() public workPackage:WorkPackageResource;
+
+ timer$ = this.timeEntryService.activeTimer$;
+
+ elapsed$:Observable<string> = timer(0, 1000)
+ .pipe(
+ switchMap(() => this.timer$),
+ filter((timeEntry) => timeEntry !== null),
+ map((timeEntry:TimeEntryResource) => formatElapsedTime(timeEntry.createdAt as string)),
+ );
+
+ text = {
+ workPackage: this.I18n.t('js.label_work_package'),
+ start_timer: this.I18n.t('js.timer.start_new_timer'),
+ stop_timer: this.I18n.t('js.timer.button_stop'),
+ timer_already_stopped: this.I18n.t('js.timer.timer_already_stopped'),
+ };
+
+ constructor(
+ readonly injector:Injector,
+ readonly I18n:I18nService,
+ readonly apiV3Service:ApiV3Service,
+ readonly timeEntryService:TimeEntryTimerService,
+ readonly timeEntryEditService:TimeEntryEditService,
+ readonly timeEntryCreateService:TimeEntryCreateService,
+ readonly halEditing:HalResourceEditingService,
+ readonly modalService:OpModalService,
+ readonly schemaCache:SchemaCacheService,
+ readonly timezoneService:TimezoneService,
+ readonly toastService:ToastService,
+ readonly cdRef:ChangeDetectorRef,
+ ) {
+ super();
+ }
+
+ activeForWorkPackage(entry:TimeEntryResource|null):boolean {
+ return !!entry && entry.workPackage.href === this.workPackage.href;
+ }
+
+ clear():void {
+ this.timeEntryService.timer$.next(null);
+ }
+
+ async stop():Promise<unknown> {
+ const active = await firstValueFrom(this.timeEntryService.refresh());
+ if (!active) {
+ return this.toastService.addWarning(this.text.timer_already_stopped);
+ }
+
+ return this.timeEntryEditService.stopTimerAndEdit(active);
+ }
+
+ start():void {
+ this
+ .timeEntryService
+ .refresh()
+ .subscribe((active) => {
+ if (active) {
+ this.showStopModal(active)
+ .then(() => this.stop().then(() => this.startTimer()))
+ .catch(() => undefined);
+ } else {
+ this.startTimer();
+ }
+ });
+ }
+
+ private startTimer():void {
+ this.timeEntryCreateService
+ .createNewTimeEntry(moment(), this.workPackage, true)
+ .pipe(
+ switchMap((changeset) => from(this.halEditing.save(changeset))),
+ map((result) => result.resource as TimeEntryResource),
+ )
+ .subscribe((active) => {
+ this.timeEntryService.timer$.next(active);
+ });
+ }
+
+ private showStopModal(active:TimeEntryResource):Promise<void> {
+ return new Promise<void>((resolve, reject) => {
+ this
+ .modalService
+ .show(StopExistingTimerModalComponent, this.injector, { timer: active })
+ .subscribe((modal) => modal.closingEvent.subscribe(() => {
+ if (modal.confirmed) {
+ resolve();
+ } else {
+ reject();
+ }
+ }));
+ });
+ }
+}
diff --git a/frontend/src/app/features/work-packages/directives/query-space/wp-isolated-query-space.directive.ts b/frontend/src/app/features/work-packages/directives/query-space/wp-isolated-query-space.directive.ts
index 6582045e0c3..a5e22241731 100644
--- a/frontend/src/app/features/work-packages/directives/query-space/wp-isolated-query-space.directive.ts
+++ b/frontend/src/app/features/work-packages/directives/query-space/wp-isolated-query-space.directive.ts
@@ -67,6 +67,7 @@ import { TimeEntryCreateService } from 'core-app/shared/components/time_entries/
import { WorkPackageViewCollapsedGroupsService } from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-collapsed-groups.service';
import { WorkPackageService } from 'core-app/features/work-packages/services/work-package.service';
import { WorkPackageViewBaselineService } from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-baseline.service';
+import { TimeEntryEditService } from 'core-app/shared/components/time_entries/edit/edit.service';
/**
* Directive to open a work package query 'space', an isolated injector hierarchy
@@ -124,6 +125,7 @@ import { WorkPackageViewBaselineService } from 'core-app/features/work-packages/
HalResourceEditingService,
TimeEntryCreateService,
+ TimeEntryEditService,
WorkPackageCreateService,
WorkPackageStatesInitializationService,
diff --git a/frontend/src/app/features/work-packages/openproject-work-packages.module.ts b/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
index aec83fff083..e5bfc02af93 100644
--- a/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
+++ b/frontend/src/app/features/work-packages/openproject-work-packages.module.ts
@@ -186,6 +186,8 @@ import { OpBaselineComponent } from 'core-app/features/work-packages/components/
import { OpBaselineLoadingComponent } from 'core-app/features/work-packages/components/wp-baseline/baseline-loading/baseline-loading.component';
import { OpBaselineLegendsComponent } from 'core-app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component';
import { NgSelectModule } from '@ng-select/ng-select';
+import { WorkPackageTimerButtonComponent } from 'core-app/features/work-packages/components/wp-timer-button/wp-timer-button.component';
+import { OpenprojectTimeEntriesModule } from 'core-app/shared/components/time_entries/openproject-time-entries.module';
import { RecentItemsService } from 'core-app/core/recent-items.service';
@NgModule({
@@ -208,6 +210,8 @@ import { RecentItemsService } from 'core-app/core/recent-items.service';
OpenprojectAutocompleterModule,
+ OpenprojectTimeEntriesModule,
+
OpWpTabsModule,
EditFieldControlsModule,
@@ -347,6 +351,7 @@ import { RecentItemsService } from 'core-app/core/recent-items.service';
WorkPackageRelationQueryComponent,
WorkPackageFormAttributeGroupComponent,
BackButtonComponent,
+ WorkPackageTimerButtonComponent,
// Activity Tab
NewestActivityOnOverviewComponent,
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
index 6020d800747..eae4eef5a90 100644
--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.component.ts
@@ -28,18 +28,16 @@
import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';
import { StateService } from '@uirouter/core';
-import { Component, Injector, OnInit } from '@angular/core';
-import { of } from 'rxjs';
-import {
- WorkPackageViewSelectionService,
-} from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-selection.service';
import {
- WorkPackageSingleViewBase,
-} from 'core-app/features/work-packages/routing/wp-view-base/work-package-single-view.base';
+ Component,
+ Injector,
+ OnInit,
+} from '@angular/core';
+import { of } from 'rxjs';
+import { WorkPackageViewSelectionService } from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-selection.service';
+import { WorkPackageSingleViewBase } from 'core-app/features/work-packages/routing/wp-view-base/work-package-single-view.base';
import { HalResourceNotificationService } from 'core-app/features/hal/services/hal-resource-notification.service';
-import {
- WorkPackageNotificationService,
-} from 'core-app/features/work-packages/services/notifications/work-package-notification.service';
+import { WorkPackageNotificationService } from 'core-app/features/work-packages/services/notifications/work-package-notification.service';
import { WpSingleViewService } from 'core-app/features/work-packages/routing/wp-view-base/state/wp-single-view.service';
import { CommentService } from 'core-app/features/work-packages/components/wp-activity/comment-service';
import { RecentItemsService } from 'core-app/core/recent-items.service';
@@ -59,7 +57,9 @@ export class WorkPackagesFullViewComponent extends WorkPackageSingleViewBase imp
// Watcher properties
public isWatched:boolean;
- public displayWatchButton:boolean;
+ public displayWatchButton = false;
+
+ public displayTimerButton = false;
public watchers:any;
@@ -99,8 +99,9 @@ export class WorkPackagesFullViewComponent extends WorkPackageSingleViewBase imp
}
private setWorkPackageScopeProperties(wp:WorkPackageResource) {
- this.isWatched = wp.hasOwnProperty('unwatch');
- this.displayWatchButton = wp.hasOwnProperty('unwatch') || wp.hasOwnProperty('watch');
+ this.isWatched = Object.prototype.hasOwnProperty.call(wp, 'unwatch');
+ this.displayWatchButton = Object.prototype.hasOwnProperty.call(wp, 'unwatch') || Object.prototype.hasOwnProperty.call(wp, 'watch');
+ this.displayTimerButton = Object.prototype.hasOwnProperty.call(wp, 'logTime');
// watchers
if (wp.watchers) {
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
index 9031e23b632..39bd117658b 100644
--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
@@ -19,6 +19,12 @@
</div>
</div>
<ul id="toolbar-items" class="toolbar-items hide-when-print">
+ <li class="toolbar-item hidden-for-mobile" *ngIf="displayTimerButton">
+ <op-wp-timer-button
+ [workPackage]="workPackage"
+ >
+ </op-wp-timer-button>
+ </li>
<li class="toolbar-item hidden-for-mobile">
<wp-create-button
[allowed]="['work_package.addChild', 'work_package.copy']"
diff --git a/frontend/src/app/shared/components/fields/changeset/resource-changeset.ts b/frontend/src/app/shared/components/fields/changeset/resource-changeset.ts
index 8d6b5aa3106..c846ce156b7 100644
--- a/frontend/src/app/shared/components/fields/changeset/resource-changeset.ts
+++ b/frontend/src/app/shared/components/fields/changeset/resource-changeset.ts
@@ -168,6 +168,12 @@ export class ResourceChangeset<T extends HalResource = HalResource> {
protected updateForm():Promise<FormResource> {
const payload = this.buildPayloadFromChanges();
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
+ if (!this.pristineResource.$links.update) {
+ return Promise.reject();
+ }
+
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
const promise = this.pristineResource
.$links
.update(payload)
@@ -177,7 +183,7 @@ export class ResourceChangeset<T extends HalResource = HalResource> {
this.setNewDefaults(form);
this.push();
return form;
- });
+ }) as Promise<FormResource>;
this.form$.putFromPromiseIfPristine(() => promise);
return promise;
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.ts b/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.ts
index 7bc9c3fde93..b9c197583ec 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.ts
+++ b/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.ts
@@ -33,7 +33,10 @@ import {
} from '@angular/core';
import { HalResource } from 'core-app/features/hal/resources/hal-resource';
import { SelectAutocompleterRegisterService } from 'core-app/shared/components/fields/edit/field-types/select-edit-field/select-autocompleter-register.service';
-import { from, Observable } from 'rxjs';
+import {
+ from,
+ Observable,
+} from 'rxjs';
import {
map,
tap,
@@ -120,9 +123,10 @@ export class SelectEditFieldComponent extends EditFieldComponent implements OnIn
this.untilDestroyed(),
)
.subscribe(() => {
- this.valuesLoadingPromise.then(() => {
- this._autocompleterComponent.openDirectly = true;
- });
+ void this.valuesLoadingPromise
+ .then(() => {
+ this._autocompleterComponent.openDirectly = true;
+ });
});
this._syncUrlParamsOnChangeIfNeeded(this.handler.fieldName, this.editFormComponent?.editMode);
@@ -134,7 +138,9 @@ export class SelectEditFieldComponent extends EditFieldComponent implements OnIn
placeholder: this.I18n.t('js.placeholders.default'),
};
- this.valuesLoadingPromise = this.change.getForm().then(() => this.initialValueLoading());
+ this.valuesLoadingPromise = this.change.getForm()
+ .then(() => this.initialValueLoading())
+ .catch(() => console.error('Failed to load default form'));
}
protected initialValueLoading() {
diff --git a/frontend/src/app/shared/components/principal/principal-renderer.service.ts b/frontend/src/app/shared/components/principal/principal-renderer.service.ts
index be79bc42fc1..b281d8a4c13 100644
--- a/frontend/src/app/shared/components/principal/principal-renderer.service.ts
+++ b/frontend/src/app/shared/components/principal/principal-renderer.service.ts
@@ -25,10 +25,11 @@ export interface NameOptions {
@Injectable({ providedIn: 'root' })
export class PrincipalRendererService {
- constructor(private pathHelper:PathHelperService,
+ constructor(
+ private pathHelper:PathHelperService,
private apiV3Service:ApiV3Service,
- private colors:ColorsService) {
-
+ private colors:ColorsService,
+ ) {
}
renderMultiple(
diff --git a/frontend/src/app/shared/components/principal/principal.component.sass b/frontend/src/app/shared/components/principal/principal.component.sass
new file mode 100644
index 00000000000..729f1d3e8a2
--- /dev/null
+++ b/frontend/src/app/shared/components/principal/principal.component.sass
@@ -0,0 +1,7 @@
+@import "src/assets/sass/helpers"
+.op-principal--timer
+ @include indicator-bubble
+ position: absolute
+ top: 10px
+ right: 3px
+ background: darkred
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/principal/principal.component.ts b/frontend/src/app/shared/components/principal/principal.component.ts
index 6b3358e81c6..a574668f941 100644
--- a/frontend/src/app/shared/components/principal/principal.component.ts
+++ b/frontend/src/app/shared/components/principal/principal.component.ts
@@ -28,10 +28,12 @@
import {
ChangeDetectionStrategy,
+ ChangeDetectorRef,
Component,
ElementRef,
Input,
OnInit,
+ ViewEncapsulation,
} from '@angular/core';
import { I18nService } from 'core-app/core/i18n/i18n.service';
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';
@@ -57,7 +59,9 @@ export interface PrincipalInput {
@Component({
template: '',
selector: principalSelector,
+ styleUrls: ['./principal.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
+ encapsulation: ViewEncapsulation.None,
})
export class OpPrincipalComponent implements OnInit {
@Input() principal:PrincipalLike;
@@ -78,26 +82,25 @@ export class OpPrincipalComponent implements OnInit {
readonly I18n:I18nService,
readonly apiV3Service:ApiV3Service,
readonly timezoneService:TimezoneService,
+ readonly cdRef:ChangeDetectorRef,
) {
populateInputsFromDataset(this);
}
ngOnInit() {
- if (!this.principal.name) {
- return;
+ if (this.principal.name) {
+ this.principalRenderer.render(
+ this.elementRef.nativeElement as HTMLElement,
+ this.principal,
+ {
+ hide: this.hideName,
+ link: this.link,
+ },
+ {
+ hide: this.hideAvatar,
+ size: this.size,
+ },
+ );
}
-
- this.principalRenderer.render(
- this.elementRef.nativeElement as HTMLElement,
- this.principal,
- {
- hide: this.hideName,
- link: this.link,
- },
- {
- hide: this.hideAvatar,
- size: this.size,
- },
- );
}
}
diff --git a/frontend/src/app/shared/components/time_entries/create/create.service.ts b/frontend/src/app/shared/components/time_entries/create/create.service.ts
index 43454497d77..607f27213a1 100644
--- a/frontend/src/app/shared/components/time_entries/create/create.service.ts
+++ b/frontend/src/app/shared/components/time_entries/create/create.service.ts
@@ -64,9 +64,10 @@ export class TimeEntryCreateService {
});
}
- public createNewTimeEntry(date:Moment, wp?:WorkPackageResource):Observable<ResourceChangeset> {
+ public createNewTimeEntry(date:Moment, wp?:WorkPackageResource, ongoing = false):Observable<ResourceChangeset> {
const payload:any = {
spentOn: date.format('YYYY-MM-DD'),
+ ongoing,
};
if (wp) {
diff --git a/frontend/src/app/shared/components/time_entries/edit/edit.modal.ts b/frontend/src/app/shared/components/time_entries/edit/edit.modal.ts
index 4dd88f070ec..e477d7fce4f 100644
--- a/frontend/src/app/shared/components/time_entries/edit/edit.modal.ts
+++ b/frontend/src/app/shared/components/time_entries/edit/edit.modal.ts
@@ -1,5 +1,8 @@
-import { ChangeDetectionStrategy, Component } from '@angular/core';
-import { HalResourceEditingService } from 'core-app/shared/components/fields/edit/services/hal-resource-editing.service';
+import {
+ ChangeDetectionStrategy,
+ Component,
+ OnInit,
+} from '@angular/core';
import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
import { HalResource } from 'core-app/features/hal/resources/hal-resource';
import { TimeEntryBaseModal } from 'core-app/shared/components/time_entries/shared/modal/base.modal';
@@ -7,15 +10,16 @@ import { TimeEntryBaseModal } from 'core-app/shared/components/time_entries/shar
@Component({
templateUrl: '../shared/modal/base.modal.html',
changeDetection: ChangeDetectionStrategy.OnPush,
- providers: [
- HalResourceEditingService,
- ],
})
-export class TimeEntryEditModalComponent extends TimeEntryBaseModal {
+export class TimeEntryEditModalComponent extends TimeEntryBaseModal implements OnInit {
public modifiedEntry:TimeEntryResource;
public destroyedEntry:TimeEntryResource;
+ ngOnInit() {
+ super.ngOnInit();
+ }
+
public setModifiedEntry($event:{ savedResource:HalResource, isInital:boolean }) {
this.modifiedEntry = $event.savedResource as TimeEntryResource;
this.reloadWorkPackageAndClose();
@@ -30,6 +34,7 @@ export class TimeEntryEditModalComponent extends TimeEntryBaseModal {
}
public destroy() {
+ // eslint-disable-next-line no-alert
if (!window.confirm(this.text.areYouSure)) {
return;
}
diff --git a/frontend/src/app/shared/components/time_entries/edit/edit.service.ts b/frontend/src/app/shared/components/time_entries/edit/edit.service.ts
index cdc0417a4e2..8565ef3428e 100644
--- a/frontend/src/app/shared/components/time_entries/edit/edit.service.ts
+++ b/frontend/src/app/shared/components/time_entries/edit/edit.service.ts
@@ -1,4 +1,7 @@
-import { Injectable, Injector } from '@angular/core';
+import {
+ Injectable,
+ Injector,
+} from '@angular/core';
import { OpModalService } from 'core-app/shared/components/modal/modal.service';
import { HalResourceService } from 'core-app/features/hal/services/hal-resource.service';
import { I18nService } from 'core-app/core/i18n/i18n.service';
@@ -8,51 +11,91 @@ import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/r
import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
import { TimeEntryEditModalComponent } from './edit.modal';
+import * as moment from 'moment';
+import { SchemaCacheService } from 'core-app/core/schemas/schema-cache.service';
+import { TimezoneService } from 'core-app/core/datetime/timezone.service';
+import { TimeEntryTimerService } from 'core-app/shared/components/time_entries/services/time-entry-timer.service';
export interface TimeEntryModalOptions {
showWorkPackageField?:boolean;
showUserField?:boolean;
}
+export interface TimeEntryUpdate {
+ entry:TimeEntryResource,
+ action:'update'|'destroy'|'unchanged';
+}
+
@Injectable()
export class TimeEntryEditService {
- constructor(readonly opModalService:OpModalService,
+ constructor(
+ readonly opModalService:OpModalService,
readonly injector:Injector,
readonly apiV3Service:ApiV3Service,
readonly halResource:HalResourceService,
+ readonly schemaCache:SchemaCacheService,
+ readonly timezoneService:TimezoneService,
+ readonly timeEntryService:TimeEntryTimerService,
protected halEditing:HalResourceEditingService,
- readonly i18n:I18nService) {
+ readonly i18n:I18nService,
+ ) {
}
public edit(
entry:TimeEntryResource,
options:TimeEntryModalOptions = {},
- ):Promise<{ entry:TimeEntryResource, action:'update'|'destroy' }> {
- return new Promise<{ entry:TimeEntryResource, action:'update'|'destroy' }>((resolve, reject) => {
- void this
- .createChangeset(entry)
- .then((changeset) => this.opModalService.show(
+ ):Promise<TimeEntryUpdate> {
+ return this
+ .createChangeset(entry)
+ .then((changeset) => this.editChange(changeset, options));
+ }
+
+ public editChange(changeset:ResourceChangeset<TimeEntryResource>, options:TimeEntryModalOptions = {}) {
+ return new Promise<TimeEntryUpdate>((resolve, _) => {
+ this
+ .opModalService
+ .show(
TimeEntryEditModalComponent,
this.injector,
{ ...options, changeset },
- ).subscribe((modal) => modal
- .closingEvent
- .pipe(take(1))
- .subscribe(() => {
- if (modal.destroyedEntry) {
- // eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access
- void modal.destroyedEntry.delete().then(() => {
- resolve({ entry: modal.destroyedEntry, action: 'destroy' });
- });
- } else if (modal.modifiedEntry) {
- resolve({ entry: modal.modifiedEntry, action: 'update' });
- } else {
- reject();
- }
- })));
+ ).subscribe((modal) => {
+ modal
+ .closingEvent
+ .pipe(take(1))
+ .subscribe(() => {
+ if (modal.destroyedEntry) {
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access
+ void modal.destroyedEntry.delete().then(() => {
+ resolve({ entry: modal.destroyedEntry, action: 'destroy' });
+ });
+ } else if (modal.modifiedEntry) {
+ resolve({ entry: modal.modifiedEntry, action: 'update' });
+ } else {
+ resolve({ entry: modal.entry, action: 'unchanged' });
+ }
+ });
+ });
});
}
+ public async stopTimerAndEdit(activeTimer:TimeEntryResource):Promise<unknown> {
+ await this.schemaCache.ensureLoaded(activeTimer);
+
+ const change = this.halEditing.edit(activeTimer);
+ const hours = moment().diff(moment(activeTimer.createdAt as string), 'hours', true);
+ const formatted = this.timezoneService.toISODuration(hours, 'hours');
+ change.setValue('hours', formatted);
+ change.setValue('ongoing', false);
+
+ return this
+ .editChange(change)
+ .then((update) => {
+ if (update.action !== 'unchanged') {
+ this.timeEntryService.timer$.next(null);
+ }
+ });
+ }
+
public createChangeset(entry:TimeEntryResource):Promise<ResourceChangeset<TimeEntryResource>> {
return this
.apiV3Service
diff --git a/frontend/src/app/shared/components/time_entries/form/form.component.ts b/frontend/src/app/shared/components/time_entries/form/form.component.ts
index 48853dcaeaf..7ced95197e2 100644
--- a/frontend/src/app/shared/components/time_entries/form/form.component.ts
+++ b/frontend/src/app/shared/components/time_entries/form/form.component.ts
@@ -67,6 +67,7 @@ export class TimeEntryFormComponent extends UntilDestroyedMixin implements OnIni
});
this.schema = this.changeset.schema;
+ this.workPackageSelected = !!this.changeset?.value('workPackage');
this.setCustomFields();
this.cdRef.detectChanges();
}
diff --git a/frontend/src/app/shared/components/time_entries/openproject-time-entries.module.ts b/frontend/src/app/shared/components/time_entries/openproject-time-entries.module.ts
index 973bc77eaaf..13335003f90 100644
--- a/frontend/src/app/shared/components/time_entries/openproject-time-entries.module.ts
+++ b/frontend/src/app/shared/components/time_entries/openproject-time-entries.module.ts
@@ -35,10 +35,15 @@ import { TimeEntryEditModalComponent } from 'core-app/shared/components/time_ent
import { TimeEntryFormComponent } from 'core-app/shared/components/time_entries/form/form.component';
import { TimeEntryEditService } from 'core-app/shared/components/time_entries/edit/edit.service';
import { TriggerActionsEntryComponent } from 'core-app/shared/components/time_entries/edit/trigger-actions-entry.component';
+import { TimeEntryTimerService } from 'core-app/shared/components/time_entries/services/time-entry-timer.service';
+import { CommonModule } from '@angular/common';
+import { TimerAccountMenuComponent } from 'core-app/shared/components/time_entries/timer/timer-account-menu.component';
+import { StopExistingTimerModalComponent } from 'core-app/shared/components/time_entries/timer/stop-existing-timer-modal.component';
@NgModule({
imports: [
// Commons
+ CommonModule,
OpSharedModule,
OpenprojectModalModule,
@@ -50,6 +55,11 @@ import { TriggerActionsEntryComponent } from 'core-app/shared/components/time_en
TimeEntryCreateModalComponent,
TimeEntryFormComponent,
TriggerActionsEntryComponent,
+ TimerAccountMenuComponent,
+ StopExistingTimerModalComponent,
+ ],
+ providers: [
+ TimeEntryTimerService,
],
})
export class OpenprojectTimeEntriesModule {
diff --git a/frontend/src/app/shared/components/time_entries/services/time-entry-timer.service.ts b/frontend/src/app/shared/components/time_entries/services/time-entry-timer.service.ts
new file mode 100644
index 00000000000..e48aa54e974
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/services/time-entry-timer.service.ts
@@ -0,0 +1,76 @@
+import {
+ Injectable,
+ Injector,
+} from '@angular/core';
+import {
+ filter,
+ map,
+ tap,
+} from 'rxjs/operators';
+import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
+import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
+import { ApiV3FilterBuilder } from 'core-app/shared/helpers/api-v3/api-v3-filter-builder';
+import {
+ BehaviorSubject,
+ Observable,
+} from 'rxjs';
+
+@Injectable()
+export class TimeEntryTimerService {
+ public timer$ = new BehaviorSubject<TimeEntryResource|null|undefined>(undefined);
+
+ public activeTimer$ = this.timer$
+ .asObservable()
+ .pipe(
+ filter((item) => item !== undefined),
+ ) as Observable<TimeEntryResource|null>;
+
+ constructor(
+ readonly injector:Injector,
+ readonly apiV3Service:ApiV3Service,
+ ) {
+ // Refresh the timer after some interval to not block other resources
+ setTimeout(() => this.refresh().subscribe(), 100);
+
+ this
+ .activeTimer$
+ .subscribe((entry) => {
+ this.removeTimer();
+
+ if (entry) {
+ this.renderTimer();
+ }
+ });
+ }
+
+ public refresh():Observable<TimeEntryResource|null> {
+ const filters = new ApiV3FilterBuilder();
+ filters.add('ongoing', '=', true);
+
+ return this
+ .apiV3Service
+ .time_entries
+ .filtered(filters)
+ .get()
+ .pipe(
+ map((collection) => collection.elements.pop() || null),
+ tap((active) => this.timer$.next(active)),
+ );
+ }
+
+ private renderTimer() {
+ const timerElement = document.createElement('span');
+ const icon = document.createElement('span');
+ timerElement.classList.add('op-principal--timer');
+ icon.classList.add('spot-icon', 'spot-icon_time', 'spot-icon_1_25');
+ timerElement.appendChild(icon);
+
+ const avatar = document.querySelector<HTMLElement>('.op-top-menu-user-avatar');
+ avatar?.appendChild(timerElement);
+ }
+
+ private removeTimer() {
+ const timerElement = document.querySelector('.op-principal--timer') as HTMLElement;
+ timerElement?.remove();
+ }
+}
diff --git a/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.ts b/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.ts
index ff7a39002da..abf373d0ac7 100644
--- a/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.ts
+++ b/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.ts
@@ -4,6 +4,7 @@ import {
ElementRef,
Inject,
Injector,
+ OnInit,
ViewChild,
} from '@angular/core';
import { OpModalComponent } from 'core-app/shared/components/modal/modal.component';
@@ -18,7 +19,7 @@ import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-re
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset';
@Directive()
-export abstract class TimeEntryBaseModal extends OpModalComponent {
+export abstract class TimeEntryBaseModal extends OpModalComponent implements OnInit {
@ViewChild('editForm', { static: true }) editForm:TimeEntryFormComponent;
public text:{ [key:string]:string } = {
@@ -32,6 +33,8 @@ export abstract class TimeEntryBaseModal extends OpModalComponent {
public formInFlight:boolean;
+ public changeset:ResourceChangeset<TimeEntryResource>;
+
@InjectField() apiV3Service:ApiV3Service;
constructor(readonly elementRef:ElementRef,
@@ -42,12 +45,13 @@ export abstract class TimeEntryBaseModal extends OpModalComponent {
super(locals, cdRef, elementRef);
}
- public abstract setModifiedEntry($event:{ savedResource:HalResource, isInital:boolean }):void;
-
- public get changeset():ResourceChangeset<TimeEntryResource> {
- return this.locals.changeset;
+ ngOnInit() {
+ super.ngOnInit();
+ this.changeset = this.locals.changeset as ResourceChangeset<TimeEntryResource>;
}
+ public abstract setModifiedEntry($event:{ savedResource:HalResource, isInital:boolean }):void;
+
public get entry():TimeEntryResource {
return this.changeset.projectedResource;
}
@@ -80,6 +84,8 @@ export abstract class TimeEntryBaseModal extends OpModalComponent {
}
protected reloadWorkPackageAndClose():void {
+ this.service.close();
+ this.formInFlight = false;
// reload workPackage
if (this.entry.workPackage) {
void this
@@ -88,8 +94,7 @@ export abstract class TimeEntryBaseModal extends OpModalComponent {
.id(this.entry.workPackage)
.refresh();
}
- this.service.close();
- this.formInFlight = false;
+
this.cdRef.detectChanges();
}
}
diff --git a/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.html b/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.html
new file mode 100644
index 00000000000..e4856e7d04a
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.html
@@ -0,0 +1,47 @@
+<div
+ class="spot-modal"
+ data-qa-selector="op-stop-existing-timer-modal"
+>
+ <div class="spot-modal--header">
+ <span class="spot-modal--header-title">{{text.title}}</span>
+ </div>
+
+ <p
+ class="spot-modal--subheader"
+ [textContent]="text.timer_already_running"></p>
+
+ <div class="spot-divider"></div>
+
+ <div class="spot-modal--body spot-container spot-body-small">
+ <p>
+ <strong>{{ text.tracking_time }}: {{ elapsed$ | async }}</strong>
+ <br/>
+ <a
+ uiSref="work-packages.show"
+ [uiParams]="{ workPackageId: active.workPackage.id }"
+ (click)="closeMe()"
+ >
+ #{{ active.workPackage.id }}: {{ active.workPackage.name }}
+ </a>
+ </p>
+
+ </div>
+ <div class="spot-action-bar">
+ <div class="spot-action-bar--right">
+ <button
+ type="button"
+ class="button spot-modal--cancel-button spot-action-bar--action"
+ [textContent]="text.button_cancel"
+ (click)="closeMe()"
+ ></button>
+ <button
+ type="button"
+ class="button -highlight spot-action-bar--action"
+ data-qa-selector="op-files-picker-modal--confirm"
+ [textContent]="text.button_stop"
+ (click)="saveAndClose()"
+ >
+ </button>
+ </div>
+ </div>
+</div>
diff --git a/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.ts b/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.ts
new file mode 100644
index 00000000000..4598b494867
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/timer/stop-existing-timer-modal.component.ts
@@ -0,0 +1,101 @@
+// -- copyright
+// OpenProject is an open source project management software.
+// Copyright (C) 2012-2023 the OpenProject GmbH
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License version 3.
+//
+// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+// Copyright (C) 2006-2013 Jean-Philippe Lang
+// Copyright (C) 2010-2013 the ChiliProject Team
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+// See COPYRIGHT and LICENSE files for more details.
+//++
+
+import {
+ ChangeDetectionStrategy,
+ ChangeDetectorRef,
+ Component,
+ ElementRef,
+ HostBinding,
+ Inject,
+ OnInit,
+ ViewEncapsulation,
+} from '@angular/core';
+import { OpModalLocalsMap } from 'core-app/shared/components/modal/modal.types';
+import { OpModalComponent } from 'core-app/shared/components/modal/modal.component';
+import { OpModalLocalsToken } from 'core-app/shared/components/modal/modal.service';
+import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
+import {
+ Observable,
+ timer,
+} from 'rxjs';
+import {
+ filter,
+ map,
+} from 'rxjs/operators';
+import { formatElapsedTime } from 'core-app/features/work-packages/components/wp-timer-button/time-formatter.helper';
+import { I18nService } from 'core-app/core/i18n/i18n.service';
+import { StateService } from '@uirouter/core';
+
+@Component({
+ templateUrl: './stop-existing-timer-modal.component.html',
+ encapsulation: ViewEncapsulation.None,
+ changeDetection: ChangeDetectionStrategy.OnPush,
+})
+export class StopExistingTimerModalComponent extends OpModalComponent implements OnInit {
+ @HostBinding('class.op-timer-stop-modal') className = true;
+
+ public active:TimeEntryResource;
+
+ public confirmed = false;
+
+ elapsed$:Observable<string> = timer(0, 1000)
+ .pipe(
+ map(() => this.active),
+ filter((timeEntry) => timeEntry !== null),
+ map((timeEntry:TimeEntryResource) => formatElapsedTime(timeEntry.createdAt as string)),
+ );
+
+ public text = {
+ title: this.I18n.t('js.timer.start_new_timer'),
+ button_cancel: this.I18n.t('js.button_cancel'),
+ button_stop: this.I18n.t('js.timer.button_stop'),
+ timer_already_running: this.I18n.t('js.timer.timer_already_running'),
+ tracking_time: this.I18n.t('js.timer.tracking_time'),
+ };
+
+ constructor(
+ readonly elementRef:ElementRef,
+ @Inject(OpModalLocalsToken) public locals:OpModalLocalsMap,
+ readonly cdRef:ChangeDetectorRef,
+ readonly state:StateService,
+ readonly I18n:I18nService,
+ ) {
+ super(locals, cdRef, elementRef);
+ }
+
+ ngOnInit() {
+ super.ngOnInit();
+ this.active = this.locals.timer as TimeEntryResource;
+ }
+
+ saveAndClose():void {
+ this.confirmed = true;
+ this.closeMe();
+ }
+}
diff --git a/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.html b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.html
new file mode 100644
index 00000000000..dce34c72f1b
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.html
@@ -0,0 +1,20 @@
+<ng-container *ngIf="timer$ | async as timer">
+ <span class="op-timer-account-menu--timer"> {{text.tracking}}: {{ elapsed$ | async }}
+ <a
+ class="op-timer-account-menu--timer-icon"
+ data-qa-selector="op-timer-account-menu-stop"
+ (click)="stopTimer()"
+ >
+ <span class="spot-icon spot-icon_inline spot-icon_time-tracking-stop spot-icon_1_25"> </span>
+ {{text.stop}}
+ </a>
+ </span>
+ <a
+ class="op-timer-account-menu--wp-details"
+ uiSref="work-packages.show"
+ [uiParams]="{ workPackageId: timer.workPackage.id }"
+ >
+ #{{ timer.workPackage.id }}: {{ timer.workPackage.name }}
+ </a>
+ <div class="spot-divider"></div>
+</ng-container>
diff --git a/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass
new file mode 100644
index 00000000000..a37f21882b9
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass
@@ -0,0 +1,21 @@
+@import "src/assets/sass/helpers"
+.op-timer-account-menu
+ max-width: 270px
+ display: block
+ @include spot-body-small
+
+ &--timer
+ display: flex
+ align-items: center
+ padding: 0 10px
+ @include spot-body-small (bold)
+ line-height: $spot-spacing-2
+
+ &-icon
+ margin-left: auto
+ &--wp-details
+ padding: 0 10px
+ display: inline-block
+ width: 270px
+ @include text-shortener
+
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.ts b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.ts
new file mode 100644
index 00000000000..995078e0ab6
--- /dev/null
+++ b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.ts
@@ -0,0 +1,93 @@
+import {
+ ChangeDetectionStrategy,
+ ChangeDetectorRef,
+ Component,
+ ElementRef,
+ HostBinding,
+ OnInit,
+ ViewEncapsulation,
+} from '@angular/core';
+import { TimeEntryTimerService } from 'core-app/shared/components/time_entries/services/time-entry-timer.service';
+import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';
+import { TimeEntryResource } from 'core-app/features/hal/resources/time-entry-resource';
+import {
+ firstValueFrom,
+ Observable,
+ switchMap,
+ timer,
+} from 'rxjs';
+import {
+ filter,
+ map,
+} from 'rxjs/operators';
+import { formatElapsedTime } from 'core-app/features/work-packages/components/wp-timer-button/time-formatter.helper';
+import { I18nService } from 'core-app/core/i18n/i18n.service';
+import { TimeEntryEditService } from '../edit/edit.service';
+import { HalResourceEditingService } from '../../fields/edit/services/hal-resource-editing.service';
+import { SchemaCacheService } from 'core-app/core/schemas/schema-cache.service';
+import { TimezoneService } from 'core-app/core/datetime/timezone.service';
+import { ToastService } from 'core-app/shared/components/toaster/toast.service';
+
+export const timerAccountSelector = 'op-timer-account-menu';
+
+@Component({
+ selector: timerAccountSelector,
+ templateUrl: './timer-account-menu.component.html',
+ styleUrls: ['./timer-account-menu.component.sass'],
+ changeDetection: ChangeDetectionStrategy.OnPush,
+ encapsulation: ViewEncapsulation.None,
+ providers: [TimeEntryEditService,
+ HalResourceEditingService],
+})
+export class TimerAccountMenuComponent extends UntilDestroyedMixin implements OnInit {
+ @HostBinding('class.op-timer-account-menu') className = true;
+
+ timer$ = this.timeEntryService.activeTimer$;
+
+ elapsed$:Observable<string> = timer(0, 1000)
+ .pipe(
+ switchMap(() => this.timer$),
+ filter((timeEntry) => timeEntry !== null),
+ map((timeEntry:TimeEntryResource) => formatElapsedTime(timeEntry.createdAt as string)),
+ );
+
+ text = {
+ tracking: this.I18n.t('js.time_entry.tracking'),
+ stop: this.I18n.t('js.time_entry.stop'),
+ timer_already_stopped: this.I18n.t('js.timer.timer_already_stopped'),
+ };
+
+ constructor(
+ readonly elementRef:ElementRef<HTMLElement>,
+ readonly timeEntryService:TimeEntryTimerService,
+ readonly cdRef:ChangeDetectorRef,
+ readonly I18n:I18nService,
+ readonly timeEntryEditService:TimeEntryEditService,
+ readonly halEditing:HalResourceEditingService,
+ readonly schemaCache:SchemaCacheService,
+ readonly timezoneService:TimezoneService,
+ readonly toastService:ToastService,
+ ) {
+ super();
+ }
+
+ ngOnInit() {
+ const parent = this.elementRef.nativeElement.parentElement as HTMLElement;
+ parent.hidden = true;
+
+ this.timer$
+ .subscribe((active) => {
+ parent.hidden = !active;
+ this.cdRef.detectChanges();
+ });
+ }
+
+ public async stopTimer():Promise<unknown> {
+ const active = await firstValueFrom(this.timeEntryService.refresh());
+ if (!active) {
+ return this.toastService.addWarning(this.text.timer_already_stopped);
+ }
+
+ return this.timeEntryEditService.stopTimerAndEdit(active);
+ }
+}
diff --git a/frontend/src/app/spot/icon-font/icons.json b/frontend/src/app/spot/icon-font/icons.json
index 7adbc80d9a3..b502eda8d0d 100644
--- a/frontend/src/app/spot/icon-font/icons.json
+++ b/frontend/src/app/spot/icon-font/icons.json
@@ -269,6 +269,7 @@
"star",
"status-reporting",
"status",
+ "stop",
"strike-through",
"sum-error",
"sum-sign",
@@ -280,6 +281,9 @@
"ticket-minus",
"ticket-note",
"ticket",
+ "time-tracking-running",
+ "time-tracking-start",
+ "time-tracking-stop",
"time",
"to-fullscreen",
"today-arrows",
diff --git a/frontend/src/app/spot/icon-font/icons/stop.svg b/frontend/src/app/spot/icon-font/icons/stop.svg
new file mode 100644
index 00000000000..d03a815be5f
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/icons/stop.svg
@@ -0,0 +1,3 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M4 20V4H20V20H4Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/icons/time-tracking-running.svg b/frontend/src/app/spot/icon-font/icons/time-tracking-running.svg
new file mode 100644
index 00000000000..6b87d7a5465
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/icons/time-tracking-running.svg
@@ -0,0 +1,3 @@
+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M19.7013 12.137C19.7013 9.01885 17.1501 6.46767 14.032 6.46767C10.9139 6.46767 8.36269 9.01885 8.36269 12.137C8.36269 13.5314 8.87294 14.8125 9.71596 15.8028C9.29883 15.4311 8.74897 15.2053 8.14636 15.2053C7.65722 15.2053 7.20283 15.3541 6.82597 15.6089C6.31734 14.5581 6.03198 13.3801 6.03198 12.137C6.03198 7.72751 9.62253 4.13696 14.032 4.13696C18.4414 4.13696 22.032 7.72751 22.032 12.137C22.032 16.5464 18.4414 20.137 14.032 20.137C13.3549 20.137 12.6971 20.0523 12.0686 19.893C13.1058 19.7173 13.9128 18.8651 14.0199 17.8062L14.032 17.8063C17.1501 17.8063 19.7013 15.2551 19.7013 12.137ZM13.8208 11.886C13.6598 11.7849 13.5595 11.6113 13.5595 11.4126V9.08184C13.5595 8.76688 13.8115 8.48342 14.158 8.48342C14.4729 8.48342 14.7249 8.76688 14.7249 9.08184V11.1155L17.4336 13.2708C17.6855 13.4913 17.717 13.8378 17.528 14.0897C17.4021 14.2472 17.2446 14.3102 17.0556 14.3102C16.9296 14.3102 16.8036 14.2787 16.7091 14.1842L13.8208 11.886ZM10.6716 17.5658C10.6716 17.0135 11.1193 16.5658 11.6716 16.5658C12.2239 16.5658 12.6716 17.0135 12.6716 17.5658C12.6716 18.1181 12.2239 18.5658 11.6716 18.5658C11.1193 18.5658 10.6716 18.1181 10.6716 17.5658ZM4.62085 16.5658C4.06856 16.5658 3.62085 17.0135 3.62085 17.5658C3.62085 18.1181 4.06856 18.5658 4.62085 18.5658C5.17313 18.5658 5.62085 18.1181 5.62085 17.5658C5.62085 17.0135 5.17313 16.5658 4.62085 16.5658ZM7.14624 17.5658C7.14624 17.0135 7.59396 16.5658 8.14624 16.5658C8.69852 16.5658 9.14624 17.0135 9.14624 17.5658C9.14624 18.1181 8.69852 18.5658 8.14624 18.5658C7.59396 18.5658 7.14624 18.1181 7.14624 17.5658Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/icons/time-tracking-start.svg b/frontend/src/app/spot/icon-font/icons/time-tracking-start.svg
new file mode 100644
index 00000000000..6332ddd9799
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/icons/time-tracking-start.svg
@@ -0,0 +1,3 @@
+<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.2429 5.68715C16.361 5.68715 18.9122 8.23834 18.9122 11.3564C18.9122 14.4746 16.361 17.0257 13.2429 17.0257C12.7405 17.0257 12.2528 16.9595 11.7881 16.8353L9.38679 18.3635C10.5312 18.9961 11.846 19.3564 13.2429 19.3564C17.6524 19.3564 21.2429 15.7659 21.2429 11.3564C21.2429 6.947 17.6524 3.35645 13.2429 3.35645C9.07573 3.35645 5.63994 6.56327 5.27497 10.6375L7.62718 12.1344C7.59187 11.8799 7.57362 11.6202 7.57362 11.3564C7.57362 8.23834 10.1248 5.68715 13.2429 5.68715ZM12.7705 10.632C12.7705 10.8307 12.8707 11.0044 13.0318 11.1055L15.9201 13.4037C16.0146 13.4982 16.1405 13.5297 16.2665 13.5297C16.4555 13.5297 16.613 13.4667 16.739 13.3092C16.9279 13.0572 16.8965 12.7108 16.6445 12.4903L13.9358 10.335V8.30133C13.9358 7.98637 13.6839 7.7029 13.3689 7.7029C13.0224 7.7029 12.7705 7.98637 12.7705 8.30133V10.632ZM2.75732 20.8998V10.718L10.7573 15.8089L2.75732 20.8998Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/icons/time-tracking-stop.svg b/frontend/src/app/spot/icon-font/icons/time-tracking-stop.svg
new file mode 100644
index 00000000000..fa97cdf11b8
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/icons/time-tracking-stop.svg
@@ -0,0 +1,3 @@
+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8667 5.96767C16.9848 5.96767 19.536 8.51885 19.536 11.637C19.536 14.7551 16.9848 17.3063 13.8667 17.3063C13.5427 17.3063 13.2248 17.2787 12.9153 17.2259V19.5807C13.2274 19.6178 13.5449 19.637 13.8667 19.637C18.2761 19.637 21.8667 16.0464 21.8667 11.637C21.8667 7.22751 18.2761 3.63696 13.8667 3.63696C9.66431 3.63696 6.20572 6.89822 5.89016 11.0215H8.23084C8.54009 8.19003 10.9565 5.96767 13.8667 5.96767ZM13.3943 10.9126C13.3943 11.1113 13.4945 11.2849 13.6556 11.386L16.5439 13.6842C16.6384 13.7787 16.7643 13.8102 16.8903 13.8102C17.0793 13.8102 17.2368 13.7472 17.3628 13.5897C17.5517 13.3378 17.5202 12.9913 17.2683 12.7708L14.5596 10.6155V8.58184C14.5596 8.26688 14.3076 7.98342 13.9927 7.98342C13.6462 7.98342 13.3943 8.26688 13.3943 8.58184V10.9126ZM3.43896 12.637V20.637H11.439V12.637H3.43896Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/src/time-tracking-running.svg b/frontend/src/app/spot/icon-font/src/time-tracking-running.svg
new file mode 100644
index 00000000000..6b87d7a5465
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/src/time-tracking-running.svg
@@ -0,0 +1,3 @@
+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M19.7013 12.137C19.7013 9.01885 17.1501 6.46767 14.032 6.46767C10.9139 6.46767 8.36269 9.01885 8.36269 12.137C8.36269 13.5314 8.87294 14.8125 9.71596 15.8028C9.29883 15.4311 8.74897 15.2053 8.14636 15.2053C7.65722 15.2053 7.20283 15.3541 6.82597 15.6089C6.31734 14.5581 6.03198 13.3801 6.03198 12.137C6.03198 7.72751 9.62253 4.13696 14.032 4.13696C18.4414 4.13696 22.032 7.72751 22.032 12.137C22.032 16.5464 18.4414 20.137 14.032 20.137C13.3549 20.137 12.6971 20.0523 12.0686 19.893C13.1058 19.7173 13.9128 18.8651 14.0199 17.8062L14.032 17.8063C17.1501 17.8063 19.7013 15.2551 19.7013 12.137ZM13.8208 11.886C13.6598 11.7849 13.5595 11.6113 13.5595 11.4126V9.08184C13.5595 8.76688 13.8115 8.48342 14.158 8.48342C14.4729 8.48342 14.7249 8.76688 14.7249 9.08184V11.1155L17.4336 13.2708C17.6855 13.4913 17.717 13.8378 17.528 14.0897C17.4021 14.2472 17.2446 14.3102 17.0556 14.3102C16.9296 14.3102 16.8036 14.2787 16.7091 14.1842L13.8208 11.886ZM10.6716 17.5658C10.6716 17.0135 11.1193 16.5658 11.6716 16.5658C12.2239 16.5658 12.6716 17.0135 12.6716 17.5658C12.6716 18.1181 12.2239 18.5658 11.6716 18.5658C11.1193 18.5658 10.6716 18.1181 10.6716 17.5658ZM4.62085 16.5658C4.06856 16.5658 3.62085 17.0135 3.62085 17.5658C3.62085 18.1181 4.06856 18.5658 4.62085 18.5658C5.17313 18.5658 5.62085 18.1181 5.62085 17.5658C5.62085 17.0135 5.17313 16.5658 4.62085 16.5658ZM7.14624 17.5658C7.14624 17.0135 7.59396 16.5658 8.14624 16.5658C8.69852 16.5658 9.14624 17.0135 9.14624 17.5658C9.14624 18.1181 8.69852 18.5658 8.14624 18.5658C7.59396 18.5658 7.14624 18.1181 7.14624 17.5658Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/src/time-tracking-start.svg b/frontend/src/app/spot/icon-font/src/time-tracking-start.svg
new file mode 100644
index 00000000000..6332ddd9799
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/src/time-tracking-start.svg
@@ -0,0 +1,3 @@
+<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.2429 5.68715C16.361 5.68715 18.9122 8.23834 18.9122 11.3564C18.9122 14.4746 16.361 17.0257 13.2429 17.0257C12.7405 17.0257 12.2528 16.9595 11.7881 16.8353L9.38679 18.3635C10.5312 18.9961 11.846 19.3564 13.2429 19.3564C17.6524 19.3564 21.2429 15.7659 21.2429 11.3564C21.2429 6.947 17.6524 3.35645 13.2429 3.35645C9.07573 3.35645 5.63994 6.56327 5.27497 10.6375L7.62718 12.1344C7.59187 11.8799 7.57362 11.6202 7.57362 11.3564C7.57362 8.23834 10.1248 5.68715 13.2429 5.68715ZM12.7705 10.632C12.7705 10.8307 12.8707 11.0044 13.0318 11.1055L15.9201 13.4037C16.0146 13.4982 16.1405 13.5297 16.2665 13.5297C16.4555 13.5297 16.613 13.4667 16.739 13.3092C16.9279 13.0572 16.8965 12.7108 16.6445 12.4903L13.9358 10.335V8.30133C13.9358 7.98637 13.6839 7.7029 13.3689 7.7029C13.0224 7.7029 12.7705 7.98637 12.7705 8.30133V10.632ZM2.75732 20.8998V10.718L10.7573 15.8089L2.75732 20.8998Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/icon-font/src/time-tracking-stop.svg b/frontend/src/app/spot/icon-font/src/time-tracking-stop.svg
new file mode 100644
index 00000000000..fa97cdf11b8
--- /dev/null
+++ b/frontend/src/app/spot/icon-font/src/time-tracking-stop.svg
@@ -0,0 +1,3 @@
+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8667 5.96767C16.9848 5.96767 19.536 8.51885 19.536 11.637C19.536 14.7551 16.9848 17.3063 13.8667 17.3063C13.5427 17.3063 13.2248 17.2787 12.9153 17.2259V19.5807C13.2274 19.6178 13.5449 19.637 13.8667 19.637C18.2761 19.637 21.8667 16.0464 21.8667 11.637C21.8667 7.22751 18.2761 3.63696 13.8667 3.63696C9.66431 3.63696 6.20572 6.89822 5.89016 11.0215H8.23084C8.54009 8.19003 10.9565 5.96767 13.8667 5.96767ZM13.3943 10.9126C13.3943 11.1113 13.4945 11.2849 13.6556 11.386L16.5439 13.6842C16.6384 13.7787 16.7643 13.8102 16.8903 13.8102C17.0793 13.8102 17.2368 13.7472 17.3628 13.5897C17.5517 13.3378 17.5202 12.9913 17.2683 12.7708L14.5596 10.6155V8.58184C14.5596 8.26688 14.3076 7.98342 13.9927 7.98342C13.6462 7.98342 13.3943 8.26688 13.3943 8.58184V10.9126ZM3.43896 12.637V20.637H11.439V12.637H3.43896Z" fill="black"/>
+</svg>
diff --git a/frontend/src/app/spot/styles/sass/common/icon.sass b/frontend/src/app/spot/styles/sass/common/icon.sass
index 29b2823e73c..62d9afee126 100644
--- a/frontend/src/app/spot/styles/sass/common/icon.sass
+++ b/frontend/src/app/spot/styles/sass/common/icon.sass
@@ -1918,366 +1918,394 @@
content: "\f20e"
-@mixin spot-icon-strike-through
+@mixin spot-icon-stop
content: "\f20f"
-.spot-icon_strike-through:before
+.spot-icon_stop:before
content: "\f20f"
-@mixin spot-icon-sum-error
+@mixin spot-icon-strike-through
content: "\f210"
-.spot-icon_sum-error:before
+.spot-icon_strike-through:before
content: "\f210"
-@mixin spot-icon-sum-sign
+@mixin spot-icon-sum-error
content: "\f211"
-.spot-icon_sum-sign:before
+.spot-icon_sum-error:before
content: "\f211"
-@mixin spot-icon-team-planner
+@mixin spot-icon-sum-sign
content: "\f212"
-.spot-icon_team-planner:before
+.spot-icon_sum-sign:before
content: "\f212"
-@mixin spot-icon-text
+@mixin spot-icon-team-planner
content: "\f213"
-.spot-icon_text:before
+.spot-icon_team-planner:before
content: "\f213"
-@mixin spot-icon-ticket-checked
+@mixin spot-icon-text
content: "\f214"
-.spot-icon_ticket-checked:before
+.spot-icon_text:before
content: "\f214"
-@mixin spot-icon-ticket-down
+@mixin spot-icon-ticket-checked
content: "\f215"
-.spot-icon_ticket-down:before
+.spot-icon_ticket-checked:before
content: "\f215"
-@mixin spot-icon-ticket-edit
+@mixin spot-icon-ticket-down
content: "\f216"
-.spot-icon_ticket-edit:before
+.spot-icon_ticket-down:before
content: "\f216"
-@mixin spot-icon-ticket-minus
+@mixin spot-icon-ticket-edit
content: "\f217"
-.spot-icon_ticket-minus:before
+.spot-icon_ticket-edit:before
content: "\f217"
-@mixin spot-icon-ticket-note
+@mixin spot-icon-ticket-minus
content: "\f218"
-.spot-icon_ticket-note:before
+.spot-icon_ticket-minus:before
content: "\f218"
-@mixin spot-icon-ticket
+@mixin spot-icon-ticket-note
content: "\f219"
-.spot-icon_ticket:before
+.spot-icon_ticket-note:before
content: "\f219"
-@mixin spot-icon-time
+@mixin spot-icon-ticket
content: "\f21a"
-.spot-icon_time:before
+.spot-icon_ticket:before
content: "\f21a"
-@mixin spot-icon-to-fullscreen
+@mixin spot-icon-time-tracking-running
content: "\f21b"
-.spot-icon_to-fullscreen:before
+.spot-icon_time-tracking-running:before
content: "\f21b"
-@mixin spot-icon-today-arrows
+@mixin spot-icon-time-tracking-start
content: "\f21c"
-.spot-icon_today-arrows:before
+.spot-icon_time-tracking-start:before
content: "\f21c"
-@mixin spot-icon-training-consulting
+@mixin spot-icon-time-tracking-stop
content: "\f21d"
-.spot-icon_training-consulting:before
+.spot-icon_time-tracking-stop:before
content: "\f21d"
-@mixin spot-icon-two-factor-authentication
+@mixin spot-icon-time
content: "\f21e"
-.spot-icon_two-factor-authentication:before
+.spot-icon_time:before
content: "\f21e"
-@mixin spot-icon-two-factor-authentification
+@mixin spot-icon-to-fullscreen
content: "\f21f"
-.spot-icon_two-factor-authentification:before
+.spot-icon_to-fullscreen:before
content: "\f21f"
-@mixin spot-icon-types
+@mixin spot-icon-today-arrows
content: "\f220"
-.spot-icon_types:before
+.spot-icon_today-arrows:before
content: "\f220"
-@mixin spot-icon-underline
+@mixin spot-icon-training-consulting
content: "\f221"
-.spot-icon_underline:before
+.spot-icon_training-consulting:before
content: "\f221"
-@mixin spot-icon-undo
+@mixin spot-icon-two-factor-authentication
content: "\f222"
-.spot-icon_undo:before
+.spot-icon_two-factor-authentication:before
content: "\f222"
-@mixin spot-icon-unit
+@mixin spot-icon-two-factor-authentification
content: "\f223"
-.spot-icon_unit:before
+.spot-icon_two-factor-authentification:before
content: "\f223"
-@mixin spot-icon-unlocked
+@mixin spot-icon-types
content: "\f224"
-.spot-icon_unlocked:before
+.spot-icon_types:before
content: "\f224"
-@mixin spot-icon-unordered-list
+@mixin spot-icon-underline
content: "\f225"
-.spot-icon_unordered-list:before
+.spot-icon_underline:before
content: "\f225"
-@mixin spot-icon-unwatched
+@mixin spot-icon-undo
content: "\f226"
-.spot-icon_unwatched:before
+.spot-icon_undo:before
content: "\f226"
-@mixin spot-icon-up-down-stepper
+@mixin spot-icon-unit
content: "\f227"
-.spot-icon_up-down-stepper:before
+.spot-icon_unit:before
content: "\f227"
-@mixin spot-icon-upload-arrow
+@mixin spot-icon-unlocked
content: "\f228"
-.spot-icon_upload-arrow:before
+.spot-icon_unlocked:before
content: "\f228"
-@mixin spot-icon-upload
+@mixin spot-icon-unordered-list
content: "\f229"
-.spot-icon_upload:before
+.spot-icon_unordered-list:before
content: "\f229"
-@mixin spot-icon-user-minus
+@mixin spot-icon-unwatched
content: "\f22a"
-.spot-icon_user-minus:before
+.spot-icon_unwatched:before
content: "\f22a"
-@mixin spot-icon-user-missing
+@mixin spot-icon-up-down-stepper
content: "\f22b"
-.spot-icon_user-missing:before
+.spot-icon_up-down-stepper:before
content: "\f22b"
-@mixin spot-icon-user-plus
+@mixin spot-icon-upload-arrow
content: "\f22c"
-.spot-icon_user-plus:before
+.spot-icon_upload-arrow:before
content: "\f22c"
-@mixin spot-icon-user
+@mixin spot-icon-upload
content: "\f22d"
-.spot-icon_user:before
+.spot-icon_upload:before
content: "\f22d"
-@mixin spot-icon-view-card
+@mixin spot-icon-user-minus
content: "\f22e"
-.spot-icon_view-card:before
+.spot-icon_user-minus:before
content: "\f22e"
-@mixin spot-icon-view-fullscreen
+@mixin spot-icon-user-missing
content: "\f22f"
-.spot-icon_view-fullscreen:before
+.spot-icon_user-missing:before
content: "\f22f"
-@mixin spot-icon-view-list
+@mixin spot-icon-user-plus
content: "\f230"
-.spot-icon_view-list:before
+.spot-icon_user-plus:before
content: "\f230"
-@mixin spot-icon-view-model
+@mixin spot-icon-user
content: "\f231"
-.spot-icon_view-model:before
+.spot-icon_user:before
content: "\f231"
-@mixin spot-icon-view-split-viewer-table
+@mixin spot-icon-view-card
content: "\f232"
-.spot-icon_view-split-viewer-table:before
+.spot-icon_view-card:before
content: "\f232"
-@mixin spot-icon-view-split
+@mixin spot-icon-view-fullscreen
content: "\f233"
-.spot-icon_view-split:before
+.spot-icon_view-fullscreen:before
content: "\f233"
-@mixin spot-icon-view-split2
+@mixin spot-icon-view-list
content: "\f234"
-.spot-icon_view-split2:before
+.spot-icon_view-list:before
content: "\f234"
-@mixin spot-icon-view-timeline
+@mixin spot-icon-view-model
content: "\f235"
-.spot-icon_view-timeline:before
+.spot-icon_view-model:before
content: "\f235"
-@mixin spot-icon-warning
+@mixin spot-icon-view-split-viewer-table
content: "\f236"
-.spot-icon_warning:before
+.spot-icon_view-split-viewer-table:before
content: "\f236"
-@mixin spot-icon-watched
+@mixin spot-icon-view-split
content: "\f237"
-.spot-icon_watched:before
+.spot-icon_view-split:before
content: "\f237"
-@mixin spot-icon-watching
+@mixin spot-icon-view-split2
content: "\f238"
-.spot-icon_watching:before
+.spot-icon_view-split2:before
content: "\f238"
-@mixin spot-icon-wiki-edit
+@mixin spot-icon-view-timeline
content: "\f239"
-.spot-icon_wiki-edit:before
+.spot-icon_view-timeline:before
content: "\f239"
-@mixin spot-icon-wiki
+@mixin spot-icon-warning
content: "\f23a"
-.spot-icon_wiki:before
+.spot-icon_warning:before
content: "\f23a"
-@mixin spot-icon-wiki2
+@mixin spot-icon-watched
content: "\f23b"
-.spot-icon_wiki2:before
+.spot-icon_watched:before
content: "\f23b"
-@mixin spot-icon-work-packages
+@mixin spot-icon-watching
content: "\f23c"
-.spot-icon_work-packages:before
+.spot-icon_watching:before
content: "\f23c"
-@mixin spot-icon-workflow
+@mixin spot-icon-wiki-edit
content: "\f23d"
-.spot-icon_workflow:before
+.spot-icon_wiki-edit:before
content: "\f23d"
-@mixin spot-icon-yes
+@mixin spot-icon-wiki
content: "\f23e"
-.spot-icon_yes:before
+.spot-icon_wiki:before
content: "\f23e"
-@mixin spot-icon-zen-mode
+@mixin spot-icon-wiki2
content: "\f23f"
-.spot-icon_zen-mode:before
+.spot-icon_wiki2:before
content: "\f23f"
-@mixin spot-icon-zoom-auto
+@mixin spot-icon-work-packages
content: "\f240"
-.spot-icon_zoom-auto:before
+.spot-icon_work-packages:before
content: "\f240"
-@mixin spot-icon-zoom-in
+@mixin spot-icon-workflow
content: "\f241"
-.spot-icon_zoom-in:before
+.spot-icon_workflow:before
content: "\f241"
-@mixin spot-icon-zoom-out
+@mixin spot-icon-yes
content: "\f242"
-.spot-icon_zoom-out:before
+.spot-icon_yes:before
content: "\f242"
+
+@mixin spot-icon-zen-mode
+ content: "\f243"
+
+.spot-icon_zen-mode:before
+ content: "\f243"
+
+
+@mixin spot-icon-zoom-auto
+ content: "\f244"
+
+.spot-icon_zoom-auto:before
+ content: "\f244"
+
+
+@mixin spot-icon-zoom-in
+ content: "\f245"
+
+.spot-icon_zoom-in:before
+ content: "\f245"
+
+
+@mixin spot-icon-zoom-out
+ content: "\f246"
+
+.spot-icon_zoom-out:before
+ content: "\f246"
+
diff --git a/frontend/src/app/spot/styles/sass/components/button-overrides.sass b/frontend/src/app/spot/styles/sass/components/button-overrides.sass
index 869c8196874..be52c479403 100644
--- a/frontend/src/app/spot/styles/sass/components/button-overrides.sass
+++ b/frontend/src/app/spot/styles/sass/components/button-overrides.sass
@@ -1,4 +1,4 @@
-.button
+.button:not(.button_flex)
.spot-icon
// Add rules for using new spot icons boxed within the old buttons
// prevent icon box to inflate button height
diff --git a/frontend/src/app/spot/styles/sass/components/modal.sass b/frontend/src/app/spot/styles/sass/components/modal.sass
index b349c3165f5..2831c9ebfdd 100644
--- a/frontend/src/app/spot/styles/sass/components/modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/modal.sass
@@ -58,6 +58,10 @@
*
color: var(--header-item-font-color)
+ &--subheader
+ padding-left: $spot-spacing-1
+
+
&--body
@include styled-scroll-bar
diff --git a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.svg b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.svg
index e28c5a48d6a..c0f65423003 100644
--- a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.svg
+++ b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.svg
@@ -772,116 +772,125 @@
<glyph glyph-name="ticket"
unicode="&#xF1FF;"
horiz-adv-x="512" d=" M453 326L334 444H59V-68H453V326zM105 -22V398H315L407 306V-22H105z" />
- <glyph glyph-name="time"
+ <glyph glyph-name="time-tracking-running"
unicode="&#xF200;"
+ horiz-adv-x="512" d=" M403.482624 163.43424C403.482624 227.293952 351.234048 279.5421184 287.37536 279.5421184C223.516672 279.5421184 171.2678912 227.293952 171.2678912 163.43424C171.2678912 134.876928 181.7178112 108.64 198.9828608 88.358656C190.4400384 95.971072 179.1789056 100.595456 166.8374528 100.595456C156.8198656 100.595456 147.5139584 97.548032 139.7958656 92.329728C129.3791232 113.850112 123.5349504 137.975552 123.5349504 163.43424C123.5349504 253.7405952 197.0694144 327.2750592 287.37536 327.2750592C377.6798720000001 327.2750592 451.21536 253.7405952 451.21536 163.43424C451.21536 73.129728 377.6798720000001 -0.40576 287.37536 -0.40576C273.508352 -0.40576 260.036608 1.328896 247.164928 4.59136C268.406784 8.189696 284.934144 25.642752 287.127552 47.329024L287.37536 47.326976C351.234048 47.326976 403.482624 99.575552 403.482624 163.43424zM283.049984 168.57472C279.752704 170.645248 277.69856 174.200576 277.69856 178.269952V226.0039168C277.69856 232.4542976 282.8595200000001 238.2595584 289.95584 238.2595584C296.404992 238.2595584 301.565952 232.4542976 301.565952 226.0039168V184.35456L357.040128 140.214016C362.19904 135.698176 362.84416 128.601856 358.97344 123.442944C356.395008 120.217344 353.169408 118.927104 349.298688 118.927104C346.718208 118.927104 344.137728 119.572224 342.202368 121.507584L283.049984 168.57472zM218.554368 52.252416C218.554368 63.56352 227.7232640000001 72.732416 239.034368 72.732416C250.345472 72.732416 259.514368 63.56352 259.514368 52.252416C259.514368 40.941312 250.345472 31.772416 239.034368 31.772416C227.7232640000001 31.772416 218.554368 40.941312 218.554368 52.252416zM94.635008 72.732416C83.3241088 72.732416 74.155008 63.56352 74.155008 52.252416C74.155008 40.941312 83.3241088 31.772416 94.635008 31.772416C105.9457024 31.772416 115.115008 40.941312 115.115008 52.252416C115.115008 63.56352 105.9457024 72.732416 94.635008 72.732416zM146.3549952 52.252416C146.3549952 63.56352 155.5243008 72.732416 166.8349952 72.732416C178.1456896 72.732416 187.3149952 63.56352 187.3149952 52.252416C187.3149952 40.941312 178.1456896 31.772416 166.8349952 31.772416C155.5243008 31.772416 146.3549952 40.941312 146.3549952 52.252416z" />
+ <glyph glyph-name="time-tracking-start"
+ unicode="&#xF201;"
+ horiz-adv-x="491.52" d=" M271.2145920000001 295.527168C335.07328 295.527168 387.321856 243.2787968 387.321856 179.420928C387.321856 115.560192 335.07328 63.313664 271.2145920000001 63.313664C260.9254400000001 63.313664 250.937344 64.66944 241.420288 67.213056L192.2414592 35.91552C215.678976 22.959872 242.60608 15.580928 271.2145920000001 15.580928C361.5211520000001 15.580928 435.054592 89.114368 435.054592 179.420928C435.054592 269.72544 361.5211520000001 343.259904 271.2145920000001 343.259904C185.8709504 343.259904 115.5059712 277.5842304 108.0313856 194.144L156.2046464 163.487488C155.4814976 168.699648 155.1077376 174.018304 155.1077376 179.420928C155.1077376 243.2787968 207.355904 295.527168 271.2145920000001 295.527168zM261.5398400000001 194.25664C261.5398400000001 190.187264 263.591936 186.629888 266.8912640000001 184.55936L326.043648 137.492224C327.979008 135.556864 330.55744 134.911744 333.13792 134.911744C337.00864 134.911744 340.23424 136.201984 342.81472 139.427584C346.6833920000001 144.588544 346.04032 151.682816 340.87936 156.198656L285.405184 200.3392V241.9887616C285.405184 248.4391424 280.246272 254.244608 273.795072 254.244608C266.698752 254.244608 261.5398400000001 248.4391424 261.5398400000001 241.9887616V194.25664zM56.4699136 -16.027904V192.49536L220.309504 88.233728L56.4699136 -16.027904z" />
+ <glyph glyph-name="time-tracking-stop"
+ unicode="&#xF202;"
+ horiz-adv-x="512" d=" M283.9900160000001 289.7821184C347.848704 289.7821184 400.09728 237.533952 400.09728 173.67424C400.09728 109.815552 347.848704 57.566976 283.9900160000001 57.566976C277.354496 57.566976 270.843904 58.132224 264.5053440000001 59.213568V10.987264C270.897152 10.227456 277.3995520000001 9.83424 283.9900160000001 9.83424C374.294528 9.83424 447.8300160000001 83.369728 447.8300160000001 173.67424C447.8300160000001 263.9805952000001 374.294528 337.5150592 283.9900160000001 337.5150592C197.9250688 337.5150592 127.0931456 270.7244544 120.6304768 186.27968H168.5676032C174.9010432 244.2681856 224.38912 289.7821184 283.9900160000001 289.7821184zM274.315264 188.509952C274.315264 184.440576 276.36736 180.885248 279.666688 178.81472L338.819072 131.747584C340.754432 129.812224 343.332864 129.167104 345.913344 129.167104C349.784064 129.167104 353.009664 130.457344 355.590144 133.682944C359.458816 138.841856 358.813696 145.938176 353.654784 150.454016L298.180608 194.59456V236.2439168C298.180608 242.6942976 293.019648 248.4995584 286.570496 248.4995584C279.474176 248.4995584 274.315264 242.6942976 274.315264 236.2439168V188.509952zM70.4299008 153.19424V-10.64576H234.27072V153.19424H70.4299008z" />
+ <glyph glyph-name="time"
+ unicode="&#xF203;"
horiz-adv-x="512" d=" M256 368C355 368 436 287 436 188S355 8 256 8S76 89 76 188S157 368 256 368M256 442C116 442 2 328 2 188S116 -66 256 -66S510 48 510 188S396 442 256 442zM260 193C249 193 241 201 241 211V285C241 295 249 304 260 304C270 304 278 295 278 285V211C278 201 270 193 260 193zM352 119C348 119 344 120 341 123L248 197C240 203 239 215 245 223C252 231 263 232 271 226L364 152C372 145 373 134 367 126C363 121 358 119 352 119z" />
<glyph glyph-name="to-fullscreen"
- unicode="&#xF201;"
+ unicode="&#xF204;"
horiz-adv-x="512" d=" M87 -55.3000000000001L215 -55.3000000000001L215 -23.3000000000001L109 -23.3000000000001L228 91.7000000000001L202 117.7000000000001L87 -1.3000000000001L87 104.7000000000001L55 104.7000000000001L55 -55.3000000000001z M320 183.7L435 302.7000000000001L435 196.7L467 196.7L467 356.7000000000001L307 356.7000000000001L307 324.7000000000001L413 324.7000000000001L294 209.7z" />
<glyph glyph-name="training-consulting"
- unicode="&#xF202;"
+ unicode="&#xF205;"
horiz-adv-x="512" d=" M3 374V-10H512V374zM147 6H13S10 60 19 70C22 73 29 79 35 82V342H480V22H278V6zM275 70C266 82 240 89 214 102C189 111 182 118 182 118V143S192 150 195 175C198 172 205 182 205 188S205 210 195 207C195 220 198 230 198 236C198 258 176 278 147 278C115 278 96 255 93 236C93 230 93 220 96 207C86 210 86 194 86 188S93 172 99 172C102 146 112 140 112 140V114L80 98C64 92 48 86 35 79C29 76 22 73 19 66C13 54 13 2 13 2H282V18C278 38 278 63 275 70zM285 166L256 134L301 156C310 153 320 150 330 150H381C426 150 461 185 461 230C461 274 426 310 381 310H330C285 310 250 274 250 230C250 204 262 178 285 166zM330 297H381C416 297 445 268 445 233S416 169 381 169H330C294 169 266 198 266 233S294 297 330 297zM304 258H403V249H304zM304 236H403V226H304zM304 217H403V207H304z" />
<glyph glyph-name="two-factor-authentication"
- unicode="&#xF203;"
+ unicode="&#xF206;"
horiz-adv-x="512" d=" M411 242.0000000000001V290C411 375 341 443 256 443S101 375 101 290V242.0000000000001H67V-67H445V242.0000000000001H411zM342 242.0000000000001H170V290C170 336 209 374 256 374S342 336 342 290V242.0000000000001zM214.4 2H147.7L164.1 94.5C154.7 100.4 147.7 109.7000000000001 147.7 122.6C147.7 141.3000000000001 162.9 155.4000000000001 180.5 155.4000000000001C199.2 155.4000000000001 214.4 141.4000000000001 214.4 122.6C214.4 109.7000000000001 207.4 100.4000000000001 196.8 94.5L214.4 2zM364.3 3.1999999999999H297.6L314 95.6999999999999C304.6 101.5999999999999 297.6 110.9 297.6 123.8C297.6 142.5 312.8 156.6 330.4000000000001 156.6C349.1 156.6 364.3 142.6 364.3 123.8C364.3 110.9 357.3 101.6 346.7 95.6999999999999L364.3 3.1999999999999z" />
<glyph glyph-name="types"
- unicode="&#xF204;"
+ unicode="&#xF207;"
horiz-adv-x="512" d=" M511 347L415 443H288L1 156L224 -67L511 220zM385 266C357 266 334 289 334 317S357 368 385 368C413 367 435 345 435 317S413 266 385 266z" />
<glyph glyph-name="underline"
- unicode="&#xF205;"
+ unicode="&#xF208;"
horiz-adv-x="512" d=" M79 174V444H139V174C139 155 142 138 147 123C152 107 160 94 170 82C180 71 192 62 207 56C221 50 238 47 256 47C275 47 291 50 305 56C320 62 332 71 342 82S360 107 365 122C370 138 373 155 373 173V444H433V174C433 148 429 124 421 102C413 81 401 62 386 46S352 17 330 8S284 -6 256 -6C229 -6 204 -1 182 8S142 30 126 46C111 62 99 81 91 102C83 124 79 148 79 174zM54 -36H458V-68H54z" />
<glyph glyph-name="undo"
- unicode="&#xF206;"
+ unicode="&#xF209;"
horiz-adv-x="512" d=" M88 248C98 273 114 295 133 315C175 357 231 380 290 380S405 357 447 315S512 218 512 158C512 99 489 43 447 2C440 -5 431 -8 423 -8C414 -8 405 -5 399 2C385 15 385 37 399 50C428 79 444 117 444 158S428 238 399 267S331 312 290 312S211 296 182 267C160 245 146 219 140 189L213 107H0V346z" />
<glyph glyph-name="unit"
- unicode="&#xF207;"
+ unicode="&#xF20A;"
horiz-adv-x="512" d=" M480 380C480 345 380 316 256 316S32 345 32 380S132 444 256 444S480 415 480 380zM256 284C236 284 96 286 32 329V252C32 217 132 188 256 188S480 217 480 252V329C416 286 276 284 256 284zM256 156C236 156 96 158 32 201V124C32 89 132 60 256 60S480 89 480 124V201C416 158 276 156 256 156zM256 28C236 28 96 30 32 73V-4C32 -39 132 -68 256 -68S480 -39 480 -4V73C416 30 276 28 256 28z" />
<glyph glyph-name="unlocked"
- unicode="&#xF208;"
+ unicode="&#xF20B;"
horiz-adv-x="512" d=" M368 429C289 429 224 364 224 285V235H0V-53H352V235H288V285C288 329 324 365 368 365S448 329 448 285V235H512V285C512 364 447 429 368 429zM201 11H147L161 87C153 91 147 100 147 110C147 125 159 137 174 137S201 125 201 110C201 100 195 91 187 87z" />
<glyph glyph-name="unordered-list"
- unicode="&#xF209;"
+ unicode="&#xF20C;"
horiz-adv-x="512" d=" M160 380H512V316H160zM98 348C98 321 76 300 50 300C23 300 2 321 2 348S23 396 50 396C76 396 98 375 98 348zM160 220H512V156H160zM98 188C98 161 76 140 50 140C23 140 2 161 2 188S23 236 50 236C76 236 98 215 98 188zM160 60H512V-4H160zM98 28C98 1 76 -20 50 -20C23 -20 2 1 2 28S23 76 50 76C76 76 98 55 98 28z" />
<glyph glyph-name="unwatched"
- unicode="&#xF20A;"
+ unicode="&#xF20D;"
horiz-adv-x="512" d=" M1 204V185C119 -11 393 -11 511 185V204C393 401 119 401 1 204zM256 77C191 77 138 130 138 195S191 312 256 312S374 260 374 195S321 77 256 77z" />
<glyph glyph-name="upload-arrow"
- unicode="&#xF20B;"
+ unicode="&#xF20E;"
horiz-adv-x="448" d=" M28 -46.1056H420C427.4272000000001 -46.1056 434.5472 -48.944 439.7984 -53.9968C445.0496 -59.0528 448 -65.9072 448 -73.0528C448 -80.1984 445.0496 -87.0528 439.7984 -92.1088C434.5472 -97.1616 427.4272000000001 -100 420 -100H28C20.573952 -100 13.452032 -97.1616 8.201024 -92.1088C2.9499968 -87.0528 0 -80.1984 0 -73.0528C0 -65.9072 2.9499968 -59.0528 8.201024 -53.9968C13.452032 -48.944 20.573952 -46.1056 28 -46.1056z M105.19456 221.45504L195.9984 308.81856L195.9984 7.6832L251.9984 7.6832L251.9984 308.81856L342.8032 221.45504L382.3936 259.55872L223.9984 411.999986673152L65.60256 259.55872L105.19456 221.45504z" />
<glyph glyph-name="upload"
- unicode="&#xF20C;"
+ unicode="&#xF20F;"
horiz-adv-x="512" d=" M507 238C496 300 433 330 375 325C356 433 182 434 167 324C124 325 92 297 82 255C37 249 4 216 2 169C-1 119 46 85 91 82C106 81 106 104 91 105C5 109 5 229 91 234H92C97 234 101 236 102 242C103 247 104 252 105 256C114 284 134 301 163 302H177C184 301 187 306 187 312C188 312 188 313 188 314C192 409 348 409 355 314V311C356 310 356 309 357 308C357 307 358 307 358 306C359 306 359 306 359 305C361 303 364 302 368 302H369C492 325 533 152 413 117V116C399 112 405 91 419 95C483 114 519 171 507 238zM273 239C268 246 259 246 254 239C234 211 213 183 193 155C190 150 191 145 194 142C196 140 199 138 203 138H243V-4C243 -18 252 -29 264 -29C275 -29 284 -18 284 -4V138H324C332 138 339 148 334 155C314 183 294 211 273 239z" />
<glyph glyph-name="user-minus"
- unicode="&#xF20D;"
+ unicode="&#xF210;"
horiz-adv-x="512" d=" M295 35V66H465C446 84 403 98 360 115C312 135 301 142 301 142V188S318 202 324 245C335 242 347 262 348 272C348 282 346 310 332 307C335 329 337 348 336 358C333 394 296 433 241 433C185 433 149 394 145 358C144 348 146 329 149 307C135 310 133 282 134 272C134 262 146 242 157 245C163 202 181 188 181 188L180 142S169 135 121 115C74 96 25 82 11 59C-2 39 2 -57 2 -57H295V35zM326 -26V35H511V-26z" />
<glyph glyph-name="user-plus"
- unicode="&#xF20E;"
+ unicode="&#xF211;"
horiz-adv-x="512" d=" M345 -2H281V125H345V128C324 137 318 141 318 141V188S337 202 342 247C354 244 366 264 367 275C367 286 365 315 351 312C354 334 356 353 355 364C351 402 314 442 256 442S161 402 157 364C156 353 158 334 161 312C147 315 145 286 145 275C146 264 158 244 170 247C175 202 194 188 194 188V141S182 133 132 113C83 92 33 78 18 55C5 34 9 -66 9 -66H345V-2zM440 -34H377V157H440zM313 29V93H504V29z" />
<glyph glyph-name="user"
- unicode="&#xF20F;"
+ unicode="&#xF212;"
horiz-adv-x="512" d=" M495 54C480 77 430 92 380 112C331 133 319 140 319 140L318 188S337 202 343 247C354 244 367 265 367 276C368 286 366 315 351 312C354 334 356 354 355 365C352 403 314 443 256 443S160 403 157 365C156 354 158 334 161 312C146 315 144 286 145 276C145 265 158 244 169 247C175 202 194 188 194 188L193 140S181 133 132 112C82 92 32 77 17 54C3 33 7 -67 7 -67H505S509 33 495 54z" />
<glyph glyph-name="view-card"
- unicode="&#xF210;"
+ unicode="&#xF213;"
horiz-adv-x="512" d=" M238.93 394.93C238.93 394.93 238.93 394.93 238.93 394.93C238.93 313.01 238.93 267.5 238.93 258.4C238.93 258.4 238.93 258.4 238.93 258.4C95.57 258.4 15.93 258.4 0 258.4C0 258.4 0 258.4 0 258.4C0 340.32 0 385.83 0 394.93C0 394.93 0 394.93 0 394.93C143.36 394.93 223 394.93 238.93 394.93z M238.93 224.27C238.93 224.27 238.93 224.27 238.93 224.27C238.93 142.35 238.93 96.84 238.93 87.73C238.93 87.73 238.93 87.73 238.93 87.73C95.57 87.73 15.93 87.73 0 87.73C0 87.73 0 87.73 0 87.73C0 169.65 0 215.16 0 224.27C0 224.27 0 224.27 0 224.27C143.36 224.27 223 224.27 238.93 224.27z M512 224.27C512 224.27 512 224.27 512 224.27C512 142.35 512 96.84 512 87.73C512 87.73 512 87.73 512 87.73C368.64 87.73 289 87.73 273.07 87.73C273.07 87.73 273.07 87.73 273.07 87.73C273.07 169.65 273.07 215.16 273.07 224.27C273.07 224.27 273.07 224.27 273.07 224.27C416.43 224.27 496.07 224.27 512 224.27z M238.93 53.6C238.93 53.6 238.93 53.6 238.93 53.6C238.93 -28.32 238.93 -73.83 238.93 -82.93C238.93 -82.93 238.93 -82.93 238.93 -82.93C95.57 -82.93 15.93 -82.93 0 -82.93C0 -82.93 0 -82.93 0 -82.93C0 -1.01 0 44.5 0 53.6C0 53.6 0 53.6 0 53.6C143.36 53.6 223 53.6 238.93 53.6z M512 394.93C512 394.93 512 394.93 512 394.93C512 313.01 512 267.5 512 258.4C512 258.4 512 258.4 512 258.4C368.64 258.4 289 258.4 273.07 258.4C273.07 258.4 273.07 258.4 273.07 258.4C273.07 340.32 273.07 385.83 273.07 394.93C273.07 394.93 273.07 394.93 273.07 394.93C416.43 394.93 496.07 394.93 512 394.93z" />
<glyph glyph-name="view-fullscreen"
- unicode="&#xF211;"
+ unicode="&#xF214;"
horiz-adv-x="512" d=" M0 348H512V-4H0z" />
<glyph glyph-name="view-list"
- unicode="&#xF212;"
+ unicode="&#xF215;"
horiz-adv-x="512" d=" M0 348H512V284H0zM0 252H512V188H0zM0 156H512V92H0zM0 60H512V-4H0z" />
<glyph glyph-name="view-model"
- unicode="&#xF213;"
+ unicode="&#xF216;"
horiz-adv-x="512" d=" M478.36 292.67L256 412L33.64 292.67L256 169.1L256 169.1L478.36 292.67z M291.4100000000001 -100L503.86 13.66L503.86 226.11L291.4100000000001 107.85L291.4100000000001 107.85L291.4100000000001 -100z M8.14 226.11L8.14 13.66L220.59 -100L220.59 107.85L220.59 107.85L8.14 226.11z" />
<glyph glyph-name="view-split-viewer-table"
- unicode="&#xF214;"
+ unicode="&#xF217;"
horiz-adv-x="512" d=" M293.45 235.555L153.66 310.575L13.86 235.555L153.66 157.865z M175.92 -11.325L309.48 60.135V193.705L175.92 119.355z M-2.17 193.705V60.135L131.4 -11.325V119.355z M501.322 39.305V-13.932H345.32V39.305H501.322z M501.322 106.503V53.265H345.32V106.503H501.322z M501.322 174.082V120.844H345.32V174.082H501.322z M501.322 241.661V188.424H345.32V241.66H501.322z M501.322 312.349V259.111H345.32V312.35H501.322z" />
<glyph glyph-name="view-split"
- unicode="&#xF215;"
+ unicode="&#xF218;"
horiz-adv-x="512" d=" M0 348H192V284H0zM0 252H192V188H0zM0 156H192V92H0zM0 60H192V-4H0zM224 348H512V-4H224z" />
<glyph glyph-name="view-split2"
- unicode="&#xF216;"
+ unicode="&#xF219;"
horiz-adv-x="512" d=" M512 316.95C512 316.95 512 316.95 512 316.95C512 263.52 512 233.84 512 227.9C512 227.9 512 227.9 512 227.9C418.5 227.9 366.56 227.9 356.17 227.9C356.17 227.9 356.17 227.9 356.17 227.9C356.17 281.3300000000001 356.17 311.01 356.17 316.95C356.17 316.95 356.17 316.95 356.17 316.95C449.67 316.95 501.61 316.95 512 316.95z M512 205.64C512 205.64 512 205.64 512 205.64C512 152.22 512 122.53 512 116.6C512 116.6 512 116.6 512 116.6C418.5 116.6 366.56 116.6 356.17 116.6C356.17 116.6 356.17 116.6 356.17 116.6C356.17 170.02 356.17 199.71 356.17 205.64C356.17 205.64 356.17 205.64 356.17 205.64C449.67 205.64 501.61 205.64 512 205.64z M512 94.34C512 94.34 512 94.34 512 94.34C512 40.91 512 11.23 512 5.29C512 5.29 512 5.29 512 5.29C418.5 5.29 366.56 5.29 356.17 5.29C356.17 5.29 356.17 5.29 356.17 5.29C356.17 58.72 356.17 88.4 356.17 94.34C356.17 94.34 356.17 94.34 356.17 94.34C449.67 94.34 501.61 94.34 512 94.34z M295.62 241.93L155.83 316.95L16.03 241.93L155.83 164.24L155.83 164.24L295.62 241.93z M178.09 -4.95L311.65 66.51L311.65 200.08L178.09 125.73L178.09 125.73L178.09 -4.95z M0 200.08L0 66.51L133.57 -4.95L133.57 125.73L133.57 125.73L0 200.08z" />
<glyph glyph-name="view-timeline"
- unicode="&#xF217;"
+ unicode="&#xF21A;"
horiz-adv-x="512" d=" M44 368H173V317H44zM102 265H466V214H102zM271 162H369V111H271zM53 59H417V8H53zM0 368H33V8H0zM479 368H512V8H479z" />
<glyph glyph-name="warning"
- unicode="&#xF218;"
+ unicode="&#xF21B;"
horiz-adv-x="512" d=" M503 7L429 147C411 181 381 236 363 270L289 407C271 441 241 441 223 407L149 270C131 236 101 180 83 146L9 7C-9 -27 7 -57 46 -57H466C505 -57 521 -27 503 7zM291 13H221V83H291zM291 119H221V259H291z" />
<glyph glyph-name="watched"
- unicode="&#xF219;"
+ unicode="&#xF21C;"
horiz-adv-x="512" d=" M1 205V185C119 -11 393 -11 511 185V205C393 401 119 401 1 205zM256 77C191 77 138 130 138 195S191 312 256 312S374 260 374 195S321 77 256 77zM315 195C315 162 288 136 256 136S197 162 197 195C197 227 224 254 256 254S315 227 315 195z" />
<glyph glyph-name="watching"
- unicode="&#xF21A;"
+ unicode="&#xF21D;"
horiz-adv-x="512" d=" M256 262.6666666666667C144.0256 262.6666666666667 85.3333333333333 179.8314666666667 85.3333333333333 166.6666666666667C85.3333333333333 153.536 144.0256 70.6666666666667 256 70.6666666666667C367.9573333333334 70.6666666666667 426.6666666666667 153.536 426.6666666666667 166.6666666666667C426.6666666666667 179.8314666666667 367.9573333333334 262.6666666666667 256 262.6666666666667zM256 92.832C214.1013333333333 92.832 180.1386666666667 125.8837333333334 180.1386666666667 166.6666666666667C180.1386666666667 207.4496 214.1013333333333 240.5352533333334 256 240.5352533333334C297.8986666666667 240.5352533333334 331.8442666666666 207.4496 331.8442666666666 166.6666666666667C331.8442666666666 125.8837333333334 297.8986666666667 92.832 256 92.832zM256 166.6666666666667C249.0538666666667 174.3296 267.3152 203.59232 256 203.59232C235.0421333333333 203.59232 218.0608 187.0485333333333 218.0608 166.6666666666667C218.0608 146.2848 235.0421333333333 129.7408 256 129.7408C276.9408 129.7408 293.9392 146.2848 293.9392 166.6666666666667C293.9392 176.0448 261.9050666666667 160.1685333333333 256 166.6666666666667z" />
<glyph glyph-name="wiki-edit"
- unicode="&#xF21B;"
+ unicode="&#xF21E;"
horiz-adv-x="512" d=" M256 305C256 385 78 401 0 401V49H16C22 49 27 48 32 48V17C96 17 224 36 224 -15H288V305C288 326 322 367 480 369V178H512V401C434 401 256 385 256 305zM224 81V66C177 94 90 96 32 97V369C48 368 62 368 76 367C78 367 81 366 84 366H87C150 362 216 348 223 311C224 308 224 306 224 305zM327 13L322 -18L318 -49L349 -45L381 -40L354 -13zM479 58L470 67L389 -13L381 -4L461 76L443 94L363 14L354 23L434 103L425 112L336 23L389 -31zM471 138C466 143 458 143 453 139V137L452 138L435 120L489 67L506 84C506 85 507 85 507 85C512 90 512 98 507 103z" />
<glyph glyph-name="wiki"
- unicode="&#xF21C;"
+ unicode="&#xF21F;"
horiz-adv-x="512" d=" M256 300C256 380 78 396 0 396V44H32V12C96 12 224 31 224 -20H288C288 31 416 12 480 12V44H512V396C434 396 256 380 256 300zM32 364C48 364 62 363 76 362H87C150 357 216 344 223 306C224 304 224 302 224 300V62C177 89 90 92 32 92zM480 92C422 92 335 89 288 62V300C288 321 322 362 480 364z" />
<glyph glyph-name="wiki2"
- unicode="&#xF21D;"
+ unicode="&#xF220;"
horiz-adv-x="512" d=" M239 357C178 392 69 392 69 392V86S178 86 239 51zM273 357C334 392 443 392 443 392V86S334 86 273 51zM477 358V47L273 18H239L35 47V358H1V18L239 -16H273L511 18V358z" />
<glyph glyph-name="work-packages"
- unicode="&#xF21E;"
+ unicode="&#xF221;"
horiz-adv-x="512" d=" M416 124V220H288V252H384V444H160V252H256V220H96V124H0V-68H224V124H128V188H384V124H288V-68H512V124zM192 92V60H32V92zM192 380V412H352V380zM480 60H320V92H480z" />
<glyph glyph-name="workflow"
- unicode="&#xF21F;"
+ unicode="&#xF222;"
horiz-adv-x="512" d=" M437 147L434 141C416 60 342 5 257 5C213 5 171 23 139 51L180 80L28 151L42 -12L77 11C124 -36 188 -64 257 -64C381 -64 486 16 507 135L510 147zM78 226C96 307 170 366 255 366C299 366 341 350 373 322L332 294L484 233L470 392L435 366C388 413 324 440 255 440C131 440 26 352 5 233L2 212H75z" />
<glyph glyph-name="yes"
- unicode="&#xF220;"
+ unicode="&#xF223;"
horiz-adv-x="512" d=" M176 -46L13 140C-6 156 0 185 19 201C42 217 70 214 90 194L173 102L422 406C438 425 470 428 493 415C515 402 518 374 502 354z" />
<glyph glyph-name="zen-mode"
- unicode="&#xF221;"
+ unicode="&#xF224;"
horiz-adv-x="512" d=" M160 412V444H0V284H32V390L147 271L173 297L54 412zM480 -14L365 105L339 79L458 -36H352V-68H512V92H480zM480 444H352V412H458L339 297L365 271L480 390V284H512V444zM147 105L32 -14V92H0V-68H160V-36H54L173 79z" />
<glyph glyph-name="zoom-auto"
- unicode="&#xF222;"
+ unicode="&#xF225;"
horiz-adv-x="512" d=" M469.4 216.8L411.2 216.8L411.2 311.7000000000001L314.7 311.7000000000001L314.7 369.3L469.4 369.3z M104.2 216.8L46 216.8L46 369.3L202.7 369.3L202.7 311.7000000000001L104.2 311.7000000000001z M469.4 -55L314.7 -55L314.7 4.1999999999999L411.2 4.1999999999999L411.2 108.1L469.4 108.1z M202.7 -55L46 -55L46 108.1L104.2 108.1L104.2 4.1999999999999L202.7 4.1999999999999z" />
<glyph glyph-name="zoom-in"
- unicode="&#xF223;"
+ unicode="&#xF226;"
horiz-adv-x="512" d=" M497 -2L361 122C361 123 361 123 360 123C386 156 401 197 401 242C401 352 311 441 201 441S2 352 2 242S91 43 201 43C241 43 278 55 309 75C310 73 311 71 313 70L448 -54C463 -68 483 -69 493 -58L504 -46C514 -35 511 -15 497 -2zM201 95C120 95 54 161 54 242S120 389 201 389C283 389 348 323 348 242S283 95 201 95zM222 329H181V269H122V227H181V170H222V227H281V269H222z" />
<glyph glyph-name="zoom-out"
- unicode="&#xF224;"
+ unicode="&#xF227;"
horiz-adv-x="512" d=" M497 -2L361 122C361 123 361 123 360 123C386 156 401 197 401 242C401 352 311 441 201 441S2 352 2 242S91 43 201 43C241 43 278 55 309 75C310 73 311 71 313 70L448 -54C463 -68 483 -69 493 -58L504 -46C514 -35 511 -15 497 -2zM201 95C120 95 54 161 54 242S120 389 201 389C283 389 348 323 348 242S283 95 201 95zM122 269H281V227H122z" />
</font>
</defs>
diff --git a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.ttf b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.ttf
index bd6d8b9624b..b3a62920b0f 100644
Binary files a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.ttf and b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.ttf differ
diff --git a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff
index 3e81d1f7e3e..257d5fae837 100644
Binary files a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff and b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff differ
diff --git a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff2 b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff2
index 45b56550e73..fed11bc5e6e 100644
Binary files a/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff2 and b/frontend/src/assets/fonts/openproject_icon/openproject-icon-font.woff2 differ
diff --git a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.svg b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.svg
index 57d5c2c9dca..12a8ac1b4f5 100644
--- a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.svg
+++ b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.svg
@@ -817,161 +817,173 @@
<glyph glyph-name="status"
unicode="&#xF20E;"
horiz-adv-x="1024" d=" M512 768C324 768 170.6666666666667 614.6666666666667 170.6666666666667 426.6666666666668V256H853.3333333333333V426.6666666666668C853.3333333333333 614.6666666666667 699.9978666666666 768 512 768zM509.3333333333333 682.6666666666667C533.3333333333333 682.6666666666667 552 664 552 640C552 629.3333333333334 548.0021333333333 618.6666666666667 539.9978666666666 610.6666666666667C532.0021333333333 602.6666666666667 521.3354666666667 597.3333333333334 509.3333333333333 597.3333333333334C486.6645333333333 597.3333333333334 468.0021333333333 616 466.6666666666666 638.6666666666667C466.6666666666666 664 485.3333333333333 682.6666666666667 509.3333333333333 682.6666666666667zM257.3333333333333 370.6666666666668H254.6666666666667C241.3333333333333 372.0021333333334 232 377.3354666666667 224 386.6666666666668C217.3333333333333 395.9978666666667 213.3333333333333 406.6645333333334 214.6666666666667 417.3312000000001C217.3333333333333 440 236 456 257.3333333333333 456H262.6666666666667C273.3333333333333 454.6645333333333 284 449.3312000000001 290.6666666666667 440C297.3333333333333 430.6688000000001 301.3333333333333 420.0021333333334 300 408C297.3333333333333 386.6666666666668 280 370.6666666666668 257.3333333333333 370.6666666666668zM336 504C326.6666666666667 491.9978666666667 313.3333333333333 485.3333333333334 300 485.3333333333334C292 485.3333333333334 282.6666666666667 488 276 493.3333333333334C266.6666666666667 498.6666666666667 260 507.9978666666667 258.6666666666667 520C256 530.6666666666667 258.6666666666667 542.6688 265.3333333333333 552C277.3333333333333 570.6666666666667 305.3333333333333 576 324 564.0021333333334C344 549.3333333333334 348 523.9978666666667 336 504zM410.6666666666667 571.9978666666667C405.3333333333333 569.3354666666667 398.6666666666667 566.6645333333333 390.6666666666667 566.6645333333333C376 566.6645333333333 361.3333333333333 576 353.3333333333333 589.3333333333334C342.6666666666667 610.6666666666667 349.3333333333333 636 370.6666666666667 646.6666666666667C390.6666666666667 658.6666666666667 418.6666666666667 649.3333333333334 429.3333333333333 629.3333333333334C440 609.3333333333334 432 584 410.6666666666667 571.9978666666667zM512 277.3333333333334C477.3333333333333 277.3333333333334 448 306.6666666666668 448 341.3333333333334C448 376 477.3333333333333 405.3333333333334 512 405.3333333333334C546.6666666666666 405.3333333333334 576 376 576 341.3333333333334C576 306.6666666666668 546.6666666666666 277.3333333333334 512 277.3333333333334zM641.3312 597.3333333333334L576 397.3333333333334C560 414.6688000000001 537.3354666666667 426.6666666666668 512 426.6666666666668C507.9978666666667 426.6666666666668 504 425.3354666666667 501.3333333333333 425.3354666666667L601.3354666666667 614.6666666666667C612.0021333333333 636 629.3333333333333 649.3333333333334 638.6687999999999 645.3333333333334C648 641.3333333333334 649.3354666666667 620 641.3312 597.3333333333334zM686.6688 506.6666666666667C680 516.0021333333334 677.3333333333333 528 678.6645333333333 538.6666666666667C681.3354666666667 550.6645333333333 686.6688 560 696 566.6645333333333C715.9978666666666 580.0021333333334 742.6645333333332 574.6688 756.0021333333334 555.9978666666667C762.6666666666666 548.0021333333334 765.3333333333333 536 762.6666666666666 525.3333333333334C761.3354666666667 514.6666666666667 754.6666666666666 504 745.3354666666667 497.3312000000001C738.6666666666666 491.9978666666667 729.3354666666667 489.3354666666667 721.3311999999999 489.3354666666667C706.6666666666666 489.3354666666667 694.6645333333332 496 686.6688 506.6666666666667zM788.0021333333334 369.3312000000001C781.3333333333333 363.9978666666667 772.0021333333334 361.3354666666667 763.9978666666666 361.3354666666667C749.3333333333333 361.3354666666667 737.3311999999999 368 729.3354666666667 378.6666666666668C722.6666666666666 388.0021333333334 720 400 721.3311999999999 410.6666666666668C724.0021333333334 422.6645333333334 729.3354666666667 432 738.6666666666666 438.6645333333334C758.6645333333332 452.0021333333334 785.3311999999999 446.6688000000001 798.6688 427.9978666666667C805.3333333333333 420.0021333333334 808 408 805.3333333333333 397.3333333333334C804.0021333333334 386.6666666666668 797.3333333333333 376 788.0021333333334 369.3312000000001z" />
- <glyph glyph-name="strike-through"
+ <glyph glyph-name="stop"
unicode="&#xF20F;"
+ horiz-adv-x="1024" d=" M170.6666666666667 170.6666666666668V853.3333333333334H853.3333333333333V170.6666666666668H170.6666666666667z" />
+ <glyph glyph-name="strike-through"
+ unicode="&#xF210;"
horiz-adv-x="1024" d=" M853.3333333333333 534.6645333333333H630.6645333333333C613.3333333333333 541.3333333333334 594.6666666666666 549.3333333333334 576 554.6666666666667C554.6666666666666 561.3312000000001 533.3333333333333 568 513.3312 574.6688C493.3333333333333 581.3333333333334 474.6666666666666 589.3333333333334 458.6666666666666 597.3333333333334C442.6666666666667 605.3333333333334 430.6688 616 420 628C410.6666666666667 638.6666666666667 406.6666666666667 653.3333333333334 406.6666666666667 670.6666666666667C406.6666666666667 684 409.3333333333333 697.3333333333334 414.6666666666667 709.3333333333334C421.3333333333333 721.3333333333334 429.3333333333333 730.6666666666667 440 740C452.0021333333333 749.3333333333334 465.3312 756 480 761.3333333333334C496 766.6666666666667 513.3312 769.3333333333334 533.3333333333333 769.3333333333334C555.9978666666666 769.3333333333334 574.6687999999999 766.6666666666667 592 761.3333333333334C608 756 622.6687999999999 750.6666666666667 634.6666666666666 744C646.6645333333333 738.6666666666667 656 733.3333333333334 664 728C673.3312 724 680 721.3333333333334 686.6688 721.3333333333334C697.3354666666667 721.3333333333334 704 725.3333333333334 709.3333333333333 736L734.6688 778.6666666666667C710.6645333333332 801.3333333333334 681.3354666666667 820 646.6645333333333 833.3333333333334C612.0021333333333 846.6666666666667 573.3333333333333 853.3333333333334 530.6666666666666 853.3333333333334C493.3333333333333 853.3333333333334 459.9978666666667 848 430.6688 837.3333333333334C401.3333333333333 826.6666666666667 376 813.3333333333334 356 796C336 778.6666666666667 321.3333333333333 758.6666666666667 310.6666666666667 734.6666666666667C300 712 294.6666666666667 688 294.6666666666667 664C294.6666666666667 634.6666666666667 300 610.6666666666667 309.3333333333333 590.6688C320 570.6666666666667 332 553.3354666666667 349.3333333333333 539.9978666666667C350.6666666666667 537.3354666666667 353.3333333333333 536 354.6666666666667 534.6645333333333H170.6666666666667V473.3354666666667H493.3333333333333C506.6666666666666 469.3333333333334 518.6645333333333 465.3312000000001 530.6666666666666 461.3333333333334C552 456 569.3354666666667 448 585.3354666666667 440C601.3354666666667 430.6688000000001 614.6645333333333 421.3333333333334 625.3312 409.3354666666667C634.6666666666666 397.3333333333334 640 381.3333333333334 640 363.9978666666667C640 349.3333333333334 637.3333333333333 334.6688000000002 630.6645333333333 321.3312C625.3312 309.3333333333334 617.3354666666667 297.3354666666668 606.6687999999999 286.6688000000002C594.6666666666666 277.3333333333334 581.3333333333333 269.3333333333334 564.0021333333333 264C546.6666666666666 257.3312 526.6687999999999 254.6688000000002 504 254.6688000000002C477.3333333333333 254.6688000000002 456 258.6666666666668 438.6645333333334 264C420 269.3333333333334 405.3333333333333 277.3333333333334 393.3333333333333 283.9978666666666C381.3333333333333 292.0021333333334 370.6666666666667 298.6666666666668 361.3333333333333 304C353.3333333333333 310.6645333333334 344 313.3354666666668 337.3333333333333 313.3354666666668C329.3333333333333 313.3354666666668 322.6666666666667 312 317.3333333333333 309.3333333333334C312 305.3312 308 301.3333333333334 305.3333333333333 296L277.3333333333333 251.9978666666666C304 228.0021333333334 334.6666666666667 209.3312 373.3333333333333 193.3312C410.6666666666667 178.6666666666668 452.0021333333333 170.6666666666668 498.6666666666666 170.6666666666668C538.6666666666666 170.6666666666668 574.6687999999999 176 605.3333333333333 186.6666666666668C634.6666666666666 198.6645333333334 661.3333333333333 213.3333333333334 682.6666666666666 232C704 250.6666666666668 720 273.3312 730.6666666666666 299.9978666666666C741.3333333333333 325.3333333333334 746.6666666666666 353.3312000000001 746.6666666666666 384C746.6666666666666 410.6666666666668 741.3333333333333 433.3312000000001 731.9978666666666 452.0021333333334C728 459.9978666666667 722.6666666666666 466.6666666666667 718.6688 473.3354666666667H853.3333333333333V534.6645333333333z" />
<glyph glyph-name="sum-error"
- unicode="&#xF210;"
+ unicode="&#xF211;"
horiz-adv-x="1024" d=" M581.2736 809.72288C643.2981333333332 867.8702933333334 744.1664000000001 867.8702933333334 806.8138666666666 809.72288C868.8383999999999 751.57504 868.8383999999999 656.42496 806.8138666666666 598.27712C744.1664000000001 540.1301333333333 643.9253333333334 540.1301333333333 581.2736 598.27712C519.2490666666666 657.0120533333334 519.2490666666666 751.57504 581.2736 809.72288zM713.0538666666666 809.72288H679.8506666666666C670.4512 809.72288 669.2010666666666 804.4364800000001 669.2010666666666 801.4997333333333V798.5629866666667L676.0917333333333 681.68064C677.3461333333332 673.4579200000001 681.1050666666666 671.6957866666667 687.9957333333333 671.6957866666667H705.5360000000001C712.4266666666667 671.6957866666667 716.1855999999999 673.4579200000001 716.8127999999999 682.2681600000001L723.7034666666666 795.0391466666667L724.3306666666667 798.5629866666667V801.4997333333333C724.3306666666667 804.4364800000001 723.0805333333333 809.72288 713.0538666666666 809.72288zM665.4421333333332 621.184C665.4421333333332 605.3256533333333 679.2234666666666 592.4053333333334 696.768 592.4053333333334C713.6810666666667 592.4053333333334 728.0895999999999 605.3256533333333 728.0895999999999 621.184C728.0895999999999 637.62944 714.3082666666666 650.5514666666667 696.768 650.5514666666667C679.2234666666666 650.5514666666667 665.4421333333332 637.62944 665.4421333333332 621.184z M170.6666666666667 768H500.8981333333334C493.376 748.04864 489.2714666666666 726.5834666666667 489.2458666666666 704.2231466666667H355.4257066666667C339.81696 704.2231466666667 325.7352533333334 704.64 313.1805866666666 705.4737066666667C300.62592 706.5856 287.90144 708.11392 275.0071466666667 710.0590933333333C289.2586666666666 703.9453866666666 301.64352 697.27616 312.16256 690.05056C323.0208 683.1031466666667 333.2002133333333 675.0442666666668 342.7012266666667 665.87392L489.7962666666666 514.9781333333334C500.3136 504.9728 507.1018666666666 497.0538666666666 510.1568 491.2170666666667C513.2074666666666 485.6576 514.9055999999999 480.6570666666667 515.2426666666667 476.2112C515.2426666666667 470.3744 513.7194666666667 464.2602666666667 510.6645333333333 457.8688C507.6096 451.4773333333334 500.6549333333333 443.2810666666667 489.7962666666666 433.2757333333334L324.3780266666667 266.1248000000001C314.5378133333333 256.6741333333333 306.0548266666667 249.1733333333334 298.9290666666667 243.6138666666668C292.1429333333333 238.3317333333333 285.18656 233.8858666666668 278.0612266666667 230.2762666666667C290.6158933333333 231.6629333333334 302.3223466666667 232.6357333333334 313.1805866666666 233.1946666666667C324.0388266666667 233.7493333333334 334.3880533333334 234.0266666666667 344.2282666666667 234.0266666666667H716.8V170.6666666666668H170.6666666666667V201.0965333333334C170.6666666666667 207.2106666666667 172.3630933333333 213.1840000000001 175.7563733333333 219.0208C179.4888533333333 225.1349333333333 183.90016 230.4128000000001 188.9898666666667 234.8586666666668L428.7189333333334 468.7061333333334L182.8821333333333 709.64224C179.4888533333333 712.69888 176.6045866666667 716.3114666666667 174.2293333333333 720.48C171.85408 724.6485333333334 170.6666666666667 728.8170666666667 170.6666666666667 732.9851733333334V768z" />
<glyph glyph-name="sum-sign"
- unicode="&#xF211;"
+ unicode="&#xF212;"
horiz-adv-x="1024" d=" M386.5450666666667 704.2231466666667C371.91168 704.2231466666667 358.7101866666667 704.64 346.94016 705.4737066666667C335.1701333333333 706.5856 323.24096 708.11392 311.15264 710.0590933333333C324.51328 703.9453866666666 336.12416 697.27616 345.9857066666667 690.05056C356.16512 683.1031466666667 365.7088 675.0442666666668 374.6158933333334 665.87392L512.5162666666666 514.9781333333334C522.3765333333333 504.9728 528.7424 497.0538666666666 531.6053333333333 491.2170666666667C534.4682666666666 485.6576 536.0554666666667 480.6570666666667 536.3754666666666 476.2112C536.3754666666666 470.3744 534.9418666666666 464.2602666666667 532.0789333333332 457.8688C529.2159999999999 451.4773333333334 522.6965333333333 443.2810666666667 512.5162666666666 433.2757333333334L357.4378666666667 266.1248000000001C348.21248 256.6741333333333 340.25984 249.1733333333334 333.57952 243.6138666666668C327.2170666666667 238.3317333333333 320.6958933333333 233.8858666666668 314.0155733333334 230.2762666666667C325.7856 231.6629333333334 336.76032 232.6357333333334 346.94016 233.1946666666667C357.1195733333333 233.7493333333334 366.8219733333334 234.0266666666667 376.0473600000001 234.0266666666667H725.3333333333333V170.6666666666668H213.3333333333333V201.0965333333334C213.3333333333333 207.2106666666667 214.9239466666667 213.1840000000001 218.1051733333333 219.0208C221.6042666666667 225.1349333333333 225.73952 230.4128000000001 230.51136 234.8586666666668L455.2576 468.7061333333334L224.7854933333333 709.64224C221.6042666666667 712.69888 218.90048 716.3114666666667 216.6737066666667 720.48C214.4469333333333 724.6485333333334 213.3333333333333 728.8170666666667 213.3333333333333 732.9851733333334V768H725.3333333333333V704.2231466666667H386.5450666666667z" />
<glyph glyph-name="team-planner"
- unicode="&#xF212;"
+ unicode="&#xF213;"
horiz-adv-x="1024" d=" M284.4445866666666 768C260.8891733333333 768 241.7941333333333 747.9500800000001 241.7941333333333 723.2170666666667C241.7941333333333 698.4840533333333 260.8891733333333 678.4341333333334 284.4445866666666 678.4341333333334H447.8293333333334C465.2032 691.5955200000001 487.3045333333333 699.7333333333333 512.0469333333333 699.7333333333333C536.7936 699.7333333333333 558.8949333333333 691.5955200000001 576.2687999999999 678.4341333333334H699.3152C722.8714666666666 678.4341333333334 741.9690666666667 698.4840533333333 741.9690666666667 723.2170666666667C741.9690666666667 747.9500800000001 722.8714666666666 768 699.3152 768H284.4445866666666z M335.2861866666667 626.49216H411.8229333333334C410.20544 620.80768 409.1319466666667 614.9730133333334 408.65024 609.0581333333334C407.7614933333333 601.0909866666667 408.4377600000001 592.3029333333334 409.0205866666667 586.0266666666666C409.1758933333333 584.3541333333334 409.3521066666666 582.6133333333333 409.5432533333334 580.8256C406.00192 575.1637333333333 404.09728 569.5573333333334 403.0276266666666 565.8453333333334C399.96288 555.2085333333334 399.35104 543.9914666666667 399.35104 538.0010666666667V536.9258666666667H335.2861866666667C311.7312 536.9258666666667 292.6357333333333 556.9749333333334 292.6357333333333 581.7088000000001C292.6357333333333 606.4422400000001 311.7312 626.49216 335.2861866666667 626.49216z M213.31712 484.9834666666667H423.6113066666667C426.07872 477.0645333333334 428.9749333333333 470.3914666666667 431.9488 464.8362666666667C432.9301333333334 463.0058666666666 433.9114666666667 461.3162666666667 434.88 459.7504V457.6298666666667C428.6976 454.6816 420.51968 450.8672 409.8525866666667 446.0373333333335C401.6183466666667 442.3082666666667 393.3218133333333 438.8608000000001 384.8622933333334 435.3408000000001L384.4893866666667 435.1872000000001C376.1066666666667 431.7013333333334 367.37664 428.0661333333334 359.3284266666667 424.3285333333334C351.3322666666666 420.6165333333334 343.0148266666667 416.3498666666667 335.5323733333334 411.3194666666667C329.6930133333333 407.3941333333334 323.1957333333334 402.2357333333335 317.6341333333333 395.4176H213.31712C189.7621333333333 395.4176 170.6666666666667 415.4666666666667 170.6666666666667 440.2005333333334C170.6666666666667 464.9344000000001 189.7617066666667 484.9834666666667 213.31712 484.9834666666667z M397.0167466666667 403.6821333333334C390.22976 400.8618666666668 383.6791466666667 398.1354666666668 377.5573333333333 395.4176C360.4637866666667 387.8272000000001 346.71488 380.2752000000001 340.5038933333333 370.7306666666667C331.3685333333333 354.6453333333334 333.3986133333333 256 333.3986133333333 256H690.7008000000001C690.7008000000001 256 692.7274666666667 354.6453333333334 683.5925333333332 370.7306666666667C675.1573333333333 383.6928000000001 652.8170666666666 392.9813333333334 627.0805333333333 403.6821333333334C618.7477333333333 407.1466666666668 610.0608 410.7605333333334 601.3738666666666 414.6944000000001C565.8453333333333 430.7754666666667 556.7103999999999 436.1386666666667 556.7103999999999 436.1386666666667V471.5221333333334C556.7103999999999 471.5221333333334 569.9072 482.2442666666667 573.9690666666667 516.5568000000001C582.0885333333333 514.4106666666667 591.2234666666666 529.4250666666667 592.2389333333333 538.0010666666667C592.2389333333333 546.5813333333333 590.208 568.0256 580.0576 565.8794666666668C580.2751999999999 567.7184 580.4928 569.5274666666667 580.7061333333334 571.3109333333334C582.4853333333333 586.1632000000001 584.0085333333333 598.85184 583.1039999999999 605.5539200000001C581.0730666666666 634.5045333333334 553.664 665.6 512.0469333333333 665.6C479.9701333333333 665.6 456.3328 647.1249066666667 446.2549333333333 625.3977600000001C443.2597333333333 618.9371733333334 441.4592 612.1894400000001 440.9941333333334 605.5539200000001C440.7893333333333 604.0384 440.7082666666667 602.2165333333334 440.7253333333333 600.13312C440.7893333333333 593.0026666666668 442.0138666666667 582.8053333333334 443.392 571.3109333333334L444.0405333333333 565.8794666666668C442.4917333333334 566.2080000000001 441.1349333333333 565.9861333333333 439.9445333333333 565.3461333333333C433.3184 561.7877333333333 431.8592 545.2714666666667 431.8592 538.0010666666667C432.8746666666667 529.4250666666667 440.9941333333334 514.4106666666667 450.1290666666667 516.5568000000001C451.8613333333333 502.3829333333333 455.2533333333333 492.1088 458.5770666666666 484.9834666666667C463.0101333333333 475.4773333333334 467.3194666666666 471.5818666666667 467.3834666666667 471.5221333333334L467.3877333333333 436.1386666666667C467.3877333333333 436.1386666666667 466.816 435.8016 465.4037333333333 435.0506666666668C461.1669333333333 432.7893333333334 449.3696 426.7562666666668 422.7234133333333 414.6944000000001C422.1806933333333 414.4469333333334 421.6375466666667 414.2037333333334 421.0948266666667 413.9605333333334C412.9518933333333 410.3082666666667 404.8273066666667 406.9290666666667 397.0167466666667 403.6821333333334z M842.1759999999999 367.2448000000001C843.6181333333334 364.6506666666667 845.1456 361.9029333333334 847.0186666666666 358.9376C855.1381333333334 344.9984000000001 853.1072 256 853.1072 256H734.3445333333334C737.3909333333332 381.4528 725.2095999999999 402.8970666666667 720.1365333333333 410.4021333333334C715.4389333333334 418.4661333333334 700.5482666666667 420.0746666666667 685.888 421.6533333333334C675.1999999999999 422.8053333333334 664.6357333333333 423.9445333333333 658.2186666666666 427.5584L684.608 450.0778666666668C684.608 450.0778666666668 672.4266666666666 459.7290666666668 669.3845333333334 489.7493333333334C661.2608 487.6074666666667 654.1568 501.5466666666667 653.1413333333333 509.0517333333333C653.1413333333333 516.5568000000001 654.1568 536.9301333333334 663.2917333333332 534.7840000000001C661.2608 549.7984 660.2453333333333 562.6624 661.2608 570.1717333333333C663.2917333333332 595.904 687.6544 623.7819733333333 725.2095999999999 623.7819733333333C762.7690666666667 623.7819733333333 787.1274666666666 595.904 789.1583999999999 570.1717333333333C790.0586666666666 563.5157333333334 788.5653333333332 552.6400000000001 786.7989333333333 539.7973333333334C786.5728 538.1589333333334 786.3424 536.4864 786.1119999999999 534.7840000000001C795.2511999999999 536.9301333333334 797.2778666666666 516.5568000000001 796.2666666666667 509.0517333333333C796.2666666666667 501.5466666666667 788.1429333333333 487.6074666666667 781.0389333333333 489.7493333333334C776.9770666666666 459.7290666666668 764.7957333333334 450.0778666666668 764.7957333333334 450.0778666666668L765.8111999999999 417.9114666666667C765.8111999999999 417.9114666666667 772.9194666666667 412.5482666666667 805.4015999999999 398.6090666666667C831.0656 387.2384000000001 835.7973333333332 378.7264 842.1759999999999 367.2448000000001z M397.0167466666667 403.6821333333334C397.0167466666667 403.6821333333334 397.0171733333333 403.6821333333334 397.0167466666667 403.6821333333334V403.6821333333334z" />
<glyph glyph-name="text"
- unicode="&#xF213;"
+ unicode="&#xF214;"
horiz-adv-x="1024" d=" M360.11392 170.6666666666668V210.8245333333333C397.1281066666666 212.1600000000001 418.82624 214.8394666666667 426.48448 218.8544000000001C432.8661333333333 221.5338666666667 437.9733333333334 228.2240000000001 440.5248 237.5936000000001C444.352 252.3178666666667 445.6277333333333 293.8154666666667 445.6277333333333 363.4176V656.5649066666667C445.6277333333333 735.5400533333334 445.6277333333333 781.05088 444.352 790.4209066666667H377.98272C344.7978666666667 790.4209066666667 314.1653333333333 789.0824533333333 288.6382933333333 786.40512C278.4273066666667 786.40512 273.3218133333333 785.0666666666667 272.0456533333334 782.3893333333333C269.4929066666666 781.05088 266.94016 775.69664 265.664 766.3266133333334C261.8346666666667 743.5712000000001 259.28192 718.1384533333334 259.28192 688.6903466666668H220.9915733333334C219.7149866666667 755.6181333333334 218.4388266666667 793.09824 218.4388266666667 802.46784C217.16224 815.8536533333333 215.88608 831.9163733333334 213.3333333333333 847.9790933333334L217.16224 853.3333333333334C232.47872 851.99488 247.7947733333333 850.656 264.3874133333333 849.3175466666667C291.19104 849.3175466666667 342.24512 847.9790933333334 417.5496533333333 847.9790933333334H606.4512C684.3093333333333 847.9790933333334 736.64 849.3175466666667 762.1632 849.3175466666667C777.4805333333334 850.656 791.5221333333334 851.99488 805.5594666666666 853.3333333333334L810.6666666666666 847.9790933333334C808.1152 827.9005866666666 805.5594666666666 810.4994133333333 805.5594666666666 795.7751466666666C805.5594666666666 793.09824 804.2837333333333 758.2954666666667 803.0079999999999 688.6903466666668H764.7189333333333C764.7189333333333 714.1226666666666 762.1632 738.21696 758.3359999999999 762.3112533333333C757.0602666666666 773.0197333333333 754.5088000000001 781.05088 753.2288 782.3893333333333C750.6773333333333 785.0666666666667 745.5744 785.0666666666667 737.9157333333333 786.40512C712.3882666666666 789.0824533333333 681.7536 790.4209066666667 646.016 790.4209066666667H579.6479999999999C578.3722666666666 778.3739733333334 578.3722666666666 734.2011733333334 578.3722666666666 656.5649066666667V364.7573333333334C578.3722666666666 293.8154666666667 579.6479999999999 250.9824000000001 583.4752 237.5936000000001C586.0266666666666 228.2240000000001 589.8581333333333 222.8693333333334 597.5168 218.8544000000001C603.8954666666666 214.8394666666667 626.8714666666666 212.1600000000001 663.8847999999999 210.8245333333333V170.6666666666668C603.8954666666666 173.3418666666667 552.8448 174.6816000000001 512 174.6816000000001C468.6037333333334 174.6816000000001 417.5496533333333 173.3418666666667 360.11392 170.6666666666668z" />
<glyph glyph-name="ticket-checked"
- unicode="&#xF214;"
+ unicode="&#xF215;"
horiz-adv-x="1024" d=" M544.1792 170.6666666666668L414.2515200000001 317.3333333333334C400.8571733333333 331.9978666666666 403.5362133333333 353.3312000000001 420.9489066666667 365.3333333333334C437.0218666666666 377.3354666666667 462.4725333333333 374.6645333333334 475.8656 360L541.4997333333333 285.3333333333334L739.7375999999999 526.6688C753.1349333333333 542.6688 777.2458666666666 545.3312000000001 794.6581333333334 534.6645333333333C812.0704000000001 522.6666666666667 816.0895999999999 501.3333333333334 802.6922666666666 485.3333333333334L544.1792 170.6666666666668zM556.2325333333333 792L696.8746666666666 652L741.0773333333333 694.6666666666667L581.6831999999999 853.3333333333334H213.3333333333333V170.6666666666668H383.4440533333333V232H274.9482666666667V792H556.2325333333333z" />
<glyph glyph-name="ticket-down"
- unicode="&#xF215;"
+ unicode="&#xF216;"
horiz-adv-x="1024" d=" M715.5498666666667 324.0021333333334L768 421.3333333333334H725.5423999999999V578.6666666666667H596.9151999999999V421.3333333333334H556.9578666666666L609.4037333333333 324.0021333333334L663.1039999999999 226.6666666666668L715.5498666666667 324.0021333333334zM574.4384 792L706.8117333333332 652L746.7690666666667 694.6666666666667L599.4154666666666 853.3333333333334H256V170.6666666666668H539.4730666666667V232H313.44384V792H574.4384z" />
<glyph glyph-name="ticket-edit"
- unicode="&#xF216;"
+ unicode="&#xF217;"
horiz-adv-x="1024" d=" M455.8634666666667 194.6666666666668L463.8592 251.9978666666666L471.8549333333333 310.6645333333334L521.1605333333333 261.3333333333334L570.4661333333333 210.6666666666668L513.1648 202.6666666666668L455.8634666666667 194.6666666666668zM735.7098666666667 409.3354666666667L587.7930666666666 261.3333333333334L570.4661333333333 277.3333333333334L719.7184 426.6666666666668L686.4042666666666 458.6666666666667L537.1519999999999 310.6645333333334L521.1605333333333 326.6645333333334L669.0773333333333 475.9978666666667L653.0858666666666 491.9978666666667L487.8464 326.6645333333334L587.7930666666666 228.0021333333334L751.7013333333332 393.3354666666667L735.7098666666667 409.3354666666667zM803.6693333333333 442.6666666666668C813.0005333333334 450.6666666666667 813.0005333333334 465.3312000000001 803.6693333333333 474.6666666666667L737.0410666666667 541.3333333333334C727.7141333333334 549.3333333333334 713.0538666666666 550.6645333333333 705.0581333333332 541.3333333333334C703.7269333333334 539.9978666666667 703.7269333333334 539.9978666666667 703.7269333333334 538.6666666666667L702.3957333333333 539.9978666666667L671.7439999999999 507.9978666666667L770.3552 408L802.3381333333333 440L801.0069333333332 441.3354666666667C802.3381333333333 441.3354666666667 803.6693333333333 441.3354666666667 803.6693333333333 442.6666666666668zM553.1434666666667 792L694.3999999999999 652L737.0410666666667 694.6666666666667L579.7973333333333 853.3333333333334H213.3333333333333V170.6666666666668H382.5723733333333V232H274.6325333333333V792H553.1434666666667z" />
<glyph glyph-name="ticket-minus"
- unicode="&#xF217;"
+ unicode="&#xF218;"
horiz-adv-x="1024" d=" M598.1909333333333 337.3312V394.6666666666668H810.6666666666666V337.3312H598.1909333333333zM738.5045333333334 696L580.8213333333333 853.3333333333334H213.3333333333333V170.6666666666668H739.8399999999999V286.6688000000002H678.3701333333333V232H274.8040533333333V792H555.4304L678.3701333333333 669.3333333333334V445.3333333333334H739.8399999999999V696H738.5045333333334z" />
<glyph glyph-name="ticket-note"
- unicode="&#xF218;"
+ unicode="&#xF219;"
horiz-adv-x="1024" d=" M275.7819733333334 792H560.8746666666666L703.4197333333333 652L748.2197333333334 694.6666666666667L586.6666666666666 853.3333333333334H213.3333333333333V170.6666666666668H385.7454933333334V232H275.7819733333334V792zM659.9765333333332 582.6645333333333H560.8746666666666C478.0586666666666 582.6645333333333 411.5392 517.3333333333334 411.5392 436.0021333333334C411.5392 363.9978666666667 465.8432 302.6688000000002 536.4351999999999 290.6666666666668V190.6688000000002L669.4784 289.3312C748.2197333333334 293.3333333333334 810.6666666666666 358.6645333333334 810.6666666666666 436.0021333333334C810.6666666666666 517.3333333333334 742.7882666666666 582.6645333333333 659.9765333333332 582.6645333333333zM659.9765333333332 338.6666666666668H651.8314666666666L585.3098666666666 289.3312V338.6666666666668H560.8746666666666C505.2117333333333 338.6666666666668 461.7685333333333 382.6688000000001 461.7685333333333 436.0021333333334C461.7685333333333 490.6666666666667 505.2117333333333 534.6645333333333 560.8746666666666 534.6645333333333H659.9765333333332C715.6351999999999 534.6645333333333 760.4352 490.6666666666667 760.4352 436.0021333333334C760.4352 382.6688000000001 715.6351999999999 338.6666666666668 659.9765333333332 338.6666666666668z" />
<glyph glyph-name="ticket"
- unicode="&#xF219;"
+ unicode="&#xF21A;"
horiz-adv-x="1024" d=" M768 696L613.3589333333333 853.3333333333334H256V170.6666666666668H768V696zM315.7768533333333 232V792H588.672L708.2239999999999 669.3333333333334V232H315.7768533333333z" />
+ <glyph glyph-name="time-tracking-running"
+ unicode="&#xF21B;"
+ horiz-adv-x="1024" d=" M806.965248 526.86848C806.965248 654.587904 702.468096 759.0842368 574.75072 759.0842368C447.033344 759.0842368 342.5357824 654.587904 342.5357824 526.86848C342.5357824 469.753856 363.4356224 417.28 397.9657216000001 376.717312C380.8800768000001 391.942144 358.3578112 401.1909120000001 333.6749056 401.1909120000001C313.6397312 401.1909120000001 295.0279168 395.096064 279.5917312000001 384.659456C258.7582464 427.7002240000001 247.0699008 475.951104 247.0699008 526.86848C247.0699008 707.4811904000001 394.1388288 854.5501184 574.75072 854.5501184C755.3597440000001 854.5501184 902.43072 707.4811904000001 902.43072 526.86848C902.43072 346.259456 755.3597440000001 199.1884799999999 574.75072 199.1884799999999C547.016704 199.1884799999999 520.073216 202.657792 494.329856 209.1827199999999C536.813568 216.379392 569.868288 251.285504 574.255104 294.658048L574.75072 294.653952C702.468096 294.653952 806.965248 399.1511039999999 806.965248 526.86848zM566.099968 537.14944C559.505408 541.290496 555.39712 548.4011519999999 555.39712 556.539904V652.0078336C555.39712 664.9085952 565.7190400000001 676.5191167999999 579.91168 676.5191167999999C592.809984 676.5191167999999 603.131904 664.9085952 603.131904 652.0078336V568.70912L714.080256 480.428032C724.39808 471.396352 725.68832 457.203712 717.94688 446.8858879999999C712.790016 440.4346880000001 706.338816 437.854208 698.5973759999999 437.854208C693.436416 437.854208 688.275456 439.144448 684.404736 443.015168L566.099968 537.14944zM437.108736 304.504832C437.108736 327.12704 455.4465280000001 345.464832 478.068736 345.464832C500.690944 345.464832 519.028736 327.12704 519.028736 304.504832C519.028736 281.8826240000001 500.690944 263.5448320000001 478.068736 263.5448320000001C455.4465280000001 263.5448320000001 437.108736 281.8826240000001 437.108736 304.504832zM189.270016 345.464832C166.6482176 345.464832 148.310016 327.12704 148.310016 304.504832C148.310016 281.8826240000001 166.6482176 263.5448320000001 189.270016 263.5448320000001C211.8914048 263.5448320000001 230.230016 281.8826240000001 230.230016 304.504832C230.230016 327.12704 211.8914048 345.464832 189.270016 345.464832zM292.7099904 304.504832C292.7099904 327.12704 311.0486016 345.464832 333.6699904 345.464832C356.2913792 345.464832 374.6299904000001 327.12704 374.6299904000001 304.504832C374.6299904000001 281.8826240000001 356.2913792 263.5448320000001 333.6699904 263.5448320000001C311.0486016 263.5448320000001 292.7099904 281.8826240000001 292.7099904 304.504832z" />
+ <glyph glyph-name="time-tracking-start"
+ unicode="&#xF21C;"
+ horiz-adv-x="983.04" d=" M542.4291840000001 791.054336C670.14656 791.054336 774.6437119999999 686.5575936 774.6437119999999 558.841856C774.6437119999999 431.120384 670.14656 326.6273279999999 542.4291840000001 326.6273279999999C521.8508800000001 326.6273279999999 501.874688 329.33888 482.840576 334.426112L384.4829184 271.8310400000001C431.357952 245.9197440000001 485.21216 231.161856 542.4291840000001 231.161856C723.0423040000001 231.161856 870.1091839999999 378.2287360000001 870.1091839999999 558.841856C870.1091839999999 739.45088 723.0423040000001 886.519808 542.4291840000001 886.519808C371.7419008 886.519808 231.0119424 755.1684608 216.0627712 588.288L312.4092928 526.974976C310.9629952 537.399296 310.2154752 548.0366079999999 310.2154752 558.841856C310.2154752 686.5575936 414.711808 791.054336 542.4291840000001 791.054336zM523.07968 588.51328C523.07968 580.374528 527.183872 573.259776 533.7825280000001 569.1187199999999L652.087296 474.9844479999999C655.958016 471.1137279999999 661.11488 469.823488 666.27584 469.823488C674.01728 469.823488 680.46848 472.403968 685.62944 478.8551679999999C693.366784 489.177088 692.08064 503.365632 681.75872 512.397312L570.810368 600.6784V683.9775232C570.810368 696.8782848000001 560.492544 708.4892159999999 547.590144 708.4892159999999C533.397504 708.4892159999999 523.07968 696.8782848000001 523.07968 683.9775232V588.51328zM112.9398272 167.9441920000001V584.99072L440.6190080000001 376.467456L112.9398272 167.9441920000001z" />
+ <glyph glyph-name="time-tracking-stop"
+ unicode="&#xF21D;"
+ horiz-adv-x="1024" d=" M567.980032 779.5642368C695.697408 779.5642368 800.19456 675.067904 800.19456 547.34848C800.19456 419.631104 695.697408 315.133952 567.980032 315.133952C554.708992 315.133952 541.687808 316.264448 529.0106880000001 318.427136V221.974528C541.794304 220.454912 554.799104 219.6684799999999 567.980032 219.6684799999999C748.589056 219.6684799999999 895.6600320000001 366.739456 895.6600320000001 547.34848C895.6600320000001 727.9611904000001 748.589056 875.0301184 567.980032 875.0301184C395.8501376000001 875.0301184 254.1862912000001 741.4489088 241.2609536 572.55936H337.1352064C349.8020864 688.5363712 448.7782400000001 779.5642368 567.980032 779.5642368zM548.630528 577.019904C548.630528 568.8811519999999 552.73472 561.770496 559.333376 557.62944L677.638144 463.4951679999999C681.508864 459.6244479999999 686.665728 458.334208 691.826688 458.334208C699.568128 458.334208 706.019328 460.914688 711.180288 467.3658879999999C718.917632 477.683712 717.627392 491.876352 707.309568 500.908032L596.361216 589.18912V672.4878335999999C596.361216 685.3885952 586.039296 696.9991168 573.140992 696.9991168C558.948352 696.9991168 548.630528 685.3885952 548.630528 672.4878335999999V577.019904zM140.8598016 506.38848V178.70848H468.54144V506.38848H140.8598016z" />
<glyph glyph-name="time"
- unicode="&#xF21A;"
+ unicode="&#xF21E;"
horiz-adv-x="1024" d=" M512 753.8897066666667C645.0389333333333 753.8897066666667 753.8901333333333 645.03936 753.8901333333333 512C753.8901333333333 378.9610666666668 645.0389333333333 270.1098666666667 512 270.1098666666667C378.96064 270.1098666666667 270.1102933333333 378.9610666666668 270.1102933333333 512C270.1102933333333 645.03936 378.96064 753.8897066666667 512 753.8897066666667zM512 853.3333333333334C323.8634666666667 853.3333333333334 170.6666666666667 700.1365333333333 170.6666666666667 512C170.6666666666667 323.8656 323.8634666666667 170.6666666666668 512 170.6666666666668C700.1344 170.6666666666668 853.3333333333333 323.8656 853.3333333333333 512C853.3333333333333 700.1365333333333 700.1344 853.3333333333334 512 853.3333333333334zM517.376 518.72C502.592 518.72 491.8442666666666 529.4677333333334 491.8442666666666 542.9077333333333V642.3517866666667C491.8442666666666 655.79008 502.592 667.8843733333333 517.376 667.8843733333333C530.8117333333332 667.8843733333333 541.5637333333333 655.79008 541.5637333333333 642.3517866666667V542.9077333333333C541.5637333333333 529.4677333333334 530.8117333333332 518.72 517.376 518.72zM641.0069333333333 419.2768000000001C635.6309333333334 419.2768000000001 630.2592 420.6208000000001 626.2271999999999 424.6528000000001L501.2479999999999 524.096C490.5002666666667 532.1557333333334 489.1562666666667 548.2837333333334 497.216 559.0357333333334C506.624 569.7834666666668 521.4079999999999 571.1274666666667 532.1557333333333 563.0677333333333L657.1349333333333 463.6202666666667C667.8826666666666 454.2165333333334 669.2266666666667 439.4325333333334 661.1669333333333 428.6805333333334C655.7909333333333 421.9648 649.0709333333333 419.2768000000001 641.0069333333333 419.2768000000001z" />
<glyph glyph-name="to-fullscreen"
- unicode="&#xF21B;"
+ unicode="&#xF21F;"
horiz-adv-x="1024" d=" M800.3114666666667 763.8574933333334L609.7621333333333 566.6816L566.6815999999999 609.7604266666667L763.8570666666666 800.3106133333333H588.2197333333334V853.3333333333334H853.3333333333333V588.2197333333334H800.3114666666667V763.8574933333334z M435.7802666666667 170.6666666666668H170.6666666666667V435.7802666666667H223.6893866666667V260.1429333333334L414.2395733333334 457.3226666666667L457.3184 414.2421333333334L260.1425066666667 223.6928H435.7802666666667V170.6666666666668z" />
<glyph glyph-name="today-arrows"
- unicode="&#xF21C;"
+ unicode="&#xF220;"
horiz-adv-x="1024" d=" M175.92832 373.7045333333333C168.91264 366.2976000000001 168.91264 354.2912 175.92832 346.8885333333334C182.944 339.4816000000001 194.3189333333334 339.4816000000001 201.3346133333333 346.8885333333334L345.0538666666667 498.5898666666667C352.0695466666667 505.9968 352.0695466666667 518.0032000000001 345.0538666666667 525.4101333333333L201.3346133333333 677.1127466666667C194.3189333333334 684.5179733333333 182.944 684.5179733333333 175.92832 677.1127466666667C168.91264 669.7070933333334 168.91264 657.7002666666667 175.92832 650.29504L306.9448533333333 512L175.92832 373.7045333333333z M848.0725333333332 677.1123200000001C855.0869333333333 669.7070933333334 855.0869333333333 657.7002666666667 848.0725333333332 650.29504L717.056 512L848.0725333333332 373.7045333333333C855.0869333333333 366.2976000000001 855.0869333333333 354.2912 848.0725333333332 346.8885333333334C841.0538666666666 339.4816000000001 829.6789333333332 339.4816000000001 822.6645333333332 346.8885333333334L678.9461333333334 498.5898666666667C671.9317333333333 505.9968 671.9317333333333 518.0032000000001 678.9461333333334 525.4101333333333L822.6645333333332 677.1123200000001C829.6789333333332 684.5179733333333 841.0538666666666 684.5179733333333 848.0725333333332 677.1123200000001z M619.7888 512C619.7888 449.1605333333335 571.5285333333334 398.2208000000001 512 398.2208000000001C452.4714666666666 398.2208000000001 404.2103466666666 449.1605333333335 404.2103466666666 512C404.2103466666666 574.8394666666667 452.4714666666666 625.77792 512 625.77792C571.5285333333334 625.77792 619.7888 574.8394666666667 619.7888 512z" />
<glyph glyph-name="training-consulting"
- unicode="&#xF21D;"
+ unicode="&#xF221;"
horiz-adv-x="1024" d=" M170.6666666666667 768V256H853.3333333333333V768H170.6666666666667zM363.7981866666667 277.3333333333334L213.3333333333333 362.6666666666668C217.3568 366.6688000000001 213.58464 357.3333333333334 213.58464 378.6666666666668V725.3333333333334H810.4149333333332V298.6666666666668H539.4943999999999V277.3333333333334H363.7981866666667zM535.4709333333333 362.6666666666668C523.4005333333333 378.6666666666668 488.5290666666666 388.0021333333334 453.6576 405.3333333333334C420.1284266666667 417.3312000000001 410.7400533333333 426.6666666666668 410.7400533333333 426.6666666666668V459.9978666666667C410.7400533333333 459.9978666666667 424.1518933333333 469.3333333333334 428.1770666666667 502.6645333333333C432.2005333333333 498.6666666666667 441.5872 512 441.5872 520C441.5872 528 441.5872 549.3333333333334 428.1770666666667 545.3312000000001C428.1770666666667 562.6666666666667 432.2005333333333 576 432.2005333333333 584C432.2005333333333 613.3333333333334 402.6926933333333 640 363.7981866666667 640C320.8802133333333 640 295.3975466666667 609.3333333333334 291.37408 584C291.37408 576 291.37408 562.6666666666667 295.3975466666667 545.3312000000001C281.9857066666667 549.3333333333334 281.9857066666667 528 281.9857066666667 520C281.9857066666667 512 291.37408 498.6666666666667 299.4210133333334 498.6666666666667C303.44448 464 316.8567466666667 456 316.8567466666667 456V421.3333333333334L273.9383466666667 400C252.4795733333333 392 231.0203733333333 384 213.58464 374.6645333333334C205.5377066666667 370.6666666666668 196.1493333333333 366.6688000000001 192.1258666666667 357.3333333333334C184.0785066666667 341.3333333333334 184.0785066666667 272 184.0785066666667 272H544.8575999999999V293.3333333333334C539.4943999999999 320 539.4943999999999 353.3312000000001 535.4709333333333 362.6666666666668zM548.8810666666666 490.6666666666667L509.9861333333333 448L570.3424 477.3333333333334C582.4128 473.3354666666667 595.8229333333334 469.3333333333334 609.2373333333333 469.3333333333334H677.6362666666666C737.9925333333333 469.3333333333334 784.9343999999999 516.0021333333334 784.9343999999999 576C784.9343999999999 634.6666666666667 737.9925333333333 682.6666666666667 677.6362666666666 682.6666666666667H609.2373333333333C548.8810666666666 682.6666666666667 501.9392 634.6666666666667 501.9392 576C501.9392 541.3333333333334 518.0373333333333 506.6666666666667 548.8810666666666 490.6666666666667zM609.2373333333333 665.3333333333334H677.6362666666666C724.5781333333332 665.3333333333334 763.4730666666666 626.6666666666667 763.4730666666666 580.0021333333334C763.4730666666666 533.3333333333334 724.5781333333332 494.6688 677.6362666666666 494.6688H609.2373333333333C560.9514666666666 494.6688 523.4005333333333 533.3333333333334 523.4005333333333 580.0021333333334C523.4005333333333 626.6666666666667 560.9514666666666 665.3333333333334 609.2373333333333 665.3333333333334zM574.3658666666666 613.3333333333334H707.1445333333332V601.3333333333334H574.3658666666666V613.3333333333334zM574.3658666666666 584H707.1445333333332V570.6666666666667H574.3658666666666V584zM574.3658666666666 558.6688H707.1445333333332V545.3312000000001H574.3658666666666V558.6688z" />
<glyph glyph-name="two-factor-authentication"
- unicode="&#xF21E;"
+ unicode="&#xF222;"
horiz-adv-x="1024" d=" M721.9456 584.2816V648.5333333333333C721.9456 762.3112533333333 627.1317333333333 853.3333333333334 512 853.3333333333334C396.86784 853.3333333333334 302.05312 762.3112533333333 302.05312 648.5333333333333V584.2816H256V170.6666666666668H768V584.2816H721.9456zM628.4885333333333 584.2816H395.5131733333334V648.5333333333333C395.5131733333334 710.1073066666667 448.3370666666666 760.9723733333333 512 760.9723733333333C575.6629333333333 760.9723733333333 628.4885333333333 710.1073066666667 628.4885333333333 648.5333333333333V584.2816zM455.6544 263.0272H365.3077333333333L387.5217066666667 386.8458666666668C374.7895466666667 394.7434666666667 365.3077333333333 407.1893333333334 365.3077333333333 424.4565333333334C365.3077333333333 449.4890666666668 385.8961066666667 468.3648000000001 409.7352533333334 468.3648000000001C435.0634666666666 468.3648000000001 455.6544 449.6213333333334 455.6544 424.4565333333334C455.6544 407.1893333333334 446.1696 394.7434666666667 431.8122666666667 386.8458666666668L455.6544 263.0272zM658.6922666666667 264.6357333333334H568.3456L590.5621333333333 388.4501333333334C577.8303999999999 396.3477333333334 568.3456 408.7978666666668 568.3456 426.0650666666668C568.3456 451.0933333333334 588.9365333333333 469.9690666666668 612.7744 469.9690666666668C638.1056 469.9690666666668 658.6922666666667 451.2298666666667 658.6922666666667 426.0650666666668C658.6922666666667 408.7978666666668 649.2117333333333 396.3477333333334 634.8543999999999 388.4501333333334L658.6922666666667 264.6357333333334z" />
<glyph glyph-name="two-factor-authentification"
- unicode="&#xF21F;"
+ unicode="&#xF223;"
horiz-adv-x="1024" d=" M227.2264533333333 725.1754666666667C243.88224 726.0825600000001 260.5179733333333 723.0724266666666 275.7653333333334 716.39168C291.0122666666666 709.71136 304.4347733333333 699.552 314.92736 686.74944C325.4203733333333 673.9473066666667 332.6839466666667 658.8680533333334 336.12032 642.7524266666667C339.5566933333334 626.6372266666667 339.0673066666667 609.94688 334.69312 594.0565333333334C330.49984 578.8202666666667 322.8509866666667 564.7360000000001 312.3362133333333 552.8618666666667L241.45152 458.8842666666667H300.7722666666666C321.7181866666666 458.8842666666667 338.69824 442.1205333333334 338.69824 421.4442666666667C338.69824 400.7637333333334 321.7181866666666 384 300.7722666666666 384H165.92512C151.5835733333333 384 138.4686933333333 391.9872000000001 132.0328533333333 404.6378666666667C125.5965866666667 417.2928000000001 126.9410133333333 432.4480000000001 135.5063466666667 443.8058666666667L252.4864 598.8979200000001C253.2270933333334 599.87968 254.016 600.8256 254.85056 601.7309866666667C257.9933866666667 605.1421866666667 260.27136 609.2411733333333 261.4958933333333 613.6908800000001C262.7208533333333 618.1405866666666 262.8578133333333 622.8142933333334 261.89568 627.3262933333333C260.93312 631.83872 258.8996266666667 636.0610133333333 255.9616 639.64544C253.0235733333334 643.2302933333334 249.2650666666667 646.07488 244.9962666666667 647.9453866666668C240.72704 649.8158933333334 236.0686933333334 650.6589866666667 231.4052266666667 650.4046933333334C226.7413333333334 650.1508266666667 222.2058666666667 648.8068266666667 218.17088 646.4840533333333C214.1358933333334 644.16128 210.71744 640.9258666666667 208.19712 637.0436266666667C205.6763733333334 633.1618133333334 204.12544 628.7441066666668 203.6718933333333 624.15488C201.6384 603.57376 183.08992 588.5184 162.2429866666667 590.5237333333334C141.3960533333333 592.5333333333333 126.1448533333333 610.8441600000001 128.1787733333333 631.42528C129.7984 647.8161066666667 135.33696 663.5925333333333 144.3396266666667 677.4570666666667C153.3422933333333 691.3211733333334 165.5509333333333 702.8770133333334 179.9607466666667 711.17312C194.3709866666667 719.4688 210.57024 724.2679466666667 227.2264533333333 725.1754666666667z M363.9825066666666 687.6974933333333C363.9825066666666 708.3763200000001 380.9621333333334 725.1396266666667 401.9080533333334 725.1396266666667H536.7552C557.7002666666666 725.1396266666667 574.6815999999999 708.3763200000001 574.6815999999999 687.6974933333333C574.6815999999999 667.0186666666667 557.7002666666666 650.2553600000001 536.7552 650.2553600000001H439.8336V592.0128H503.0442666666667C523.9893333333333 592.0128 540.9706666666666 575.2490666666667 540.9706666666666 554.5685333333333C540.9706666666666 533.8922666666667 523.9893333333333 517.1285333333334 503.0442666666667 517.1285333333334H439.8336V421.4442666666667C439.8336 400.7637333333334 422.8539733333334 384 401.9080533333334 384C380.9621333333334 384 363.9825066666666 400.7637333333334 363.9825066666666 421.4442666666667V687.6974933333333z M734.8138666666666 483.8442666666667V421.4442666666667C734.8138666666666 400.7637333333334 751.7909333333333 384 772.736 384C793.6853333333333 384 810.6623999999999 400.7637333333334 810.6623999999999 421.4442666666667V621.1336533333333C810.6623999999999 648.7176533333334 799.5647999999999 675.1722666666667 779.8058666666667 694.6769066666667C760.0512 714.1819733333334 733.2565333333333 725.1396266666667 705.3141333333333 725.1396266666667C677.3717333333333 725.1396266666667 650.5770666666666 714.1819733333334 630.8224 694.6769066666667C611.0634666666666 675.1722666666667 599.9658666666667 648.7176533333334 599.9658666666667 621.1336533333333V421.4442666666667C599.9658666666667 400.7637333333334 616.9429333333333 384 637.8922666666666 384C658.8373333333333 384 675.8144 400.7637333333334 675.8144 421.4442666666667V483.8442666666667H734.8138666666666zM705.3141333333333 650.2553600000001C697.4890666666666 650.2553600000001 689.9882666666667 647.1872000000001 684.4543999999999 641.7258666666667C678.9248 636.2645333333334 675.8144 628.8571733333333 675.8144 621.1336533333333V558.7285333333334H734.8138666666666V621.1336533333333C734.8138666666666 628.8571733333333 731.7034666666666 636.2645333333334 726.1738666666666 641.7258666666667C720.64 647.1872000000001 713.1392000000001 650.2553600000001 705.3141333333333 650.2553600000001z" />
<glyph glyph-name="types"
- unicode="&#xF220;"
+ unicode="&#xF224;"
horiz-adv-x="1024" d=" M853.3333333333333 724.8311466666667L724.8298666666666 853.3333333333334H554.8330666666666L170.6666666666667 469.1669333333334L469.1669333333333 170.6666666666668L853.3333333333333 554.8330666666667V724.8311466666667zM684.6762666666666 616.4078933333334C647.1936 616.4078933333334 616.4096 647.19488 616.4096 684.67456C616.4096 722.1542400000001 647.1936 752.9412266666667 684.6762666666666 752.9412266666667C722.1546666666666 751.6027733333333 751.6032 722.1542400000001 751.6032 684.67456C751.6032 647.19488 722.1546666666666 616.4078933333334 684.6762666666666 616.4078933333334z" />
<glyph glyph-name="underline"
- unicode="&#xF221;"
+ unicode="&#xF225;"
horiz-adv-x="1024" d=" M287.6829866666667 493.3333333333334V853.3333333333334H363.7226666666666V493.3333333333334C363.7226666666666 468.0021333333334 367.5246933333334 445.3333333333334 373.8615466666667 425.3354666666667C380.1979733333333 404.0021333333334 390.3364266666667 386.6666666666668 403.0097066666666 370.6666666666668C415.6829866666667 356.0021333333334 430.8906666666667 344 449.9029333333334 336C467.6437333333333 328 489.1861333333333 324.0021333333334 512 324.0021333333334C536.0810666666666 324.0021333333334 556.3562666666667 328 574.0970666666666 336C593.1093333333333 344 608.3157333333334 356.0021333333334 620.992 370.6666666666668C633.664 385.3312000000001 643.8016 404.0021333333334 650.1376 424C656.4736 445.3333333333334 660.2751999999999 468.0021333333334 660.2751999999999 491.9978666666667V853.3333333333334H736.3157333333334V493.3333333333334C736.3157333333334 458.6666666666667 731.2469333333333 426.6666666666668 721.1093333333333 397.3333333333334C710.9717333333333 369.3312000000001 695.7610666666666 344 676.7530666666667 322.6666666666668C657.7408 301.3333333333334 633.664 283.9978666666666 605.7813333333334 272C577.9029333333333 260.0021333333334 547.4858666666667 253.3333333333334 512 253.3333333333334C477.7813333333334 253.3333333333334 446.0970666666666 260.0021333333334 418.2178133333333 272C390.3364266666667 283.9978666666666 367.5246933333334 301.3333333333334 347.24736 322.6666666666668C328.2376533333333 344 313.0295466666667 369.3312000000001 302.8910933333333 397.3333333333334C292.75264 426.6666666666668 287.6829866666667 458.6666666666667 287.6829866666667 493.3333333333334zM256 213.3333333333334H768V170.6666666666668H256V213.3333333333334z" />
<glyph glyph-name="undo"
- unicode="&#xF222;"
+ unicode="&#xF226;"
horiz-adv-x="1024" d=" M288 593.8133333333334C301.3333333333333 626.8040533333334 322.6666666666667 655.8348800000001 348 682.2267733333333C404 737.6494933333333 478.6688 768 557.3333333333333 768C635.9978666666666 768 710.6645333333332 737.6494933333333 766.6688 682.2267733333333C822.6645333333332 626.8040533333334 853.3333333333333 554.2272 853.3333333333333 475.0506666666668C853.3333333333333 397.1968000000001 822.6645333333332 323.2981333333335 766.6688 269.1968000000001C757.3333333333333 259.9594666666667 745.3354666666667 256 734.6688 256C722.6666666666666 256 710.6645333333332 259.9594666666667 702.6688 269.1968000000001C683.9978666666666 286.3488000000001 683.9978666666666 315.3834666666667 702.6688 332.5354666666667C741.3333333333333 370.8032000000001 762.6666666666666 420.9493333333334 762.6666666666666 475.0506666666668C762.6666666666666 529.1562666666667 741.3333333333333 580.6165333333333 702.6688 618.8864000000001C664 657.1545600000001 612.0021333333333 678.2681600000001 557.3333333333333 678.2681600000001C502.6645333333333 678.2681600000001 452.0021333333333 657.1545600000001 413.3333333333333 618.8864000000001C384 589.8538666666667 365.3333333333333 555.5456 357.3333333333333 515.9594666666667L454.6645333333333 407.7525333333333H170.6666666666667V723.1338666666667L288 593.8133333333334z" />
<glyph glyph-name="unit"
- unicode="&#xF223;"
+ unicode="&#xF227;"
horiz-adv-x="1024" d=" M810.6666666666666 768C810.6666666666666 721.3333333333334 677.3333333333333 682.6666666666667 512 682.6666666666667C346.6666666666667 682.6666666666667 213.3333333333333 721.3333333333334 213.3333333333333 768C213.3333333333333 814.6666666666667 346.6666666666667 853.3333333333334 512 853.3333333333334C677.3333333333333 853.3333333333334 810.6666666666666 814.6666666666667 810.6666666666666 768zM512 640C485.3333333333333 640 298.6666666666667 642.6666666666667 213.3333333333333 700V597.3333333333334C213.3333333333333 550.6645333333333 346.6666666666667 512 512 512C677.3333333333333 512 810.6666666666666 550.6645333333333 810.6666666666666 597.3333333333334V700C725.3333333333333 642.6666666666667 538.6666666666666 640 512 640zM512 469.3333333333334C485.3333333333333 469.3333333333334 298.6666666666667 472 213.3333333333333 529.3312000000001V426.6666666666668C213.3333333333333 379.9978666666667 346.6666666666667 341.3333333333334 512 341.3333333333334C677.3333333333333 341.3333333333334 810.6666666666666 379.9978666666667 810.6666666666666 426.6666666666668V529.3312000000001C725.3333333333333 472 538.6666666666666 469.3333333333334 512 469.3333333333334zM512 298.6666666666668C485.3333333333333 298.6666666666668 298.6666666666667 301.3333333333334 213.3333333333333 358.6645333333334V256C213.3333333333333 209.3312 346.6666666666667 170.6666666666668 512 170.6666666666668C677.3333333333333 170.6666666666668 810.6666666666666 209.3312 810.6666666666666 256V358.6645333333334C725.3333333333333 301.3333333333334 538.6666666666666 298.6666666666668 512 298.6666666666668z" />
<glyph glyph-name="unlocked"
- unicode="&#xF224;"
+ unicode="&#xF228;"
horiz-adv-x="1024" d=" M661.3333333333333 853.3333333333334C555.9978666666666 853.3333333333334 469.3333333333333 761.27232 469.3333333333333 649.3832533333334V578.5685333333333H170.6666666666667V170.6666666666668H640V578.5685333333333H554.6666666666666V649.3832533333334C554.6666666666666 711.7013333333334 602.6666666666666 762.6888533333333 661.3333333333333 762.6888533333333C720 762.6888533333333 768 711.7013333333334 768 649.3832533333334V578.5685333333333H853.3333333333333V649.3832533333334C853.3333333333333 761.27232 766.6688 853.3333333333334 661.3333333333333 853.3333333333334zM438.6645333333334 261.3120000000002H366.6666666666667L385.3333333333333 368.9514666666667C374.6666666666667 374.6176000000001 366.6666666666667 387.3621333333333 366.6666666666667 401.5274666666667C366.6666666666667 422.7712 382.6666666666667 439.7696000000001 402.6666666666667 439.7696000000001C422.6666666666667 439.7696000000001 438.6645333333334 422.7712 438.6645333333334 401.5274666666667C438.6645333333334 387.3621333333333 430.6688 374.6176000000001 420 368.9514666666667L438.6645333333334 261.3120000000002z" />
<glyph glyph-name="unordered-list"
- unicode="&#xF225;"
+ unicode="&#xF229;"
horiz-adv-x="1024" d=" M382.15936 787.6923733333333H853.3333333333333V695.7947733333333H382.15936V787.6923733333333zM299.1688533333334 741.7437866666667C299.1688533333334 702.9742933333333 269.72032 672.8204800000001 234.9175466666667 672.8204800000001C198.77632 672.8204800000001 170.6666666666667 702.9742933333333 170.6666666666667 741.7437866666667C170.6666666666667 780.5128533333334 198.77632 810.6666666666667 234.9175466666667 810.6666666666667C269.72032 810.6666666666667 299.1688533333334 780.5128533333334 299.1688533333334 741.7437866666667zM382.15936 557.9477333333334H853.3333333333333V466.0522666666667H382.15936V557.9477333333334zM299.1688533333334 512C299.1688533333334 473.2288000000001 269.72032 443.0762666666667 234.9175466666667 443.0762666666667C198.77632 443.0762666666667 170.6666666666667 473.2288000000001 170.6666666666667 512C170.6666666666667 550.7712 198.77632 580.9237333333333 234.9175466666667 580.9237333333333C269.72032 580.9237333333333 299.1688533333334 550.7712 299.1688533333334 512zM382.15936 328.2048H853.3333333333333V236.3093333333334H382.15936V328.2048zM299.1688533333334 282.2570666666668C299.1688533333334 243.4858666666668 269.72032 213.3333333333334 234.9175466666667 213.3333333333334C198.77632 213.3333333333334 170.6666666666667 243.4858666666668 170.6666666666667 282.2570666666668C170.6666666666667 321.0240000000001 198.77632 351.1808000000001 234.9175466666667 351.1808000000001C269.72032 351.1808000000001 299.1688533333334 321.0240000000001 299.1688533333334 282.2570666666668z" />
<glyph glyph-name="unwatched"
- unicode="&#xF226;"
+ unicode="&#xF22A;"
horiz-adv-x="1024" d=" M170.6666666666667 524.4074666666668V498.5728C328.61696 232.0298666666667 695.3813333333333 232.0298666666667 853.3333333333333 498.5728V524.4074666666668C695.3813333333333 792.3080533333334 328.61696 792.3080533333334 170.6666666666667 524.4074666666668zM512 351.7013333333334C424.99328 351.7013333333334 354.0497066666667 423.7781333333334 354.0497066666667 512.1706666666666C354.0497066666667 600.5632 424.99328 671.2776533333333 512 671.2776533333333C599.0058666666666 671.2776533333333 669.952 600.5632 669.952 512.1706666666666C669.952 423.7781333333334 599.0058666666666 351.7013333333334 512 351.7013333333334z" />
<glyph glyph-name="up-down-stepper"
- unicode="&#xF227;"
+ unicode="&#xF22B;"
horiz-adv-x="1024" d=" M803.0250666666667 592.6570666666667C808.7082666666666 585.7962666666667 811.3834666666667 577.1776 810.5002666666666 568.5418666666667C809.6213333333333 559.9104 805.2522666666666 551.9146666666667 798.2805333333333 546.176C791.3087999999999 540.4416000000001 782.2634666666665 537.3952 772.9749333333332 537.6597333333334C763.6864 537.9242666666667 754.8501333333334 541.4784 748.2709333333333 547.6010666666667L554.6666666666666 728.2722133333334L361.0641066666667 547.6010666666667L357.6256 544.768C350.2741333333334 539.4645333333334 341.03424 536.9685333333334 331.7828266666667 537.792C322.53184 538.6154666666666 313.9630933333333 542.6901333333334 307.8165333333334 549.1968C301.6704 555.7034666666667 298.4081066666667 564.1472000000001 298.6914133333334 572.8128C298.9751466666667 581.4826666666668 302.784 589.7258666666667 309.344 595.8656000000001L528.8063999999999 800.6702933333333L532.2453333333333 803.50336C539.2810666666667 808.59776 548.0704 811.1210666666667 556.9578666666666 810.5992533333333C565.8496 810.0778666666668 574.2293333333333 806.5472 580.5269333333333 800.6702933333333L799.9914666666666 595.8656000000001L803.0250666666667 592.6570666666667zM306.30784 346.0096000000001C300.62336 352.8704 297.9502933333333 361.4890666666668 298.8317866666667 370.1248000000001C299.7128533333334 378.7562666666668 304.0823466666667 386.7520000000001 311.0528 392.4906666666667C318.0232533333333 398.2250666666667 327.0715733333334 401.2714666666667 336.3601066666667 401.0069333333334C345.6490666666667 400.7424000000001 354.4814933333334 397.1882666666668 361.0641066666667 391.0656L554.6666666666666 210.3936000000001L748.2709333333333 391.0656L751.7055999999999 393.8986666666667C759.0613333333333 399.2021333333334 768.2986666666667 401.6981333333333 777.5488 400.8746666666667C786.8032 400.0512000000001 795.3706666666667 395.9765333333334 801.5146666666666 389.4698666666667C807.6629333333333 382.9632000000001 810.9269333333333 374.5194666666667 810.6410666666667 365.8538666666667C810.3594666666665 357.184 806.5493333333334 348.9408000000001 799.9914666666666 342.8010666666667L580.5269333333333 137.9968000000001L577.088 135.1637333333333C570.0522666666666 130.0693333333334 561.2629333333333 127.5477333333333 552.3754666666666 128.0682666666667C543.4837333333332 128.5888 535.1039999999999 132.1173333333334 528.8063999999999 137.9968000000001L309.344 342.8010666666667L306.30784 346.0096000000001z" />
<glyph glyph-name="upload-arrow"
- unicode="&#xF228;"
+ unicode="&#xF22C;"
horiz-adv-x="1024" d=" M474.6666666666666 715.7580800000001L353.5927466666667 599.2733866666667L300.8034133333333 650.0782933333334L512 853.3333333333334L723.1914666666667 650.0782933333334L670.4042666666667 599.2733866666667L549.3333333333333 715.7580800000001L549.3333333333333 314.2442666666668H474.6666666666666V715.7580800000001z M773.3333333333333 242.5258666666668H250.6666666666667C240.76544 242.5258666666668 231.2695466666667 238.7413333333334 224.2679466666667 232.0042666666667C217.2667733333333 225.2629333333333 213.3333333333333 216.1280000000001 213.3333333333333 206.5962666666667C213.3333333333333 197.0688 217.2667733333333 187.9295999999999 224.2679466666667 181.1925333333334C231.2695466666667 174.4512 240.76544 170.6666666666668 250.6666666666667 170.6666666666668H773.3333333333333C783.2362666666666 170.6666666666668 792.7295999999999 174.4512 799.7312 181.1925333333334C806.7328 187.9295999999999 810.6666666666666 197.0688 810.6666666666666 206.5962666666667C810.6666666666666 216.1280000000001 806.7328 225.2629333333333 799.7312 232.0042666666667C792.7295999999999 238.7413333333334 783.2362666666666 242.5258666666668 773.3333333333333 242.5258666666668z" />
<glyph glyph-name="upload"
- unicode="&#xF229;"
+ unicode="&#xF22D;"
horiz-adv-x="1024" d=" M850.2528 579.7632000000001C835.4517333333333 664.8499200000001 750.6944 706.0219733333333 672.6655999999999 699.1598933333333C647.1039999999999 847.3783466666666 413.0129066666667 848.7505066666668 392.8328533333334 697.7873066666667C334.9828266666667 699.1598933333333 291.9317333333334 660.7330133333334 278.47808 603.09248C217.9374933333334 594.8586666666667 173.54112 549.568 170.8501333333333 485.0688C166.8142933333333 416.4480000000001 230.04544 369.7877333333334 290.5864533333334 365.6704C310.7665066666667 364.2965333333334 310.7665066666667 395.8613333333334 290.5864533333334 397.2352000000001C174.8864 402.7221333333335 174.8864 567.4112 290.5864533333334 574.272H291.9317333333334C298.65856 574.272 304.03968 577.0154666666667 305.38496 585.2501333333333C306.7306666666667 592.1152000000001 308.0759466666667 598.9751466666667 309.4212266666667 604.4650666666666C321.5291733333334 642.8919466666667 348.43648 666.2225066666667 387.4513066666667 667.5946666666667H406.2865066666667C415.7038933333334 666.2225066666667 419.7397333333334 673.0845866666667 419.7397333333334 681.3188266666667C421.0850133333334 681.3188266666667 421.0850133333334 682.6909866666667 421.0850133333334 684.0635733333334C426.46656 814.4405333333334 636.3391999999999 814.4405333333334 645.76 684.0635733333334V679.94624C647.1039999999999 678.5740800000001 647.1039999999999 677.2014933333334 648.448 675.8293333333334C648.448 674.4567466666667 649.7962666666666 674.4567466666667 649.7962666666666 673.0845866666667C651.1402666666667 673.0845866666667 651.1402666666667 673.0845866666667 651.1402666666667 671.712C653.8325333333332 668.9672533333334 657.8645333333333 667.5946666666667 663.2490666666666 667.5946666666667H664.5930666666666C830.0714666666665 699.1598933333333 885.2309333333333 461.7344000000001 723.7887999999999 413.7045333333333V412.3306666666668C704.9557333333333 406.8394666666667 713.024 378.0181333333334 731.8613333333333 383.5093333333334C817.9626666666666 409.5872000000001 866.3978666666667 487.8122666666667 850.2528 579.7632000000001zM535.4410666666666 581.1328000000001C528.7125333333333 590.7413333333334 516.6037333333334 590.7413333333334 509.8794666666666 581.1328000000001C482.9696 542.7072000000001 454.72 504.2816 427.8101333333333 465.8517333333334C423.776 458.9909333333334 425.12128 452.1301333333333 429.1584000000001 448.0128C431.8464 445.2693333333334 435.8826666666667 442.5216000000001 441.2672 442.5216000000001H495.0784V247.6416C495.0784 228.4288 507.1872 213.3333333333334 523.3322666666666 213.3333333333334C538.1290666666666 213.3333333333334 550.2378666666666 228.4288 550.2378666666666 247.6416V442.5216000000001H604.0533333333333C614.8138666666666 442.5216000000001 624.2346666666666 456.2474666666667 617.5061333333333 465.8517333333334C590.6005333333333 504.2816 563.6906666666666 542.7072000000001 535.4410666666666 581.1328000000001z" />
<glyph glyph-name="user-minus"
- unicode="&#xF22A;"
+ unicode="&#xF22E;"
horiz-adv-x="1024" d=" M563.968 298.8416000000001V342.0288000000001H791.7098666666667C766.2549333333333 367.1082666666668 708.6506666666667 386.6112000000001 651.0421333333334 410.2954666666667C586.7392 438.1610666666667 572.0021333333333 447.9146666666667 572.0021333333333 447.9146666666667V512C572.0021333333333 512 594.7775999999999 531.5029333333334 602.816 591.4112C617.5530666666666 587.2341333333334 633.6298666666667 615.0967466666667 634.9695999999999 629.0286933333334C634.9695999999999 642.96064 632.2901333333333 681.96992 613.5338666666667 677.7902933333334C617.5530666666666 708.4407466666667 620.2325333333333 734.9115733333333 618.8928 748.84352C614.8735999999999 798.9986133333334 565.3034666666666 853.3333333333334 491.6224 853.3333333333334C416.60288 853.3333333333334 368.37504 798.9986133333334 363.0161066666667 748.84352C361.6768 734.9115733333333 364.35584 708.4407466666667 368.37504 677.7902933333334C349.6196266666667 681.96992 346.94016 642.96064 348.2798933333334 629.0286933333334C348.2798933333334 615.0967466666667 364.35584 587.2341333333334 379.0920533333333 591.4112C387.1304533333333 531.5029333333334 411.2443733333334 512 411.2443733333334 512L409.90464 447.9146666666667C409.90464 447.9146666666667 395.1684266666667 438.1610666666667 330.8642133333333 410.2954666666667C267.90016 383.8250666666668 202.25664 364.3221333333334 183.5012266666667 332.2794666666668C166.0855466666667 304.4138666666667 171.44448 170.6666666666668 171.44448 170.6666666666668H563.968V298.8416000000001zM605.4954666666666 213.8538666666667V298.8416000000001H853.3333333333333V213.8538666666667H605.4954666666666z" />
<glyph glyph-name="user-missing"
- unicode="&#xF22B;"
+ unicode="&#xF22F;"
horiz-adv-x="1024" d=" M598.2762666666666 809.72288C656.4266666666666 867.8702933333334 750.9887999999999 867.8702933333334 809.7237333333334 809.72288C867.8698666666666 751.57504 867.8698666666666 656.42496 809.7237333333334 598.27712C750.9887999999999 540.1301333333333 657.0111999999999 540.1301333333333 598.2762666666666 598.27712C540.1301333333333 657.0120533333334 540.1301333333333 751.57504 598.2762666666666 809.72288zM721.8218666666667 809.72288H690.6922666666666C681.8815999999999 809.72288 680.7082666666666 804.4364800000001 680.7082666666666 801.4997333333333V798.5629866666667L687.1679999999999 681.68064C688.3455999999999 673.4579200000001 691.8655999999999 671.6957866666667 698.3296 671.6957866666667H714.7733333333333C721.2330666666667 671.6957866666667 724.7573333333332 673.4579200000001 725.3461333333332 682.2681600000001L731.8058666666667 795.0391466666667L732.3946666666667 798.5629866666667V801.4997333333333C732.3946666666667 804.4364800000001 731.2213333333334 809.72288 721.8218666666667 809.72288zM677.184 621.184C677.184 605.3256533333333 690.1034666666666 592.4053333333334 706.5514666666666 592.4053333333334C722.4106666666667 592.4053333333334 735.9189333333334 605.3256533333333 735.9189333333334 621.184C735.9189333333334 637.62944 722.9952 650.5514666666667 706.5514666666666 650.5514666666667C690.1034666666666 650.5514666666667 677.184 637.62944 677.184 621.184z M469.3333333333333 768C488.0512 768 505.0325333333333 764.5934933333333 519.9189333333334 758.7451733333334C514.7647999999999 741.39648 512 723.0212266666667 512 704C512 639.81568 543.4965333333333 582.9888000000001 591.872 548.1258666666668C586.4703999999999 541.4101333333333 579.6992 536.7722666666667 573.4656 538.4362666666667C566.2847999999999 485.7301333333334 543.5434666666666 469.3333333333334 543.5434666666666 469.3333333333334L544.7381333333333 413.1157333333333C544.7381333333333 413.1157333333333 559.1039999999999 404.9152000000001 617.7536 380.3178666666668C629.1157333333333 375.8720000000001 640.4778666666666 371.6352000000001 651.5498666666666 367.5050666666667C698.8117333333332 349.8837333333334 740.8512000000001 334.2122666666668 755.3962666666666 312.3882666666667C772.1557333333333 287.7909333333335 767.3685333333333 170.6666666666668 767.3685333333333 170.6666666666668H171.29984C171.29984 170.6666666666668 166.5122133333333 287.7909333333335 183.26912 312.3882666666667C197.8141866666667 334.2122666666668 239.8545066666667 349.8837333333334 287.1150933333334 367.5050666666667C298.1905066666667 371.6352000000001 309.55264 375.8720000000001 320.9152 380.3178666666668C379.5643733333333 404.9152000000001 393.9272533333334 413.1157333333333 393.9272533333334 413.1157333333333L395.1240533333333 469.3333333333334C395.1240533333333 469.3333333333334 372.38272 485.7301333333334 365.2010666666667 538.4362666666667C352.0349866666666 534.9248 336.47488 559.5178666666667 336.47488 572.4032C335.27808 584.1152000000001 337.6721066666667 618.0808533333334 355.6258133333334 614.5672533333334C352.0349866666666 640.3345066666667 349.64096 663.75936 350.8381866666667 676.6429866666667C354.4290133333333 721.1502933333334 399.91168 768 469.3333333333333 768z" />
<glyph glyph-name="user-plus"
- unicode="&#xF22C;"
+ unicode="&#xF230;"
horiz-adv-x="1024" d=" M634.3082666666667 256.6698666666666H546.1504V427.3365333333334H634.3082666666667V431.3685333333334C605.3802666666666 443.4645333333334 597.1157333333333 448.8405333333334 597.1157333333333 448.8405333333334V512C597.1157333333333 512 623.2874666666667 530.8117333333333 630.1781333333333 591.2874666666667C646.7072 587.2554666666667 663.2362666666667 614.1312 664.6143999999999 628.9134933333333C664.6143999999999 643.69536 661.8581333333333 682.6666666666667 642.5727999999999 678.6350933333333C646.7072 708.19968 649.4634666666666 733.7322666666666 648.0853333333333 748.5145600000001C642.5727999999999 799.58016 591.6074666666666 853.3333333333334 511.7098666666666 853.3333333333334C431.8165333333333 853.3333333333334 380.8477866666666 799.58016 375.3378133333333 748.5145600000001C373.9601066666667 733.7322666666666 376.7150933333333 708.19968 380.8477866666666 678.6350933333333C361.5624533333333 682.6666666666667 358.8074666666667 643.69536 358.8074666666667 628.9134933333333C360.1851733333333 614.1312 376.7150933333333 587.2554666666667 393.24544 591.2874666666667C400.1326933333333 530.8117333333333 426.3057066666667 512 426.3057066666667 512V448.8405333333334C426.3057066666667 448.8405333333334 409.77536 438.0885333333333 340.89984 411.2128C273.4020266666667 382.9930666666667 204.5265066666667 364.1770666666667 183.8638933333333 333.2693333333334C165.9562666666667 305.0496000000001 171.46624 170.6666666666668 171.46624 170.6666666666668H634.3082666666667V256.6698666666666zM765.1712 213.6704H678.3914666666667V470.3402666666667H765.1712V213.6704zM590.2293333333333 298.3296000000001V384.3370666666667H853.3333333333333V298.3296000000001H590.2293333333333z" />
<glyph glyph-name="user"
- unicode="&#xF22D;"
+ unicode="&#xF231;"
horiz-adv-x="1024" d=" M838.9290666666667 332.6336C818.4106666666667 363.4176 750.0159999999998 383.4965333333335 681.6213333333333 410.2698666666668C614.592 438.3786666666668 598.1781333333333 447.7482666666667 598.1781333333333 447.7482666666667L596.8085333333333 512C596.8085333333333 512 622.8010666666667 530.7392 631.0101333333333 590.9760000000001C646.0544 586.9610666666667 663.8378666666666 615.06944 663.8378666666666 629.7932800000001C665.2074666666666 643.1790933333334 662.4682666666666 681.9972266666667 641.9498666666666 677.9818666666667C646.0544 707.4299733333334 648.7893333333333 734.2011733333334 647.424 748.92544C643.3194666666666 799.7909333333333 591.3386666666667 853.3333333333334 512 853.3333333333334C432.6613333333333 853.3333333333334 380.6805333333333 799.7909333333333 376.5768533333333 748.92544C375.20896 734.2011733333334 377.9447466666666 707.4299733333334 382.0484266666666 677.9818666666667C361.5296 681.9972266666667 358.7938133333334 643.1790933333334 360.1617066666667 629.7932800000001C360.1617066666667 615.06944 377.9447466666666 586.9610666666667 392.9915733333333 590.9760000000001C401.19936 530.7392 427.1914666666667 512 427.1914666666667 512L425.82144 447.7482666666667C425.82144 447.7482666666667 409.40672 438.3786666666668 342.3790933333333 410.2698666666668C273.9835733333333 383.4965333333335 205.5880533333333 363.4176 185.0692266666667 332.6336C165.91872 304.5248000000001 171.3902933333333 170.6666666666668 171.3902933333333 170.6666666666668H852.608C852.608 170.6666666666668 858.0821333333333 304.5248000000001 838.9290666666667 332.6336z" />
<glyph glyph-name="view-card"
- unicode="&#xF22E;"
+ unicode="&#xF232;"
horiz-adv-x="1024" d=" M489.2415999999999 810.6666666666667V640.0017066666667H170.6666666666667V810.6666666666667H489.2415999999999z M489.2415999999999 597.3380266666667V426.6624000000001H170.6666666666667V597.3380266666667H489.2415999999999z M853.3333333333333 426.6624000000001V597.3380266666667H534.7583999999999V426.6624000000001H853.3333333333333z M489.2415999999999 384V213.3333333333334H170.6666666666667V384H489.2415999999999z M853.3333333333333 640.0017066666667V810.6666666666667H534.7583999999999V640.0017066666667H853.3333333333333z" />
<glyph glyph-name="view-fullscreen"
- unicode="&#xF22F;"
+ unicode="&#xF233;"
horiz-adv-x="1024" d=" M170.6666666666667 768H853.3333333333333V256H170.6666666666667V768z" />
<glyph glyph-name="view-list"
- unicode="&#xF230;"
+ unicode="&#xF234;"
horiz-adv-x="1024" d=" M170.6666666666667 768H853.3333333333333V674.9090133333334H170.6666666666667V768zM170.6666666666667 628.3635200000001H853.3333333333333V535.2746666666667H170.6666666666667V628.3635200000001zM170.6666666666667 488.7253333333333H853.3333333333333V395.6352000000001H170.6666666666667V488.7253333333333zM170.6666666666667 349.0901333333334H853.3333333333333V256H170.6666666666667V349.0901333333334z" />
<glyph glyph-name="view-model"
- unicode="&#xF231;"
+ unicode="&#xF235;"
horiz-adv-x="1024" d=" M818.2186666666666 694.2263466666667L512 853.3333333333334L205.7834666666667 694.2263466666667L512 529.4677333333334L818.2186666666666 694.2263466666667z M560.7637333333332 170.6666666666668L853.3333333333333 322.2144000000001V605.4805333333334L560.7637333333332 447.7994666666667V170.6666666666668z M170.6666666666667 322.2144000000001V605.4805333333334L463.2362666666667 447.7994666666667V170.6666666666668L170.6666666666667 322.2144000000001z" />
<glyph glyph-name="view-split-viewer-table"
- unicode="&#xF232;"
+ unicode="&#xF236;"
horiz-adv-x="1024" d=" M853.3333333333333 655.71456V725.3320533333333L641.8176 725.3333333333334V655.71456H853.3333333333333z M381.95072 723.0109866666667L571.4858666666667 624.9096533333334L381.95072 523.3152L192.4010666666667 624.9096533333334L381.95072 723.0109866666667z M412.13696 302.0757333333334L593.2245333333333 395.52V570.1845333333333L412.13696 472.96V302.0757333333334z M351.7691733333334 472.96L170.6666666666667 570.1845333333333V395.52L351.7691733333334 302.0757333333334V472.96z M853.3333333333333 298.6666666666668V368.2816000000001H641.8176V298.6666666666668H853.3333333333333z M853.3333333333333 386.5386666666667V456.6528000000001H641.8176V386.5386666666667H853.3333333333333z M853.3333333333333 544.5248V474.9056H641.8176V544.5248H853.3333333333333z M853.3333333333333 632.8930133333333V563.2768000000001H641.8176V632.8930133333333H853.3333333333333z" />
<glyph glyph-name="view-split"
- unicode="&#xF233;"
+ unicode="&#xF237;"
horiz-adv-x="1024" d=" M170.6666666666667 768H426.6666666666667V674.9090133333334H170.6666666666667V768zM170.6666666666667 628.3635200000001H426.6666666666667V535.2746666666667H170.6666666666667V628.3635200000001zM170.6666666666667 488.7253333333333H426.6666666666667V395.6352000000001H170.6666666666667V488.7253333333333zM170.6666666666667 349.0901333333334H426.6666666666667V256H170.6666666666667V349.0901333333334zM469.3333333333333 768H853.3333333333333V256H469.3333333333333V768z" />
<glyph glyph-name="view-split2"
- unicode="&#xF234;"
+ unicode="&#xF238;"
horiz-adv-x="1024" d=" M378.4392533333333 725.3333333333334L564.8255999999999 625.89696L378.4392533333333 522.9226666666667L192.03968 625.89696L378.4392533333333 725.3333333333334z M853.3333333333333 607.3006933333334V725.3333333333334H645.5594666666666V607.3006933333334H853.3333333333333z M853.3333333333333 459.7760000000001V577.7962666666667H645.5594666666666V459.7760000000001H853.3333333333333z M853.3333333333333 430.2720000000001V312.2389333333334H645.5594666666666V430.2720000000001H853.3333333333333z M408.1173333333334 298.6666666666668L586.1973333333333 393.3824000000001V570.4277333333334L408.1173333333334 471.8762666666667V298.6666666666668z M170.6666666666667 393.3824000000001V570.4277333333334L348.7594666666667 471.8762666666667V298.6666666666668L170.6666666666667 393.3824000000001z" />
<glyph glyph-name="view-timeline"
- unicode="&#xF235;"
+ unicode="&#xF239;"
horiz-adv-x="1024" d=" M229.3333333333333 768H401.3333333333333V695.4666666666667H229.3333333333333V768zM306.6666666666667 621.5112533333333H792V548.9792H306.6666666666667V621.5112533333333zM532.0021333333333 475.0208H662.6645333333333V402.4874666666667H532.0021333333333V475.0208zM241.3333333333333 328.5333333333333H726.6645333333332V256H241.3333333333333V328.5333333333333zM170.6666666666667 768H214.6666666666667V256H170.6666666666667V768zM809.3354666666667 768H853.3333333333333V256H809.3354666666667V768z" />
<glyph glyph-name="warning"
- unicode="&#xF236;"
+ unicode="&#xF23A;"
horiz-adv-x="1024" d=" M843.4517333333333 259.9210666666667L744.1493333333333 455.168C719.9957333333333 502.5877333333334 679.7397333333333 579.2896000000001 655.5818666666667 626.7076266666667L556.2837333333333 817.7706666666667C532.1301333333333 865.1874133333333 491.8698666666667 865.1874133333333 467.7162666666666 817.7706666666667L368.4164266666667 626.7076266666667C344.2624 579.2896000000001 304.00512 501.1925333333334 279.8510933333333 453.7728000000001L180.5504 259.9210666666667C156.3959466666667 212.5056 177.8666666666667 170.6666666666668 230.2007466666667 170.6666666666668H793.8005333333333C846.1354666666666 170.6666666666668 867.6053333333332 212.5056 843.4517333333333 259.9210666666667zM558.9674666666666 268.288H465.0325333333333V365.9136000000001H558.9674666666666V268.288zM558.9674666666666 416.1194666666668H465.0325333333333V611.3668266666667H558.9674666666666V416.1194666666668z" />
<glyph glyph-name="watched"
- unicode="&#xF237;"
+ unicode="&#xF23B;"
horiz-adv-x="1024" d=" M170.6666666666667 525.5893333333333V498.4106666666667C328.61696 232.0853333333333 695.3813333333333 232.0853333333333 853.3333333333333 498.4106666666667V525.5893333333333C695.3813333333333 791.9150933333333 328.61696 791.9150933333333 170.6666666666667 525.5893333333333zM512 351.6586666666667C424.99328 351.6586666666667 354.0497066666667 423.6757333333334 354.0497066666667 512C354.0497066666667 600.3225600000001 424.99328 670.9806933333334 512 670.9806933333334C599.0058666666666 670.9806933333334 669.952 600.3225600000001 669.952 512C669.952 423.6757333333334 599.0058666666666 351.6586666666667 512 351.6586666666667zM590.976 512C590.976 467.1573333333333 554.8330666666666 431.8293333333334 512 431.8293333333334C469.1669333333333 431.8293333333334 433.024 467.1573333333333 433.024 512C433.024 555.4816000000001 469.1669333333333 592.1706666666666 512 592.1706666666666C554.8330666666666 592.1706666666666 590.976 555.4816000000001 590.976 512z" />
<glyph glyph-name="watching"
- unicode="&#xF238;"
+ unicode="&#xF23C;"
horiz-adv-x="1024" d=" M512 725.3333333333334C288.0512 725.3333333333334 170.6666666666667 541.2565333333334 170.6666666666667 512C170.6666666666667 482.8202666666667 288.0512 298.6666666666668 512 298.6666666666668C735.9146666666667 298.6666666666668 853.3333333333333 482.8202666666667 853.3333333333333 512C853.3333333333333 541.2565333333334 735.9146666666667 725.3333333333334 512 725.3333333333334zM512 347.9210666666668C428.2026666666667 347.9210666666668 360.2773333333334 421.3717333333334 360.2773333333334 512C360.2773333333334 602.6286933333333 428.2026666666667 676.15232 512 676.15232C595.7973333333333 676.15232 663.6885333333332 602.6286933333333 663.6885333333332 512C663.6885333333332 421.3717333333334 595.7973333333333 347.9210666666668 512 347.9210666666668zM512 512C498.1077333333333 529.0282666666667 534.6304 594.0565333333334 512 594.0565333333334C470.0842666666666 594.0565333333334 436.1216 557.2949333333333 436.1216 512C436.1216 466.7050666666667 470.0842666666666 429.9434666666667 512 429.9434666666667C553.8815999999999 429.9434666666667 587.8783999999999 466.7050666666667 587.8783999999999 512C587.8783999999999 532.8384000000001 523.8101333333333 497.5616 512 512z" />
<glyph glyph-name="wiki-edit"
- unicode="&#xF239;"
+ unicode="&#xF23D;"
horiz-adv-x="1024" d=" M512 683.2354133333333C512 789.4280533333333 274.6666666666667 810.6666666666667 170.6666666666667 810.6666666666667V343.4197333333334H192C200 343.4197333333334 206.6666666666667 342.0928 213.3333333333333 342.0928V300.9408000000001C298.6666666666667 300.9408000000001 469.3333333333333 326.1610666666668 469.3333333333333 258.4661333333334H554.6666666666666V683.2354133333333C554.6666666666666 711.1112533333334 600 765.53472 810.6666666666666 768.18944V514.6538666666668H853.3333333333333V810.6666666666667C749.3333333333333 810.6666666666667 512 789.4280533333333 512 683.2354133333333zM469.3333333333333 385.8944V365.9861333333334C406.6666666666667 403.1530666666668 290.6666666666667 405.8069333333334 213.3333333333333 407.1338666666667V768.18944C234.6666666666667 766.86208 253.3333333333333 766.86208 272 765.53472C274.6666666666667 765.53472 278.6666666666667 764.20736 282.6666666666667 764.20736H286.6666666666667C370.6666666666667 758.89792 458.6666666666666 740.3140266666667 468.0021333333333 691.2C469.3333333333333 687.21792 469.3333333333333 684.5627733333333 469.3333333333333 683.2354133333333V385.8944zM606.6687999999999 295.6330666666667L600 254.4810666666667L594.6666666666666 213.3333333333334L635.9978666666666 218.6410666666668L678.6645333333333 225.2800000000001L642.6666666666666 261.1200000000001L606.6687999999999 295.6330666666667zM809.3354666666667 355.3664000000001L797.3333333333333 367.3130666666667L689.3311999999999 261.1200000000001L678.6645333333333 273.0666666666666L785.3311999999999 379.2597333333333L761.3354666666667 403.1530666666668L654.6687999999999 296.9600000000001L642.6666666666666 308.9066666666667L749.3333333333333 415.0997333333334L737.3311999999999 427.0464000000001L618.6666666666666 308.9066666666667L689.3311999999999 237.2266666666667L809.3354666666667 355.3664000000001zM798.6688 461.5594666666667C792 468.1941333333334 781.3333333333333 468.1941333333334 774.6645333333332 462.8864000000001V460.2325333333333L773.3333333333333 461.5594666666667L750.6688 437.6661333333334L822.6645333333332 367.3130666666667L845.3333333333333 389.8794666666668C845.3333333333333 391.2064000000001 846.6688 391.2064000000001 846.6688 391.2064000000001C853.3333333333333 397.8410666666668 853.3333333333333 408.4608000000001 846.6688 415.0997333333334L798.6688 461.5594666666667z" />
<glyph glyph-name="wiki"
- unicode="&#xF23A;"
+ unicode="&#xF23E;"
horiz-adv-x="1024" d=" M512 672.8204800000001C512 787.6923733333333 274.6666666666667 810.6666666666667 170.6666666666667 810.6666666666667V305.2288000000001H213.3333333333333V259.2810666666667C298.6666666666667 259.2810666666667 469.3333333333333 286.5621333333334 469.3333333333333 213.3333333333334H554.6666666666666C554.6666666666666 286.5621333333334 725.3333333333333 259.2810666666667 810.6666666666666 259.2810666666667V305.2288000000001H853.3333333333333V810.6666666666667C749.3333333333333 810.6666666666667 512 787.6923733333333 512 672.8204800000001zM213.3333333333333 764.71808C234.6666666666667 764.71808 253.3333333333333 763.28192 272 761.8461866666667H286.6666666666667C370.6666666666667 754.6666666666667 458.6666666666666 736 468.0021333333333 681.4357333333334C469.3333333333333 678.5642666666668 469.3333333333333 675.6923733333333 469.3333333333333 672.8204800000001V331.0762666666667C406.6666666666667 369.8474666666667 290.6666666666667 374.1525333333334 213.3333333333333 374.1525333333334V764.71808zM810.6666666666666 374.1525333333334C733.3333333333333 374.1525333333334 617.3354666666667 369.8474666666667 554.6666666666666 331.0762666666667V672.8204800000001C554.6666666666666 702.9742933333333 600 761.8461866666667 810.6666666666666 764.71808V374.1525333333334z" />
<glyph glyph-name="wiki2"
- unicode="&#xF23B;"
+ unicode="&#xF23F;"
horiz-adv-x="1024" d=" M489.2458666666666 724.0785066666667C407.5921066666666 768 261.6887466666667 768 261.6887466666667 768V384C261.6887466666667 384 407.5921066666666 384 489.2458666666666 340.0789333333335V724.0785066666667zM534.7541333333334 724.0785066666667C616.4096 768 762.3125333333334 768 762.3125333333334 768V384C762.3125333333334 384 616.4096 384 534.7541333333334 340.0789333333335V724.0785066666667zM807.8208 725.3333333333334V335.0570666666668L534.7541333333334 298.6666666666668H489.2458666666666L216.17792 335.0570666666668V725.3333333333334H170.6666666666667V298.6666666666668L489.2458666666666 256H534.7541333333334L853.3333333333333 298.6666666666668V725.3333333333334H807.8208z" />
<glyph glyph-name="work-packages"
- unicode="&#xF23C;"
+ unicode="&#xF240;"
horiz-adv-x="1024" d=" M725.3333333333333 426.6666666666668V554.6666666666667H554.6666666666666V597.3333333333334H682.6666666666666V853.3333333333334H384V597.3333333333334H512V554.6666666666667H298.6666666666667V426.6666666666668H170.6666666666667V170.6666666666668H469.3333333333333V426.6666666666668H341.3333333333333V512H682.6666666666666V426.6666666666668H554.6666666666666V170.6666666666668H853.3333333333333V426.6666666666668H725.3333333333333zM426.6666666666667 384V341.3333333333334H213.3333333333333V384H426.6666666666667zM426.6666666666667 768V810.6666666666667H640V768H426.6666666666667zM810.6666666666666 341.3333333333334H597.3333333333333V384H810.6666666666666V341.3333333333334z" />
<glyph glyph-name="workflow"
- unicode="&#xF23D;"
+ unicode="&#xF241;"
horiz-adv-x="1024" d=" M755.2341333333334 456.4650666666666L751.2021333333333 448.3370666666667C727.0144 338.624 627.5712 264.1280000000001 513.3439999999999 264.1280000000001C454.2165333333333 264.1280000000001 397.77408 288.5077333333334 354.7716266666667 326.4341333333334L409.8688 365.7130666666667L205.6064 461.8837333333333L224.41984 241.1008000000001L271.4538666666666 272.2560000000001C334.6141866666667 208.5930666666667 420.61952 170.6666666666668 513.3439999999999 170.6666666666668C679.9786666666666 170.6666666666668 821.0816 279.0272 849.3013333333333 440.2133333333334L853.3333333333333 456.4650666666666H755.2341333333334zM272.7978666666667 563.4688000000001C296.98688 673.18528 396.4305066666667 753.1003733333333 510.656 753.1003733333333C569.7834666666666 753.1003733333333 626.2271999999999 731.4286933333333 669.2266666666667 693.50272L614.1312 655.5767466666667L818.3936 572.9536L799.5818666666667 788.31744L752.5461333333333 753.1003733333333C689.3866666666665 816.7620266666667 603.3792 853.3333333333334 510.656 853.3333333333334C344.0209066666667 853.3333333333334 202.9188266666667 734.1376 174.69824 572.9536L170.6666666666667 544.5077333333334H268.7662933333334L272.7978666666667 563.4688000000001z" />
<glyph glyph-name="yes"
- unicode="&#xF23E;"
+ unicode="&#xF242;"
horiz-adv-x="1024" d=" M404.05632 213.3333333333334L186.17216 450.2698666666668C160.7744 470.6517333333334 168.79488 507.5925333333333 194.1922133333333 527.9744000000001C224.9365333333333 548.3562666666667 262.3645866666667 544.5333333333333 289.0990933333333 519.0570666666667L400.0465066666667 401.8602666666667L732.8896 789.11104C754.2741333333333 813.3137066666667 797.0517333333333 817.13536 827.7930666666666 800.5755733333333C857.2031999999999 784.01536 861.2138666666666 748.3477333333333 839.8250666666665 722.87104L404.05632 213.3333333333334z" />
<glyph glyph-name="zen-mode"
- unicode="&#xF23F;"
+ unicode="&#xF243;"
horiz-adv-x="1024" d=" M400 773.3333333333334V810.6666666666667H213.3333333333333V624H250.6666666666667V747.6667733333334L384.83328 608.8332800000001L415.16672 639.16672L276.3332266666667 773.3333333333334H400zM773.3333333333333 276.3349333333334L639.1679999999999 415.168L608.832 384.8320000000001L747.6650666666666 250.6666666666668H624V213.3333333333334H810.6666666666666V400H773.3333333333333V276.3349333333334zM773.3333333333333 810.6666666666667H624V773.3333333333334H747.6650666666666L608.832 639.16672L639.1679999999999 608.8332800000001L773.3333333333333 747.6667733333334V624H810.6666666666666V810.6666666666667H773.3333333333333zM384.83328 415.168L250.6666666666667 276.3349333333334V400H213.3333333333333V213.3333333333334H400V250.6666666666668H276.3332266666667L415.16672 384.8320000000001L384.83328 415.168z" />
<glyph glyph-name="zoom-auto"
- unicode="&#xF240;"
+ unicode="&#xF244;"
horiz-adv-x="1024" d=" M170.6666666666667 607.97184H264.5051733333334V760.6592H423.3207466666667V853.3333333333334H170.6666666666667V607.97184zM759.4965333333332 607.97184H853.3333333333333V853.3333333333334H603.904V760.6592H759.4965333333332V607.97184zM853.3333333333333 170.6666666666668H603.904V265.9157333333333H759.4965333333332V433.0837333333334H853.3333333333333V170.6666666666668zM170.6666666666667 170.6666666666668H423.3207466666667V265.9157333333333H264.5051733333334V433.0837333333334H170.6666666666667V170.6666666666668z" />
<glyph glyph-name="zoom-in"
- unicode="&#xF241;"
+ unicode="&#xF245;"
horiz-adv-x="1024" d=" M836.0106666666667 256.2176L653.2095999999999 423.3557333333333C653.2095999999999 424.7040000000001 653.2095999999999 424.7040000000001 651.8656 424.7040000000001C686.8096 469.184 706.9738666666667 524.4458666666667 706.9738666666667 585.1008C706.9738666666667 733.37088 586.0010666666667 853.3333333333334 438.1482666666667 853.3333333333334C290.2941866666667 853.3333333333334 170.6666666666667 733.37088 170.6666666666667 585.1008C170.6666666666667 436.8341333333334 290.2941866666667 316.8725333333334 438.1482666666667 316.8725333333334C491.9125333333333 316.8725333333334 541.6448 333.0474666666668 583.3130666666666 360.0042666666667C584.6570666666667 357.3077333333333 586.0010666666667 354.6112000000001 588.6890666666666 353.2629333333334L770.1461333333333 186.1248000000001C790.3104 167.2533333333335 817.1904 165.9050666666667 830.6346666666666 180.7360000000001L845.4186666666666 196.9066666666667C858.8586666666666 211.7375999999999 854.8266666666666 238.6944000000001 836.0106666666667 256.2176zM438.1482666666667 386.9610666666668C329.2736 386.9610666666668 240.5614933333333 475.9210666666668 240.5614933333333 585.1008C240.5614933333333 694.2818133333334 329.2736 783.2426666666667 438.1482666666667 783.2426666666667C548.3648 783.2426666666667 635.7333333333333 694.2818133333334 635.7333333333333 585.1008C635.7333333333333 475.9210666666668 548.3648 386.9610666666668 438.1482666666667 386.9610666666668zM466.3765333333333 702.36928H411.26528V621.4954666666667H331.9620266666667V564.8853333333334H411.26528V488.0554666666667H466.3765333333333V564.8853333333334H545.6768V621.4954666666667H466.3765333333333V702.36928z" />
<glyph glyph-name="zoom-out"
- unicode="&#xF242;"
+ unicode="&#xF246;"
horiz-adv-x="1024" d=" M836.0106666666667 256.2176L653.2095999999999 423.3557333333333C653.2095999999999 424.7040000000001 653.2095999999999 424.7040000000001 651.8656 424.7040000000001C686.8096 469.184 706.9738666666667 524.4458666666667 706.9738666666667 585.1008C706.9738666666667 733.37088 586.0010666666667 853.3333333333334 438.1482666666667 853.3333333333334C290.2941866666667 853.3333333333334 170.6666666666667 733.37088 170.6666666666667 585.1008C170.6666666666667 436.8341333333334 290.2941866666667 316.8725333333334 438.1482666666667 316.8725333333334C491.9125333333333 316.8725333333334 541.6448 333.0474666666668 583.3130666666666 360.0042666666667C584.6570666666667 357.3077333333333 586.0010666666667 354.6112000000001 588.6890666666666 353.2629333333334L770.1461333333333 186.1248000000001C790.3104 167.2533333333335 817.1904 165.9050666666667 830.6346666666666 180.7360000000001L845.4186666666666 196.9066666666667C858.8586666666666 211.7375999999999 854.8266666666666 238.6944000000001 836.0106666666667 256.2176zM438.1482666666667 386.9610666666668C329.2736 386.9610666666668 240.5614933333333 475.9210666666668 240.5614933333333 585.1008C240.5614933333333 694.2818133333334 329.2736 783.2426666666667 438.1482666666667 783.2426666666667C548.3648 783.2426666666667 635.7333333333333 694.2818133333334 635.7333333333333 585.1008C635.7333333333333 475.9210666666668 548.3648 386.9610666666668 438.1482666666667 386.9610666666668zM331.9620266666667 621.4954666666667H545.6768V564.8853333333334H331.9620266666667V621.4954666666667z" />
</font>
</defs>
diff --git a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.ttf b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.ttf
index fa712ff6243..a39cfa9b078 100644
Binary files a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.ttf and b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.ttf differ
diff --git a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff
index b653a0b625e..7acec88809e 100644
Binary files a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff and b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff differ
diff --git a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff2 b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff2
index 387dc69298b..49453eecc3f 100644
Binary files a/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff2 and b/frontend/src/assets/fonts/openproject_spot_icon/openproject-spot-icon-font.woff2 differ
diff --git a/frontend/src/global_styles/content/_buttons.sass b/frontend/src/global_styles/content/_buttons.sass
index fda1118e45a..689a8a5f4d9 100644
--- a/frontend/src/global_styles/content/_buttons.sass
+++ b/frontend/src/global_styles/content/_buttons.sass
@@ -130,6 +130,10 @@ a.button
&_no-margin
margin: 0
+ &_flex
+ display: inline-flex
+ align-items: center
+
.button--icon
@include icon-common
diff --git a/frontend/src/global_styles/fonts/_openproject_icon_definitions.sass b/frontend/src/global_styles/fonts/_openproject_icon_definitions.sass
index 16dd64f075a..fa4e580d0dc 100644
--- a/frontend/src/global_styles/fonts/_openproject_icon_definitions.sass
+++ b/frontend/src/global_styles/fonts/_openproject_icon_definitions.sass
@@ -1784,261 +1784,282 @@
content: "\f1ff"
-@mixin icon-mixin-time
+@mixin icon-mixin-time-tracking-running
content: "\f200"
-.icon-time:before
+.icon-time-tracking-running:before
content: "\f200"
-@mixin icon-mixin-to-fullscreen
+@mixin icon-mixin-time-tracking-start
content: "\f201"
-.icon-to-fullscreen:before
+.icon-time-tracking-start:before
content: "\f201"
-@mixin icon-mixin-training-consulting
+@mixin icon-mixin-time-tracking-stop
content: "\f202"
-.icon-training-consulting:before
+.icon-time-tracking-stop:before
content: "\f202"
-@mixin icon-mixin-two-factor-authentication
+@mixin icon-mixin-time
content: "\f203"
-.icon-two-factor-authentication:before
+.icon-time:before
content: "\f203"
-@mixin icon-mixin-types
+@mixin icon-mixin-to-fullscreen
content: "\f204"
-.icon-types:before
+.icon-to-fullscreen:before
content: "\f204"
-@mixin icon-mixin-underline
+@mixin icon-mixin-training-consulting
content: "\f205"
-.icon-underline:before
+.icon-training-consulting:before
content: "\f205"
-@mixin icon-mixin-undo
+@mixin icon-mixin-two-factor-authentication
content: "\f206"
-.icon-undo:before
+.icon-two-factor-authentication:before
content: "\f206"
-@mixin icon-mixin-unit
+@mixin icon-mixin-types
content: "\f207"
-.icon-unit:before
+.icon-types:before
content: "\f207"
-@mixin icon-mixin-unlocked
+@mixin icon-mixin-underline
content: "\f208"
-.icon-unlocked:before
+.icon-underline:before
content: "\f208"
-@mixin icon-mixin-unordered-list
+@mixin icon-mixin-undo
content: "\f209"
-.icon-unordered-list:before
+.icon-undo:before
content: "\f209"
-@mixin icon-mixin-unwatched
+@mixin icon-mixin-unit
content: "\f20a"
-.icon-unwatched:before
+.icon-unit:before
content: "\f20a"
-@mixin icon-mixin-upload-arrow
+@mixin icon-mixin-unlocked
content: "\f20b"
-.icon-upload-arrow:before
+.icon-unlocked:before
content: "\f20b"
-@mixin icon-mixin-upload
+@mixin icon-mixin-unordered-list
content: "\f20c"
-.icon-upload:before
+.icon-unordered-list:before
content: "\f20c"
-@mixin icon-mixin-user-minus
+@mixin icon-mixin-unwatched
content: "\f20d"
-.icon-user-minus:before
+.icon-unwatched:before
content: "\f20d"
-@mixin icon-mixin-user-plus
+@mixin icon-mixin-upload-arrow
content: "\f20e"
-.icon-user-plus:before
+.icon-upload-arrow:before
content: "\f20e"
-@mixin icon-mixin-user
+@mixin icon-mixin-upload
content: "\f20f"
-.icon-user:before
+.icon-upload:before
content: "\f20f"
-@mixin icon-mixin-view-card
+@mixin icon-mixin-user-minus
content: "\f210"
-.icon-view-card:before
+.icon-user-minus:before
content: "\f210"
-@mixin icon-mixin-view-fullscreen
+@mixin icon-mixin-user-plus
content: "\f211"
-.icon-view-fullscreen:before
+.icon-user-plus:before
content: "\f211"
-@mixin icon-mixin-view-list
+@mixin icon-mixin-user
content: "\f212"
-.icon-view-list:before
+.icon-user:before
content: "\f212"
-@mixin icon-mixin-view-model
+@mixin icon-mixin-view-card
content: "\f213"
-.icon-view-model:before
+.icon-view-card:before
content: "\f213"
-@mixin icon-mixin-view-split-viewer-table
+@mixin icon-mixin-view-fullscreen
content: "\f214"
-.icon-view-split-viewer-table:before
+.icon-view-fullscreen:before
content: "\f214"
-@mixin icon-mixin-view-split
+@mixin icon-mixin-view-list
content: "\f215"
-.icon-view-split:before
+.icon-view-list:before
content: "\f215"
-@mixin icon-mixin-view-split2
+@mixin icon-mixin-view-model
content: "\f216"
-.icon-view-split2:before
+.icon-view-model:before
content: "\f216"
-@mixin icon-mixin-view-timeline
+@mixin icon-mixin-view-split-viewer-table
content: "\f217"
-.icon-view-timeline:before
+.icon-view-split-viewer-table:before
content: "\f217"
-@mixin icon-mixin-warning
+@mixin icon-mixin-view-split
content: "\f218"
-.icon-warning:before
+.icon-view-split:before
content: "\f218"
-@mixin icon-mixin-watched
+@mixin icon-mixin-view-split2
content: "\f219"
-.icon-watched:before
+.icon-view-split2:before
content: "\f219"
-@mixin icon-mixin-watching
+@mixin icon-mixin-view-timeline
content: "\f21a"
-.icon-watching:before
+.icon-view-timeline:before
content: "\f21a"
-@mixin icon-mixin-wiki-edit
+@mixin icon-mixin-warning
content: "\f21b"
-.icon-wiki-edit:before
+.icon-warning:before
content: "\f21b"
-@mixin icon-mixin-wiki
+@mixin icon-mixin-watched
content: "\f21c"
-.icon-wiki:before
+.icon-watched:before
content: "\f21c"
-@mixin icon-mixin-wiki2
+@mixin icon-mixin-watching
content: "\f21d"
-.icon-wiki2:before
+.icon-watching:before
content: "\f21d"
-@mixin icon-mixin-work-packages
+@mixin icon-mixin-wiki-edit
content: "\f21e"
-.icon-work-packages:before
+.icon-wiki-edit:before
content: "\f21e"
-@mixin icon-mixin-workflow
+@mixin icon-mixin-wiki
content: "\f21f"
-.icon-workflow:before
+.icon-wiki:before
content: "\f21f"
-@mixin icon-mixin-yes
+@mixin icon-mixin-wiki2
content: "\f220"
-.icon-yes:before
+.icon-wiki2:before
content: "\f220"
-@mixin icon-mixin-zen-mode
+@mixin icon-mixin-work-packages
content: "\f221"
-.icon-zen-mode:before
+.icon-work-packages:before
content: "\f221"
-@mixin icon-mixin-zoom-auto
+@mixin icon-mixin-workflow
content: "\f222"
-.icon-zoom-auto:before
+.icon-workflow:before
content: "\f222"
-@mixin icon-mixin-zoom-in
+@mixin icon-mixin-yes
content: "\f223"
-.icon-zoom-in:before
+.icon-yes:before
content: "\f223"
-@mixin icon-mixin-zoom-out
+@mixin icon-mixin-zen-mode
content: "\f224"
-.icon-zoom-out:before
+.icon-zen-mode:before
content: "\f224"
+
+@mixin icon-mixin-zoom-auto
+ content: "\f225"
+
+.icon-zoom-auto:before
+ content: "\f225"
+
+
+@mixin icon-mixin-zoom-in
+ content: "\f226"
+
+.icon-zoom-in:before
+ content: "\f226"
+
+
+@mixin icon-mixin-zoom-out
+ content: "\f227"
+
+.icon-zoom-out:before
+ content: "\f227"
+
diff --git a/frontend/src/global_styles/fonts/_openproject_icon_font.lsg b/frontend/src/global_styles/fonts/_openproject_icon_font.lsg
index cfbe051722f..5d48c6ff206 100644
--- a/frontend/src/global_styles/fonts/_openproject_icon_font.lsg
+++ b/frontend/src/global_styles/fonts/_openproject_icon_font.lsg
@@ -258,6 +258,9 @@
<li><span class="icon icon-ticket-minus"></span>ticket-minus</li>
<li><span class="icon icon-ticket-note"></span>ticket-note</li>
<li><span class="icon icon-ticket"></span>ticket</li>
+<li><span class="icon icon-time-tracking-running"></span>time-tracking-running</li>
+<li><span class="icon icon-time-tracking-start"></span>time-tracking-start</li>
+<li><span class="icon icon-time-tracking-stop"></span>time-tracking-stop</li>
<li><span class="icon icon-time"></span>time</li>
<li><span class="icon icon-to-fullscreen"></span>to-fullscreen</li>
<li><span class="icon icon-training-consulting"></span>training-consulting</li>
diff --git a/frontend/src/stimulus/controllers/dynamic/my/timers.controller.ts b/frontend/src/stimulus/controllers/dynamic/my/timers.controller.ts
new file mode 100644
index 00000000000..0ffebcaa68b
--- /dev/null
+++ b/frontend/src/stimulus/controllers/dynamic/my/timers.controller.ts
@@ -0,0 +1,27 @@
+import { Controller } from '@hotwired/stimulus';
+import { formatElapsedTime } from 'core-app/features/work-packages/components/wp-timer-button/time-formatter.helper';
+
+export default class MyTimersController extends Controller {
+ static values = {
+ start: String,
+ };
+
+ static targets = [
+ 'elapsedTime',
+ ];
+
+ declare readonly elapsedTimeTarget:HTMLElement;
+ declare readonly startValue:string;
+
+ connect() {
+ super.connect();
+ this.elapsedTimeTarget.textContent = 'Loading timer...';
+ this.timer(this.startValue);
+ }
+
+ timer(value:string|null|undefined) {
+ setInterval(() => {
+ this.elapsedTimeTarget.textContent = formatElapsedTime(value as string);
+ }, 1000);
+ }
+}
diff --git a/lib/api/v3/work_packages/work_package_representer.rb b/lib/api/v3/work_packages/work_package_representer.rb
index 5147c0e1d05..961fc1a49c7 100644
--- a/lib/api/v3/work_packages/work_package_representer.rb
+++ b/lib/api/v3/work_packages/work_package_representer.rb
@@ -91,10 +91,7 @@ module API
end
link :logTime,
- cache_if: -> do
- current_user_allowed_to(:log_time, context: represented.project) ||
- current_user_allowed_to(:log_own_time, context: represented.project)
- end do
+ cache_if: -> { log_time_allowed? } do
next if represented.new_record?
{
@@ -578,6 +575,12 @@ module API
current_user_allowed_to(:view_own_time_entries, context: represented.project)
end
+ def log_time_allowed?
+ @log_time_allowed ||=
+ current_user_allowed_to(:log_time, context: represented.project) ||
+ current_user_allowed_to(:log_own_time, context: represented.project)
+ end
+
def view_budgets_allowed?
@view_budgets_allowed ||= current_user_allowed_to(:view_budgets, context: represented.project)
end
diff --git a/lib/redmine/menu_manager/top_menu_helper.rb b/lib/redmine/menu_manager/top_menu_helper.rb
index 75caa269f3f..1d119595b81 100644
--- a/lib/redmine/menu_manager/top_menu_helper.rb
+++ b/lib/redmine/menu_manager/top_menu_helper.rb
@@ -122,11 +122,12 @@ module Redmine::MenuManager::TopMenuHelper
end
def render_user_drop_down(items)
- avatar = avatar User.current
+ avatar = avatar(User.current, class: 'op-top-menu-user-avatar')
render_menu_dropdown_with_items(
label: avatar.presence || '',
label_options: {
title: User.current.name,
+ class: 'op-top-menu-user',
icon: (avatar.present? ? 'overridden-by-avatar' : 'icon-user')
},
items:,
diff --git a/modules/costs/app/contracts/time_entries/base_contract.rb b/modules/costs/app/contracts/time_entries/base_contract.rb
index 68e34599233..220e32f62cd 100644
--- a/modules/costs/app/contracts/time_entries/base_contract.rb
+++ b/modules/costs/app/contracts/time_entries/base_contract.rb
@@ -55,6 +55,9 @@ module TimeEntries
attribute :activity_id do
validate_activity_active
end
+ attribute :ongoing do
+ validate_self_timer
+ end
attribute :hours
attribute :comments
attribute_alias :comments, :comment
@@ -114,5 +117,9 @@ module TimeEntries
def validate_logged_by_current_user
errors.add :logged_by_id, :not_current_user if model.logged_by != logged_by
end
+
+ def validate_self_timer
+ errors.add :ongoing, :not_current_user if model.ongoing? && model.user != user
+ end
end
end
diff --git a/modules/costs/app/contracts/time_entries/delete_contract.rb b/modules/costs/app/contracts/time_entries/delete_contract.rb
index 11b05b51af8..7e431390be0 100644
--- a/modules/costs/app/contracts/time_entries/delete_contract.rb
+++ b/modules/costs/app/contracts/time_entries/delete_contract.rb
@@ -31,9 +31,10 @@ module TimeEntries
delete_permission -> {
edit_all = user.allowed_to?(:edit_time_entries, model.project)
edit_own = user.allowed_to?(:edit_own_time_entries, model.project)
+ edit_ongoing = model.ongoing && user.allowed_to?(:log_own_time, model.project)
if model.user == user
- edit_own || edit_all
+ edit_own || edit_all || edit_ongoing
else
edit_all
end
diff --git a/modules/costs/app/contracts/time_entries/update_contract.rb b/modules/costs/app/contracts/time_entries/update_contract.rb
index 5fe493be418..b5c6805b21a 100644
--- a/modules/costs/app/contracts/time_entries/update_contract.rb
+++ b/modules/costs/app/contracts/time_entries/update_contract.rb
@@ -43,9 +43,15 @@ module TimeEntries
# they have the :edit_time_entries or
# user == editing user and :edit_own_time_entries
def user_allowed_to_update?
- with_unchanged_project_id do
- user_allowed_to_update_in?(model.project)
- end && user_allowed_to_update_in?(model.project)
+ if model.ongoing || model.ongoing_was
+ with_unchanged_project_id do
+ user_allowed_to_modify_ongoing?(model.project)
+ end && user_allowed_to_modify_ongoing?(model.project)
+ else
+ with_unchanged_project_id do
+ user_allowed_to_update_in?(model.project)
+ end && user_allowed_to_update_in?(model.project)
+ end
end
private
@@ -54,5 +60,9 @@ module TimeEntries
user.allowed_to?(:edit_time_entries, project) ||
(model.user == user && user.allowed_to?(:edit_own_time_entries, project))
end
+
+ def user_allowed_to_modify_ongoing?(project)
+ model.user == user && (user.allowed_to?(:log_time, project) || user.allowed_to?(:log_own_time, project))
+ end
end
end
diff --git a/modules/costs/app/controllers/my/timer_controller.rb b/modules/costs/app/controllers/my/timer_controller.rb
new file mode 100644
index 00000000000..0aa548dd04e
--- /dev/null
+++ b/modules/costs/app/controllers/my/timer_controller.rb
@@ -0,0 +1,48 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+module My
+ class TimerController < ApplicationController
+ before_action :require_login
+ before_action :find_active_timer, only: %i[show]
+
+ def show
+ render layout: nil
+ end
+
+ private
+
+ def find_active_timer
+ query = Queries::TimeEntries::TimeEntryQuery.new(user: current_user)
+ query.where 'ongoing', '=', ['t']
+ query.where 'user_id', '=', [current_user.id]
+
+ @timer = query.results.first
+ end
+ end
+end
diff --git a/modules/costs/app/models/queries/time_entries.rb b/modules/costs/app/models/queries/time_entries.rb
index 257b07f10f3..e116833db19 100644
--- a/modules/costs/app/models/queries/time_entries.rb
+++ b/modules/costs/app/models/queries/time_entries.rb
@@ -35,6 +35,7 @@ module Queries::TimeEntries
filter Filters::CreatedAtFilter
filter Filters::UpdatedAtFilter
filter Filters::ActivityFilter
+ filter Filters::OngoingFilter
order Orders::DefaultOrder
end
diff --git a/modules/costs/app/models/queries/time_entries/filters/ongoing_filter.rb b/modules/costs/app/models/queries/time_entries/filters/ongoing_filter.rb
new file mode 100644
index 00000000000..03d0a5c94eb
--- /dev/null
+++ b/modules/costs/app/models/queries/time_entries/filters/ongoing_filter.rb
@@ -0,0 +1,31 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+class Queries::TimeEntries::Filters::OngoingFilter < Queries::TimeEntries::Filters::TimeEntryFilter
+ include Queries::Filters::Shared::BooleanFilter
+end
diff --git a/modules/costs/app/models/queries/time_entries/time_entry_query.rb b/modules/costs/app/models/queries/time_entries/time_entry_query.rb
index dbb57a28ea5..1803413bf43 100644
--- a/modules/costs/app/models/queries/time_entries/time_entry_query.rb
+++ b/modules/costs/app/models/queries/time_entries/time_entry_query.rb
@@ -32,6 +32,12 @@ class Queries::TimeEntries::TimeEntryQuery < Queries::BaseQuery
end
def default_scope
- TimeEntry.visible(User.current)
+ if filters.detect { |f| f.class.key == :ongoing }
+ TimeEntry.visible_ongoing(User.current)
+ else
+ TimeEntry
+ .not_ongoing
+ .visible(User.current)
+ end
end
end
diff --git a/modules/costs/app/models/time_entries/scopes/ongoing.rb b/modules/costs/app/models/time_entries/scopes/ongoing.rb
new file mode 100644
index 00000000000..cbdc65a6325
--- /dev/null
+++ b/modules/costs/app/models/time_entries/scopes/ongoing.rb
@@ -0,0 +1,48 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+module TimeEntries::Scopes
+ module Ongoing
+ extend ActiveSupport::Concern
+
+ class_methods do
+ def ongoing
+ TimeEntry.where(ongoing: true)
+ end
+
+ def visible_ongoing(user = User.current)
+ TimeEntry
+ .where(project_id: Project.allowed_to(user, :log_own_time), user:, ongoing: true)
+ end
+
+ def not_ongoing
+ TimeEntry.where(ongoing: false)
+ end
+ end
+ end
+end
diff --git a/modules/costs/app/models/time_entries/scopes/visible.rb b/modules/costs/app/models/time_entries/scopes/visible.rb
index 60fb64bc4b0..2e1ef4a8aa7 100644
--- a/modules/costs/app/models/time_entries/scopes/visible.rb
+++ b/modules/costs/app/models/time_entries/scopes/visible.rb
@@ -37,7 +37,7 @@ module TimeEntries::Scopes
own_scope = TimeEntry
.where(project_id: Project.allowed_to(user, :view_own_time_entries))
- .where(user_id: user)
+ .where(user:)
all_scope.or(own_scope)
end
diff --git a/modules/costs/app/models/time_entry.rb b/modules/costs/app/models/time_entry.rb
index 27f77878203..3be4aa2d685 100644
--- a/modules/costs/app/models/time_entry.rb
+++ b/modules/costs/app/models/time_entry.rb
@@ -40,18 +40,20 @@ class TimeEntry < ApplicationRecord
acts_as_journalized
- validates_presence_of :user_id, :activity_id, :project_id, :hours, :spent_on
+ validates_presence_of :user_id, :project_id, :spent_on
+ validates_presence_of :hours, if: -> { !ongoing? }
validates_numericality_of :hours, allow_nil: true, message: :invalid
scope :on_work_packages, ->(work_packages) { where(work_package_id: work_packages) }
- include ::Scopes::Scoped
extend ::TimeEntries::TimeEntryScopes
+ include ::Scopes::Scoped
include Entry::Costs
include Entry::SplashedDates
scopes :of_user_and_day,
- :visible
+ :visible,
+ :ongoing
# TODO: move into service
before_save :update_costs
diff --git a/modules/costs/app/views/my/timer/_menu.html.erb b/modules/costs/app/views/my/timer/_menu.html.erb
new file mode 100644
index 00000000000..393d9436e9b
--- /dev/null
+++ b/modules/costs/app/views/my/timer/_menu.html.erb
@@ -0,0 +1 @@
+<%= angular_component_tag 'op-timer-account-menu' %>
diff --git a/modules/costs/app/views/my/timer/show.html.erb b/modules/costs/app/views/my/timer/show.html.erb
new file mode 100644
index 00000000000..e0f1162c35b
--- /dev/null
+++ b/modules/costs/app/views/my/timer/show.html.erb
@@ -0,0 +1,16 @@
+<%= turbo_frame_tag "my_timers" do %>
+ <div
+ class="op-menu--item-action"
+ data-controller="my--timers"
+ data-my--timers-start-value="'<%= @timer.created_at %>'"
+ data-application-target="dynamic"
+ >
+
+ <span
+ data-my--timers-target="elapsedTime"
+
+ ></span>
+
+
+ </div>
+<% end %>
diff --git a/modules/costs/config/routes.rb b/modules/costs/config/routes.rb
index fe6a21954c9..36c6a766365 100644
--- a/modules/costs/config/routes.rb
+++ b/modules/costs/config/routes.rb
@@ -35,6 +35,10 @@ OpenProject::Application.routes.draw do
end
end
+ scope 'my' do
+ get '/timer' => 'my/timer#show', as: 'my_timers'
+ end
+
scope 'projects/:project_id', as: 'project', module: 'projects' do
namespace 'settings' do
resource :time_entry_activities, only: %i[show update]
diff --git a/modules/costs/db/migrate/20230622074222_add_ongoing_to_time_entry.rb b/modules/costs/db/migrate/20230622074222_add_ongoing_to_time_entry.rb
new file mode 100644
index 00000000000..e10bb63438a
--- /dev/null
+++ b/modules/costs/db/migrate/20230622074222_add_ongoing_to_time_entry.rb
@@ -0,0 +1,15 @@
+class AddOngoingToTimeEntry < ActiveRecord::Migration[7.0]
+ def change
+ change_table :time_entries do |t|
+ t.boolean :ongoing, null: false, default: false, index: true
+ end
+
+ add_index :time_entries, %i[user_id ongoing], unique: true, where: 'ongoing = true'
+
+ change_column_null :time_entries, :activity_id, true
+ change_column_null :time_entries, :hours, true
+
+ change_column_null :time_entry_journals, :activity_id, true
+ change_column_null :time_entry_journals, :hours, true
+ end
+end
diff --git a/modules/costs/lib/api/v3/time_entries/available_work_packages_on_edit_api.rb b/modules/costs/lib/api/v3/time_entries/available_work_packages_on_edit_api.rb
index 80de99bb1d8..2ad4f7adc2a 100644
--- a/modules/costs/lib/api/v3/time_entries/available_work_packages_on_edit_api.rb
+++ b/modules/costs/lib/api/v3/time_entries/available_work_packages_on_edit_api.rb
@@ -31,7 +31,7 @@ module API
module TimeEntries
class AvailableWorkPackagesOnEditAPI < ::API::OpenProjectAPI
after_validation do
- authorize_any %i[edit_time_entries edit_own_time_entries],
+ authorize_any %i[log_time log_own_time edit_time_entries edit_own_time_entries],
projects: @time_entry.project
end
@@ -41,8 +41,11 @@ module API
def allowed_scope
edit_scope = WorkPackage.where(project_id: Project.allowed_to(User.current, :edit_time_entries))
edit_own_scope = WorkPackage.where(project_id: Project.allowed_to(User.current, :edit_own_time_entries))
+ ongoing_scope = WorkPackage.where(id: TimeEntry.visible_ongoing.select(:work_package_id))
- edit_scope.or(edit_own_scope)
+ edit_scope
+ .or(edit_own_scope)
+ .or(ongoing_scope)
end
end
diff --git a/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_api.rb b/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_api.rb
index bbe16a16fce..ccd6d441311 100644
--- a/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_api.rb
+++ b/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_api.rb
@@ -34,6 +34,7 @@ module API
resources :schema do
after_validation do
authorize_any %i[log_time
+ log_own_time
view_time_entries
edit_time_entries
edit_own_time_entries],
diff --git a/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_representer.rb b/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_representer.rb
index 3d9a8a9e600..7fbc7c324e5 100644
--- a/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_representer.rb
+++ b/modules/costs/lib/api/v3/time_entries/schemas/time_entry_schema_representer.rb
@@ -57,6 +57,10 @@ module API
type: 'Formattable',
required: false
+ schema :ongoing,
+ type: 'Boolean',
+ required: false
+
schema_with_allowed_link :user,
has_default: false,
required: true,
@@ -82,7 +86,7 @@ module API
type: 'TimeEntriesActivity',
value_representer: TimeEntriesActivityRepresenter,
has_default: true,
- required: true,
+ required: false,
link_factory: ->(value) {
{
href: api_v3_paths.time_entries_activity(value.id),
diff --git a/modules/costs/lib/api/v3/time_entries/time_entries_api.rb b/modules/costs/lib/api/v3/time_entries/time_entries_api.rb
index 5978e0193f4..fd00be14d2d 100644
--- a/modules/costs/lib/api/v3/time_entries/time_entries_api.rb
+++ b/modules/costs/lib/api/v3/time_entries/time_entries_api.rb
@@ -45,6 +45,7 @@ module API
after_validation do
@time_entry = TimeEntry
.visible
+ .or(TimeEntry.where(id: TimeEntry.visible_ongoing.select(:id)))
.find(params[:id])
end
diff --git a/modules/costs/lib/api/v3/time_entries/time_entry_representer.rb b/modules/costs/lib/api/v3/time_entries/time_entry_representer.rb
index 1e78919d6ec..37dd5d63ea9 100644
--- a/modules/costs/lib/api/v3/time_entries/time_entry_representer.rb
+++ b/modules/costs/lib/api/v3/time_entries/time_entry_representer.rb
@@ -74,6 +74,8 @@ module API
property :id
+ property :ongoing
+
formattable_property :comments,
as: :comment,
plain: true
@@ -115,9 +117,10 @@ module API
end
def update_allowed?
- current_user_allowed_to(:edit_time_entries, context: represented.project) ||
- (represented.user_id == current_user.id &&
- current_user_allowed_to(:edit_own_time_entries, context: represented.project))
+ @update_allowed ||= begin
+ contract = ::TimeEntries::UpdateContract.new(represented, current_user)
+ contract.user_allowed_to_update?
+ end
end
def current_user_allowed_to(permission, context:)
diff --git a/modules/costs/lib/costs/attributes_helper.rb b/modules/costs/lib/costs/attributes_helper.rb
index 68e921e604e..f31546abdce 100644
--- a/modules/costs/lib/costs/attributes_helper.rb
+++ b/modules/costs/lib/costs/attributes_helper.rb
@@ -44,10 +44,10 @@ module Costs
def time_entries
if @work_package.time_entries.loaded?
@work_package.time_entries.select do |time_entry|
- time_entry.visible_by?(@user)
+ !time_entry.ongoing && time_entry.visible_by?(@user)
end
else
- @work_package.time_entries.visible(@user, @work_package.project)
+ @work_package.time_entries.not_ongoing.visible(@user, @work_package.project)
end
end
diff --git a/modules/costs/lib/costs/engine.rb b/modules/costs/lib/costs/engine.rb
index a968def3db8..d151e41a2b2 100644
--- a/modules/costs/lib/costs/engine.rb
+++ b/modules/costs/lib/costs/engine.rb
@@ -49,11 +49,13 @@ module Costs
permission :log_own_time,
{},
- require: :loggedin
+ require: :loggedin,
+ dependencies: :view_own_time_entries
permission :log_time,
{},
- require: :loggedin
+ require: :loggedin,
+ dependencies: :view_time_entries
permission :edit_own_time_entries,
{},
diff --git a/modules/costs/lib/costs/patches/projects_controller_patch.rb b/modules/costs/lib/costs/patches/projects_controller_patch.rb
index 967a98d50d0..e44b632641f 100644
--- a/modules/costs/lib/costs/patches/projects_controller_patch.rb
+++ b/modules/costs/lib/costs/patches/projects_controller_patch.rb
@@ -39,7 +39,7 @@ module Costs::Patches::ProjectsControllerPatch
def own_total_hours
if User.current.allowed_to?(:view_own_time_entries, @project)
cond = @project.project_condition(Setting.display_subprojects_work_packages?)
- @total_hours = TimeEntry.visible.includes(:project).where(cond).sum(:hours).to_f
+ @total_hours = TimeEntry.not_ongoing.visible.includes(:project).where(cond).sum(:hours).to_f
end
end
end
diff --git a/modules/costs/spec/contracts/time_entries/create_contract_spec.rb b/modules/costs/spec/contracts/time_entries/create_contract_spec.rb
index 732f6294247..f2ca34d599d 100644
--- a/modules/costs/spec/contracts/time_entries/create_contract_spec.rb
+++ b/modules/costs/spec/contracts/time_entries/create_contract_spec.rb
@@ -42,11 +42,13 @@ RSpec.describe TimeEntries::CreateContract do
activity: time_entry_activity,
spent_on: time_entry_spent_on,
hours: time_entry_hours,
+ ongoing: time_entry_ongoing,
comments: time_entry_comments).tap do |t|
t.extend(OpenProject::ChangedBySystem)
t.changed_by_system(changed_by_system) if changed_by_system
end
end
+ let(:time_entry_ongoing) { false }
let(:permissions) { %i(log_time) }
let(:other_user) { build_stubbed(:user) }
let(:changed_by_system) do
@@ -65,6 +67,15 @@ RSpec.describe TimeEntries::CreateContract do
end
end
+ context 'when ongoing and different user' do
+ let(:time_entry_user) { other_user }
+ let(:time_entry_ongoing) { true }
+
+ it 'is invalid' do
+ expect_valid(false, ongoing: %i(not_current_user))
+ end
+ end
+
context 'if user has only permission to log own time' do
let(:permissions) { %i[log_own_time] }
diff --git a/modules/costs/spec/contracts/time_entries/delete_contract_spec.rb b/modules/costs/spec/contracts/time_entries/delete_contract_spec.rb
index c1b4bfb3ac5..38550632071 100644
--- a/modules/costs/spec/contracts/time_entries/delete_contract_spec.rb
+++ b/modules/costs/spec/contracts/time_entries/delete_contract_spec.rb
@@ -47,6 +47,7 @@ RSpec.describe TimeEntries::DeleteContract do
let(:time_entry_activity) { build_stubbed(:time_entry_activity) }
let(:time_entry_spent_on) { Date.today }
let(:time_entry_hours) { 5 }
+ let(:time_entry_ongoing) { false }
let(:time_entry_comments) { "A comment" }
let(:work_package_visible) { true }
let(:permissions) { %i[edit_time_entries] }
@@ -56,6 +57,7 @@ RSpec.describe TimeEntries::DeleteContract do
project: time_entry_project,
work_package: time_entry_work_package,
user: time_entry_user,
+ ongoing: time_entry_ongoing,
activity: time_entry_activity,
spent_on: time_entry_spent_on,
hours: time_entry_hours,
@@ -95,6 +97,22 @@ RSpec.describe TimeEntries::DeleteContract do
end
end
+ context 'when time entry ongoing and user as log_time permission' do
+ let(:time_entry_ongoing) { true }
+ let(:permissions) { %i[log_own_time] }
+
+ it_behaves_like 'is valid'
+ end
+
+ context 'when time entry not ongoing and user as log_time permission' do
+ let(:time_entry_ongoing) { false }
+ let(:permissions) { %i[log_own_time] }
+
+ it 'is invalid' do
+ expect_valid(false, base: %i(error_unauthorized))
+ end
+ end
+
context 'when time_entry user is not contract user' do
let(:time_entry_user) { other_user }
diff --git a/modules/costs/spec/contracts/time_entries/shared_contract_examples.rb b/modules/costs/spec/contracts/time_entries/shared_contract_examples.rb
index 4def22d08d7..c0cdd5aca79 100644
--- a/modules/costs/spec/contracts/time_entries/shared_contract_examples.rb
+++ b/modules/costs/spec/contracts/time_entries/shared_contract_examples.rb
@@ -141,9 +141,7 @@ RSpec.shared_examples_for 'time entry contract' do
context 'when activity is nil' do
let(:time_entry_activity) { nil }
- it 'is invalid' do
- expect_valid(false, activity_id: %i(blank))
- end
+ it_behaves_like 'is valid'
end
context 'if the activity is disabled in the project' do
diff --git a/modules/costs/spec/features/timer_spec.rb b/modules/costs/spec/features/timer_spec.rb
new file mode 100644
index 00000000000..54c313616b1
--- /dev/null
+++ b/modules/costs/spec/features/timer_spec.rb
@@ -0,0 +1,204 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require_relative '../spec_helper'
+
+RSpec.describe 'Work Package timer', js: true do
+ shared_let(:project) { create(:project_with_types) }
+
+ shared_let(:work_package_a) { create(:work_package, subject: 'WP A', project:) }
+ shared_let(:work_package_b) { create(:work_package, subject: 'WP B', project:) }
+
+ let(:wp_view_a) { Pages::FullWorkPackage.new(work_package_a) }
+ let(:wp_view_b) { Pages::FullWorkPackage.new(work_package_b) }
+ let(:time_logging_modal) { Components::TimeLoggingModal.new }
+ let(:timer_button) { Components::WorkPackages::TimerButton.new }
+
+ let(:user) { create(:user, member_in_project: project, member_with_permissions: permissions) }
+
+ before do
+ login_as user
+ end
+
+ shared_examples 'allows time tracking' do
+ it 'shows the timer and allows tracking time' do
+ wp_view_a.visit!
+ timer_button.expect_visible
+ timer_button.start
+ timer_button.expect_active
+
+ active_time_entries = TimeEntry.where(ongoing: true, user:)
+ expect(active_time_entries.count).to eq 1
+ timer_entry = active_time_entries.first
+ expect(timer_entry.work_package).to eq work_package_a
+ expect(timer_entry.hours).to be_nil
+
+ page.find('.op-top-menu-user').click
+ expect(page).to have_selector('.op-timer-account-menu', wait: 10)
+ expect(page).to have_selector('.op-timer-account-menu--wp-details', text: "##{work_package_a.id}: WP A")
+ page.find('[data-qa-selector="op-timer-account-menu-stop"]').click
+
+ time_logging_modal.is_visible true
+
+ time_logging_modal.has_field_with_value 'spentOn', Date.current.strftime
+ time_logging_modal.has_field_with_value 'hours', /(\d\.)?\d+/
+ time_logging_modal.work_package_is_missing false
+
+ time_logging_modal.perform_action 'Save'
+ time_logging_modal.is_visible false
+
+ wp_view_a.expect_and_dismiss_toaster message: I18n.t(:notice_successful_update)
+ timer_button.expect_inactive
+
+ timer_entry.reload
+ expect(timer_entry.ongoing).to be false
+ expect(timer_entry.hours).not_to be_nil
+
+ timer_button.start
+ timer_button.expect_active
+
+ wp_view_b.visit!
+
+ # Clicking timer opens stop modal
+ timer_button.expect_visible
+ timer_button.expect_inactive
+
+ timer_button.start
+
+ expect(page).to have_selector('.op-timer-stop-modal')
+ expect(page).to have_text('Tracking time:')
+
+ active_time_entries = TimeEntry.where(ongoing: true, user:)
+ expect(active_time_entries.count).to eq 1
+ timer_entry = active_time_entries.first
+ expect(timer_entry.work_package).to eq work_package_a
+ expect(timer_entry.hours).to be_nil
+
+ page.within('.spot-modal') { click_button 'Stop current timer' }
+ time_logging_modal.is_visible true
+ time_logging_modal.has_field_with_value 'spentOn', Date.current.strftime
+ time_logging_modal.has_field_with_value 'hours', /(\d\.)?\d+/
+ time_logging_modal.work_package_is_missing false
+
+ time_logging_modal.perform_action 'Save'
+
+ # Closing the modal starts the next timer
+ wp_view_b.expect_and_dismiss_toaster message: I18n.t(:notice_successful_update)
+ time_logging_modal.is_visible false
+ timer_button.expect_active
+
+ # Timer entry has been saved
+ timer_entry.reload
+ expect(timer_entry.ongoing).to be false
+ expect(timer_entry.hours).not_to be_nil
+
+ active_time_entries = TimeEntry.where(ongoing: true, user:)
+ expect(active_time_entries.count).to eq 1
+ timer_entry = active_time_entries.first
+ expect(timer_entry.work_package).to eq work_package_b
+ expect(timer_entry.hours).to be_nil
+ end
+ end
+
+ context 'when user has permission to log time' do
+ let(:permissions) { %i[log_own_time edit_own_time_entries view_own_time_entries view_work_packages] }
+
+ it_behaves_like 'allows time tracking'
+
+ it 'correctly handles timers in multiple tabs' do
+ wp_view_a.visit!
+ timer_button.expect_visible
+
+ second_window = open_new_window
+ within_window(second_window) do
+ wp_view_a.visit!
+ timer_button.expect_visible
+ timer_button.start
+ timer_button.expect_active
+ end
+
+ timer_button.expect_inactive
+ timer_button.start
+
+ expect(page).to have_selector('.op-timer-stop-modal')
+ expect(page).to have_text('Tracking time:')
+
+ page.within('.spot-modal') { click_button 'Stop current timer' }
+ time_logging_modal.is_visible true
+ time_logging_modal.has_field_with_value 'spentOn', Date.current.strftime
+ time_logging_modal.has_field_with_value 'hours', /(\d\.)?\d+/
+ time_logging_modal.work_package_is_missing false
+
+ time_logging_modal.perform_action 'Save'
+ wp_view_b.expect_and_dismiss_toaster message: I18n.t(:notice_successful_update)
+ time_logging_modal.is_visible false
+ timer_button.expect_active
+
+ timer_button.stop
+ time_logging_modal.is_visible true
+ time_logging_modal.has_field_with_value 'spentOn', Date.current.strftime
+ time_logging_modal.has_field_with_value 'hours', /(\d\.)?\d+/
+ time_logging_modal.work_package_is_missing false
+
+ time_logging_modal.perform_action 'Save'
+ wp_view_b.expect_and_dismiss_toaster message: I18n.t(:notice_successful_update)
+ time_logging_modal.is_visible false
+ timer_button.expect_inactive
+
+ within_window(second_window) do
+ timer_button.expect_active
+ timer_button.stop
+ wp_view_b.expect_and_dismiss_toaster message: I18n.t('js.timer.timer_already_stopped'), type: :warning
+ end
+ end
+ end
+
+ context 'when user has no permission to log time' do
+ let(:permissions) { %i[view_work_packages] }
+
+ it 'does not show the timer' do
+ wp_view_a.visit!
+
+ # Wait for another button to be present
+ expect(page).to have_selector('#watch-button', wait: 10)
+ timer_button.expect_visible visible: false
+ end
+ end
+
+ context 'when user has permission to add, but not edit or view' do
+ let(:permissions) { %i[view_work_packages log_own_time] }
+
+ it_behaves_like 'allows time tracking'
+ end
+
+ context 'when user has permission to add and view but not edit' do
+ let(:permissions) { %i[view_work_packages log_own_time view_own_logged_time] }
+
+ it_behaves_like 'allows time tracking'
+ end
+end
diff --git a/modules/costs/spec/lib/api/v3/time_entries/schemas/time_entry_schema_representer_spec.rb b/modules/costs/spec/lib/api/v3/time_entries/schemas/time_entry_schema_representer_spec.rb
index acee6b3c952..3874df89d17 100644
--- a/modules/costs/spec/lib/api/v3/time_entries/schemas/time_entry_schema_representer_spec.rb
+++ b/modules/costs/spec/lib/api/v3/time_entries/schemas/time_entry_schema_representer_spec.rb
@@ -207,7 +207,7 @@ RSpec.describe API::V3::TimeEntries::Schemas::TimeEntrySchemaRepresenter do
let(:type) { 'TimeEntriesActivity' }
let(:name) { TimeEntry.human_attribute_name('activity') }
let(:has_default) { true }
- let(:required) { true }
+ let(:required) { false }
let(:writable) { true }
let(:location) { '_links' }
end
diff --git a/modules/costs/spec/models/queries/time_entries/filters/ongoing_filter_spec.rb b/modules/costs/spec/models/queries/time_entries/filters/ongoing_filter_spec.rb
new file mode 100644
index 00000000000..28d88053546
--- /dev/null
+++ b/modules/costs/spec/models/queries/time_entries/filters/ongoing_filter_spec.rb
@@ -0,0 +1,36 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require 'spec_helper'
+
+RSpec.describe Queries::TimeEntries::Filters::OngoingFilter do
+ it_behaves_like 'boolean query filter' do
+ let(:model) { TimeEntry }
+ let(:attribute) { :ongoing }
+ end
+end
diff --git a/modules/costs/spec/models/queries/time_entries/time_entry_query_integration_spec.rb b/modules/costs/spec/models/queries/time_entries/time_entry_query_integration_spec.rb
new file mode 100644
index 00000000000..b113074da08
--- /dev/null
+++ b/modules/costs/spec/models/queries/time_entries/time_entry_query_integration_spec.rb
@@ -0,0 +1,58 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require 'spec_helper'
+
+RSpec.describe Queries::TimeEntries::TimeEntryQuery, 'integration' do
+ let(:instance) { described_class.new(user:) }
+
+ before do
+ login_as(user)
+ end
+
+ context 'when using ongoing filter' do
+ let(:project) { create(:project, enabled_module_names: %w[costs]) }
+ let(:user) { create(:user, member_in_project: project, member_with_permissions: %i[log_own_time]) }
+ let(:other_user) { create(:user, member_in_project: project, member_with_permissions: %i[log_own_time]) }
+
+ let!(:user_timer) { create(:time_entry, user:, project:, ongoing: true) }
+ let!(:other_user_timer) { create(:time_entry, user: other_user, project:, ongoing: true) }
+
+ describe '#results' do
+ subject { instance.results }
+
+ before do
+ instance.where('ongoing', '=', ['t'])
+ end
+
+ it 'only returns the users own time entries' do
+ expect(subject).to contain_exactly(user_timer)
+ end
+ end
+ end
+end
diff --git a/modules/costs/spec/models/queries/time_entries/time_entry_query_spec.rb b/modules/costs/spec/models/queries/time_entries/time_entry_query_spec.rb
index fdceea95443..a655766e623 100644
--- a/modules/costs/spec/models/queries/time_entries/time_entry_query_spec.rb
+++ b/modules/costs/spec/models/queries/time_entries/time_entry_query_spec.rb
@@ -30,7 +30,7 @@ require 'spec_helper'
RSpec.describe Queries::TimeEntries::TimeEntryQuery do
let(:user) { build_stubbed(:user) }
- let(:base_scope) { TimeEntry.visible(user).order(id: :desc) }
+ let(:base_scope) { TimeEntry.not_ongoing.visible(user).order(id: :desc) }
let(:instance) { described_class.new }
before do
diff --git a/modules/costs/spec/requests/api/time_entries/create_form_resource_spec.rb b/modules/costs/spec/requests/api/time_entries/create_form_resource_spec.rb
index 8fb787010b4..c52f6526263 100644
--- a/modules/costs/spec/requests/api/time_entries/create_form_resource_spec.rb
+++ b/modules/costs/spec/requests/api/time_entries/create_form_resource_spec.rb
@@ -80,12 +80,7 @@ RSpec.describe API::V3::TimeEntries::CreateFormAPI, content_type: :json do
context 'with empty parameters' do
it 'has 4 validation errors' do
- # There are 4 validation errors instead of 3 with two duplicating each other
- expect(subject.body).to have_json_size(4).at_path('_embedded/validationErrors')
- end
-
- it 'has a validation error on activity' do
- expect(subject.body).to have_json_path('_embedded/validationErrors/activity')
+ expect(subject.body).to have_json_size(3).at_path('_embedded/validationErrors')
end
it 'has a validation error on project' do
diff --git a/spec/support/components/work_packages/timer_button.rb b/spec/support/components/work_packages/timer_button.rb
new file mode 100644
index 00000000000..05a80145c39
--- /dev/null
+++ b/spec/support/components/work_packages/timer_button.rb
@@ -0,0 +1,65 @@
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2023 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+module Components
+ module WorkPackages
+ class TimerButton
+ include Capybara::DSL
+ include Capybara::RSpecMatchers
+ include RSpec::Matchers
+
+ def expect_active
+ expect(page).to have_selector('[data-qa-selector="timer-active"]', wait: 10)
+ end
+
+ def expect_inactive
+ expect(page).to have_selector('[data-qa-selector="timer-inactive"]', wait: 10)
+ end
+
+ def expect_visible(visible: true)
+ if visible
+ expect(page).to have_selector('op-wp-timer-button')
+ else
+ expect(page).not_to have_selector('op-wp-timer-button')
+ end
+ end
+
+ def start
+ page.within('op-wp-timer-button') do
+ find('[data-qa-selector="timer-inactive"]').click
+ end
+ end
+
+ def stop
+ page.within('op-wp-timer-button') do
+ find('[data-qa-selector="timer-active"]').click
+ end
+ end
+ end
+ end
+end