@@ -3,15 +3,15 @@ import SharedCanvas from '../../../../../src/app/SharedCanvas.mjs';
33/**
44 * @summary The "Coordinator" component for the Neural Timeline, bridging the App Worker and Canvas Worker.
55 *
6- * This component renders a transparent canvas overlay on top of the Ticket List . It is responsible for:
7- * 1. **Data Bridge**: Listening to the `sections` store and passing ticket data to the `TimelineCanvas` (SharedWorker).
6+ * This component renders a transparent canvas overlay on top of the content list . It is responsible for:
7+ * 1. **Data Bridge**: Listening to the `sections` store and passing record data to the `TimelineCanvas` (SharedWorker).
88 * 2. **Visual Alignment**: Calculating the precise DOM positions of Ticket Avatars/Badges to ensure the
99 * canvas nodes align perfectly with the HTML content.
1010 * 3. **Lifecycle Management**: initializing the offscreen canvas transfer and handling resize events.
1111 *
1212 * It uses the `Portal.canvas.TimelineCanvas` singleton (via Remote Method Access) to drive the actual animation.
1313 *
14- * @class Portal.view.news.tickets .TimelineCanvas
14+ * @class Portal.view.content .TimelineCanvas
1515 * @extends Neo.app.SharedCanvas
1616 */
1717class TimelineCanvas extends SharedCanvas {
@@ -27,10 +27,10 @@ class TimelineCanvas extends SharedCanvas {
2727
2828 static config = {
2929 /**
30- * @member {String} className='Portal.view.news.tickets .TimelineCanvas'
30+ * @member {String} className='Portal.view.content .TimelineCanvas'
3131 * @protected
3232 */
33- className : 'Portal.view.news.tickets .TimelineCanvas' ,
33+ className : 'Portal.view.content .TimelineCanvas' ,
3434 /**
3535 * @member {String} rendererClassName='Portal.canvas.TimelineCanvas'
3636 */
@@ -43,7 +43,7 @@ class TimelineCanvas extends SharedCanvas {
4343 * @member {Object} _vdom
4444 */
4545 _vdom :
46- { tag : 'div' , cls : [ 'neo-ticket- timeline-wrapper' ] , style : { width : '100%' , height : '100%' } , cn : [
46+ { tag : 'div' , cls : [ 'neo-timeline-wrapper' ] , style : { width : '100%' , height : '100%' } , cn : [
4747 { tag : 'canvas' , style : { width : '100%' , height : '100%' } }
4848 ] }
4949 }
@@ -143,7 +143,7 @@ class TimelineCanvas extends SharedCanvas {
143143 * This method synchronizes the Canvas nodes with the DOM elements (Avatars/Badges).
144144 *
145145 * **Strategy:**
146- * 1. **Targeting**: It uses the `-target` ID suffix to find the specific DOM elements (Avatars) within the ticket list.
146+ * 1. **Targeting**: It uses the `-target` ID suffix to find the specific DOM elements (Avatars) within the content list.
147147 * 2. **Measurement**: It fetches the `DOMRect` for every target to get its exact screen position.
148148 * 3. **Translation**: It converts these screen coordinates into Canvas-local coordinates.
149149 * 4. **Handoff**: It packages this geometric data (x, y, radius, color) and sends it to the
0 commit comments