Conversation
Co-authored-by: AlexHedley <1573469+AlexHedley@users.noreply.github.com> Agent-Logs-Url: https://github.com/AlexHedley/blashing/sessions/2c65fc14-314f-4d0a-9971-4b92359a5424
|
@copilot add an example to AdditionalWidgets.razor |
Co-authored-by: AlexHedley <1573469+AlexHedley@users.noreply.github.com> Agent-Logs-Url: https://github.com/AlexHedley/blashing/sessions/c0d7c59f-28bb-43f8-9d26-384ac4054e22
|
@copilot show the example as a screenshot |
Here's the |
|
@copilot make the timeline look like the original widget |
Co-authored-by: AlexHedley <1573469+AlexHedley@users.noreply.github.com> Agent-Logs-Url: https://github.com/AlexHedley/blashing/sessions/8ac1a905-5d06-4e7a-a9d3-f502e0fcbba5
Done in 17e1768. The timeline now mirrors the original dashing-timeline layout — the date is right-aligned on the left of the vertical line, the yellow dot sits centred on the line, and the event title appears to the right. The vertical line itself is also centred horizontally within the widget. |
|
@copilot add a border around the points and show different colours for different items |
Co-authored-by: AlexHedley <1573469+AlexHedley@users.noreply.github.com> Agent-Logs-Url: https://github.com/AlexHedley/blashing/sessions/3fcaea2e-a675-4f95-a5f6-d3f160650967
Co-authored-by: AlexHedley <1573469+AlexHedley@users.noreply.github.com> Agent-Logs-Url: https://github.com/AlexHedley/blashing/sessions/3fcaea2e-a675-4f95-a5f6-d3f160650967
Done in 08b6c4d. Each dot now has a white semi-transparent border ring ( new("09:00", "Stand-up", "#E8F770"), // yellow
new("10:30", "Code Review", "#54C7EC"), // blue
new("14:00", "Deploy", "#FF6B6B"), // red
new("16:30", "Retrospective", "#54EC7B"), // green |




Adds a Timeline widget to
Blashing.Widgets, porting the dashing-timeline community widget to Blazor as a pure HTML/CSS implementation.New files
Timeline/TimelineItem.cs—record TimelineItem(string Date, string Title, string? Color = null)Timeline/TimelineWidget.razor[.cs/.css/.scss]— Blazor component inheritingBaseWidget; renders a vertical timeline list with dot markers, a centred connecting line, date labels on the left, and event titles on the rightTimeline/_/— Original dashing.html,.scss,.coffeesources preserved as referenceBlashing.Widgets.Tests/TimelineWidgetTest.cs— Markup and parameter-binding testsBlashing.Stories/Stories/TimelineWidget.stories.razor— Stories entryBlashing.Shared/Pages/AdditionalWidgets.razor— AddedTimelineWidgetexample in both the inline section and the dashboard gridBlashing.Shared/_Imports.razor— Added@using Blashing.Widgets.Timeline;Widget details
Default background
#4b4b4b, timeline line/dots#E8F770— matching the original widget's colour scheme.The layout mirrors the original dashing-timeline: each row uses flexbox with the date right-aligned on the left, a dot centred on the vertical line, and the event title on the right. Each dot has a white semi-transparent border ring and supports an optional per-item colour via the
Colorproperty onTimelineItem(falls back to#E8F770when not set).Preview
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.