Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Format based on [Keep a Changelog](https://keepachangelog.com/); versioning follows [SemVer](https://semver.org/).

## [Unreleased]

### Changed
- **The settings window is the web-style one again** (the 1.2.x window, shown in an Edge app window; the native Win32 window from 1.3.0 is removed). It keeps the 1.3.0 improvements: Blur works on Windows 11, and the preview shows how Blur really looks there.

### Added
- The settings window now has the TaskGlass icon (title bar and taskbar) through a favicon served by the local settings page.

## [1.3.0] - 2026-11-20

### Fixed
Expand Down
Binary file modified cmd/taskglass/resource_windows_amd64.syso
Binary file not shown.
6 changes: 0 additions & 6 deletions cmd/taskglass/taskglass.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="AnderCMD.TaskGlass" version="1.3.0.0" processorArchitecture="*"/>
<description>TaskGlass</description>
<dependency>
<dependentAssembly>
<!-- visual styles for the settings window's native controls -->
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
Expand Down
7 changes: 1 addition & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ go 1.26.7

require (
fyne.io/systray v1.12.2
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794
github.com/lxn/win v0.0.0-20210218163916-a377121e959e
golang.org/x/sys v0.50.0
)

require (
github.com/godbus/dbus/v5 v5.1.0 // indirect
gopkg.in/Knetic/govaluate.v3 v3.0.0 // indirect
)
require github.com/godbus/dbus/v5 v5.1.0 // indirect
7 changes: 0 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,5 @@ fyne.io/systray v1.12.2 h1:Y8DZxgLHsVQt6rY9Zrkkg+j67S7vv/1F2viOWKPpVeA=
fyne.io/systray v1.12.2/go.mod h1:RVwqP9nYMo7h5zViCBHri2FgjXF7H2cub7MAq4NSoLs=
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794 h1:NVRJ0Uy0SOFcXSKLsS65OmI1sgCCfiDUPj+cwnH7GZw=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794/go.mod h1:E23UucZGqpuUANJooIbHWCufXvOcT6E7Stq81gU+CSQ=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e h1:H+t6A/QJMbhCSEH5rAuRxh+CtW96g0Or0Fxa9IKr4uc=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk=
golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs=
golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
gopkg.in/Knetic/govaluate.v3 v3.0.0 h1:18mUyIt4ZlRlFZAAfVetz4/rzlJs9yhN+U02F4u1AOc=
gopkg.in/Knetic/govaluate.v3 v3.0.0/go.mod h1:csKLBORsPbafmSCGTEh3U7Ozmsuq8ZSIlKk1bcqph0E=
12 changes: 8 additions & 4 deletions graphify-out/.graphify_labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"10": "tray_icon",
"11": "PULL_REQUEST_TEMPLATE.md",
"12": "definitions",
"13": "preview.go",
"13": "config.go",
"14": "assets.go",
"15": "bug_report.md",
"16": "feature_request.md",
Expand Down Expand Up @@ -40,12 +40,16 @@
"38": "Contributing",
"39": "Security Policy",
"40": "default",
"41": "apps",
"41": "fakeHost",
"42": "enabled",
"43": "hotkey",
"44": "enum",
"45": "theme",
"46": "window",
"46": "Server",
"47": "exe",
"48": "autostart_windows.go",
"50": "language"
"49": "xaml_fix",
"50": "language",
"51": "main.go",
"52": "locale_other.go"
}
2 changes: 1 addition & 1 deletion graphify-out/.graphify_labels.json.sig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"0": "5076d5ac64ef5c4a", "1": "b64346c57c2f1370", "2": "6bef3ac583d4f42c", "3": "01646dff01d2eb7e", "4": "df681840d16ff3d5", "5": "6bda37dc8cb09c04", "6": "5f1178d3b76d5916", "7": "a38ebed4de8f78eb", "8": "7c8d94ab6376b921", "9": "0ea3b56aede6e75a", "10": "952491af3b1e9f78", "11": "e0f13635f45c650b", "12": "c2f6f3578481b87d", "13": "f920c17e32bfb614", "14": "6c7a71fed0eb24b5", "15": "ec76c5b024eab860", "16": "37bcee490d34fb1d", "17": "5c97800323607746", "18": "4974e3d5715a769b", "19": "5dbe09da18834400", "20": "b8b416d32d64abd5", "21": "6e7b82d0387bf16d", "22": "a0e1e2546c3370b0", "23": "a309b6ae1fe8f288", "24": "420dd9e70a20e9ac", "25": "c36fef69ae3bd6c5", "26": "e9dfc248ad6fcedc", "27": "b8e36120f4e5b47a", "28": "029966ca5faa5a2a", "29": "6f1828727aec4f13", "30": "4cbef3533d917f67", "31": "39e69bcdefe2b0d2", "32": "804482094d693c22", "33": "077458ac008cc4d9", "34": "77bc2d977d7ff4cd", "35": "13af2a57728b14e4", "36": "f88db8f9d07d6c49", "37": "4c1831b02af7bd53", "38": "268b36fafa333572", "39": "89111ec01d66aeef", "40": "a6d5a524b6f14c57", "41": "99012460fbf55554", "42": "25b2731804072e95", "43": "4249983e8612bb1d", "44": "4c1a85cc953cf600", "45": "568df988db03bae3", "46": "e93ca5dce766a4ee", "48": "a5b30f9d71bf9f82", "50": "58627c65df2a80a1"}
{"0": "5076d5ac64ef5c4a", "1": "b64346c57c2f1370", "2": "3e72afd85194fc6d", "3": "01646dff01d2eb7e", "4": "b366977a781f3394", "5": "347b8ad08160da2d", "6": "5f1178d3b76d5916", "7": "c3edf3c38080d85c", "8": "7c8d94ab6376b921", "9": "7e5fd0bf5677dec6", "10": "952491af3b1e9f78", "11": "e0f13635f45c650b", "12": "690ee408139029c9", "13": "17570957673a4fdd", "14": "6c7a71fed0eb24b5", "15": "ec76c5b024eab860", "16": "37bcee490d34fb1d", "17": "5c97800323607746", "18": "136e8401d4dcd739", "19": "5dbe09da18834400", "20": "b8b416d32d64abd5", "21": "6e7b82d0387bf16d", "22": "a0e1e2546c3370b0", "23": "a309b6ae1fe8f288", "24": "420dd9e70a20e9ac", "25": "c36fef69ae3bd6c5", "26": "e9dfc248ad6fcedc", "27": "b8e36120f4e5b47a", "28": "029966ca5faa5a2a", "29": "2f07b244a1b1bebb", "30": "4cbef3533d917f67", "31": "39e69bcdefe2b0d2", "32": "804482094d693c22", "33": "077458ac008cc4d9", "34": "77bc2d977d7ff4cd", "35": "13af2a57728b14e4", "36": "bb6ec3da677724b3", "37": "4c1831b02af7bd53", "38": "268b36fafa333572", "39": "89111ec01d66aeef", "40": "a6d5a524b6f14c57", "41": "70a729a8c2ed65e6", "42": "629a30dc96674e1a", "43": "4249983e8612bb1d", "44": "0baabc23a0122bf6", "45": "568df988db03bae3", "46": "ed151e4065cb4366", "47": "ab47fb02a9b2717a", "48": "a5b30f9d71bf9f82", "49": "43b67b0ff2e57329", "50": "58627c65df2a80a1", "51": "9346c9771bed4f8d", "52": "7984419eb8b2f465"}
127 changes: 69 additions & 58 deletions graphify-out/GRAPH_REPORT.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Graph Report - TaskGlass (2026-11-20)

