Skip to content

[WEB-4354] fix: moved fetch-keys constants to packages #7239

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

Open
wants to merge 1 commit into
base: preview
Choose a base branch
from

Conversation

gakshita
Copy link
Collaborator

@gakshita gakshita commented Jun 19, 2025

Description

Moved fetch-keys constants to packages

Summary by CodeRabbit

  • Chores
    • Consolidated imports of various constants across the app to use a centralized shared module, improving maintainability and consistency.
    • Updated import paths for constants in multiple components and pages without affecting any user-facing functionality or app behavior.

Copy link
Contributor

coderabbitai bot commented Jun 19, 2025

Walkthrough

A central export for fetch key constants was added to the shared constants package. All usages throughout the codebase were updated to import these constants from the shared package instead of local or relative paths. This change standardizes and consolidates the import of constants across multiple modules and components.

Changes

Files/Groups Change Summary
packages/constants/src/index.ts Added export for all from ./fetch-keys
web/app/.../profile/[userId]/layout.tsx, web/app/.../profile/[userId]/page.tsx Updated imports of user profile constants to use @plane/constants
web/app/.../archives/issues/(detail)/header.tsx, web/app/.../settings/account/api-tokens/page.tsx, web/app/.../workspace-invitations/page.tsx Changed fetch key imports to @plane/constants
web/app/.../settings/(workspace)/integrations/page.tsx, web/core/components/integration/single-integration-card.tsx Consolidated constants imports to @plane/constants
web/app/.../invitations/page.tsx, web/app/.../onboarding/page.tsx Moved USER_WORKSPACES_LIST import to @plane/constants
web/core/components/api-token/delete-token-modal.tsx, web/core/components/api-token/modal/create-token-modal.tsx Updated API_TOKENS_LIST import to @plane/constants; reorganized import comments
web/core/components/cycles/active-cycle/use-cycles-details.ts Changed CYCLE_ISSUES_WITH_PARAMS import to @plane/constants
web/core/components/exporter/guide.tsx, web/core/components/exporter/prev-exports.tsx Updated EXPORT_SERVICES_LIST import to @plane/constants
web/core/components/integration/delete-import-modal.tsx, web/core/components/integration/guide.tsx, web/core/components/integration/jira/root.tsx Moved IMPORTER_SERVICES_LIST import to @plane/constants
web/core/components/integration/github/root.tsx Moved multiple constants imports to @plane/constants
web/core/components/integration/github/repo-details.tsx, web/core/components/integration/slack/select-channel.tsx Updated single constant import to @plane/constants
web/core/components/integration/github/single-user-select.tsx, web/core/components/integration/jira/import-users.tsx Updated WORKSPACE_MEMBERS import to @plane/constants
web/core/components/integration/jira/jira-project-detail.tsx Changed JIRA_IMPORTER_DETAIL import to @plane/constants
web/core/components/profile/activity/profile-activity-list.tsx Changed USER_ACTIVITY import to @plane/constants; removed unused import
web/core/components/profile/activity/workspace-activity-list.tsx, web/core/components/profile/overview/activity.tsx Changed USER_PROFILE_ACTIVITY import to @plane/constants; minor import reordering/formatting
web/core/components/project/integration-card.tsx Changed PROJECT_GITHUB_REPOSITORY import to @plane/constants
web/core/components/project/project-settings-member-defaults.tsx Changed PROJECT_MEMBERS import to @plane/constants

Poem

🐇
From scattered keys in every nook,
To one shared place, a tidy look!
Constants now in harmony,
Imports clean as they can be.
A hop, a skip, a tidy sweep—
This bunny’s code is neat and deep!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eb5ffeb and 3f8b62e.

📒 Files selected for processing (29)
  • packages/constants/src/index.ts (1 hunks)
  • web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx (1 hunks)
  • web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx (1 hunks)
  • web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx (1 hunks)
  • web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx (1 hunks)
  • web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx (1 hunks)
  • web/app/(all)/invitations/page.tsx (1 hunks)
  • web/app/(all)/onboarding/page.tsx (1 hunks)
  • web/app/(all)/workspace-invitations/page.tsx (1 hunks)
  • web/core/components/api-token/delete-token-modal.tsx (1 hunks)
  • web/core/components/api-token/modal/create-token-modal.tsx (1 hunks)
  • web/core/components/cycles/active-cycle/use-cycles-details.ts (1 hunks)
  • web/core/components/exporter/guide.tsx (1 hunks)
  • web/core/components/exporter/prev-exports.tsx (1 hunks)
  • web/core/components/integration/delete-import-modal.tsx (1 hunks)
  • web/core/components/integration/github/repo-details.tsx (1 hunks)
  • web/core/components/integration/github/root.tsx (1 hunks)
  • web/core/components/integration/github/single-user-select.tsx (1 hunks)
  • web/core/components/integration/guide.tsx (2 hunks)
  • web/core/components/integration/jira/import-users.tsx (1 hunks)
  • web/core/components/integration/jira/jira-project-detail.tsx (1 hunks)
  • web/core/components/integration/jira/root.tsx (1 hunks)
  • web/core/components/integration/single-integration-card.tsx (1 hunks)
  • web/core/components/integration/slack/select-channel.tsx (1 hunks)
  • web/core/components/profile/activity/profile-activity-list.tsx (1 hunks)
  • web/core/components/profile/activity/workspace-activity-list.tsx (1 hunks)
  • web/core/components/profile/overview/activity.tsx (2 hunks)
  • web/core/components/project/integration-card.tsx (1 hunks)
  • web/core/components/project/project-settings-member-defaults.tsx (1 hunks)
🔇 Additional comments (30)
web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx (1)

7-7: Standardize import for API_TOKENS_LIST.
Updated the import to pull this constant from the centralized @plane/constants package, aligning with the refactor to consolidate fetch-keys.

web/core/components/integration/github/single-user-select.tsx (1)

6-6: Standardize import for WORKSPACE_MEMBERS.
Switched to the centralized @plane/constants package for this fetch-key constant, consistent with the project's consolidation of constants.

web/app/(all)/workspace-invitations/page.tsx (1)

9-9: Standardize import for WORKSPACE_INVITATION.
Now importing from the unified @plane/constants package in line with the consolidated fetch-keys refactor.

web/core/components/project/integration-card.tsx (1)

8-8: Standardize import for PROJECT_GITHUB_REPOSITORY.
Aligned the import path with the new central constants package (@plane/constants) for consistency across integrations.

web/core/components/exporter/prev-exports.tsx (1)

5-5: Standardize import for EXPORT_SERVICES_LIST.
Updated to consume this fetch-key from the consolidated @plane/constants package, matching the overall refactor.

web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx (1)

7-7: LGTM! Clean import path consolidation.

The import path change from relative alias to the centralized @plane/constants package improves maintainability and consistency across the codebase. The ISSUE_DETAILS constant is properly used as an SWR cache key.

web/core/components/profile/activity/workspace-activity-list.tsx (1)

5-5: LGTM! Consistent import consolidation.

The import path change aligns with the centralization effort. The USER_PROFILE_ACTIVITY constant is properly used as an SWR cache key with appropriate parameters.

web/core/components/exporter/guide.tsx (1)

7-7: LGTM! Import path standardization.

The consolidation of EXPORT_SERVICES_LIST import to @plane/constants is consistent with the refactoring effort. The constant is properly used for SWR cache management.

web/core/components/integration/slack/select-channel.tsx (1)

8-8: LGTM! Consistent constant consolidation.

The import path change for SLACK_CHANNEL_INFO follows the same centralization pattern. The constant is properly used for both SWR data fetching and cache invalidation.

web/core/components/integration/jira/root.tsx (1)

12-12: LGTM! Final piece of the consolidation effort.

The import path change for IMPORTER_SERVICES_LIST completes the consistent refactoring pattern across all files. The constant is properly used for SWR cache invalidation after successful operations.

web/core/components/api-token/delete-token-modal.tsx (1)

5-6: LGTM! Import path updated correctly.

The import change from local path to centralized package is consistent with the PR objective.

#!/bin/bash
# Verify that API_TOKENS_LIST is exported from @plane/constants
ast-grep --pattern 'export * from "./fetch-keys"' packages/constants/src/index.ts
ast-grep --pattern 'export { $$$, API_TOKENS_LIST, $$$ }' packages/constants/src
web/core/components/api-token/modal/create-token-modal.tsx (1)

5-10: LGTM! Import consolidation and organization improved.

The import path change aligns with the centralization objective, and the comment reorganization enhances code readability.

web/core/components/integration/jira/import-users.tsx (1)

7-8: LGTM! Import path successfully centralized.

The import change from local path to @plane/constants is consistent with the refactoring objective.

web/app/(all)/onboarding/page.tsx (1)

7-7: LGTM! Multiple constants centralized efficiently.

The import consolidation of both USER_ONBOARDING_COMPLETED and USER_WORKSPACES_LIST from the centralized package is well done.

web/core/components/integration/jira/jira-project-detail.tsx (1)

11-11: ```shell
#!/bin/bash

Locate where JIRA_IMPORTER_DETAIL is defined

rg "JIRA_IMPORTER_DETAIL" -n


</details>
<details>
<summary>packages/constants/src/index.ts (1)</summary>

`38-38`: **LGTM! Enables centralized fetch-keys constants access.**

The export addition correctly centralizes access to fetch-keys constants, allowing other modules to import them from the shared package instead of using local paths.

</details>
<details>
<summary>web/core/components/integration/github/repo-details.tsx (1)</summary>

`10-11`: **LGTM! Import path correctly updated for centralization.**

The import has been properly moved to the centralized constants package, and the comment has been appropriately updated for clarity.

</details>
<details>
<summary>web/core/components/integration/github/root.tsx (1)</summary>

`10-11`: **LGTM! Constants correctly consolidated from centralized package.**

All three constants (`APP_INTEGRATIONS`, `IMPORTER_SERVICES_LIST`, `WORKSPACE_INTEGRATIONS`) are properly imported from the centralized package and are actively used throughout the component.

</details>
<details>
<summary>web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx (1)</summary>

`6-6`: **LGTM! Import consolidation improves efficiency.**

Both `GROUP_CHOICES` and `USER_PROFILE_DATA` constants are now imported from the same centralized package, reducing import statements and improving maintainability.

</details>
<details>
<summary>web/app/(all)/invitations/page.tsx (1)</summary>

`12-12`: **LGTM! All constants properly consolidated from centralized package.**

The import consolidation correctly groups all four constants (`ROLE`, `MEMBER_ACCEPTED`, `EUserPermissions`, `USER_WORKSPACES_LIST`) from the centralized package, and all are actively used throughout the component.

</details>
<details>
<summary>web/core/components/project/project-settings-member-defaults.tsx (1)</summary>

`8-8`: Let’s check the package entrypoint to see if `fetch-keys.ts` (and thus `PROJECT_MEMBERS`) is re-exported:


```shell
#!/bin/bash
# List all exports in the constants package index
grep -E "^export " -n packages/constants/src/index.ts || echo "No exports found in index.ts"
web/core/components/cycles/active-cycle/use-cycles-details.ts (1)

5-5: LGTM! Consistent with centralization effort.

The import consolidation for CYCLE_ISSUES_WITH_PARAMS follows the same pattern as other files and maintains existing functionality.

web/core/components/integration/guide.tsx (1)

12-12: LGTM! Import consolidation executed correctly.

The centralization of IMPORTERS_LIST and IMPORTER_SERVICES_LIST imports maintains all existing functionality while improving code organization.

web/core/components/integration/delete-import-modal.tsx (1)

12-13: LGTM! Improved import organization.

The consolidation of IMPORTER_SERVICES_LIST import to @plane/constants and the creation of a dedicated constants section enhances code organization while maintaining functionality.

web/core/components/profile/activity/profile-activity-list.tsx (1)

7-8: LGTM! Constants import successfully centralized.

The import path change for USER_ACTIVITY from @/constants/fetch-keys to @plane/constants follows the established pattern and preserves existing functionality.

web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx (1)

7-13: ```shell
#!/bin/bash
echo "Verifying export of EUserPermissions in constants source files..."
rg -n "export.*EUserPermissions" packages/constants/src/user.ts

echo "Inspecting barrel file (index.ts) for re-export statements..."
rg -n "^export.*from" packages/constants/src/index.ts


</details>
<details>
<summary>web/core/components/integration/single-integration-card.tsx (1)</summary>

`9-10`: **LGTM - Clean import consolidation.**

The import consolidation properly groups the constants together and improves code organization. The `WORKSPACE_INTEGRATIONS` constant usage throughout the file remains consistent.

</details>
<details>
<summary>web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx (1)</summary>

`5-6`: **LGTM - Proper import consolidation.**

Clean consolidation of constants import. The `APP_INTEGRATIONS` constant usage in the SWR hook remains correct and consistent.

</details>
<details>
<summary>web/core/components/profile/overview/activity.tsx (2)</summary>

`6-7`: **LGTM - Import consolidation matches PR pattern.**

The import change from local path to centralized package follows the established pattern in this PR.

---

`65-67`: **Good formatting improvement.**

The multi-line formatting of the conditional expression improves readability while maintaining the same logic and functionality.

</details>

</blockquote></details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHFcLzpIACIAbQB1AFEAITAAFgBmAFY0gF1IADN4AA8uZnwpegKSXAZYMABrEllkJgxEXExcZAIe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ZXLACHxIAgFjgVoXPgN10aDULBESU4jYOoC+1OEzAbwOIB37kAQQ0QyJLEJNBE0NyiMZpAhgsECBNi2wEWG3C+avQVBCDHKm1nbhRRNAw/WenT0W4xsdamA/JmzxmKtUVOW3AXn/DpbqMCQenSmhQMu7GcmmN3IbnQPu4isVECEEmAzGZgEw2YgdYOqHWJjh1QsNge/uhx7ZA8uBSrHgejTB4jsv+RBH/kIL1YtMABcPaJiALiZdC8qA9MnjPE+pjNEoiAkRiP0k6oCFUwwuqivVW4z9sBkwzbgvxmGFg0R/hUzMaTYDMAlQhjJQAUDQBFD2WZ3LlvvyoHu11htzXYbTH2Esx3G0rWVv9jSFvEZaTeHRLFxQYEdK83CEEouVc5F5EaG4SjsawnJ2ds0tHDdkx0Qh7CvYBMBkZ4xC7ZZSIBgv0ocFOaywQqucXVsmQLzmQKSAEX3CgDghq1G4AnLUelAl6aADgbpHJMRhAEJMh6XJUjAPynrK00mfRQYZrVhEyN1KrPWQrODrBxRtmLYaXjIN7BoB+wbtUsMwQrBqBJwNYGcAYCDFdh1ABMZkIgAJj+BiBdIWgATHXBYIYwyYuMJAAyAFAAAHAIAABsqoUQAAEYGAWQJIRkCrG0A1QtASsVWIEDqgkhqoOsbQCyAMBaABQDIGkAKAAAGEcdOEDEljUxuAdMbQEzHZjEouYgmAmGnFAA -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details open="true">
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=makeplane/plane&utm_content=7239):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

Copy link

makeplane bot commented Jun 19, 2025

Pull Request Linked with Plane Work Items

Comment Automatically Generated by Plane

@gakshita gakshita marked this pull request as ready for review June 19, 2025 10:45
@sriramveeraghanta
Copy link
Member

Delete the old fetch keys file and replace all the instances where we are using it.

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