Default favorites have been deleted, how do I reset them?
Ever since I tried enabling the IS_AI_ENABLED feature flag, I've been unable to disable it. I got the idea from this post. Furthermore, the AI configuration was never fully working so it's stuck in a half broken state.
More Importantly -> the default favorites were deleted from my local workspaces when I enabled this flag, hence the reason for the context above.
Resources checked:
- https://discord.com/channels/1130383047699738754/1394813984317640784
- https://discord.com/channels/1130383047699738754/1353514107382272071)
- https://discord.com/channels/1130383047699738754/1130383048173682821/1408902665533915279
I appreciate @prastoin 's presence on all of these ❤️
I'm mainly confused on how this is working with only a seemingly random entry, with the only unique id being for a view in a workspace. Why do the default favorites get deleted? It seems uncommon, but clearly not unheard of.
Additionally, is there a script that would make this manual task a bit easier?


3 Replies
I'm confused because I can see that each workspace actually has a list of favorites
Here are the list of favorites in DB


Hey @Zoleeta, thanks for the detailled post
From my understanding you got your default views corrupted after trying to enable feature flag guarded beta AI features
1/ Disabling the feature flag
You should be able to toggle the feature flag value from true to false in database the same way you did to enable it
2/ Missing default view
I'm not sure how this happened, and I don't think we should investigate further more as this could come from sql queries you've found while debugging the first step
Also the AI feature hasn't passed QA yet, as it's still feature flag guarder.
But when about to be released we will be looking for any related side effect on workspace favorite folders for sure
3/ Fixing default view on the left
You need to manually re-create favorite row manually for each object of your workspace instance with a
forWorkspaceMemberId to NULL
You can create a dummy custom object which get a an equivalent row created as an example