-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Show default user for footer and header
Multiple default users can be set in the config file. These users are prioritised when selecting users. The first default user found in the configuration file becomes default in the info and footer component.
- Loading branch information
1 parent
683d354
commit 9bb15f6
Showing
9 changed files
with
109 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
commit 1 (HEAD -> master) | ||
author: John Doe <john.doe@example.com> | ||
author: John Doe <jd@example.net> | ||
date: Sat Jan 1 01:00:00 2022 +0000 | ||
|
||
┌──────────────────────────────────────────────────────────────────────────┐ | ||
│? Choose an author: ● │ | ||
│❯ John Doe <john.doe@example.com> │ | ||
│ John Doe <jdoe@example.org> │ | ||
│❯ John Doe <jd@example.net> │ | ||
│ │ | ||
│ │ | ||
└──────────────────────────────────────────────────────────────────────────┘ |
10 changes: 10 additions & 0 deletions
10
internal/ui/info/testdata/multiple_users_config_default.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
commit 1 (HEAD -> master) | ||
author: John Doe <j@example.id> | ||
date: Sat Jan 1 01:00:00 2022 +0000 | ||
|
||
┌──────────────────────────────────────────────────────────────────────────┐ | ||
│? Choose an author: ● │ | ||
│❯ John Doe <j@example.id> │ | ||
│ John Doe <jd@example.net> │ | ||
│ │ | ||
└──────────────────────────────────────────────────────────────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
internal/ui/info/testdata/multiple_users_repository_config_default.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
commit 1 (HEAD -> master) | ||
author: John Doe <jd@example.net> | ||
date: Sat Jan 1 01:00:00 2022 +0000 | ||
|
||
┌──────────────────────────────────────────────────────────────────────────┐ | ||
│? Choose an author: ● │ | ||
│❯ John Doe <jd@example.net> │ | ||
│ John Doe <john.doe@example.com> │ | ||
│ │ | ||
└──────────────────────────────────────────────────────────────────────────┘ |
10 changes: 10 additions & 0 deletions
10
internal/ui/info/testdata/multiple_users_repository_config_default_multiple.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
commit 1 (HEAD -> master) | ||
author: John Doe <jd@example.net> | ||
date: Sat Jan 1 01:00:00 2022 +0000 | ||
|
||
┌──────────────────────────────────────────────────────────────────────────┐ | ||
│? Choose an author: ● │ | ||
│❯ John Doe <jd@example.net> ○ │ | ||
│ John Doe <j@example.id> │ | ||
│ John Doe <john.doe@example.com> │ | ||
└──────────────────────────────────────────────────────────────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters