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
4 changes: 4 additions & 0 deletions CHANGELOG.d/1.4.0-current-event-lineage-node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 1.4.0 Current Event Lineage node

Open Public post from the landed Demo Corp members and the popup Event
Lineage DAG marks that post current. The home DAG does not.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project are documented here. Format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versioning follows
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.0] - 2026-08-17

### Added

- Opening Public post from the landed Demo Corp members marks that
post current in the popup Event Lineage DAG, so the focused heading
has a you-are-here node. The home DAG stays unmarked. No TEPP theta
is invented. No cutoff body is invented (ADR 0016).

## [1.3.0] - 2026-08-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "1.3.0",
"version": "1.4.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@
stroke-width: 2.5;
}

.lineage-dag-node[aria-current="true"] circle {
stroke-width: 3;
stroke: canvastext;
}

.keyman-list {
list-style: none;
padding: 0;
Expand Down
10 changes: 10 additions & 0 deletions frontend/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2266,6 +2266,16 @@ describe("App, authenticated", () => {
screen.getAllByRole("heading", { name: "Event Lineage" }).length,
).toBeGreaterThanOrEqual(2);
expect(document.getElementById("post-event-lineage")).toHaveFocus();
const popup = document.querySelector(".popup-panel");
expect(popup).not.toBeNull();
expect(within(popup as HTMLElement).getByLabelText("Open post: Public post")).toHaveAttribute(
"aria-current",
"true",
);
const homeNode = screen
.getAllByLabelText("Open post: Public post")
.find((node) => !popup?.contains(node));
expect(homeNode).not.toHaveAttribute("aria-current");
} finally {
HTMLElement.prototype.scrollIntoView = originalScrollIntoView;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function EventLineageSection({
return (
<>
{scoped.nodes.length > 0 && onSelectPost && (
<LineageDag graph={scoped} onSelectPost={onSelectPost} />
<LineageDag graph={scoped} onSelectPost={onSelectPost} currentPostId={postId} />
)}
{hasLinks && (
<ul className="lineage-list">
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/LineageDag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ function truncateLabel(label: string): string {
export function LineageDag({
graph,
onSelectPost,
currentPostId,
}: {
graph: LineageGraph;
onSelectPost: (postId: string) => void;
currentPostId?: string;
}) {
const groups = layoutLineageDag(graph);
if (graph.nodes.length === 0) {
Expand Down Expand Up @@ -50,6 +52,7 @@ export function LineageDag({
})}
{group.nodes.map((node) => {
const kind = node.is_branch_point ? "branch" : node.is_root ? "root" : "node";
const isCurrent = node.id === currentPostId;
return (
<g
key={node.id}
Expand All @@ -58,6 +61,7 @@ export function LineageDag({
role="button"
tabIndex={0}
aria-label={`Open post: ${node.label}`}
aria-current={isCurrent ? "true" : undefined}
onClick={() => onSelectPost(node.id)}
onKeyDown={(event) => {
if (event.key === "Enter" || event.key === " ") {
Expand Down
2 changes: 1 addition & 1 deletion lineageweave/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
"sentence_excerpts",
]

__version__ = "1.3.0"
__version__ = "1.4.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "lineageweave"
version = "1.3.0"
version = "1.4.0"
description = "Reconstructs git-branch-style lineage DAGs from scattered short records using multi-channel score fusion and LLM adjudication."
readme = "README.md"
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.