BobaBoard / issues

BobaBoard issue tracking
2 stars 0 forks source link

Allow minimizing current reply #106

Closed essential-randomness closed 2 years ago

essential-randomness commented 2 years ago

Some tidbits from the Discord discussion between @essential-randomness and @virtuous-cat

I was wondering if maybe we could do a quick and dirty temporary fix for "minimizing" the editor where we just add a button to the top of the modal that translates the whole open modal 60vh down the page or something, until we have time to get back to the more complicated stuff

Open questions

how do we show whatever you're currently replying to?

Possible fix:

Add an outline, maybe same red as is flashed when the star button scrolls you to the next new reply?

what happens if you try to reply to another thing?

either nothing (I believe this is the case if we didn't change the current code because https://github.com/essential-randomness/boba-frontend/blob/4b791ff6e86c0ea9ef164e2e787e3dcab14132c8/components/editors/EditorsContext.tsx#L13), or it acts as though your closing the modal and pops up the "Are you sure? (cancel) (exterminate)" dialogue -> if you exterminate it closes this editor and opens a new one

Note: for a first implementation we should not allow the user to leave the page with a minimized editor