GSoC Week: 11 and 12
These two weeks, I worked on the additional suggested changes for Infinite Scrolling.
I added up the template design suggested in order to later add tombstones into the project. The tombstones would be placeholders for the rows that haven’t loaded yet in cases of longer rendering period.
The rows are now added to the DOM using the set row template. The row template contains the code for the creation of the index, star, and flag elements along with the addition of the required number of cells for the said row. We clone rows from this template during loadRows()
method and then do the required checking for stars and flags and addition of the value of the index and other cells of that row.
The facet restructuring PR is merged now. It uses inheritance to extend different facet types from the base facet class which contains the code for functions to minimize, remove, and dispose. Additional functions specific to each facet type remain in their specific classes. I also cleaned up some functions that did not have any use.
Next steps
As GSoC gets over, there are still some changes to add. The priority would be to fix the rendering when page size is smaller than the screen size. And the next step would be to add tombstones for rendering delays.