UI improvement (#1829)

* open "create new project/activity" form in modal
* re-use action translation for create action title
* do not pre-select first customer in list - fixes #1828
* sort user preferences in sections for better visual grouping
* show comment date only in hover of user avatar
This commit is contained in:
Kevin Papst
2020-07-17 20:32:11 +02:00
committed by GitHub
parent c843dba29a
commit 7907b43ef7
15 changed files with 149 additions and 42 deletions

View File

@@ -83,11 +83,12 @@ class UserPreference
* @var int
*/
private $order = 1000;
/**
* @return int
* @var string
*/
public function getId()
private $section = 'default';
public function getId(): ?int
{
return $this->id;
}
@@ -264,4 +265,16 @@ class UserPreference
return $this;
}
public function setSection(string $section): UserPreference
{
$this->section = $section;
return $this;
}
public function getSection(): string
{
return $this->section;
}
}