## Corpus Check
- 49 files · ~99,000 words
- 50 files · ~98,812 words
- Verdict: corpus is large enough that graph structure adds value.

## Summary
- 679 nodes · 1289 edges · 49 communities (44 shown, 5 thin omitted)
- Extraction: 91% EXTRACTED · 9% INFERRED · 0% AMBIGUOUS · INFERRED: 112 edges (avg confidence: 0.8)
- 622 nodes · 1081 edges · 53 communities (47 shown, 6 thin omitted)
- Extraction: 92% EXTRACTED · 8% INFERRED · 0% AMBIGUOUS · INFERRED: 91 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output

## Graph Freshness
- Built from commit: `05ca89d4`
- Built from commit: `cc5eb08c`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).

Expand All @@ -28,7 +28,7 @@
- tray_icon
- PULL_REQUEST_TEMPLATE.md
- definitions
- preview.go
- config.go
- github.com/AnderCMD/TaskGlass
- properties
- Watcher
Expand All @@ -50,26 +50,29 @@
- Contributing
- Security Policy
- default
- apps
- fakeHost
- enabled
- hotkey
- enum
- theme
- window
- Server
- exe
- autostart_windows.go
- xaml_fix
- language
- main.go

## God Nodes (most connected - your core abstractions)
1. `T()` - 41 edges
1. `T()` - 40 edges
2. `App` - 38 edges
3. `window` - 35 edges
4. `Config` - 33 edges
5. `Controller` - 21 edges
6. `Render()` - 18 edges
7. `Parse()` - 17 edges
8. `Default()` - 16 edges
9. `Appearance` - 15 edges
10. `window` - 15 edges
3. `Config` - 35 edges
4. `Controller` - 21 edges
5. `Default()` - 20 edges
6. `Parse()` - 18 edges
7. `Server` - 17 edges
8. `main()` - 13 edges
9. `logf_()` - 12 edges
10. `host` - 11 edges

## Surprising Connections (you probably didn't know these)
- `main()` --calls--> `Default()` [INFERRED]
Expand All @@ -80,13 +83,13 @@
cmd/taskglass/main_windows.go → internal/config/config.go
- `main()` --calls--> `Save()` [INFERRED]
cmd/taskglass/main_windows.go → internal/config/config.go
- `watchForQuit()` --references--> `App` [EXTRACTED]
cmd/taskglass/main_windows.go → internal/app/app_windows.go
- `main()` --calls--> `Parse()` [INFERRED]
tools/genicon/main.go → internal/config/config.go

## Import Cycles
- None detected.

## Communities (49 total, 5 thin omitted)
## Communities (53 total, 6 thin omitted)

### Community 0 - "main"
Cohesion: 0.26
Expand All @@ -98,51 +101,51 @@ Nodes (10): Before you start, Contributing, Features, How it works, Install, Lic

### Community 2 - "winapi_windows.go"
Cohesion: 0.11
Nodes (31): blurPolicy(), TestToPolicy(), HWND, Logger, Time, lighten(), New(), toPolicy() (+23 more)
Nodes (30): blurPolicy(), TestToPolicy(), HWND, Logger, Time, lighten(), New(), toPolicy() (+22 more)

### Community 3 - "hotkey_enabled"
Cohesion: 0.50
Nodes (4): default, description, type, hotkey_enabled

### Community 4 - "App"
Cohesion: 0.07
Nodes (25): App, host, menuItems, Options, panicGuard, Int32, check(), Bool (+17 more)
Cohesion: 0.06
Nodes (27): App, host, Options, panicGuard, Config, Int32, check(), Bool (+19 more)

### Community 5 - "Controller"
Cohesion: 0.07
Nodes (28): Attr, GUID, Handler, Duration, TaskbarAnchor(), Duration, TrayProbe(), Unhook() (+20 more)
Cohesion: 0.06
Nodes (29): Attr, Handler, GUID, Duration, TaskbarAnchor(), Duration, TrayProbe(), Handle (+21 more)

### Community 6 - "tap.c"
Cohesion: 0.07
Nodes (72): DWORD, HINSTANCE, HRESULT, HSTRING, IClassFactory, IDispatchedHandler_, Inst, InstanceHandle (+64 more)

