Skip to content

Conversation

umbobabo
Copy link
Contributor

@umbobabo umbobabo commented Sep 22, 2025

Create a timeline and timeline-event nodes so we can move timeline name out of the Layout node. We want to move away from experimental tags that requires to discontinue the usage of Layouts from the bodyXML.

@umbobabo umbobabo requested review from a team as code owners September 22, 2025 14:22
README.md Outdated
### Timeline

```ts
type TimelineLayoutWidth = Extract<LayoutWidth, "full-width" | "inset-left">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@todor-videv1 I would like to avoid the empty string here, we can perhaps fix old content with the full-width value and keep this strict.

@umbobabo umbobabo force-pushed the CI-3097 branch 2 times, most recently from 7943d0e to d0fcdee Compare September 23, 2025 11:34
}
interface TimelineEvent extends Parent {
type: "timeline-event";
dateLabel: string;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with @adgad

Suggested change
dateLabel: string;
title: string;

interface TimelineEvent extends Parent {
type: "timeline-event";
dateLabel: string;
children: Paragraph[];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with @adgad to support ImageSet as child here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants