Timeline Component Working Group #184
Replies: 4 comments 2 replies
-
I am currently using 'dhtmlx-gantt' to make my timeline visualizations. The major draw back I am having with dhtml-gantt is it contains a lot of inline styles and scripts which aren't configurable to be compliant with our new Content Security Policy. It is also just a gantt chart so there is a good amount of configuring I need to do to make it function like a timeline. Your Timeline component would be a nice replacement. One limitation I can see with your Timeline component is that it doesn't support different time intervals and ranges. Along with being able to see past events, I am happy to see that you are already discussing those features. As mentioned above, the ability to have the Timeline component follow a Content Security Policy without 'unsafe' parameters is also desirable. |
Beta Was this translation helpful? Give feedback.
-
We're excited to release the first alpha for Timeline and would love to get as much feedback as possible. You can install it today under the timeline-alpha.0 tag by:
Documentation for the new Timeline can be found at https://deploy-preview-225--astro-stencil.netlify.app/?path=/docs/components-timeline--default-story Example project: https://codesandbox.io/s/dreamy-bartik-socoi?file=/src/App.js NOTE: This is NOT production ready and contains almost zero styling. Also if you're running your application in watch mode, you may need to manually refresh your page if things aren't rendering as you'd expect. Questions:
|
Beta Was this translation helpful? Give feedback.
-
We've just released
Since this is heavily tied to styling, we felt like a shadow part would be the best choice to give control over the overall height, but we're definitely open to suggestions. For example, we could add a prop, but that would give you less freedom. With a part, you can choose min-height, max-height, height, etc. |
Beta Was this translation helpful? Give feedback.
-
Post-rc, we're planning on merging this into 6.X as an 'experimental' or 'beta' status component which means that it will not adhere to our semvar versioning. In other words, we may publish breaking changes to Timeline during minor/patch releases for 6.X.X. More details about that to come. |
Beta Was this translation helpful? Give feedback.
-
We're currently working on building out the Timeline component and would love to hear from the community as we start drafting out the API spec.
Current Alpha Release: timeline-alpha.2
npm install @astrouxds/astro-web-components@timeline-alpha.2
npm install @astrouxds/react@timeline-alpha.2
npm install @astrouxds/astro-web-components@timeline-alpha.2
timeline-alpha.2 changelog
position
property toplayhead
rux-time-region
as a QOL for displaying Astro status icons and associated border colorsselected
prop torux-time-region
to visually display the selected stateRoadmap
Beta Was this translation helpful? Give feedback.
All reactions