flatware
flatware copied to clipboard
Add support for prettyColumns
Having researched this issue a fair bit now, I'm pretty certain the reason prettyColumns break when using Flatware is because Flatware doesn't pull the extra sheet with the pretty column names. From the Tabletop.js README:
prettyColumnNames can be true or false (default to true). Since Google doesn't pass us exactly the same column names as in the header ('$ Processed' becomes 'processed'), it takes an extra request to correct them. If you don't want the extra request, you'll want to set it to false
See the unfriendly_headers example for more info. Only works for newer Google Sheets.
Emphasis mine.
I went the easy route and removed the true
default for Tabletop (only in the instance of a proxy). I'll leave this open in case someone wants to fix, though.