-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add watercooler to community settings #4823
Conversation
I wouldn't mind if this is a bit slower if it means we don't have to add another index to the threads table...that table already has a lot of indexes. Why not just a |
That is much more database intensive than just adding another index 😅 The only tradeoff of using an index is that it uses up more storage, but we are not even close to strapped for hard drive disk space at all, so it should be fine to add another one. |
Fair, but it does impact writes to that table the more we add there. Although we're probably still small enough that this doesn't matter right now. |
That's fair, but I think given how high our percentage of reads vs. writes is adding an index is a worthy tradeoff in most cases. I have added a |
@brianlovin this is ready for a review! 🎉 |
Awesome! @mxstbr can you poke at that e2e failure, and then I'll test :D |
Done, this is ready for a test & review! 👍 |
@mxstbr I pushed some tweaks, the biggest of which is I don't auto-redirect when enabled. This was super jarring for me. Instead, let's just show a button so they can open it if they want, otherwise they can keep editing other settings. |
Nice experience polish |
Status
Deploy after merge (delete what needn't be deployed)
Related issues (delete if you don't know of any)
Closes #4799
Todo
enableCommunityWatercooler
mutation to backenddisableCommunityWatercooler
mutation to backend