ea 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/frontend/dist/app.iife.js +8 -8
- data/frontend/src/App.vue +6 -2
- data/frontend/src/components/AppHeader.vue +35 -8
- data/frontend/src/components/AppSidebar.vue +2 -2
- data/frontend/src/components/ClassDetails.vue +103 -120
- data/frontend/src/components/DiagramView.vue +19 -6
- data/frontend/src/components/PackageDetails.vue +67 -26
- data/frontend/src/components/PackageTreeNode.vue +25 -20
- data/frontend/src/components/SearchResults.vue +21 -8
- data/frontend/src/components/WelcomeView.vue +2 -2
- data/frontend/src/stores/dataStore.ts +142 -48
- data/frontend/src/stores/uiStore.ts +3 -4
- data/frontend/src/types.ts +160 -163
- data/lib/ea/spa/output/single_file_strategy.rb +1 -1
- data/lib/ea/spa/projector.rb +108 -6
- data/lib/ea/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8a117bfcfdfe9fe4ace5104c3db01fc2ee338bc8a49654be3a5dd8794c9ed98
|
|
4
|
+
data.tar.gz: 2cc7a8fe2d505872db1bd5ba02e2c951556838b08368ba697aafc19ae3d075d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b9d9a7fe445ba715bbf7fea49a8b20f5a29258bbed87808a4e62ebbce1a63186651d41f780e451042a7a80e4c2b41b390c070bb33f479be9a2f831348e9c748
|
|
7
|
+
data.tar.gz: d31530d3396479880099baa74bc73858229d2c6fa69108b23ddffc0bb45f550737ada00924e6a1e22c594e532d3d531745c7cfb40af226c1266291fbe9250fef
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Added
|
|
11
|
+
- `Ea::Spa::Projector` embeds model statistics (packages, classes,
|
|
12
|
+
attributes, operations, associations, diagrams) in the skeleton
|
|
13
|
+
metadata hash, restoring the stats panels in the SPA sidebar and
|
|
14
|
+
welcome view.
|
|
15
|
+
- Classifier shards now carry relationship stubs — `generalizations`,
|
|
16
|
+
`specializations`, and `associations` (with other-end id, role,
|
|
17
|
+
cardinality, aggregation) — so the SPA can render inheritance and
|
|
18
|
+
association tables without extra round trips.
|
|
19
|
+
- Diagram shards now embed the pre-rendered SVG from
|
|
20
|
+
`Ea::Svg::EaEmitter::Document`, plus skeleton entries for packages
|
|
21
|
+
and diagrams so every shard is addressable by id.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- Sharded SPA output was unbootable: `index.html` published
|
|
25
|
+
`__SPA_SKELETON_URL__`/`__SPA_SEARCH_URL__`/`__SPA_SHARD_BASE__`
|
|
26
|
+
globals that the frontend bundle never read (and no shard loader
|
|
27
|
+
existed). The frontend now boots from skeleton.json + search.json
|
|
28
|
+
and lazily fetches shards with per-request dedupe and bounded
|
|
29
|
+
concurrency.
|
|
30
|
+
- Single-file SPA embedded the skeleton entries under
|
|
31
|
+
`skeletonEntries` while skeleton.json used `entries`; both now
|
|
32
|
+
emit `entries`.
|
|
33
|
+
- Package tree `childIds`/`classifierIds`/`diagramIds` and the
|
|
34
|
+
package shard payload now derive children/classifiers/diagrams
|
|
35
|
+
from the document (`parent_id`, `package_id` links) — the parser
|
|
36
|
+
leaves `Package#sub_package_ids`, `Package#classifier_ids`, and
|
|
37
|
+
`Package#diagram_ids` empty, which flattened the whole tree under
|
|
38
|
+
an empty root.
|
|
39
|
+
- SPA views (class/package/diagram details, tree, search modal) are
|
|
40
|
+
rewired to the `Ea::Model` shard payload shape; the header search
|
|
41
|
+
modal now actually queries the search index.
|
|
42
|
+
|
|
10
43
|
## [0.5.1] — 2026-08-03
|
|
11
44
|
|
|
12
45
|
### Added
|