Skip to content

docs: Document the model visualization contract (service-module + platform layers) - #2568

Open
oemebamo wants to merge 5 commits into
TimefoldAI:mainfrom
oemebamo:timefold-solver-enterprise-issues-815
Open

oemebamo wants to merge 5 commits into
TimefoldAI:mainfrom
oemebamo:timefold-solver-enterprise-issues-815

Conversation

@oemebamo

@oemebamo oemebamo commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Comment thread docs/src/modules/ROOT/pages/deploying-to-platform/visualization.adoc Outdated
[#_calling_your_api_from_the_iframe]
== Calling your model's API from inside the iframe

The platform injects the following query parameters into the iframe's `src` URL:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is no longer the main case. Yes it works, but the new one is by using messages between the frames. @oemebamo, want me to take this PR to the finish line?

timefold.model.visualization.pages[1].label=Gantt chart
----

Each declared page has three required fields; omitting any of them fails the build.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How does this help with routing? Are pages a new concept introduced with the specific front-end components? Is the KEY also a tab in the UI?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this required now? Or if this is not supplied, does it use "visualization" for whatever is in the UI folder?

@TomCools TomCools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See other comments

@triceo
triceo removed the request for review from rsynek August 28, 2026 12:21
@oemebamo

Copy link
Copy Markdown
Collaborator Author

Feedback from @muellerd that's useful to incorporate here:

Daniel Mueller at 2026-08-20 10:12 AM When working on the visualization, I was not sure what is feasible for the platform to handle/show. For the household pto planner, I wanted to be able to show detailed information if you click on a day of the calendar. I was thinking about either a popup or something like a sidebar where the information can be shown. Due to the fact that I didn’t know if a sidebar was possible, I went for the popup.

@triceo
triceo requested review from rsynek and removed request for triceo August 31, 2026 18:18

This branch was successfully deployed

1 active and 1 inactive deployments
documentation (preview) 3a707e99 Deployed Sep 10, 2026 by oemebamo via Build Documentation #687
internal 3a707e99 Deployed Sep 10, 2026 by oemebamo via approval_required #687
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.

3 participants