Commit 226d2ac
feat(web): show app version in sidebar footer
Adds a small monospace �<InformationalVersion> line beneath the user
identity in MainLayout's sidebar footer. The full informational version
(including git sha after '+') is exposed via the title attribute for
hover inspection, while the displayed value is trimmed to the semver
prefix to stay compact.
The version is read once at component-class init from
typeof(MainLayout).Assembly's AssemblyInformationalVersionAttribute, so
it stays in sync with the centralized <Version> in Directory.Build.props
without any extra DI plumbing.
CSS: sidebar-footer becomes a flex column so user + version stack
cleanly with a small gap; the user line gets ellipsis to handle long
SamAccountNames.
Build 0/0, tests 50/50.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6e68eb8 commit 226d2ac
2 files changed
Lines changed: 17 additions & 2 deletions
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments