datenhahn / componentrenderer

A ComponentRenderer for the Vaadin Grid
Apache License 2.0
6 stars 8 forks source link

Porting ComponentRenderer to Vaadin 8 #35

Closed datenhahn closed 7 years ago

datenhahn commented 7 years ago

With Vaadin 8 coming up, it is time to port the ComponentRenderer to Vaadin 8

Some thoughts about porting:

  1. Try to just make it work as similar as possible like before
  2. Analyse how Grid Component changed from Vaadin 7 to Vaadin 8
  3. Try to throw away workarounds and make it feel natural to Vaadin 8 concepts
  4. Think about a soft migration path and write tutorial for migration

The goal is to make migration soft for current Users, but also to embrace Vaadin 8 concepts. A couple of possibilities come in mind:

datenhahn commented 7 years ago

I will update the status here from time to time.

Current Status:

mht-dotsource commented 7 years ago

Hi @datenhahn, do you have a roadmap? When will the branch released? Ty

datenhahn commented 7 years ago

Hi @mht-dotsource ,

I changed my approach and used the vaadin compatibility layer for now. Please note that I consider this status still experimental as there might appear some bugs when used in reallife projects with vaadin 8. After a couple of months I would move it to beta, then again after some months without bugs to stable. Anyway I would be happy if you try it out and report if you encounter bugs:

https://vaadin.com/directory#!addon/componentrenderer

I also wrote a blog-post mentioning some small pitfalls I encountered during the migration. Overall it was pretty straightforward: https://iniy.org/?p=662

datenhahn commented 7 years ago

Closing this ticket as the renderer is ported to Vaadin 8 albeit using the compatibility layer. Vaadin announced to support components in the grid from Vaadin 8.1 on. maybe I still will do a full rewrite of the renderer just for fun (opened ticket #36)