mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-04 05:22:39 +00:00
feat: make project transition slightly smoother
This commit is contained in:
parent
9734f55f8f
commit
f27ebd7a68
3 changed files with 5 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ export class AppComponent {
|
|||
private _store: Store<any>,
|
||||
public readonly layoutService: LayoutService,
|
||||
public readonly bookmarkService: BookmarkService,
|
||||
public readonly noteService: NoteService,
|
||||
public projectService: ProjectService,
|
||||
) {
|
||||
// try to avoid data-loss
|
||||
if (navigator.storage && navigator.storage.persist) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
<div #containerEl
|
||||
*ngIf="!(projectService.isProjectChanging$|async)"
|
||||
@fade
|
||||
class="wrapper">
|
||||
<div #splitTopEl
|
||||
class="today">
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import {fadeAnimation} from '../../ui/animations/fade.ani';
|
|||
import {PlanningModeService} from '../../features/planning-mode/planning-mode.service';
|
||||
import {T} from '../../t.const';
|
||||
import {ImprovementService} from '../../features/metric/improvement/improvement.service';
|
||||
import {ProjectService} from '../../features/project/project.service';
|
||||
|
||||
const SUB = 'SUB';
|
||||
const PARENT = 'PARENT';
|
||||
|
|
@ -48,6 +49,7 @@ export class WorkViewPageComponent implements OnInit, OnDestroy {
|
|||
|
||||
constructor(
|
||||
public taskService: TaskService,
|
||||
public projectService: ProjectService,
|
||||
public takeABreakService: TakeABreakService,
|
||||
public planningModeService: PlanningModeService,
|
||||
public improvementService: ImprovementService,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue