The home page becomes the widget dashboard of mockups 004-006. Each user switches widgets on and off, orders them (drag and drop or buttons that also work from the keyboard), sizes them on the 12-column grid and picks the start page; every change is saved at once. Whoever may change the company settings sets a default layout per role, used by people who never customized; Reset goes back to it. Todo, Done and Deadlines collect lines from sources each module registers, so later milestones fill them without touching the widgets; a failing source is logged and skipped. M3 provides licence, unread warnings and scheduled task runs. Notes, Shortcuts and System status work now; widgets of modules still to come say which milestone brings their data instead of showing fake numbers. Role defaults live in the new company_settings table, written through CompanySettingsService with company.settings.write (ADR 0022). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
75d60ee4c4
commit
acb7e598d1
34 files changed
+2812
-76
No files matched your search
@@ -62,7 +62,9 @@ public sealed partial class LocalizationRulesTests
|
||||
public void EveryTextKeyInTheCode_Exists()
|
||||
{
|
||||
var missing = new List<string>();
|
||||
foreach (var file in Directory.EnumerateFiles(Path.Combine(Repository.Root, "src", "Khaemhat.Web"), "*.*", SearchOption.AllDirectories)
|
||||
// The web project, and the application one where the dashboard catalog and sources name their texts.
|
||||
foreach (var file in new[] { "Khaemhat.Web", "Khaemhat.Application" }
|
||||
.SelectMany(project => Directory.EnumerateFiles(Path.Combine(Repository.Root, "src", project), "*.*", SearchOption.AllDirectories))
|
||||
.Where(f => (f.EndsWith(".razor", StringComparison.Ordinal) || f.EndsWith(".cs", StringComparison.Ordinal)) && !Repository.IsBuildOutput(f)))
|
||||
{
|
||||
foreach (Match match in KeyPattern().Matches(File.ReadAllText(file)))
|
||||
@@ -269,6 +271,6 @@ public sealed partial class LocalizationRulesTests
|
||||
[GeneratedRegex(@"&[a-zA-Z]+;|&#\d+;")]
|
||||
private static partial Regex EntityPattern();
|
||||
|
||||
[GeneratedRegex("\"((?:Shell|Pages|Auth|Common|Ui)\\.[A-Za-z0-9_.]+)\"")]
|
||||
[GeneratedRegex("\"((?:Shell|Pages|Auth|Common|Ui|Dashboard)\\.[A-Za-z0-9_.]+)\"")]
|
||||
private static partial Regex KeyPattern();
|
||||
}
|
||||
Reference in new issue
Block a user