I need to create a dump of comments and I don’t see any reason to go to the trouble and overhead of using a repeating group. Instead I’m using a text group and just constructing a block of text out of the text from the comments.
That worked when all I tried to do was join the text of each comment with a line break. I used this:
Parent group’s actions’s comments’s body join with “line_break”
PRO TIP: you can select “join with” from the expression builder and then type “line_break” to get each piece of text on a new line.
Now I’d like to have the user’s name added before the text on each line. So something like (action’s comment’s creator’s display_name + comment’s body) + line_break
Here are the relevant things:
Thing is that “join with” takes a Bubble list and returns a single string of text concatenated with the separator.
What I want to do is follow the structure of the list of comments, joined with “line_break”, but to first concatenate the comment’s creator’s display_name onto the comment’s body. I can’t just have a text cell with that already done because the user can change their display_name whenever they want.
So far it’s easy to get a list of comment bodys, or a list of commentor names, but getting a list of name+body is escaping me.