-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: row renderer #656
Comments
I need so opinions on this. I will mention the people who are active or faced an issue related to this fix on this repo but this is public discussion. |
I have been following the RFC. It is a excellent work done. We have to distinguish the core timeline and the custom plugins i.e the custom layers. We also need to keep in mind the custom layers keeps the core timeline work as it is of today. |
@prh7 could you please elaborate on what do you mean by distinguishing the core? |
Hi and thanks for this great job. This rowRenderer will allow virtualization? Thus improving rendering performance? |
@Ilaiwi - The core means to keep the code library as it is of today. Extending the core with custom plugins/layers with least minimal changes being made to the core. This way I think we can avoid introducing new bugs when we implement our custom plugins/layers. |
@jabidof there will be several performance bosts but it has to do more of trying to eliminate expensive calculations/renderers rather than through vertical rendereing. |
@prh7 Till now I am trying my best to keep the core code intact. But in reality, some code had to be changed (I hope to the better). |
If you need help testing, please let me know. And thanks for your efforts, the timeline is great! |
I can help with testing. Thanks.😊 |
@Ilaiwi |
@jabidof @prh7 @arturcarvalho I will release a todo list soon with all the things needed to get this to master. Please let me know what do you think any try some of the new examples |
Hi @Ilaiwi, thanks for this great component and for the row renderer. We're using it to add drag-and-drop from another div in the page to add item to the timeline. The one thing we're not sure how to do is to be able to drop to a specific time ; i.e. right now we don't have any info as to where the item is in terms of date/time. So we place it at today/today+5 hours but I'm wondering if you have a solution in mind to this? |
@cosmith Check this: #156 (comment) |
@cosmith You can do that using timeline ref and the drop event. The rough idea is that it would figure out @msand I've been over your solution so many times dude and it is great! This new feature aims to get a better solution using the library's public primitives and API. I haven't tried your solution with this new row renderer but it might be broken or maybe break in the near future. If you could help us to get this solution done using the |
Thanks @Ilaiwi , we'll try it out and let you know :) |
First of all, thanks @Ilaiwi. Your work is really appreciated. |
@meengit Thanks for reporting this. I will take a look at the bug soon. And sure here works. I would appreciate any feedback I can get |
Hi @Ilaiwi, Thanks for all the work, I really like this component. Is there any update on this feature? I want to use it to have more control over row/item heights and, in the future, to drag and drop activities on the timeline. Do you have any idea when this will be released? |
@jeuhen Hey man. I am sorry but this doen't have a release date yet |
I think the group custom height is not working with {
id: 1,
title: 'group 1',
rightTitle: 'title in the right sidebar',
stackItems?: true,
height?: 30 <---- This one
} |
@megasus I've found a fix for Lines 219 and 238 always use
seems to bring back the correct behavior. |
@danielcruser target branch should be |
the rowRenderer branch seems to be a lot behind the master, is this still in development? I'd love the idea to add a drag n'drop from outside |
We've tried to resolve conflicts from master and merged the rowrenderer work into a fork we have here: https://github.com/routific/react-calendar-timeline, there's a lot of great work from @Ilaiwi that we're trying to utilize; We're doing some testing now but aside from a few small issues we've fixed it largely seems stable. Once we've finished testing we'll happily open a PR to this original master with conflicts resolved for consideration. |
@sjustason could you email me at [email protected] ? would love to speak a bit about your guy's work |
@sjustason @Ilaiwi Great to see that this is still being worked on. Is there already a plan to bring this back to the main line or are you still testing/developing? |
Is there any update for this feature? We already use it with an older version of the package, it would be great to use it in the latest version. |
Is your feature request related to a problem? Please describe.
Add an API to the calendar part of the timeline. This API would give you control to add custom UI on calendar rows using a render prop. You can control what is rendered by default with the library like Items and Vertical/Horizontal lines, and the renderer will provide you the ability to render custom backgrounds and droppable layers for custom dnd
Describe the solution you'd like
Describe alternatives you've considered
keep the plugin system (undocumented)
Additional context
Check out the full RFC:
https://github.com/namespace-ee/react-calendar-timeline/blob/rowRenderer/rfcs/row-renderer/index.md
Checkout prototype at the
row-renderer
branch on the repoThe text was updated successfully, but these errors were encountered: