You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simple issue. I did not have any good tools with me and I needed to check the changes into landscape. So I opened it in browser and got something like this even on powerful laptop:
It means that it is difficult to operate with the file when it's size over 500k.
I think it would be nice to split all records by some logic. Let's propose the alphabet. I think it would give almost uniform distribution and it would make changes to the file easier as maintainers ask to keep the alphabetical sort in single file. I don't see any disadvantages. Probably the only thing is that potential contributor could mess with the letters and add a new product starting from (just example) A letter in the file where only names starting from B letter are present. But it could be easily handled by automation.
So finally:
now we have a single landscape.yaml
lets' split it into landscape-a.yaml, landscape-b.yaml ... ``landscape-z.yaml` files
if we need to generate site, just combine programatically all files and process them as it was done before.
The text was updated successfully, but these errors were encountered:
Good day!
The simple issue. I did not have any good tools with me and I needed to check the changes into landscape. So I opened it in browser and got something like this even on powerful laptop:
It means that it is difficult to operate with the file when it's size over 500k.
I think it would be nice to split all records by some logic. Let's propose the alphabet. I think it would give almost uniform distribution and it would make changes to the file easier as maintainers ask to keep the alphabetical sort in single file. I don't see any disadvantages. Probably the only thing is that potential contributor could mess with the letters and add a new product starting from (just example) A letter in the file where only names starting from B letter are present. But it could be easily handled by automation.
So finally:
landscape.yaml
landscape-a.yaml
,landscape-b.yaml
... ``landscape-z.yaml` filesThe text was updated successfully, but these errors were encountered: