Closed goblinodds closed 1 year ago
@Telofy
Just realized I included my questions in the commit but probably should've put them here instead:
Do we want different placeholder text for each tab? I changed the universal one to “Type your comment here." for now.
I handled replies by including "REPLY" as a category; does this work or would it be better for replies to have categories that match the category of what they're replies to?
The "bounty" page only has a Q&A tab but typescript of course wanted a "category," so I used the same code as in the project page but without the filter. (Included a comment so it's easy to remember this in case we want to add more tabs.)
I'm not confident how this handles existing comments; the model sets comments to the "COMMENT" category by default, but is it possible previous comments will get filtered out bc their category will still be undefined?
Re: line 48 of addCommentForm.tsx. I tried logging to the console in one of the onSuccess functions but nothing ever seems to get logged. Is that function working?
I haven’t thought much about the names of the fields and values, so feel free to pick something better. :-)