### Community 7 - "opacity"
Cohesion: 0.19
Nodes (14): $ref, properties, type, $ref, properties, appearance, rule, $ref (+6 more)
Cohesion: 0.25
Nodes (11): $ref, properties, type, $ref, properties, appearance, properties, $ref (+3 more)

### Community 8 - "config.schema.json"
Cohesion: 0.29
Nodes (6): additionalProperties, description, $id, $schema, title, type

### Community 9 - "Changelog"
Cohesion: 0.08
Nodes (23): [1.0.0] - 2026-11-17, [1.0.1] - 2026-11-17, [1.1.0] - 2026-11-18, [1.1.1] - 2026-11-18, [1.2.0] - 2026-11-20, [1.2.1] - 2026-11-20, Added, Added (+15 more)
Nodes (23): [1.0.0] - 2026-11-17, [1.0.1] - 2026-11-17, [1.1.0] - 2026-11-18, [1.1.1] - 2026-11-18, [1.2.0] - 2026-11-20, [1.2.1] - 2026-11-20, [1.3.0] - 2026-11-20, Added (+15 more)

### Community 10 - "tray_icon"
Cohesion: 0.24
Nodes (10): tray_icon, enum, default, description, enum, type, auto, color (+2 more)

### Community 12 - "definitions"
Cohesion: 0.25
Nodes (8): description, type, description, pattern, type, definitions, accent, color
Cohesion: 0.22
Nodes (9): description, pattern, type, definitions, color, surface, additionalProperties, properties (+1 more)

### Community 13 - "preview.go"
Cohesion: 0.19
Nodes (30): at(), blur(), boxH(), boxV(), clamp8(), Color(), drawFlyout(), drawTaskbarContents() (+22 more)
### Community 13 - "config.go"
Cohesion: 0.12
Nodes (14): menuItems, Accent, Appearance, AppRule, Percent, Rule, Surface, Surfaces (+6 more)

### Community 18 - "properties"
Cohesion: 0.15
Nodes (13): description, $ref, properties, maximized, $schema, version, xaml_fix, type (+5 more)
Cohesion: 0.22
Nodes (9): description, $ref, properties, maximized, $schema, version, type, const (+1 more)

### Community 19 - "Watcher"
Cohesion: 0.33
Expand Down Expand Up @@ -177,8 +180,8 @@ Cohesion: 0.40
Nodes (5): opacity, description, maximum, minimum, type

### Community 29 - "T"
Cohesion: 0.06
Nodes (57): Accent, Appearance, AppRule, Config, Percent, Rule, Surface, Surfaces (+49 more)
Cohesion: 0.08
Nodes (48): Lang, Default(), Load(), Parse(), ParseHotkey(), Save(), TestAppRuleMatching(), TestAutoColorFollowsTheme() (+40 more)

### Community 30 - "Architecture"
Cohesion: 0.18
Expand All @@ -189,8 +192,8 @@ Cohesion: 0.18
Nodes (10): Antes de empezar, Características, Contribuir, Cómo funciona, Hoja de ruta, Instalación, Licencia, Limitaciones y seguridad (+2 more)

### Community 36 - "items"
Cohesion: 0.18
Nodes (11): items, description, minLength, pattern, type, additionalProperties, properties, required (+3 more)
Cohesion: 0.22
Nodes (9): description, items, maxItems, type, additionalProperties, required, type, apps (+1 more)

### Community 37 - "Configuration"
Cohesion: 0.22
Expand All @@ -208,57 +211,65 @@ Nodes (4): Reporting a vulnerability, Scope, Security Policy, Supported versions
Cohesion: 0.50
Nodes (4): additionalProperties, description, type, default

### Community 41 - "apps"
Cohesion: 0.50
Nodes (4): description, maxItems, type, apps

### Community 42 - "enabled"
Cohesion: 0.25
Nodes (8): surface, default, description, type, enabled, additionalProperties, properties, type
Nodes (8): rule, default, description, type, enabled, additionalProperties, properties, type

### Community 43 - "hotkey"
Cohesion: 0.50
Nodes (4): default, description, type, hotkey

### Community 44 - "enum"
Cohesion: 0.33
Nodes (6): enum, acrylic, blur, clear, normal, opaque
Cohesion: 0.22
Nodes (9): description, enum, type, accent, acrylic, blur, clear, normal (+1 more)

### Community 45 - "theme"
Cohesion: 0.50
Nodes (4): theme, default, description, type

### Community 46 - "window"
Cohesion: 0.06
Nodes (41): Bitmap, CheckBox, ComboBox, Composite, ImageView, Container, window, unsafeSizeofChooseColor() (+33 more)
### Community 46 - "Server"
Cohesion: 0.19
Nodes (13): HandlerFunc, favicon(), Handler, loopbackHost(), New(), writeErr(), writeJSON(), Listener (+5 more)

### Community 47 - "exe"
Cohesion: 0.40
Nodes (5): description, minLength, pattern, type, exe

### Community 48 - "autostart_windows.go"
Cohesion: 0.38
Nodes (8): clearDisabled(), command(), Enabled(), Repair(), sameCommand(), Set(), TestCommandIsPlainQuotedPath(), TestSameCommandRecognisesLegacyDoubledBackslashes()

### Community 49 - "xaml_fix"
Cohesion: 0.50
Nodes (4): xaml_fix, default, description, type

### Community 50 - "language"
Cohesion: 0.29
Nodes (7): default, description, enum, type, language, en, es

### Community 51 - "main.go"
Cohesion: 0.83
Nodes (3): entry, main(), writeICO()

## Knowledge Gaps
- **165 isolated node(s):** `$schema`, `$id`, `title`, `description`, `type` (+160 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **5 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **6 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.

## Suggested Questions
_Questions this graph is uniquely positioned to answer:_

- **Why does `App` connect `App` to `main`, `winapi_windows.go`, `Controller`, `window`, `Watcher`, `T`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Why does `Config` connect `T` to `winapi_windows.go`, `App`, `window`?**
_High betweenness centrality (0.077) - this node is a cross-community bridge._
- **Why does `T()` connect `T` to `winapi_windows.go`, `App`, `Controller`, `preview.go`, `window`, `autostart_windows.go`?**
_High betweenness centrality (0.052) - this node is a cross-community bridge._
- **Are the 2 inferred relationships involving `T()` (e.g. with `.syncMenu()` and `.t()`) actually correct?**
_`T()` has 2 INFERRED edges - model-reasoned connections that need verification._
- **Why does `App` connect `App` to `main`, `winapi_windows.go`, `Controller`, `config.go`, `Server`, `Watcher`?**
_High betweenness centrality (0.094) - this node is a cross-community bridge._
- **Why does `Config` connect `App` to `winapi_windows.go`, `fakeHost`, `config.go`, `Server`, `T`?**
_High betweenness centrality (0.073) - this node is a cross-community bridge._
- **Why does `properties` connect `properties` to `hotkey_enabled`, `items`, `config.schema.json`, `default`, `enabled`, `hotkey`, `tray_icon`, `theme`, `xaml_fix`, `language`, `enum`, `taskbars`, `debounce_ms`, `poll_ms`, `refresh_ms`, `surfaces`?**
_High betweenness centrality (0.048) - this node is a cross-community bridge._
- **Are the 16 inferred relationships involving `Default()` (e.g. with `main()` and `TestDefaultIsValid()`) actually correct?**
_`Default()` has 16 INFERRED edges - model-reasoned connections that need verification._
- **What connects `$schema`, `$id`, `title` to the rest of the system?**
_165 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `winapi_windows.go` be split into smaller, more focused modules?**
_Cohesion score 0.10810810810810811 - nodes in this community are weakly interconnected._
- **Should `App` be split into smaller, more focused modules?**
_Cohesion score 0.06779661016949153 - nodes in this community are weakly interconnected._
_Cohesion score 0.06448412698412699 - nodes in this community are weakly interconnected._
8 changes: 4 additions & 4 deletions graphify-out/graph.html

Large diffs are not rendered by default.

Loading