Twin-Cities-Mutual-Aid / twin-cities-aid-distribution-locations

A webapp to coordinate aid and care in the Twin Cities.
43 stars 32 forks source link

Create a way to put line breaks into map popups #231

Closed comeoneileen closed 4 years ago

comeoneileen commented 4 years ago

This came up in #195, which is a bigger issue for more discussion and design, but I'd love to see someone pick up this very concrete piece: some notes get really long. A way to add newlines would be really useful.

We're splitting text up into multiple paragraphs in the spreadsheet, so the easiest solution from the data entry side would be to be able to pull those in, if that's possible. However, we could definitely implement something like "start each new paragraph with >" or...something, another character unlikely to be used in text.

Or maybe someone who actually knows how the pulling-text-from-Sheets bit works has a better idea. But either way let's do it.

comeoneileen commented 4 years ago

It appears I was too hasty in closing this - it looks like it's only catching the first instance of a line break in each column rather than all of them. @amaxama, do you have time this week to take another look at this?