Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove favorite folder related feature flags #9178

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

ehconitin
Copy link
Contributor

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR removes feature flag controls for favorite folders functionality across the frontend and backend, making it a permanent feature rather than conditionally enabled.

  • Removed IS_FAVORITE_FOLDER_ENABLED and IS_FAVORITE_FOLDER_ENTITY_ENABLED from packages/twenty-front/src/modules/workspace/types/FeatureFlagKey.ts and corresponding server enums
  • Merged PrefetchFavoriteFoldersRunQueriesEffect into packages/twenty-front/src/modules/prefetch/components/PrefetchRunQueriesEffect.tsx to consolidate prefetching logic
  • Removed feature flag gates from workspace entities in packages/twenty-server/src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity.ts and related files
  • Simplified loading states in packages/twenty-front/src/modules/prefetch/hooks/useIsPrefetchLoading.ts to always include favorite folders prefetching
  • Removed feature flag seeds from packages/twenty-server/src/database/typeorm-seeds/core/feature-flags.ts since the functionality is now permanent

16 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Weiko Weiko merged commit 3eff317 into twentyhq:main Dec 23, 2024
20 checks passed
Copy link

Thanks @ehconitin for your contribution!
This marks your 80th PR on the repo. You're top 1% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

samyakpiya pushed a commit to samyakpiya/twenty that referenced this pull request Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants