Commit 62b2655
committed
feat(services): Explorer hardening + AddressableIds freshness + AssetResolver full coverage
- AddressableIds tab: persisted last-generation snapshot in
AddressableIdsEditorSettings (sorted address/label arrays + timestamp
+ filename/label-filter used). New cheap-tier ComputeFreshness
(file-stat only) drives a color-coded freshness banner on every
Refresh; new expensive-tier Diff (GetAssetList + ProcessData) runs
only on the user's "Check for stale Ids" button click and renders
added/removed/warning lists in a Foldout.
- Services Explorer hardening: ServiceTab gains MakeStickyFoldout (per-
tab persisted collapsed state, with evt.target == foldout filter to
block ChangeEvent<bool> bubbling through nested foldouts) and
TryShortCircuitRefresh (digest-based early-out to avoid destroying
mouse-captured VisualElements mid-click). AssetResolverTab and
MessageBrokerTab adopt both; AssetResolverTab's destructive toggle
invalidates the digest on change.
- AssetResolver sample now exercises all three Explorer tabs the
ServicesPlayground does not cover: AssetResolverExample binds
IAssetResolverService through MainInstaller (populates Asset
Resolver tab live); new SpriteConfigsImporter surfaces a sample
row in the Assets Importer tab; post-processor applies
'services-sample-asset-resolver' label so Addressable Ids tab can
demo a sample-scoped Generate. Adds a sample-runtime asmdef + an
in-scene "Open Services Explorer" button that jumps to the
AssetResolver tab via a sample-scoped editor menu.
- Confirmed the AssetResolver "removing the dedicated group is the
user's undo" design after a self-cleanup attempt was found
structurally impossible (Unity recompiles before firing
OnPostprocessAllAssets for deletions, dropping the post-processor
class itself). Documented in AGENTS.md so the dead pattern is not
re-attempted.
Folds all of the above into the unreleased ## [2.0.0] CHANGELOG entry
per the pre-publication versioning policy.
Made-with: Cursor1 parent c7351ed commit 62b2655
15 files changed
Lines changed: 1333 additions & 104 deletions
File tree
- Editor
- AddressableIds
- Explorer/Tabs
- Samples~/AssetResolver
- Editor
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
69 | 138 | | |
70 | 139 | | |
71 | 140 | | |
| |||
0 commit comments