Compare commits

..
Author SHA1 Message Date
Abdul Rahman c779f96f74 Refactor AIChatThreadGroup and MainNavigationDrawerTabsRow for improved styling and responsiveness
- Updated font weight in AIChatThreadGroup for better theme consistency.
- Simplified isExpanded logic in MainNavigationDrawerTabsRow for clarity and improved readability.
- Adjusted rendering conditions for styled components to enhance responsiveness based on navigation drawer state.
2026-02-23 06:34:03 +05:30
Abdul Rahman fdf65ed1f1 Enhance Command Menu and Navigation Drawer components for improved functionality
- Added NAVIGATION_DRAWER_CLICK_OUTSIDE_ID to manage click outside events in the Navigation Drawer.
- Updated CommandMenuOpenContainer to include the new click outside ID for better interaction handling.
- Simplified shouldShowCloseButton logic in CommandMenuTopBar for clarity.
- Refactored MainNavigationDrawerTabsRow to improve chat thread creation handling and responsiveness.
2026-02-23 06:27:59 +05:30
Abdul Rahman ba61fc7ef9 Refactor navigation components to enhance AI chat functionality and responsiveness
- Updated MainNavigationDrawerTabsRow to conditionally render based on AI feature flag and mobile state.
- Modified MobileNavigationBar to include a new chat option when AI is enabled, improving user interaction.
- Cleaned up import statements for better organization and clarity.
2026-02-23 04:57:47 +05:30
Abdul Rahman e7c5e20b25 Add NavigationDrawerAIChatThreadsList component for displaying chat threads
- Introduced NavigationDrawerAIChatThreadsList to render chat threads grouped by date.
- Integrated AIChatSkeletonLoader for loading state representation.
- Utilized useAIChatThreadClick hook for handling thread selection.
- Enhanced NavigationDrawerItem to support always showing right options for better user interaction.
2026-02-23 04:29:43 +05:30
Abdul Rahman 6a0785dbe4 Refactor AIChatThreadGroup to utilize custom hook for thread click handling
- Removed direct state management and logic from AIChatThreadGroup.
- Introduced useAIChatThreadClick hook to encapsulate thread click functionality.
- Improved code organization and readability by separating concerns.
2026-02-23 04:29:15 +05:30
Abdul Rahman fd0534ba0a Enhance Navigation Drawer components for improved responsiveness and layout
- Updated MainNavigationDrawerTabsRow to conditionally render tabs based on navigation drawer expansion state.
- Modified NavigationDrawer to adjust its width based on the expanded state, improving user experience.
- Refactored NavigationDrawerHeader to adapt layout and controls based on the expanded state, ensuring consistent design.
- Introduced new props for styled components to handle dynamic styling based on the navigation drawer's state.
2026-02-23 03:28:44 +05:30
Abdul Rahman da3d0ae377 Refactor MainNavigationDrawer to enhance tab navigation and integrate AI chat functionality
- Removed MainNavigationDrawerFixedItems component and replaced it with MainNavigationDrawerTabsRow for improved tab management.
- Introduced AIChatThreadsList within the MainNavigationDrawer for chat tab functionality.
- Added navigationDrawerActiveTabState to manage active tab state.
- Updated NavigationDrawerHeader to include a search button and adjusted styles for better layout consistency.
2026-02-23 02:43:22 +05:30
Abdul Rahman bc20a90a61 Merge branch 'main' into feat/navbar-customization-v2 2026-02-20 23:56:45 +05:30
Abdul Rahman bd430f3188 Refactor CommandMenuEditColorOption to improve color filtering logic
- Updated the conditional check for filtered color names to use `isNonEmptyString` for better clarity and functionality.
- Reorganized import statements for consistency.
2026-02-20 23:50:17 +05:30
Abdul Rahman 4f04280143 Refactor CommandMenuNewSidebarItemViewPickerSubView for improved clarity and functionality
- Reorganized import statements for consistency and clarity.
- Introduced `isDefined` utility for better handling of `selectedObjectMetadataItem`.
- Enhanced readability by adjusting the conditional check for icon color assignment.
2026-02-20 23:44:17 +05:30
Abdul Rahman d4e0db84e4 Refactor CommandMenuNavigationMenuItemEditPage for improved clarity and consistency
- Renamed `setFolderPicker` to `openFolderPicker` for better readability.
- Updated references to `setFolderPicker` throughout the component to reflect the new naming.
- Reorganized import statements for consistency.
2026-02-20 23:42:45 +05:30
Abdul Rahman 615d98509b Refactor color handling in CommandMenu components to utilize DEFAULT_COLOR_LABELS
- Introduced DEFAULT_COLOR_LABELS constant for color labels in the navigation menu.
- Updated CommandMenuEditColorOption to use DEFAULT_COLOR_LABELS instead of hardcoded COLOR_LABELS.
- Adjusted MenuItemSelectColor to import DEFAULT_COLOR_LABELS from a new constants file for better organization and maintainability.
2026-02-20 23:37:15 +05:30
Raphaël BosiandGitHub 58e8b466f3 Fix frontComponentHostCommunicationApi is not defined error (#18145)
Fix missing import
2026-02-20 18:49:03 +01:00
Abdul Rahman 2ff22404d6 Enhance Command Menu functionality by integrating IconColumnInsertRight
- Added IconColumnInsertRight to various components for consistent iconography.
- Updated navigation menu item hooks to utilize the new icon for adding items.
- Refactored CommandMenuPageInfo to include a layout for the new sidebar item page.
- Ensured consistent usage of CommandMenuPages type across relevant hooks.
2026-02-20 23:12:47 +05:30
Abdul Rahman 6588c290ba Add IconColumnInsertRight and restore IconNorthStar in display components 2026-02-20 23:06:06 +05:30
martmullandGitHub ba59ab8094 Add upload file in twenty client (#18129)
This function 

```typescript
import { defineLogicFunction } from 'twenty-sdk';
import TwentyClient from 'twenty-sdk/generated';

import { v4 } from 'uuid';

export const POST_INSTALL_UNIVERSAL_IDENTIFIER =
  '1312be5c-4fd6-44b3-afd0-567352616c7c';

const handler = async (): Promise<any> => {
  const client = new TwentyClient();

  const seedResult = await client.mutation({
    createCompany: {
      id: true,
      name: true,
      __args: {
        data: {
          name: `toto + ${v4()}`,
        },
      },
    },
  });

  const companyFieldUniversalIdentifier =
    '20202020-15db-460e-8166-c7b5d87ad4be';

  const uploadFileResult = await client.uploadFile(
    Buffer.from('hello world', 'utf-8'),
    'test.txt',
    undefined,
    companyFieldUniversalIdentifier,
  );

  await client.mutation({
    createAttachment: {
      id: true,
      __args: {
        data: {
          file: [{ fileId: uploadFileResult.id, label: 'hello-world.txt' }],
          fullPath: uploadFileResult.path,
          targetCompanyId: seedResult.createCompany?.id,
        },
      },
    },
  });

  return;
};

export default defineLogicFunction({
  universalIdentifier: POST_INSTALL_UNIVERSAL_IDENTIFIER,
  name: 'post-install',
  description: 'Add a description for your logic function',
  timeoutSeconds: 30,
  handler,
});

```

produces this record below 

<img width="1512" height="859" alt="image"
src="https://github.com/user-attachments/assets/57dc3a6b-fd2c-4f21-8331-8f1f05403826"
/>
2026-02-20 17:11:59 +00:00
Abdul Rahman c024ac40fb Update import path for CommandMenuPages type in useOpenAddItemToFolderPage hook to reference twenty-shared/types for consistency. 2026-02-20 22:32:21 +05:30
Thomas TrompetteandGitHub cd1a2712d5 Add server health check every 2 secs on app:dev (#18142)
https://github.com/user-attachments/assets/ff10503f-ebc0-417b-b0f3-8aa40dee74e2
2026-02-20 17:01:45 +00:00
Abdul Rahman 75e678145e Refactor color handling in CommandMenu components to use parseThemeColor utility
- Updated CommandMenuEditColorOption to accept ThemeColor type for improved type safety.
- Replaced direct color prop usage with parseThemeColor in CommandMenuEditLinkItemView, CommandMenuEditObjectViewBase, and CommandMenuNavigationMenuItemEditPage for consistent color parsing.
2026-02-20 22:30:05 +05:30
Abdul Rahman ab4edff071 Refactor CommandMenuEditColorOption component to improve code organization
- Reorganized import statements for better clarity and consistency.
- Updated the conditional check for filtered color names to use `isDefined` for improved readability.
2026-02-20 22:21:27 +05:30
Abdul Rahman 0f4dbca473 Update variable naming in useCommandMenu hook for consistency
- Renamed `selectedNavItemId` to `selectedNavigationItemId` to align with previous naming conventions and improve clarity.
- Adjusted conditional check to reflect the updated variable name.
2026-02-20 22:18:15 +05:30
Abdul Rahman d93767a115 Refactor useCommandMenu hook to improve variable naming consistency
- Renamed `isEditMode` to `isNavigationMenuInEditMode` for clarity.
- Adjusted the code to enhance readability and maintainability.
2026-02-20 22:17:11 +05:30
Abdul Rahman 3ad4ae141c Merge branch 'main' into feat/navbar-customization-v2 2026-02-20 22:15:03 +05:30
Thomas TrompetteandGitHub 932adf8e4b Create view and navigation item on add-object command - to be tested (#18134)
<img width="580" height="141" alt="Capture d’écran 2026-02-20 à 15 52
11"
src="https://github.com/user-attachments/assets/40254d3a-f7f9-4f2a-a51f-c37dc1f5d167"
/>
2026-02-20 16:41:16 +00:00
Lucas BordeauandGitHub 26fabdc3d0 Minor fixes following up Temporal refactor (#18139)
Fixes https://github.com/twentyhq/core-team-issues/issues/2034
2026-02-20 15:54:38 +00:00
82617727a2 i18n - docs translations (#18131)
Created by Github action

Co-authored-by: github-actions <github-actions@twenty.com>
2026-02-20 16:33:06 +01:00
Raphaël BosiandGitHub 87922253f3 Fix front component cleanup (#18132)
Fix front component cleanup
2026-02-20 15:03:10 +00:00
Raphaël BosiandGitHub 7da8450075 [FRONT COMPONENTS] Headless components (#18096)
## Description

- Add `isHeadless` field to `FrontComponent` entity so front components
can run without rendering UI in the command menu
- Introduce headless front component mounting logic:
`HeadlessFrontComponentMountRoot` at the application root,
`useMountHeadlessFrontComponent`, and `useUnmountHeadlessFrontComponent`
hooks to mount/unmount headless components
- Expand the SDK with new action components (`Action`, `ActionLink`,
`ActionOpenSidePanelPage`) and host communication functions
(`openSidePanelPage`, `unmountFrontComponent`)
- Move `CommandMenuPages` type to twenty-shared so the SDK can reference
it for side panel navigation

## Video QA



https://github.com/user-attachments/assets/4f9e3bb1-fcd1-42be-b3f4-a97e80c2add2
2026-02-20 14:14:42 +00:00
d444648cc0 i18n - translations (#18127)
Created by Github action

---------

Co-authored-by: github-actions <github-actions@twenty.com>
2026-02-20 14:41:58 +01:00
ec57d3fe0f Fix flaky 2FA encryption test for AES-256-CBC wrong-key behavior (#18126)
## Summary

- Fixes a flaky test in `simple-secret-encryption.util.spec.ts` that
fails ~1 in 256 runs
- AES-256-CBC doesn't guarantee wrong-key decryption throws — PKCS7
padding validation is probabilistic. When padding accidentally looks
valid, decryption silently returns garbage instead of throwing.
- Changed the test to verify the correct security property: wrong-key
decryption must never return the original secret (both throw and garbage
are acceptable)
- Audited both production `decryptSecret` call sites in
`two-factor-authentication.service.ts` — they always use the correct
key, so end users are not affected

## Test plan

- [x] Test passes 5/5 consecutive runs locally
- [x] Lint passes


Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 14:41:31 +01:00
Abdul Rahman b452d3f643 Remove unused navigate import from WorkspaceNavigationMenuItems to streamline code 2026-02-20 19:06:41 +05:30
Abdul Rahman eb544e8f45 Refactor WorkspaceNavigationMenuItems and useSelectedNavigationMenuItemEditItemLabel for improved label handling
- Updated WorkspaceNavigationMenuItems to conditionally set page titles based on item type, enhancing clarity in navigation.
- Introduced a new utility function, getLabelForItemType, in useSelectedNavigationMenuItemEditItemLabel to streamline label retrieval for different item types, improving code maintainability.
2026-02-20 18:55:10 +05:30
Abdul Rahman b355e1c485 Enhance CommandMenuEditObjectViewBase to conditionally show color options
- Added a new prop `showColorOption` to CommandMenuEditObjectViewBase for controlling the display of color customization options based on the selected item.
- Updated CommandMenuNavigationMenuItemEditPage to determine when to show color options based on the selected item's view key.
- Introduced a new hook, `useObjectNavItemColor`, to retrieve the appropriate color for navigation menu items, improving visual consistency across components.
2026-02-20 18:53:50 +05:30
Baptiste DevessierandGitHub 00209f7e2c Wire fields widget to backend + basic edition (#17965)
Closes https://github.com/twentyhq/core-team-issues/issues/2215
Closes https://github.com/twentyhq/core-team-issues/issues/2216
Closes https://github.com/twentyhq/core-team-issues/issues/2218

## Fields widget edition demo


https://github.com/user-attachments/assets/08626d70-8fcb-4ae2-9222-10ef57e75f90

## Dashboards still work


https://github.com/user-attachments/assets/aa9a9c45-a0a2-481e-b132-bc52254778da
2026-02-20 13:18:00 +00:00
b107020ad3 Fix search edge case with permissions (#18123)
Fix E2E tests

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 14:08:20 +01:00
9f3f2e21d8 i18n - docs translations (#18122)
Created by Github action

Co-authored-by: github-actions <github-actions@twenty.com>
2026-02-20 13:51:43 +01:00
21472da38f i18n - translations (#18120)
Created by Github action

---------

Co-authored-by: github-actions <github-actions@twenty.com>
2026-02-20 13:51:34 +01:00
Paul RastoinandGitHub bf1e0d0811 Typecheck main sdk (#18124) 2026-02-20 13:47:57 +01:00
Abdullah.andGitHub 917a36821a fix: hover appearing on not shared for junction relations (#18058)
Hovering over "Not Shared" in junction relations shows the placeholder
text.

<img width="1039" height="862" alt="image"
src="https://github.com/user-attachments/assets/a9523f51-c417-41b0-9926-d154c9601fd8"
/>

<br />
<br />

This PR fixes it.

<img width="1040" height="860" alt="image"
src="https://github.com/user-attachments/assets/09d5fecf-1faa-449d-86d9-a105464d31c3"
/>
2026-02-20 13:16:49 +01:00
66da296799 Unify MCP into single endpoint with lazy tool discovery (#18113)
## Summary

- Consolidates the MCP server from two endpoints (`/mcp` +
`/mcp/metadata`) into a **single `POST /mcp`** endpoint exposing five
high-level tools: `get_tool_catalog`, `learn_tools`, `execute_tool`,
`load_skills`, and `search_help_center`
- Fixes **DATABASE_CRUD tools not accessible via API key auth** by
removing an unnecessary `userId`/`userWorkspaceId` guard in
`DatabaseToolProvider` and threading `ApiKeyWorkspaceAuthContext`
through the tool context chain
- Improves tool descriptions with **STEP 1/2/3 workflow guidance** so AI
clients follow the correct discovery flow (catalog → learn → execute)
instead of guessing tool names
- Simplifies the **frontend AI settings** by removing the schema picker
dropdown (no more "Core Schema" vs "Metadata Schema" choice)

## Changes

### Backend
- **Deleted**: `mcp-metadata.controller.ts`, `mcp-metadata.service.ts`
(merged into core)
- **New**: `get-tool-catalog.tool.ts` — browsable, categorized tool
discovery
- **Fixed**: `DatabaseToolProvider.generateDescriptors` — removed guard
that blocked API key access to CRUD tools
- **Fixed**: `ToolContext` type + `ToolRegistryService` — `authContext`
now flows through so API key CRUD execution works end-to-end
- **Updated**: `McpProtocolService` — builds
`ApiKeyWorkspaceAuthContext` for API key requests
- **Updated**: All MCP tool descriptions with explicit step numbering

### Frontend
- **Simplified**: `SettingsAIMCP.tsx` — removed schema selector
dropdown, shows single MCP config

## Test plan
- [x] All 19 MCP unit tests pass (controller + protocol service)
- [x] Server and frontend lint clean
- [x] Server and frontend typecheck pass
- [x] Live-tested on localhost:3000 with API key: `get_tool_catalog`
returns 236 tools including 196 DATABASE_CRUD tools
- [x] Live-tested `execute_tool` with `find_companies` via API key —
returns real data
- [x] Tested MCP connection from Cursor IDE via project-level
`.cursor/mcp.json`

Made with [Cursor](https://cursor.com)

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 13:09:54 +01:00
3bc887e12e Add default relation to standard object on custom object in manifest (#18033)
add default relation fields when creating an object from an application

---------

Co-authored-by: prastoin <paul@twenty.com>
2026-02-20 11:49:06 +01:00
Thomas TrompetteandGitHub d060c843d1 Remove sse feature flag (#18114)
As title
2026-02-20 11:46:03 +01:00
Paul RastoinandGitHub 175df59c21 Support Skill in manifest (#18092)
# Introduction
Support skill in manifest, pre-requisite for the twenty standard app
migration
2026-02-20 11:45:42 +01:00
6ad581d178 Fix global search for CJK and non-tokenizable text (#18030)
## Summary

Fixes #12962

- Adds a two-pass ILIKE fallback to the global search service
(`search.service.ts`)
- **Fast path**: runs the tsvector query first (uses GIN index,
sub-millisecond)
- **Fallback**: only if tsvector returns fewer results than the limit,
runs an ILIKE query on `searchVector::text` to catch cases where
PostgreSQL's `simple` text search config fails to tokenize (continuous
CJK text, etc.)
- Zero performance impact for the common case (Latin text where tsvector
works)
- Also adds `escapeForIlike` utility to properly escape `%`, `_`, `\` in
user input

### Why tsvector fails for CJK

PostgreSQL's `simple` config treats continuous CJK text as a single
lexeme:
- `to_tsvector('simple', '示例商业线索')` → `'示例商业线索':1`
- Searching `商业:*` only prefix-matches from the start, so it misses `商业`
in the middle

The ILIKE fallback catches these substring matches when the tsvector
path can't.

### What this fixes

- Global search (command menu / sidebar)
- Relation picker (single and multi-object)
- Morph relation picker

All three use `search.service.ts` under the hood.

Co-authored-by: mykh-hailo (original direction in #18021)

## Test plan

- [ ] Search `示例` with records `示例商业线索` and `示例-商业-线索` → both should
appear
- [ ] Search `商业` → both should appear (previously only the hyphenated
one did)
- [ ] Search for Latin text (e.g. `john`) → same performance, results
unchanged
- [ ] Relation picker search with CJK text → results appear
- [ ] Search input with special chars like `%` or `_` → no SQL
injection, results correct


Made with [Cursor](https://cursor.com)

---------

Co-authored-by: mykh-hailo <mykh-hailo@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 11:02:09 +01:00
Abdul Rahman 48fbbcf292 Update FolderOption type to allow folderId to be null for better flexibility in folder selection 2026-02-20 05:00:06 +05:30
Abdul Rahman edf14011ca Add functionality to open item addition in folder from command menu
- Introduced a new hook, useOpenAddItemToFolderPage, to manage navigation for adding items to a folder.
- Updated CommandMenuNavigationMenuItemEditPage to include an option for adding items to a folder, enhancing user interaction.
- Refactored WorkspaceNavigationMenuItemsFolder to utilize the new hook for streamlined item addition.
- Improved the organization of imports and component logic for better maintainability.
2026-02-20 04:58:05 +05:30
Abdul Rahman 8ad8dba2dc Enhance useCommandMenu hook to support navigation in edit mode
- Added logic to navigate to the edit page of a navigation menu item if in edit mode and a selected item is defined.
- Maintained existing functionality for navigating to the root command menu when not in edit mode.
2026-02-20 04:22:49 +05:30
Abdul Rahman 1e6e6eb1ec Refactor WorkspaceNavigationMenuItems to improve import organization
- Moved the import of useStore from 'jotai' to maintain consistency in import order.
- No functional changes were made to the component.
2026-02-20 03:56:50 +05:30
Abdul Rahman bb62ba1857 Merge branch 'main' into feat/navbar-customization-v2 2026-02-20 01:55:59 +05:30
Abdul Rahman 147869f41c Update stroke size in ObjectIconWithViewOverlay for improved visual consistency 2026-02-19 23:47:53 +05:30
Abdul Rahman db61a10d0d Enhance getStandardObjectIconColor utility to support custom object colors
- Imported MAIN_COLOR_NAMES for dynamic color handling.
- Added logic to generate colors for custom objects based on a hash of their names.
- Updated getStandardObjectIconColor to return a color for custom objects when not found in the standard list.
2026-02-19 23:44:51 +05:30
Abdul Rahman 14b7ea060f Remove unused color and font size properties from StyledSearchInput in CommandMenuSubViewWithSearch for cleaner styling. 2026-02-19 23:33:48 +05:30
Abdul Rahman d5ac7fa0e0 Enhance CommandMenuSubViewWithSearch styling for improved layout
- Added flex display and center alignment to the search container for better layout consistency.
- Adjusted padding to use inline spacing for a more responsive design.
- Increased height of the search container to enhance usability.
2026-02-19 23:29:32 +05:30
Abdul Rahman 24037ae638 Enhance CommandMenuEditFolderPickerSubView with icon and color support
- Integrated dynamic icon and color handling for folders in CommandMenuEditFolderPickerSubView.
- Updated folder data structure in related hooks to include icon and color properties for improved visual representation.
- Refactored folder rendering logic to utilize new icon and color attributes, enhancing user experience.
2026-02-19 23:26:45 +05:30
Abdul Rahman 236f7ef44f Update focused prop logic in CommandMenuItem to account for disabled state
- Modified the focused prop to ensure it only reflects the selected item when not disabled, enhancing component behavior.
2026-02-19 23:16:10 +05:30
Abdul Rahman ad370d3de3 Refactor CommandMenuNewSidebarItemMainMenu to enhance icon usage and styling
- Replaced existing icons with new styled components for improved visual consistency.
- Integrated useTheme for dynamic theming support.
- Updated imports to streamline component dependencies.
2026-02-19 23:08:02 +05:30
Abdul Rahman e538a49749 Enhance Command Menu components with updated labels and imports
- Added a label for the folder in CommandMenuFolderInfo.
- Capitalized the label for link in CommandMenuLinkInfo.
- Refactored label logic in CommandMenuObjectViewRecordInfo to utilize selected item metadata and improved view handling.
2026-02-19 22:53:07 +05:30
Abdul Rahman 1995255fe8 Add styled component for color label in CommandMenuEditColorOption
- Introduced StyledMenuStyleText for consistent styling of color labels.
- Updated RightComponent to use the new styled component, enhancing visual presentation.
2026-02-19 22:45:42 +05:30
Abdul Rahman b6fd3c297f Remove gap styling from StyledFolderDroppableContent in WorkspaceNavigationMenuItemsFolder component for improved layout consistency. 2026-02-19 17:30:09 +05:30
Abdul Rahman c700e56766 Refactor standard navigation menu items for improved organization and clarity
- Updated the structure of STANDARD_NAVIGATION_MENU_ITEMS by rearranging the order of items and correcting their universal identifiers and view references.
- Ensured that all items are consistently positioned to enhance navigation experience.
2026-02-19 17:28:35 +05:30
Abdul Rahman 349614a18b Update COLOR_SHADE_ICON constant from 10 to 11 for improved icon color handling in navigation menu items. 2026-02-19 17:19:50 +05:30
Abdul Rahman 2bfd7cb100 Merge branch 'main' into feat/navbar-customization-v2 2026-02-19 17:11:01 +05:30
Abdul Rahman 787262eda3 Update computeStandardWorkflowRunViews and computeStandardWorkflowVersionViews to use ViewKey.INDEX for key property
- Replaced null key with ViewKey.INDEX in both computeStandardWorkflowRunViews and computeStandardWorkflowVersionViews functions to enhance consistency in view key handling.
2026-02-19 15:53:31 +05:30
Abdul Rahman 5f227bc110 Enhance RecordIndexPageHeaderIcon component to utilize theme for icon sizing
- Integrated useTheme hook to access theme properties.
- Updated ObjectIcon size to align with theme dimensions, improving visual consistency across components.
2026-02-19 15:50:05 +05:30
Abdul RahmanandGitHub fd36671570 Merge branch 'main' into feat/navbar-customization-v2 2026-02-19 15:45:50 +05:30
Abdul Rahman 43a0e9e9df Refactor navigation menu item icon handling for improved clarity and consistency
- Updated imports to use the new utility for getting navigation menu item icon styles based on color.
- Introduced constants for default icon color and color shades to enhance maintainability.
- Removed deprecated utility functions and streamlined color handling across components.
2026-02-19 15:45:37 +05:30
Abdul Rahman ab6839d9bb Rename migration class for adding link to navigation menu item for clarity 2026-02-19 15:38:42 +05:30
Abdul Rahman 18a7bfd250 Refactor NavigationMenuItemIcon component for improved clarity and consistency
- Replaced nullish coalescing with default value assignment for objectNameSingular, enhancing readability.
- Simplified logic for determining view overlay visibility and icon usage, improving maintainability.
- Updated color handling to ensure consistent application of styles based on icon presence, aligning with recent updates in navigation components.
2026-02-19 15:35:01 +05:30
Abdul Rahman f98f3a8f14 Refactor color validation in NavigationDrawerItemForObjectMetadataItem component
- Replaced isNonEmptyString with isDefined for color validation, enhancing clarity and consistency in color handling.
- This change aligns with recent updates in color management across navigation components, improving maintainability.
2026-02-19 15:34:16 +05:30
Abdul Rahman 08b670f82d Refactor navigation menu item draft handling for improved clarity
- Simplified the assignment of properties in the useSaveNavigationMenuItemsDraft hook by removing unnecessary nullish coalescing, enhancing code readability.
- Updated change detection logic to directly compare values, improving maintainability and consistency in handling navigation menu item drafts.
2026-02-19 15:30:22 +05:30
Abdul Rahman b2643a17b6 Refactor color assignment in useAddObjectToNavigationMenuDraft hook
- Moved the import of v4 from 'uuid' to improve code organization.
- Simplified color assignment logic by directly assigning the color variable, enhancing clarity and maintainability in the navigation menu draft management.
2026-02-19 15:27:19 +05:30
Abdul Rahman 82ac89f4a5 Refactor color handling in WorkspaceNavigationMenuItemsFolder component
- Moved the import of DEFAULT_NAVIGATION_MENU_ITEM_COLOR_FOLDER to improve code organization.
- Updated the color determination logic to use isDefined instead of isNonEmptyString for better validation of folder colors, enhancing maintainability and consistency in color handling across navigation components.
2026-02-19 15:25:50 +05:30
Abdul Rahman a204343147 Update ObjectIconWithViewOverlay component to adjust ViewIcon color
- Changed ViewIcon color from gray11 to gray10 to enhance visual consistency with the theme. This minor adjustment aligns with recent updates in color handling across navigation components.
2026-02-19 15:24:26 +05:30
Abdul Rahman fd63983da8 Refactor ObjectIconWithViewOverlay component to use theme spacing for dimensions
- Updated StyledViewOverlay to utilize theme.spacing for height and width, enhancing consistency with the theme.
- Adjusted ViewIcon size to use theme.spacing for improved maintainability and alignment with design standards.
2026-02-19 15:23:23 +05:30
Abdul Rahman 7bd473ef00 Update AddToNavigationDragHandle component to use theme spacing for dimensions
- Refactored the StyledIconSlot to utilize theme.spacing for height and width when $hasFixedSize is true, enhancing consistency with the theme and improving maintainability.
2026-02-19 15:17:19 +05:30
Abdul Rahman 0be9f20484 Remove unused theme import in RecordIndexPageHeaderIcon component to streamline code and improve maintainability. 2026-02-19 15:11:37 +05:30
Abdul Rahman caf4f393f9 Merge branch 'main' into feat/navbar-customization-v2 2026-02-19 05:51:21 +05:30
Abdul Rahman ae483b5bba Add color property to NavigationMenuItemManifest and update utility function
- Introduced a new optional 'color' property in the NavigationMenuItemManifest type to enhance customization of navigation items.
- Updated the fromNavigationMenuItemManifestToUniversalFlatNavigationMenuItem utility function to include the 'color' property, allowing for better visual representation in the navigation menu.

These changes improve the flexibility and visual consistency of navigation items across the application.
2026-02-19 05:35:28 +05:30
Abdul Rahman 059832f6a5 Refactor color fallback logic in NavigationDrawerItemForObjectMetadataItem
- Replaced DEFAULT_NAVIGATION_MENU_ITEM_COLOR_OBJECT constant with a hardcoded fallback color 'gray' for improved clarity in color handling.
- Streamlined the color determination process to enhance maintainability and consistency across navigation items.

These changes contribute to a more robust and straightforward approach to color management in the navigation drawer component.
2026-02-19 05:34:00 +05:30
Abdul Rahman 4a04f2584d Refactor effective color handling in NavigationMenuItemIcon
- Replaced inline color determination logic with the getEffectiveNavigationMenuItemColor utility for improved clarity and maintainability.
- Removed unused default color constants to streamline the code.

These changes enhance the robustness of color handling for navigation menu items, aligning with recent updates in icon management.
2026-02-19 05:31:16 +05:30
Abdul Rahman c3158d9c19 Enhance color handling in NavigationDrawerItemForObjectMetadataItem
- Updated icon theme color logic to utilize isNonEmptyString for better validation of navigation menu item colors.
- Integrated getStandardObjectIconColor and DEFAULT_NAVIGATION_MENU_ITEM_COLOR_OBJECT to ensure fallback options are available for icon rendering.

These changes improve the robustness of color handling for navigation items, enhancing visual consistency across the application.
2026-02-19 05:21:51 +05:30
Abdul Rahman b86e3f8d95 Implement effective color handling for navigation menu items
- Introduced getEffectiveNavigationMenuItemColor utility to determine the appropriate color for navigation menu items based on their type and custom color settings.
- Updated CurrentWorkspaceMemberNavigationMenuItems and CurrentWorkspaceMemberOrphanNavigationMenuItems components to utilize the new color utility for icon rendering.
- Refactored NavigationMenuItemIcon to enhance icon styling logic based on effective color.

These changes improve the visual consistency and customization of navigation menu items across the application.
2026-02-19 05:09:18 +05:30
Abdul Rahman 4ddbca3957 Enhance RecordIndexPageHeaderIcon with theme and feature flag integration
- Added useTheme and useIsFeatureEnabled hooks to manage icon rendering based on theme and feature flags.
- Improved icon rendering logic to conditionally display icons based on navigation menu item editing status.
- Streamlined code for better readability and maintainability.

These changes align with recent updates in icon management and enhance the flexibility of the RecordIndexPageHeaderIcon component.
2026-02-19 03:30:54 +05:30
Abdul Rahman 19d3a54d11 Merge branch 'main' into feat/navbar-customization-v2 2026-02-19 02:52:25 +05:30
Abdul Rahman 215f2d82e9 Add usePlainIcon prop to NavigationDrawerItem and update NavigationDrawerSectionForWorkspaceItems
- Introduced the usePlainIcon prop in NavigationDrawerItem to allow for simplified icon rendering.
- Updated NavigationDrawerSectionForWorkspaceItems to utilize the new usePlainIcon prop, enhancing customization options for menu items.

These changes improve the flexibility and visual consistency of the navigation drawer components.
2026-02-19 02:50:42 +05:30
Abdul Rahman 78edbc2f9e Refactor RecordIndexPageHeader to use new RecordIndexPageHeaderIcon component for improved icon rendering
- Replaced the previous icon rendering logic with the new RecordIndexPageHeaderIcon component, enhancing clarity and maintainability.
- Removed unused imports and streamlined the code for better readability.

These changes align with recent improvements in icon management within the application.
2026-02-19 02:45:39 +05:30
Abdul Rahman 4655a1ae6e Refactor icon rendering in CommandMenu components for improved consistency
- Updated CommandMenuNewSidebarItemViewObjectPickerSubView and CommandMenuObjectPickerSubView to use NavigationMenuItemStyleIcon for icon rendering, enhancing visual consistency.
- Refactored CommandMenuObjectMenuItem to streamline icon color handling and improve readability by utilizing a styledIcon function.

These changes enhance the maintainability and clarity of the command menu components.
2026-02-19 02:34:11 +05:30
Abdul Rahman b1d4a7ee6d Remove unused ViewKey import and set key to null in standard workflow run and version views utilities
- Eliminated the import of ViewKey from both computeStandardWorkflowRunViews and computeStandardWorkflowVersionViews utilities, as it was no longer needed.
- Updated the key property in the views to null, simplifying the view definitions.

These changes streamline the code and improve clarity in the workflow view utilities.
2026-02-19 02:11:52 +05:30
Abdul Rahman 1bfc161981 Refactor icon color handling in CommandMenuObjectMenuItem and remove unused theme import
- Updated the CommandMenuObjectMenuItem component to improve readability by formatting the icon color retrieval.
- Removed the unused useTheme import from NavigationDrawerSectionForWorkspaceItems, streamlining the code.

These changes enhance code clarity and maintainability in the navigation menu components.
2026-02-19 02:10:55 +05:30
Abdul Rahman 91d2be1ef4 Add feature flag for navigation menu item editing
- Integrated useIsFeatureEnabled hook to conditionally render icon color based on the IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED feature flag.
- Updated icon rendering logic in NavigationDrawerItem to enhance customization based on feature availability.

These changes improve the flexibility of the navigation menu by allowing dynamic icon color handling based on feature flags.
2026-02-19 02:10:28 +05:30
Abdul Rahman 51b519b570 Enhance navigation menu item color handling and component integration
- Introduced DEFAULT_NAVIGATION_MENU_ITEM_COLOR_FOLDER and DEFAULT_NAVIGATION_MENU_ITEM_COLOR_LINK constants for standardized color management.
- Updated AddToNavigationDragHandle, CurrentWorkspaceMemberNavigationMenuItems, NavigationMenuItemIcon, and WorkspaceNavigationMenuItemsFolder components to utilize the new color constants.
- Refactored icon color logic to improve consistency and maintainability across navigation menu items.

These changes enhance visual consistency and customization options in the navigation menu.
2026-02-18 19:09:08 +05:30
Abdul Rahman edcfd0d068 Update RecordIndexPageHeader to utilize standardized object icon color
- Imported NavigationMenuItemStyleIcon and getStandardObjectIconColor to enhance icon color handling.
- Refactored icon rendering logic to use a new PageHeaderIcon component that applies the standardized color.
- Improved code readability and maintainability by clarifying icon management within the header.

These changes align with recent enhancements in icon color support across navigation components.
2026-02-18 16:44:12 +05:30
Abdul Rahman 0919abb7f6 Implement search functionality in CommandMenuEditColorOption for color selection
- Added a search input to filter color options based on user input, enhancing usability.
- Introduced state management for the search value and updated the rendering logic to display filtered color names.
- Included a separator for better visual organization in the dropdown menu.

These changes improve the user experience by allowing quick access to specific colors in the command menu.
2026-02-18 15:31:18 +05:30
Abdul Rahman ca13d9df1b Enhance WorkspaceNavigationMenuItemsFolder with add menu item functionality
- Integrated a new feature to allow users to add menu items directly within the folder component.
- Implemented a context state for managing the insertion of new menu items.
- Added a button for adding items, which triggers a command menu for item creation.
- Updated folder content length calculation to accommodate the new item.

These changes improve user interaction and streamline the process of managing navigation menu items.
2026-02-18 15:12:36 +05:30
Abdul Rahman 810184b33f Refactor getNavigationMenuItemIconColors utility for improved color handling
- Introduced a new helper function, getColorFromTheme, to streamline the retrieval of theme colors with customizable shades.
- Updated getNavigationMenuItemIconBorderColor to utilize the new helper function, enhancing consistency in color retrieval.
- Modified getNavigationMenuItemIconStyleFromColor to use the new helper for background, icon, and border colors, improving code readability and maintainability.

These changes enhance the flexibility and clarity of color management in navigation menu items.
2026-02-18 15:02:46 +05:30
Abdul Rahman d693608019 Update color for allOpportunities in standard navigation menu item constants
- Changed the color for the allOpportunities menu item from 'tomato' to 'red' to enhance visual consistency across the navigation menu.

This update aligns with recent enhancements to icon color support in navigation components.
2026-02-18 14:22:21 +05:30
Abdul Rahman 50f363cb34 Enhance navigation menu item components with icon color support
- Integrated getStandardObjectIconColor utility across various components to standardize icon colors based on object type.
- Updated CommandMenuNewSidebarItemObjectFlow and CommandMenuNewSidebarItemViewPickerSubView to utilize the new color utility.
- Modified AddToNavigationDragHandle and hooks to accept and apply icon color.
- Added iconColor property to AddToNavigationDragPayloadObject for better customization.

These changes improve visual consistency and customization options in the navigation menu.
2026-02-18 14:20:57 +05:30
Abdul Rahman 3772db60af Add getStandardObjectIconColor utility and update icon color in Command Menu components
- Introduced getStandardObjectIconColor function to standardize icon colors based on object type.
- Updated CommandMenuNewSidebarItemViewObjectPickerSubView, CommandMenuNewSidebarItemViewSystemSubView, CommandMenuObjectMenuItem, and CommandMenuObjectPickerItem components to utilize the new color utility.

This enhances visual consistency across the command menu items.
2026-02-18 14:14:52 +05:30
Abdul Rahman 8d0cc31bb9 Add folderColor prop to WorkspaceNavigationMenuItemsFolder component
- Introduced folderColor prop to allow customization of icon color.
- Updated NavigationDrawerSectionForWorkspaceItems to pass color from item if available.

This enhances the visual customization options for navigation menu items.
2026-02-18 14:00:36 +05:30
Abdul Rahman dc186b8b44 Refactor ObjectIconWithViewOverlay component
- Simplified StyledViewOverlay by removing the border color prop.
- Updated dimensions for the overlay box and icon sizes to fixed pixel values.
- Adjusted the background color to use a theme color directly.

This improves consistency and readability in the component's styling.
2026-02-18 13:58:01 +05:30
Abdul Rahman 1bde78962e Remove 'icon' column from navigationMenuItem migration and update related queries 2026-02-18 13:43:03 +05:30
Abdul Rahman 4e9cf76398 Refactor GraphQL imports in generated metadata file
- Moved Apollo import to the top of the file for consistency.
- Removed duplicate type definitions for NavigationMenuItemFieldsFragment and related queries/mutations to streamline the code.
2026-02-18 13:41:15 +05:30
Abdul Rahman 01994ca877 Merge branch 'main' into feat/navbar-customization-v2 2026-02-18 13:29:16 +05:30
Abdul Rahman 0d5a1543c0 Refactor navigation menu item icon handling
- Replaced the `IconWithBackground` component with a new `NavigationMenuItemStyleIcon` component for better styling and color management.
- Updated various components to utilize the new icon component, enhancing consistency in icon rendering across the application.
- Removed unused imports and simplified icon color logic by integrating color styles directly into the new component.
- Deleted the `getIconBackgroundColorForPayload` utility as it is no longer needed with the new icon handling approach.
2026-02-17 19:07:36 +05:30
Abdul Rahman f02e648b57 Refactor CommandMenuEditColorOption component
- Removed the styled component for color label and replaced it with a direct display of the color label in the dropdown.
- Simplified the rendering logic for the color option in the command menu, enhancing readability and maintainability.
2026-02-17 00:24:02 +05:30
Abdul Rahman 6a5163df56 Merge branch 'main' into feat/navbar-customization-v2 2026-02-17 00:10:22 +05:30
Abdul Rahman 1a9bc31ede Add CommandMenuEditColorOption component for color customization
- Introduced a new `CommandMenuEditColorOption` component to allow users to select and edit the color of navigation menu items.
- Integrated the color option into existing components: `CommandMenuEditLinkItemView`, `CommandMenuEditObjectViewBase`, and `CommandMenuNavigationMenuItemEditPage`.
- Updated the `useSaveNavigationMenuItemsDraft` and `useUpdateNavigationMenuItemInDraft` hooks to handle color changes in navigation menu items.
- Enhanced the user interface by providing a dropdown for color selection, improving customization options for navigation menu items.
2026-02-16 13:52:17 +05:30
Abdul Rahman 2f043e029f Update default colors for standard navigation menu items
- Changed default colors for `allCompanies`, `allPeople`, `allTasks`, and `allNotes` from indigo and teal to blue and turquoise, respectively.
- This update enhances visual consistency and improves the user interface of the navigation menu.
2026-02-16 13:37:29 +05:30
Abdul Rahman 2f9e784ecc Add color property to navigation menu item GraphQL types and fragments
- Introduced an optional `color` field in the `CreateNavigationMenuItemInput`, `UpdateNavigationMenuItemInput`, and `NavigationMenuItem` types.
- Updated related GraphQL fragments to include the new `color` field for consistency across queries and mutations.
- Ensured that the `color` property is reflected in the `CreateNavigationMenuItemMutation` and `DeleteNavigationMenuItemMutation` responses.
- This change enhances the customization options for navigation menu items.
2026-02-16 13:27:15 +05:30
Abdul Rahman a357259c80 Merge branch 'main' into feat/navbar-customization-v2 2026-02-16 13:12:00 +05:30
Abdul Rahman 43e000fc93 Add color property to navigation menu items and update related components
- Introduced a new `color` property in the `NavigationMenuItem` entity and updated the corresponding DTOs and input types to support it.
- Modified migration to add the `color` column to the `navigationMenuItem` table.
- Updated various utility functions and constants to handle the new `color` property.
- Enhanced the `createStandardNavigationMenuItemFlatMetadata` function to assign default colors based on item type.
- Adjusted tests and snapshots to reflect the inclusion of the `color` property.
2026-02-15 14:38:29 +05:30
Abdul Rahman c624ebd892 Refactor visibility logic for add menu item button in Navigation Drawer
- Introduced a new variable `isAddMenuItemButtonVisible` to streamline the visibility logic for the add menu item button based on edit mode and dragging state.
- Updated the rendering condition for the add menu item button to use the new variable for improved clarity and maintainability.
2026-02-14 00:03:07 +05:30
Abdul Rahman 60d1ac7688 Add styled components for improved layout in navigation menu
- Introduced `StyledWorkspaceDroppableList` to replace a div for better styling in the Navigation Drawer.
- Updated `StyledFolderDroppableContent` to include flex properties and gap for consistent spacing.
2026-02-13 23:55:21 +05:30
Abdul Rahman 9116378360 Update icon property in ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME to include toCompare flag 2026-02-13 18:28:57 +05:30
Abdul Rahman 66e8eca29a Merge branch 'main' into navbar-customization-improvements 2026-02-13 18:20:24 +05:30
Abdul Rahman b8cd6a9df6 Merge branch 'main' into navbar-customization-improvements 2026-02-12 23:22:48 +05:30
Abdul Rahman 180932751c Add icon property to workflowsFolder in navigation menu constants
This update introduces an icon property for the workflowsFolder in the standard navigation menu items, enhancing the metadata structure. The icon is also integrated into the relevant utility functions to ensure consistency across the navigation menu item representations.
2026-02-12 14:31:04 +05:30
Abdul Rahman 6222d72941 Remove unused 'alwaysShowRightOptions' prop from NavigationDrawerItem and WorkspaceNavigationMenuItemsFolder components to streamline code and improve clarity. 2026-02-12 13:53:33 +05:30
Abdul Rahman b89be3c05b Merge branch 'navbar-customization-followup' into navbar-customization-improvements 2026-02-12 13:46:36 +05:30
Abdul Rahman e09ca08195 Merge branch 'main' into navbar-customization-followup 2026-02-12 13:46:14 +05:30
Abdul Rahman c7dc9daaf8 Enhance PageHeaderToggleCommandMenuButton to align with command menu top bar in mobile view
This update introduces a new prop, alignWithCommandMenuTopBar, to the StyledButtonWrapper, allowing the button to adjust its position based on the command menu's state and the navigation menu's edit mode. The changes improve the user interface for mobile users by ensuring better alignment and visibility of the command menu toggle button.
2026-02-12 13:44:16 +05:30
Abdul Rahman 3bd2134f60 Add FOLDER_ICON_DEFAULT constant for navigation menu items 2026-02-12 08:04:07 +05:30
Abdul Rahman d2bbd7e878 Remove FOLDER_ICON_DEFAULT constant as part of navigation menu item cleanup 2026-02-12 08:03:54 +05:30
Abdul Rahman 8e8c193d98 Update import paths for FOLDER_ICON_DEFAULT constant to maintain consistency in navigation menu components
This change standardizes the import statement for the FOLDER_ICON_DEFAULT constant across multiple files, ensuring uniformity in naming conventions and improving code clarity.
2026-02-12 08:01:33 +05:30
Abdul Rahman 9c2d67e8e6 Refactor PageChangeEffect to use useRecoilCallback for command menu closure
This update modifies the PageChangeEffect component to utilize useRecoilCallback, allowing the command menu to close conditionally based on the current page state. The previous logic has been streamlined to enhance readability and maintainability.
2026-02-12 07:58:37 +05:30
Abdul Rahman 0e2d144b55 Remove redundant 'link' property assignments in navigation menu item migration and metadata utility files 2026-02-12 07:56:50 +05:30
Abdul Rahman 13289ecdc6 Refactor imports in NavigationDrawerSectionForWorkspaceItems component
This update reorganizes the import statements in the NavigationDrawerSectionForWorkspaceItems.tsx file for improved clarity and consistency. The changes include moving some imports to maintain a logical order and enhance readability.
2026-02-12 07:50:20 +05:30
Abdul Rahman f14a0bd1e5 Enhance PageChangeEffect and WorkspaceNavigationMenuItems components
This update introduces the commandMenuPage state to the PageChangeEffect component, preventing the command menu from closing when editing a navigation menu item. Additionally, the WorkspaceNavigationMenuItems component now utilizes the useNavigate hook for improved navigation handling, ensuring links are only followed if they are non-empty strings.
2026-02-12 07:38:08 +05:30
Abdul Rahman 0768178853 Add new feature flag for navigation menu item editing
This update introduces a new feature flag, IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED, to the seedFeatureFlags utility, enabling the editing of navigation menu items within the workspace.
2026-02-12 07:18:52 +05:30
Abdul Rahman 0fb8fe2264 Merge branch 'navbar-customization-followup' into navbar-customization-improvements 2026-02-12 07:16:27 +05:30
Abdul Rahman 7893181cfc Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-12 07:15:09 +05:30
Abdul Rahman e3c1bbdb39 Merge branch 'main' into feat/navbar-customization 2026-02-12 07:14:37 +05:30
Abdul Rahman 2111d3b5d8 Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-12 07:12:50 +05:30
Devessier 62abd18542 test: update e2e test according to new navigation system 2026-02-11 16:05:07 +01:00
Abdul Rahman e07f3aa09c Merge branch 'navbar-customization-followup' into navbar-customization-improvements 2026-02-11 20:10:24 +05:30
Devessier 2d928576c0 Merge remote-tracking branch 'origin/main' into feat/navbar-customization 2026-02-11 15:37:29 +01:00
Abdul Rahman e80985d0b0 Refactor navigation menu components for consistency and clarity
- Updated import statements in `CurrentWorkspaceMemberOrphanNavigationMenuItems` for improved organization.
- Reformatted conditional checks in `WorkspaceNavigationMenuItemsFolder` for enhanced readability.
2026-02-11 19:33:20 +05:30
Abdul Rahman 32fe8474d0 Refactor navigation menu components for improved readability
- Adjusted import statements in `CurrentWorkspaceMemberNavigationMenuItems` and `CurrentWorkspaceMemberOrphanNavigationMenuItems` for consistency.
- Reformatted conditional checks in `CurrentWorkspaceMemberNavigationMenuItems` and `NavigationDrawerItemForObjectMetadataItem` for better clarity.
- Enhanced readability of the `isRecord` and `isView` variable assignments in `NavigationMenuItemIcon` and `NavigationDrawerItemForObjectMetadataItem` components.
2026-02-11 19:31:49 +05:30
Abdul Rahman 04baec1a9e Refactor command menu hooks for adding folders and links
- Split the combined hook `useAddFolderAndLinkToNavigationMenu` into two separate hooks: `useAddFolderToNavigationMenu` and `useAddLinkToNavigationMenu`.
- Updated `CommandMenuNewSidebarItemMainMenu` to utilize the new hooks for better modularity and clarity in handling folder and link additions to the navigation menu.
2026-02-11 19:29:21 +05:30
Abdul Rahman 9e94ab47de Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 19:16:23 +05:30
Abdul Rahman 461d0ffd5e Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 19:15:30 +05:30
Abdul Rahman d869845dbf feat: enhance NavigationMenuEditModeBar with command menu integration
- Added command menu state management to NavigationMenuEditModeBar for improved navigation item handling.
- Implemented logic to close the command menu when specific navigation item pages are active, enhancing user experience during editing.
- Refactored component to utilize new command menu state, ensuring better synchronization between navigation and command menu actions.
2026-02-11 19:14:32 +05:30
Abdul Rahman 877fc492c6 feat: integrate addToNavFallbackDestination into navigation context
- Added addToNavFallbackDestination to NavigationDropTargetContext for improved drag-and-drop functionality.
- Updated NavigationDrawerSectionForWorkspaceItems to utilize the new fallback destination logic, enhancing visibility and handling of orphan navigation items.
- Refactored conditional rendering to accommodate the new drop target behavior.
2026-02-11 19:11:15 +05:30
Abdul Rahman 59e9cbb817 feat: enhance drag-and-drop functionality in PageDragDropProvider
- Added support for fallback destinations when dragging items from the navigation menu.
- Introduced state management for orphan items and improved handling of drag events.
- Updated drag update logic to accommodate new fallback destination behavior.
- Refactored drag end logic to ensure proper handling of navigation drop actions.
2026-02-11 18:55:43 +05:30
Abdul Rahman 5f2918b178 feat: enhance navigation menu item icons with overlay support
- Added a new component, ObjectIconWithViewOverlay, to display icons with an overlay for navigation menu items.
- Updated CommandMenuNewSidebarItemViewPickerSubView to utilize the new overlay icon feature.
- Refactored NavigationMenuItemIcon to conditionally render the overlay based on item type.
- Modified NavigationDrawerItemForObjectMetadataItem to support the new icon rendering logic.
- Improved AddToNavigationDragHandle to accommodate custom icon content display.
2026-02-11 18:49:57 +05:30
Abdul Rahman 1eb863bfc0 feat: add icon support to navigation menu items
- Introduced an optional `icon` field to the `NavigationMenuItem` type in GraphQL schemas.
- Updated related input types and fragments to include the new `icon` field.
- Refactored components to utilize the new icon feature, including `CommandMenuFolderInfo` and `WorkspaceNavigationMenuItems`.
- Replaced the previous folder name update hook with a more versatile `useUpdateFolderInDraft` hook to handle both name and icon updates.
- Added a default folder icon constant for better management of folder icons across the application.
2026-02-11 18:30:47 +05:30
Devessier 3e81789192 chore: regenerate graphql 2026-02-11 13:44:45 +01:00
Abdul Rahman 26a77f7931 Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 18:03:58 +05:30
Devessier 56676a78d4 test: fix 2026-02-11 12:27:42 +01:00
Abdul Rahman d8bb8e5f4f Enhance GraphQL schema with new input types and enums
- Added new scalar type `Upload` to support file uploads.
- Introduced multiple input types for creating and managing various entities, including `ActivateWorkspaceInput`, `CreateAgentInput`, and `CreateApiKeyInput`.
- Expanded the schema with new enums such as `AllMetadataName` and `AnalyticsType` for better categorization of metadata and analytics events.
- Added new mutation inputs for workflow management, including `CreateWorkflowVersionEdgeInput` and `DeleteWorkflowVersionStepInput`.
- Implemented additional filtering capabilities with `DateTimeFilter` to enhance query flexibility.

These changes improve the overall functionality and usability of the GraphQL API, enabling more robust interactions with the backend.
2026-02-11 16:47:58 +05:30
Abdul Rahman 8a769fe900 Merge branch 'main' into feat/navbar-customization 2026-02-11 16:47:24 +05:30
Abdul Rahman d545e05262 Merge branch 'navbar-customization-followup' into nav-folder-icon-customization 2026-02-11 16:21:59 +05:30
Abdul Rahman b04b7f953a Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 16:16:18 +05:30
Abdul Rahman 4d9b2d15e8 Merge branch 'main' into feat/navbar-customization 2026-02-11 16:15:58 +05:30
Abdul Rahman 5c7db7c887 refactor: optimize item type checks in CommandMenuObjectViewRecordInfo component
Refactored the logic for determining if the processed item is a view or record by using an array and the includes method for improved readability. Simplified the label assignment logic to enhance clarity. This change contributes to better maintainability and consistency in the CommandMenu components.
2026-02-11 16:11:59 +05:30
Abdul Rahman de032de7ee refactor: implement new sidebar item flows in CommandMenu components
Introduced new components for managing sidebar item creation flows, including CommandMenuNewSidebarItemObjectFlow and CommandMenuNewSidebarItemViewFlow. Updated CommandMenuNewSidebarItemMainMenu to utilize the new hooks for adding folders and links, enhancing the overall structure and maintainability of the CommandMenu. This refactor improves user experience by streamlining the process of adding new items to the navigation menu.
2026-02-11 15:29:52 +05:30
Abdul Rahman 5293fc81b4 refactor: update tests to use NavigationMenuItemType enum for item types
Replaced string literals with the NavigationMenuItemType enum in the getObjectMetadataForNavigationMenuItem tests. This change enhances type safety and consistency across the test suite, aligning with recent updates in the codebase.
2026-02-11 15:29:46 +05:30
Abdul RahmanandGitHub f530034288 Merge branch 'main' into feat/navbar-customization 2026-02-11 15:28:32 +05:30
Abdul Rahman 8cbd79aa4d refactor: implement new sidebar item flows in CommandMenu components
Introduced new components for managing sidebar item creation flows, including CommandMenuNewSidebarItemObjectFlow and CommandMenuNewSidebarItemViewFlow. Updated CommandMenuNewSidebarItemMainMenu to utilize the new hooks for adding folders and links, enhancing the overall structure and maintainability of the CommandMenu. This refactor improves user experience by streamlining the process of adding new items to the navigation menu.
2026-02-11 15:25:36 +05:30
Abdul Rahman 0c839475c3 refactor: update tests to use NavigationMenuItemType enum for item types
Replaced string literals with the NavigationMenuItemType enum in the getObjectMetadataForNavigationMenuItem tests. This change enhances type safety and consistency across the test suite, aligning with recent updates in the codebase.
2026-02-11 14:48:47 +05:30
Abdul Rahman 336b490520 Merge branch 'navbar-customization-followup' into nav-folder-icon-customization 2026-02-11 14:45:51 +05:30
Abdul Rahman fce5ce90e5 refactor: enhance normalizeUrl function to handle empty input
Updated the normalizeUrl function to return an empty string for empty or whitespace-only input. This change improves the function's robustness and ensures it handles edge cases more gracefully. Additionally, variable names were clarified for better readability.
2026-02-11 11:55:28 +05:30
Abdul Rahman e5862b9924 refactor: simplify folder picker logic in CommandMenu components
Updated the CommandMenuEditFolderPickerSubView and CommandMenuNavigationMenuItemEditPage components to streamline folder selection handling. Removed the useNavigationMenuItemEditSubView hook and replaced it with local state management for improved clarity and maintainability. The folder picker now directly manages its open/close state, enhancing the user experience and reducing complexity in the component structure.
2026-02-11 11:51:45 +05:30
Abdul Rahman d9da68bd3d refactor: standardize item type usage in CommandMenu components with NavigationMenuItemType enum
Updated various CommandMenu components and utilities to replace string literals for item types with the NavigationMenuItemType enum. This change enhances type safety, consistency, and maintainability across the codebase, reducing the risk of errors related to item type handling.
2026-02-11 11:43:16 +05:30
Abdul Rahman 2ddad5d9c7 refactor: update CommandMenu components to use NavigationMenuItemType enum
Replaced string literals for item types in CommandMenuFolderInfo and CommandMenuLinkInfo components with the NavigationMenuItemType enum for improved type safety and consistency across the codebase. This change enhances maintainability and reduces the risk of errors related to item type handling.
2026-02-11 11:39:07 +05:30
Abdul Rahman 8b455a8016 Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 11:36:44 +05:30
Abdul Rahman 7391b7b48b test: remove obsolete test files for navigation menu item utilities
Deleted outdated test files for getIconBackgroundColorForPayload, getNavigationMenuItemIconColors, and isWorkspaceDroppableId functions to streamline the test suite and eliminate redundancy. These tests are no longer necessary due to recent refactoring and updates in the utility functions.
2026-02-11 11:36:16 +05:30
Abdul Rahman 1a7b1ab077 refactor: improve code readability in tests and components
- Enhanced the formatting of test cases in recordIdentifierToObjectRecordIdentifier, sortNavigationMenuItems, and validateAndExtractWorkspaceFolderId tests for better clarity.
- Added comments to the CommandMenuNewSidebarItemViewPickerSubView component to clarify prop spreading, improving maintainability and understanding of the code.
2026-02-11 11:36:00 +05:30
Abdul Rahman 698074e377 refactor: remove unused feature flag from seedFeatureFlags utility
Eliminated the IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED feature flag from the seedFeatureFlags utility, streamlining the code and removing redundancy.
2026-02-11 11:31:20 +05:30
Abdul Rahman 9cd9e505f3 refactor: streamline CommandMenuNavigationMenuItemEditPage logic with switch statement
Refactored the CommandMenuNavigationMenuItemEditPage component to replace multiple if statements with a switch statement for improved readability and maintainability. This change enhances the handling of different navigation menu item types, ensuring clearer logic flow and reducing code duplication.
2026-02-11 11:19:35 +05:30
Abdul Rahman 28bd3707d4 Merge branch 'feat/navbar-customization' into navbar-customization-followup 2026-02-11 11:13:45 +05:30
Abdul Rahman 37978120d0 test: lower functions coverage threshold in Jest configuration
Reduced the functions coverage threshold in the Jest configuration from 48% to 40%, aligning with updated testing standards.
2026-02-11 11:13:19 +05:30
Abdul Rahman f44f47be1e refactor: enhance workspace folder ID validation in validateAndExtractWorkspaceFolderId utility
Updated the validateAndExtractWorkspaceFolderId utility to utilize the isNonEmptyString guard for improved validation of workspace folder IDs. This change enhances error handling by ensuring that only non-empty strings are accepted as valid folder IDs, contributing to better type safety and clarity in the navigation menu item logic.
2026-02-11 11:07:38 +05:30
Abdul Rahman e2bb09e992 refactor: replace NAVIGATION_MENU_ITEM_TYPE constant with NavigationMenuItemType enum
Refactored navigation menu item components and hooks to replace the deprecated NAVIGATION_MENU_ITEM_TYPE constant with a new NavigationMenuItemType enum for improved type safety and clarity. Updated all relevant imports and usages across the codebase to ensure consistency and maintainability.
2026-02-11 11:04:33 +05:30
Abdul Rahman fdb1aa461e refactor: replace NAVIGATION_MENU_ITEM_DROPPABLE_IDS constant with NavigationMenuItemDroppableIds enum
Refactored navigation menu item components and hooks to replace the NAVIGATION_MENU_ITEM_DROPPABLE_IDS constant with a new NavigationMenuItemDroppableIds enum for improved type safety and clarity. Updated all relevant imports and usages across the codebase to ensure consistency and maintainability.
2026-02-11 11:03:36 +05:30
Abdul Rahman 45297fd057 refactor: replace NAVIGATION_SECTIONS constant with NavigationSections enum
Refactored the navigation menu item components to replace the existing NAVIGATION_SECTIONS constant with a new NavigationSections enum for improved type safety and clarity. Updated related components and utility functions to utilize the new enum, ensuring consistency across the codebase. Removed the deprecated NavigationSectionId type as part of this transition.
2026-02-11 11:00:23 +05:30
Abdul Rahman 38e5d85287 refactor: update navigation menu item imports and introduce new utility functions
Refactored navigation menu item components and hooks to replace the old import paths for navigation sections with a new centralized import. Introduced two new utility functions, computeInsertIndexAndPosition and normalizeUrl, to enhance the management of navigation menu items and URL normalization. Added corresponding unit tests to ensure functionality and reliability of the new utilities.
2026-02-11 10:59:50 +05:30
Abdul Rahman f58bdd7245 feat: introduce CommandMenuNavigationItemActions enum and update related components
Added a new enum, CommandMenuNavigationItemActions, to centralize action identifiers for the command menu navigation items. Updated CommandMenuEditOrganizeActions and getOrganizeActionsSelectableItemIds to utilize this enum, enhancing code consistency and maintainability across the command menu functionality.
2026-02-11 10:55:30 +05:30
Abdul Rahman 547f623ee2 refactor: replace useSelectedNavigationMenuItemEditData with new hooks
Refactored multiple components and hooks to replace the deprecated useSelectedNavigationMenuItemEditData with more granular hooks: useSelectedNavigationMenuItemEditItem, useSelectedNavigationMenuItemEditItemLabel, and useSelectedNavigationMenuItemEditItemObjectMetadata. This change enhances code clarity and modularity, improving the management of selected navigation menu items across the command menu functionality.
2026-02-11 10:50:04 +05:30
Abdul Rahman 022f1f70d8 refactor: replace useNavigationMenuItemEditFolderData with useDraftNavigationMenuItems
Updated multiple components and hooks to utilize the new useDraftNavigationMenuItems hook, enhancing the management of draft navigation menu items. Removed the deprecated useNavigationMenuItemEditFolderData hook and adjusted related logic to ensure consistency across the command menu functionality.
2026-02-11 10:38:35 +05:30
Abdul Rahman cb50b65496 feat: add CommandMenuFolderInfo and CommandMenuLinkInfo components
Introduced two new components, CommandMenuFolderInfo and CommandMenuLinkInfo, to enhance the command menu functionality. These components allow users to edit folder names and link labels directly within the command menu, improving user experience and interaction. Updated CommandMenuPageInfo to integrate these new components based on the selected item type.
2026-02-11 10:28:53 +05:30
Abdul Rahman e3228fa467 test: lower coverage thresholds in Jest configuration
Adjusted the coverage thresholds in the Jest configuration to 48% for lines and 48% for functions, reflecting a revised standard for test coverage requirements.
2026-02-11 10:20:49 +05:30
Abdul Rahman fe96cc6d27 refactor: simplify drop handling logic in useHandleAddToNavigationDrop hook
Removed unnecessary checks for drop destination IDs in the useHandleAddToNavigationDrop hook. The logic now directly checks for defined folder IDs, streamlining the drop handling process and improving code readability.
2026-02-11 08:06:29 +05:30
Abdul Rahman 51b6effbd2 test: adjust coverage thresholds in Jest configuration
Updated the coverage thresholds in the Jest configuration to 48.6% for lines and 48.4% for functions, reflecting a revised standard for test coverage requirements.
2026-02-11 08:03:09 +05:30
Abdul Rahman 4d8046bc08 test: update coverage thresholds in jest configuration
Adjusted the coverage thresholds in the Jest configuration to improve code quality metrics. The new thresholds are set to 49.5% for statements, 49.5% for lines, and 49.4% for functions, reflecting a more stringent requirement for test coverage.
2026-02-11 07:49:18 +05:30
Abdul Rahman be1cae4a25 test: update navigation menu item utility tests for clarity and coverage
Refactored existing test cases for navigation menu item utilities to improve clarity and consolidate similar assertions. Key changes include:
- Simplified test descriptions for better understanding.
- Combined multiple assertions into single tests where applicable.
- Enhanced coverage for edge cases, ensuring robust validation of utility functions.

These updates aim to maintain the reliability of navigation menu item utilities while improving the overall readability of the test suite.
2026-02-11 07:49:10 +05:30
Abdul Rahman b9b8062d39 test: add unit tests for calculateNewPosition utility
Introduced a new test suite for the calculateNewPosition function, covering various scenarios including edge cases for moving items in a draggable list. The tests validate the correct position calculations when items are moved to the beginning, end, or within the list, ensuring reliable behavior of the drag-and-drop functionality.
2026-02-11 07:29:08 +05:30
Abdul Rahman 1420ebabbc refactor: enhance CommandMenuItemWithAddToNavigationDrag for improved icon handling and payload registration
- Updated the component to accept a new `customIconContent` prop for better icon customization.
- Refactored the payload registration logic to ensure it is registered on mouse events, improving drag-and-drop functionality.
- Cleaned up the code structure for better readability and maintainability.
2026-02-11 06:58:05 +05:30
Abdul Rahman bc93710e83 refactor: replace AddToNavigationIconSlot with AddToNavigationDragHandleIcon for improved icon handling
- Introduced AddToNavigationDragHandleIcon to manage custom icon content and standard icons more effectively.
- Removed the AddToNavigationIconSlot component to streamline the codebase.
- Updated CommandMenuNewSidebarItemRecordItem and AddToNavigationDragHandle components to utilize the new icon handling approach.
2026-02-11 06:54:43 +05:30
Abdul Rahman 7b2a5ffe76 Merge branch 'main' into feat/navbar-customization 2026-02-11 06:36:34 +05:30
Abdul Rahman 03971aa38a test: add unit tests for navigation menu item utilities
Introduced new test files for various utility functions related to navigation menu items. The tests cover the following functionalities:
- `getDropTargetIdFromDestination`: Validates the correct drop target ID generation based on different droppable IDs.
- `getIconBackgroundColorForPayload`: Ensures the correct background color is returned for different payload types.
- `getNavigationMenuItemIconColors`: Confirms the correct theme colors are returned for various navigation menu item types.
- `isWorkspaceDroppableId`: Tests the identification of workspace droppable IDs under various conditions.

These tests enhance the reliability of the navigation menu item utilities by ensuring expected behaviors are maintained.
2026-02-11 01:31:39 +05:30
Abdul Rahman c0bcbc1e01 Merge branch 'main' into feat/navbar-customization 2026-02-11 00:48:42 +05:30
Abdul Rahman 2c81170bf3 refactor: streamline state management in navigation components
Updated the `useCommandMenu`, `PageDragDropProvider`, and `useHandleAddToNavigationDrop` hooks to utilize the new `getSnapshotValue` utility for improved state access. This change enhances code clarity and consistency by reducing direct interactions with the Recoil state. Additionally, refactored the navigation drop handling logic to encapsulate repetitive code into a new function, `openEditForNewNavItem`, simplifying the process of opening edit modes for new navigation items.
2026-02-11 00:48:10 +05:30
Abdul Rahman e6d97717d4 feat: integrate Recoil state management for navigation drag-and-drop
Added a new Recoil atom `addToNavPayloadRegistryState` to manage the state of draggable items in the navigation menu. Updated the `CommandMenuItemWithAddToNavigationDrag` component to utilize this state for handling drag-and-drop operations. Refactored the drag update and drop handling logic in `PageDragDropProvider` and `useHandleAddToNavigationDrop` to leverage the new state management, improving the overall drag-and-drop functionality and ensuring better item tracking during interactions. Removed the deprecated utility functions related to draggable IDs.
2026-02-11 00:39:38 +05:30
Abdul Rahman 01bb4214ad feat: implement drag-and-drop functionality for navigation menu items
Added new components `CommandMenuAddToNavDraggablePlaceholder` and `CommandMenuAddToNavDroppable` to facilitate drag-and-drop interactions within the navigation menu. Updated existing components to integrate these new features, allowing users to rearrange items more intuitively. Enhanced the `CommandMenuItemWithAddToNavigationDrag` to support drag indices for better item positioning during drag operations. Refactored related components to ensure compatibility with the new drag-and-drop context.
2026-02-10 21:22:05 +05:30
Abdul Rahman 584f13f0d4 Merge branch 'main' into feat/navbar-customization 2026-02-10 20:08:57 +05:30
Abdul Rahman 7889fc65e0 refactor: update navigation menu item matching logic
Replaced 'objectNameSingular' with 'itemType' in the isLocationMatchingNavigationMenuItem utility to improve clarity and consistency. Updated corresponding tests to reflect this change, ensuring accurate navigation item matching based on item types.
2026-02-10 19:55:03 +05:30
Abdul Rahman aefe6f67fc refactor: improve navigation menu item movement logic
Updated the logic for moving navigation menu items to account for folder structure. The changes ensure that items are moved within their respective folders, enhancing the accuracy of item positioning. This includes adjustments to how siblings are identified and managed during move operations.
2026-02-10 19:48:44 +05:30
Abdul Rahman 5b16cde53f Merge branch 'main' into feat/navbar-customization 2026-02-10 18:15:07 +05:30
Abdul Rahman fcb5d7ee20 fix: simplify folder item handling in useWorkspaceSectionItems hook
Refactored the useWorkspaceSectionItems hook to always push folder items into the accumulator, removing the conditional check for defined folder children. This change streamlines the logic for handling navigation menu items, ensuring that all folder items are consistently processed.
2026-02-10 16:50:04 +05:30
Abdul Rahman 90de7f818b test: add unit tests for recordIdentifierToObjectRecordIdentifier utility function
Introduced unit tests for the recordIdentifierToObjectRecordIdentifier function, validating its behavior with various input scenarios. The tests ensure correct mapping of record identifiers to object records, including handling of avatar URLs and link generation for specific object types, enhancing overall code reliability.
2026-02-10 15:44:26 +05:30
Abdul Rahman 58bc4c4184 test: add unit tests for workspace navigation menu item utilities
Introduced unit tests for the filterWorkspaceNavigationMenuItems and getObjectMetadataForNavigationMenuItem utility functions. These tests validate the filtering of navigation menu items based on userWorkspaceId and ensure correct retrieval of object metadata for various item types, enhancing overall code reliability.
2026-02-10 15:35:33 +05:30
Abdul Rahman ea8c91002d fix: update navigation menu item error messages to include external link option
Enhanced the error messages for navigation menu item creation to specify that an external link is now a valid option. This change improves user guidance by clarifying the requirements for creating navigation menu items.
2026-02-10 15:03:23 +05:30
Abdul Rahman 7bca98fadb test: add unit tests for navigation menu item utilities
Introduced comprehensive unit tests for utility functions related to navigation menu items, including normalization of URLs, computation of insert indices and positions, and validation of workspace folder IDs. These tests enhance code reliability and ensure correct functionality across various scenarios.
2026-02-10 15:01:19 +05:30
Abdul Rahman e5acbcf555 fix: add link property to navigation menu item metadata
Included a link property set to null in various navigation menu item metadata creation functions. This change ensures that the link attribute is consistently defined across different components, improving data structure integrity and preparing for future enhancements.
2026-02-10 14:41:48 +05:30
Abdul Rahman b61377c29a fix: refine icon type validation in AddToNavigationIconSlot component
Updated the AddToNavigationIconSlot component to check for valid icon types by allowing only strings, numbers, and booleans to return null. This change enhances the component's robustness by ensuring that only appropriate icon types are processed, preventing potential rendering issues.
2026-02-10 14:35:28 +05:30
Abdul Rahman 655ec251af fix: include folderUniversalIdentifier in navigation menu item metadata
Added folderUniversalIdentifier to the buildStandardFlatNavigationMenuItemMaps and createStandardNavigationMenuItemFolderFlatMetadata functions. This enhancement ensures that the folder's unique identifier is correctly incorporated into the navigation menu item metadata, improving data integrity and consistency across the application.
2026-02-10 14:26:29 +05:30
Abdul Rahman 4f55adb73c fix: update folder content drop disabled logic in CurrentWorkspaceMemberNavigationMenuItems component
Modified the folderContentDropDisabled assignment to use isWorkspaceFolder, ensuring accurate handling of drop disabled states based on the current workspace context. This change improves the component's functionality and responsiveness to workspace conditions.
2026-02-10 14:21:43 +05:30
Abdul Rahman 7c92aeff20 fix: handle non-function icon types in AddToNavigationIconSlot component
Updated the AddToNavigationIconSlot component to return null when the icon prop is not a function. This change improves the component's robustness by ensuring that only valid icon components are rendered, preventing potential runtime errors.
2026-02-10 14:20:25 +05:30
Abdul Rahman 1738fa08f9 fix: enhance search records handling in CommandMenuNewSidebarItemRecordSubView
Updated the searchRecords assignment to safely access nested properties in searchData, ensuring robust handling of potential undefined values. This change improves the reliability of the component when processing search results.
2026-02-10 14:18:53 +05:30
Abdul Rahman ab392e7b13 fix: include targetRecordId in navigation menu item comparison logic
Updated the comparison logic in the useSaveNavigationMenuItemsDraft hook to include targetRecordId, ensuring accurate detection of changes in navigation menu items. This enhancement improves the functionality of draft saving by considering all relevant identifiers.
2026-02-10 14:16:29 +05:30
Abdul Rahman 67707da339 refactor: optimize sorting of object metadata items in CommandMenu components
Refactored the sorting logic for active non-system object metadata items in both CommandMenuNewSidebarItemPage and useFilteredObjectMetadataItems hooks. The sorting now utilizes the spread operator to create a new array before sorting, improving code clarity and consistency across components.
2026-02-10 14:15:21 +05:30
Abdul Rahman 4d123759f1 refactor: update contextual description logic in CommandMenuItemWithAddToNavigationDrag
Modified the logic for displaying the contextual description in the CommandMenuItemWithAddToNavigationDrag component. The description now defaults to the provided description when not hovered, improving clarity and user experience.
2026-02-10 14:14:01 +05:30
Abdul Rahman a3e242bd8b fix: add key prop to CommandMenuEditLinkItemView for improved rendering
Added a key prop using selectedItem.id to the CommandMenuEditLinkItemView component to ensure proper rendering and reconciliation of list items in React. This change enhances performance and prevents potential rendering issues when the selected item changes.
2026-02-10 14:11:59 +05:30
Abdul Rahman fa9dba834f refactor: improve item type handling and component logic in CommandMenu
Refactored the CommandMenuNavigationMenuItemEditPage and related hooks to enhance item type checks and streamline component logic. Updated imports for better organization and clarity, ensuring consistent handling of navigation menu item types. This change simplifies the logic for rendering components based on selected item types, improving overall code readability and maintainability.
2026-02-10 14:08:37 +05:30
Abdul RahmanGitHubCopilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
d24264a302 Potential fix for pull request finding 'Useless conditional'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-02-10 14:05:05 +05:30
Abdul Rahman b8a2600ba5 refactor: enhance folder selection logic in CommandMenu components
Refactored the CommandMenuEditFolderPickerSubView to utilize a new custom hook, useFolderPickerSelectionData, for improved folder selection management. This change simplifies the component's logic by centralizing folder filtering and selection handling. Additionally, updated other components to use a new utility function for generating selectable item IDs, enhancing code consistency and readability.
2026-02-10 14:04:21 +05:30
Abdul Rahman d2bf4a7e9a refactor: standardize navigation menu item type handling across components
Updated various components and hooks to utilize a centralized NAVIGATION_MENU_ITEM_TYPE constant for item type checks. This change enhances code consistency and readability by replacing string literals with a defined type, ensuring better maintainability and reducing the risk of errors in item type handling.
2026-02-10 13:50:15 +05:30
Abdul Rahman eaec7dedcc refactor: remove getNavigationMenuItemType utility and streamline item type handling
Eliminated the getNavigationMenuItemType utility function and replaced its usage with direct access to itemType properties in relevant components and hooks. This change simplifies the logic for determining navigation menu item types and enhances code clarity.
2026-02-10 13:41:37 +05:30
Abdul Rahman b7798efb4c refactor: simplify item type checks in CommandMenu components
Updated the CommandMenuEditFolderPickerSubView and CommandMenuNavigationMenuItemEditPage components to replace individual item type flags with a single selectedItemType property. This change streamlines the logic for determining item types and enhances code readability. Additionally, removed unused flags from the useSelectedNavigationMenuItemEditData hook.
2026-02-10 13:37:28 +05:30
Abdul Rahman 6b27902df2 feat: add 'link' property to entity properties configuration
Introduced a new 'link' property in the ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME constant to enhance entity metadata configuration.
2026-02-10 13:21:04 +05:30
Abdul Rahman 4b0bd71e02 Merge branch 'main' into feat/navbar-customization 2026-02-10 13:20:50 +05:30
Abdul Rahman 2efe056977 Add Link and Icon Properties to Navigation Menu Item Migrations
- Updated the migration command to include `link` and `icon` properties for navigation menu items, ensuring consistency across various components.
- Enhanced metadata creation utilities to support these properties, improving the overall functionality and representation of navigation menu items.
2026-02-10 10:43:02 +05:30
Abdul Rahman d21e15556b Remove migration for adding link to navigation menu item
- Deleted the migration file that added a `link` column to the `navigationMenuItem` table, as it is no longer needed following recent updates to the database schema.
2026-02-10 10:36:25 +05:30
Abdul Rahman 5fc9c725b6 Add Link and Icon Columns to Navigation Menu Item Table
- Created a new migration to add `link` and `icon` columns to the `navigationMenuItem` table in the database.
- This enhancement supports the recent updates to navigation menu item components, allowing for better representation and functionality.
2026-02-10 10:27:42 +05:30
Abdul Rahman f06ce683d4 Add Link and Icon Properties to Entity Properties Configuration
- Introduced `link` and `icon` properties to the `ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME` constant, enhancing the metadata structure for better representation and functionality.
- Both properties are set to not be stringified and have undefined universal properties, maintaining consistency with existing configurations.
2026-02-10 10:19:49 +05:30
Abdul Rahman 2f1d6f8b7e Merge branch 'main' into feat/navbar-customization 2026-02-10 10:19:35 +05:30
Abdul Rahman 2ae6c52e4b Add Icon Property to Navigation Menu Item Components
- Introduced an `icon` property across various navigation menu item components, including input types, DTOs, and entities, to enhance the representation of menu items.
- Updated utility functions to accommodate the new `icon` property, ensuring consistent handling during item creation and transformation.
- Enhanced metadata creation utilities to support the inclusion of icons, improving the overall functionality and user experience of the navigation menu.
2026-02-10 10:15:24 +05:30
Abdul Rahman 919766cced Add CommandMenuObjectViewRecordInfo Component for Enhanced View and Record Display
- Introduced `CommandMenuObjectViewRecordInfo` component to display information for selected view and record items in the command menu.
- Updated `CommandMenuPageInfo` to integrate the new component, improving the handling of view and record types.
- Enhanced `useSelectedNavigationMenuItemEditData` hook to include a flag for record items, supporting the new component's functionality.
2026-02-10 00:50:13 +05:30
Abdul Rahman b048b7a19d Add Add Before and Add After Functionality to Command Menu Components
- Introduced `onAddBefore` and `onAddAfter` props in `CommandMenuEditLinkItemView`, `CommandMenuEditObjectViewBase`, and `CommandMenuEditOrganizeActions` to support adding items before and after existing menu items.
- Updated `CommandMenuNavigationMenuItemEditPage` to include new actions for adding items, enhancing the command menu's functionality.
- Implemented context management for item insertion using Recoil, allowing for dynamic placement of new items in the navigation menu.
- Added new icons for the add actions to improve visual representation in the command menu.
- Created `addMenuItemInsertionContextState` and `AddMenuItemInsertionContext` types to manage the state related to item insertion, improving code organization and maintainability.
2026-02-10 00:40:12 +05:30
Abdul Rahman a95f15274e Refactor Command Menu New Sidebar Item Components for Improved Logic and Clarity
- Removed unused variables and props in `CommandMenuNewSidebarItemPage` and `CommandMenuNewSidebarItemViewPickerSubView`, streamlining the component logic.
- Simplified filtering logic for available object metadata items, enhancing performance and readability.
- Updated the structure of the components to improve maintainability and user experience in the command menu.
2026-02-10 00:21:31 +05:30
Abdul Rahman 22469701ae Refactor WorkspaceNavigationMenuItemsFolder for Improved Padding Logic
- Updated `StyledFolderDroppableContent` to replace `$isEditMode` and `$isEmpty` props with a single `$compact` prop, simplifying the padding logic based on the editing state and item presence.
- Adjusted the `WorkspaceNavigationMenuItemsFolder` component to utilize the new `$compact` prop, enhancing code clarity and maintainability.
2026-02-10 00:15:38 +05:30
Abdul Rahman 326f32e62f Refactor WorkspaceNavigationMenuItemsFolder for Enhanced Styling and Logic
- Updated `StyledFolderDroppableContent` to accept new props `$isEditMode` and `$isEmpty`, allowing for dynamic padding adjustments based on the editing state and item presence.
- Integrated these props into the `WorkspaceNavigationMenuItemsFolder` component to improve layout responsiveness during editing, enhancing user experience.
2026-02-09 23:31:12 +05:30
Abdul Rahman 09bf955538 Refactor Command Menu Components to Streamline Object Editing and Remove Unused Subviews
- Simplified `CommandMenuEditObjectViewBase` by removing unnecessary props and components, enhancing clarity and maintainability.
- Deleted `CommandMenuEditViewPickerSubView` and related hooks to streamline the command menu structure, reducing complexity.
- Updated `CommandMenuNavigationMenuItemEditPage` to reflect changes in the object editing logic, improving overall functionality and user experience.
2026-02-09 23:10:52 +05:30
Abdul Rahman a113468440 Refactor Navigation Menu Components to Enhance Navigation Logic
- Updated `CurrentWorkspaceMemberNavigationMenuItems` and `WorkspaceNavigationMenuItemsFolder` components to utilize `useNavigate` for improved navigation handling.
- Introduced logic to navigate to the first non-link item when the menu is closed, enhancing user experience and streamlining navigation.
- Refactored location handling to improve code clarity and maintainability across components.
2026-02-09 22:42:17 +05:30
Abdul Rahman 5b55f915d5 Enhance Navigation Item Drop Target and Workspace Menu with Add Item Functionality
- Updated the `NavigationItemDropTarget` component to support a new `compact` prop, allowing for dynamic height adjustment based on the editing state.
- Introduced `handleAddMenuItem` function in `WorkspaceNavigationMenuItems` to facilitate adding new items to the navigation menu.
- Enhanced `NavigationDrawerSectionForWorkspaceItems` to include an `onAddMenuItem` prop, enabling the display of an "Add menu item" option when in edit mode, improving user interaction and navigation management.
2026-02-09 22:37:22 +05:30
Abdul Rahman 26e67db0aa Update CommandMenuSubViewWithSearch styling for improved visual consistency
- Changed the border color in the StyledSearchContainer from medium to light, enhancing the overall appearance and alignment with the theme's design principles.
2026-02-09 22:26:29 +05:30
Abdul Rahman af1fcee234 Enhance Command Menu New Sidebar Item with Submenu Support
- Added a new `hasSubMenu` prop to the `CommandMenuNewSidebarItemViewObjectPickerSubView` component, enabling the display of submenu items for better organization and navigation.
- Updated the component's structure to improve user interaction and enhance the overall functionality of the command menu.
2026-02-09 22:26:07 +05:30
Abdul Rahman f9df7b87f8 Enhance Command Menu Sidebar Item with Displayable Views and System Object Option
- Added logic to filter object metadata items based on displayable views, improving the selection process in the command menu.
- Introduced a new prop `showSystemObjectsOption` to conditionally render the system objects option in the sidebar, enhancing user experience.
- Updated related components to utilize the new filtering and display logic, ensuring a more intuitive interaction with the command menu items.
2026-02-09 22:12:08 +05:30
Abdul Rahman 6f78f9a796 Implement Navigation Sections and Enhance Drag-and-Drop Functionality
- Introduced `NAVIGATION_SECTIONS` constants to categorize navigation items into 'workspace' and 'favorites', improving code clarity and organization.
- Added `NavigationDragSourceContext` to manage the source droppable ID during drag-and-drop operations, enhancing state management.
- Updated various components to utilize the new context and constants, including `NavigationItemDropTarget`, `NavigationMenuItemDroppable`, and others, to improve drag-and-drop handling.
- Implemented logic to disable drop targets based on the current section, enhancing user experience during drag-and-drop interactions.
- These changes collectively improve the structure and functionality of the navigation menu, ensuring a more intuitive drag-and-drop experience.
2026-02-09 21:55:32 +05:30
Abdul Rahman 8f7b189717 Enhance Drag Preview Functionality with Recoil Integration
- Updated the `createAddToNavigationDragPreview` function to wrap the `AddToNavigationDragPreview` component in a `RecoilRoot`, enabling state management for drag-and-drop operations.
- Adjusted the positioning of the drag preview element from off-screen to the top-left corner, improving visibility during drag actions.
- These changes enhance the functionality and user experience of the drag-and-drop feature within the navigation menu.
2026-02-09 21:07:42 +05:30
Abdul Rahman e2da06cf3c Refactor NavigationSidebarNativeDropZone for Improved Drag-and-Drop Handling
- Renamed drag event handlers for clarity, changing `handleDocumentDrop` to `handleDocumentDragStart` and introducing `handleDocumentDragEnd` to manage drag state more effectively.
- Enhanced the logic for setting active drop targets based on the current draft items, improving user feedback during drag-and-drop operations.
- Updated event listener management to ensure proper cleanup, contributing to better performance and maintainability of the component.
- These changes collectively enhance the drag-and-drop experience within the navigation sidebar.
2026-02-09 20:16:02 +05:30
Abdul Rahman 92ba245e87 Refactor AddToNavigationDragHandle and IconWithBackground for Improved Icon Sizing
- Updated the `StyledIconSlot` component to use a `$hasFixedSize` prop instead of `$hasBackgroundColor`, enhancing the flexibility of the drag handle's appearance.
- Simplified icon size handling in `AddToNavigationDragHandle` and `IconWithBackground` components by standardizing the size to `theme.icon.size.md`, improving consistency across the application.
- These changes enhance the visual coherence of the navigation menu items and streamline icon rendering logic.
2026-02-09 19:52:07 +05:30
Abdul Rahman 5caa8df0cf Refactor Command Menu Components for Enhanced Icon Handling and Theming
- Introduced the `IconWithBackground` component to standardize icon rendering with background colors, improving visual consistency across command menu items.
- Updated `CommandMenuItem`, `CommandMenuObjectMenuItem`, and related components to utilize the new `IconWithBackground`, enhancing their appearance and theming capabilities.
- Integrated theme-based icon color management in `CommandMenuNewSidebarItemViewObjectPickerSubView` and `CommandMenuNewSidebarItemViewSystemSubView`, ensuring better alignment with the overall design.
- These changes collectively improve the user interface and maintainability of the command menu components.
2026-02-09 19:50:14 +05:30
Abdul Rahman d8292062cc Refactor AddToNavigationDragHandle Component for Enhanced Customization
- Updated the `StyledIconSlot` to accept an optional `$backgroundColor` prop, allowing for greater customization of the drag handle's appearance.
- Simplified the cursor handling logic and adjusted padding and width based on the presence of the background color, improving the component's flexibility.
- Enhanced the `AddToNavigationDragHandle` props to include `iconBackgroundColor`, providing more control over the icon's styling during drag operations.
- These changes improve the usability and visual consistency of the drag handle within the navigation menu.
2026-02-09 18:43:57 +05:30
Abdul Rahman 439d81c8d7 Enhance Command Menu Item with Contextual Drag Description
- Integrated the `useLingui` hook to provide internationalization support for the drag-and-drop functionality within the `CommandMenuItemWithAddToNavigationDrag` component.
- Updated the description displayed during hover to show a contextual message, improving user guidance when dragging items to the navigation bar.
- These changes enhance the user experience by providing clearer instructions during drag operations.
2026-02-09 18:23:39 +05:30
Abdul Rahman fae016b6f9 Refactor AddToNavigationIconSlot Component for Improved Icon Handling
- Simplified the icon rendering logic by replacing the custom `isIconComponent` type guard with `isValidElement` to streamline the component's functionality.
- Enhanced the handling of icon components to ensure proper rendering based on their type, improving code clarity and maintainability.
- These changes contribute to a more efficient and understandable implementation of the AddToNavigationIconSlot component.
2026-02-09 17:15:22 +05:30
Abdul Rahman 8159a0cede Update Command Menu Icons for Improved Clarity
- Replaced `IconFolderPlus` with `IconFolderSymlink` in the `CommandMenuEditOrganizeActions` component to better represent the action of moving items to a folder.
- Added `IconFolderSymlink` to the `twenty-ui` display module, ensuring it is available for use across the application.
- These changes enhance the visual representation of actions within the command menu, improving user experience and clarity.
2026-02-09 17:08:02 +05:30
Abdul Rahman 2b465f5b52 Refactor Workspace Navigation Menu Items Folder for Enhanced Structure and Functionality
- Introduced a new styled component, `StyledFolderExpandableWrapper`, to improve layout management during drag-and-drop operations.
- Updated the rendering logic within `WorkspaceNavigationMenuItemsFolder` to enhance clarity and maintainability by utilizing the new styled component.
- Simplified the handling of navigation menu items by directly integrating the `Droppable` component, ensuring a more efficient drag-and-drop experience.
- These changes collectively enhance the user experience and maintain the integrity of the navigation menu during interactions.
2026-02-09 14:24:30 +05:30
Abdul Rahman 19472a9bb5 Add WorkspaceNavigationMenuItemFolderDragClone Component for Drag-and-Drop Functionality
- Introduced the `WorkspaceNavigationMenuItemFolderDragClone` component to enhance the drag-and-drop experience within the workspace navigation menu.
- Integrated the new component into the `WorkspaceNavigationMenuItemsFolder` to render a clone of the draggable item, improving user interaction during drag operations.
- This addition streamlines the drag-and-drop functionality, providing visual feedback and maintaining the integrity of the navigation menu items during dragging.
2026-02-09 14:16:24 +05:30
Abdul Rahman 84c804394d Refactor NavbarDragProvider to Improve Parameter Naming
- Updated the parameter name in the `handleDragStart` function from `_` to `_dragStart` for better clarity and understanding of its purpose.
- This change enhances code readability and maintainability by providing a more descriptive parameter name.
2026-02-09 14:13:24 +05:30
Abdul Rahman a3bfa3bba1 Refactor Workspace Navigation Menu Items Folder Component for Improved Structure
- Removed the unused `NavigationItemDropTarget` import to streamline the component.
- Introduced a new styled component, `StyledFolderDroppableContent`, to enhance layout consistency.
- Simplified the rendering logic by directly using `NavigationDrawerItem` and `DraggableItem`, improving code clarity and maintainability.
- These changes contribute to a more organized and efficient implementation of the workspace navigation menu items.
2026-02-09 13:07:15 +05:30
Abdul Rahman aaed4215b9 Implement Navbar Drag Provider and Refactor Navigation Components for Drag-and-Drop Functionality
- Introduced the `NavbarDragProvider` component to manage drag-and-drop context for navigation items, enhancing user interaction capabilities.
- Updated `MainNavigationDrawerScrollableItems` and `CurrentWorkspaceMemberFavoritesFolders` components to utilize the new drag provider, improving the organization of draggable items.
- Refactored navigation menu item components to replace the previous drag provider with a more streamlined approach, enhancing code clarity and maintainability.
- Adjusted constants for droppable IDs to support the new drag-and-drop logic, ensuring consistency across the navigation menu items.
- These changes collectively enhance the user experience by enabling intuitive drag-and-drop functionality within the navigation drawer.
2026-02-09 12:55:57 +05:30
Abdul Rahman 44602fc2cc Enhance Navigation Drawer Section Title Component with Always Visible Right Icon
- Added a new prop `alwaysShowRightIcon` to the `NavigationDrawerSectionTitle` component, allowing the right icon to remain visible regardless of mobile state.
- Updated the `StyledRightIcon` component to conditionally render opacity based on the new prop, improving user experience and accessibility.
- These changes enhance the flexibility and usability of the navigation drawer component.
2026-02-09 12:45:43 +05:30
Abdul Rahman 55d55a62c5 Update Icon Sizes and Container Dimensions for Consistency
- Adjusted icon sizes in multiple components to use a consistent spacing value of `3.5`, enhancing visual uniformity across the application.
- Updated the dimensions of the `StyledNavigationMenuItemIconContainer` to `4.5`, ensuring alignment with the new icon sizing.
- These changes improve the overall aesthetic and maintainability of the UI components.
2026-02-09 12:09:50 +05:30
Abdul Rahman 4faee658f0 Remove Unused Import in useSelectedNavigationMenuItemEditData Hook
- Eliminated the unused `isDefined` import from the `useSelectedNavigationMenuItemEditData` hook, enhancing code cleanliness and maintainability.
- This change contributes to a more organized codebase by removing unnecessary dependencies.
2026-02-09 12:02:00 +05:30
Abdul Rahman 160f7ca574 Refactor Workspace Navigation Menu Item Filtering for Enhanced Type Safety
- Updated the `filterWorkspaceNavigationMenuItems` function to utilize the `NavigationMenuItem` type, improving type consistency and clarity in filtering logic.
- This change enhances the maintainability and readability of the code by ensuring that the function operates on a well-defined type.
2026-02-09 11:57:58 +05:30
Abdul Rahman ab4262844b Refactor Navigation Menu Item Components for Enhanced Type Consistency
- Updated various components and hooks to utilize the new `itemType` property for improved clarity in navigation menu item handling.
- Removed unnecessary imports and simplified condition checks, enhancing code readability and maintainability.
- These changes contribute to a more organized and efficient implementation of navigation menu item logic.
2026-02-09 11:56:45 +05:30
Abdul Rahman 195bdac620 Refactor Navigation Menu Item Logic for Improved Type Handling
- Updated condition checks in `useSelectedNavigationMenuItemEditData`, `WorkspaceNavigationMenuItemsFolder`, and `useWorkspaceSectionItems` to utilize the new `itemType` property for better clarity and consistency.
- Removed unnecessary imports and simplified logic related to navigation menu item types, enhancing code readability and maintainability.
- These changes contribute to a more organized and efficient implementation of navigation menu item handling.
2026-02-08 20:53:20 +05:30
Abdul Rahman ef57d5c96e Enhance Navigation Menu Item Type Handling and Sorting Logic
- Introduced a new `NavigationMenuItemType` type to categorize menu items as 'folder', 'link', 'object', 'record', or 'view'.
- Updated the `ProcessedNavigationMenuItem` type to include an `itemType` property, improving clarity in item categorization.
- Refactored the `sortNavigationMenuItems` function to assign the appropriate `itemType` based on the item being processed, enhancing the sorting logic and maintainability.
- Simplified condition checks in `NavigationDrawerItemForObjectMetadataItem` to utilize the new `itemType` property for determining item characteristics, improving code readability.
2026-02-08 20:51:41 +05:30
Abdul Rahman f1f0f743ab Refactor StyledIcon Component for Improved CSS Handling
- Updated the CSS syntax in the `StyledIcon` component to use the `css` template literal for better readability and maintainability.
- This change enhances the clarity of the styling logic within the component, contributing to a more organized codebase.
2026-02-08 20:42:30 +05:30
Abdul Rahman f16b724419 Enhance Icon Component Handling in AddToNavigationIconSlot
- Updated the `isIconComponent` function to allow for both function and object types, improving flexibility in icon handling.
- Renamed the local variable from `IconComponent` to `Icon` for clarity in rendering.
- These changes contribute to a more robust and maintainable implementation of the AddToNavigationIconSlot component.
2026-02-08 20:41:18 +05:30
Abdul Rahman cb21655afd Refactor Navigation Menu Edit Mode Logic for Improved State Management
- Replaced the `useNavigationMenuEditModeActions` hook with direct state management using Recoil's `useSetRecoilState` in `NavigationMenuEditModeBar` and `WorkspaceNavigationMenuItems` components, enhancing clarity and modularity.
- Introduced a new `cancelEditMode` function to handle the cancellation of edit mode, improving the organization of state updates.
- Removed the now-unnecessary `useNavigationMenuEditModeActions` hook, streamlining the codebase and reducing complexity.
- These changes contribute to a more efficient and maintainable implementation of navigation menu edit mode functionality.
2026-02-08 20:20:06 +05:30
Abdul Rahman c12875eddd Refactor Navigation Menu Item Drag and Drop Logic for Improved Clarity
- Simplified the calculation of new positions in the `useHandleNavigationMenuItemDragAndDrop` hook by removing unnecessary rounding, enhancing code readability.
- Updated the `calculateNewPosition` utility to consistently return rounded values, improving the accuracy of position calculations during drag and drop operations.
- These changes contribute to a more efficient and maintainable implementation of drag and drop functionality in the navigation menu.
2026-02-08 14:10:40 +05:30
Abdul Rahman eddf0e11a5 Refactor Command Menu Item Hooks and Components for Improved Draft Management
- Replaced the `useUpdateNavigationMenuItemsDraft` hook with more specific hooks: `useUpdateFolderNameInDraft`, `useUpdateLinkInDraft`, and `useUpdateObjectInDraft`, enhancing clarity and modularity.
- Updated components to utilize the new hooks, streamlining draft management for folders, links, and objects.
- Introduced new hooks for adding items to the navigation menu draft, improving the organization and maintainability of the codebase.
- These changes contribute to a more efficient and structured implementation of command menu item handling.
2026-02-08 14:08:28 +05:30
Abdul Rahman dce2e0a0cc Refactor Command Menu Item Components to Standardize Icon Handling
- Updated `CommandMenuItemWithAddToNavigationDrag` and related components to replace the `Icon` prop with a unified `icon` prop, allowing for both `IconComponent` and `ReactNode` types.
- Introduced `AddToNavigationIconSlot` to encapsulate icon rendering logic, improving code clarity and reusability.
- These changes enhance the consistency and maintainability of the command menu item components.
2026-02-08 13:59:38 +05:30
Abdul Rahman ea52343c5d Refactor CommandMenuNavigationMenuItemEditPage for Enhanced Rendering Logic and Clarity
- Streamlined the rendering logic by consolidating condition checks for object, link, and folder items, improving code clarity and reducing redundancy.
- Removed unnecessary props and simplified the return statements for better maintainability.
- These changes contribute to a more organized and efficient implementation of the CommandMenuNavigationMenuItemEditPage component.
2026-02-08 13:48:59 +05:30
Abdul Rahman 0956c72da1 Refactor Command Menu Components for Improved Data Handling and Clarity
- Updated `CommandMenuEditViewPickerSubView` to utilize local state for managing `currentDraft` and `objectMetadataItems`, enhancing clarity and reducing reliance on external props.
- Simplified the `CommandMenuNavigationMenuItemEditPage` by removing unnecessary props and streamlining the rendering logic for improved maintainability.
- Enhanced `CommandMenuNewSidebarItemPage` and related components by consolidating draft handling and removing unused imports, contributing to a more organized implementation of the command menu components.
2026-02-08 13:41:15 +05:30
Abdul Rahman 9af54c53a4 Refactor CommandMenuNewSidebarItem Components for Enhanced Structure and Reusability
- Simplified the rendering logic in `CommandMenuNewSidebarItemPage` by removing unnecessary props from `CommandMenuNewSidebarItemRecordSubView`, improving clarity.
- Introduced `CommandMenuNewSidebarItemRecordItem` to encapsulate record item rendering, enhancing reusability and maintainability.
- Updated `CommandMenuNewSidebarItemRecordSubView` to utilize the new `CommandMenuNewSidebarItemRecordItem`, streamlining the component structure.
- These changes contribute to a more organized and efficient implementation of the command menu components.
2026-02-08 13:38:21 +05:30
Abdul Rahman 409e789c14 Refactor CommandMenuNavigationMenuItemEditPage for Improved Rendering Logic
- Simplified the rendering logic in `CommandMenuNavigationMenuItemEditPage` by consolidating the object view rendering into a single inline function, enhancing clarity and reducing redundancy.
- Updated the condition checks for rendering the object view, streamlining the component's structure and improving maintainability.
- These changes contribute to a more organized and efficient implementation of the CommandMenuNavigationMenuItemEditPage component.
2026-02-08 13:25:02 +05:30
Abdul Rahman c9c7fc176e Refactor CommandMenuEditViewPickerSubView for Enhanced View Selection Logic
- Updated `CommandMenuEditViewPickerSubView` to integrate local handling of view selection, improving clarity and reducing reliance on external props.
- Introduced a new `handleSelectView` function to streamline view selection and state management.
- Utilized `useRecoilValue` for managing the selected navigation menu item in edit mode, enhancing state management and code maintainability.
- These changes contribute to a more organized and efficient implementation of the CommandMenuEditViewPickerSubView component.
2026-02-08 13:24:51 +05:30
Abdul Rahman fe19af45da Refactor CommandMenuEditFolderPickerSubView for Enhanced Folder Selection Logic
- Updated `CommandMenuEditFolderPickerSubView` to integrate folder selection handling directly within the component, improving clarity and reducing reliance on external props.
- Removed the `onSelectFolder` prop and replaced it with a local `handleSelectFolder` function to streamline folder selection and state management.
- These changes enhance the organization and maintainability of the CommandMenuEditFolderPickerSubView component.
2026-02-08 13:18:27 +05:30
Abdul Rahman f82bcb4c16 Refactor Command Menu Components to Enhance State Management and Clarity
- Updated `CommandMenuEditFolderPickerSubView` and `CommandMenuNavigationMenuItemEditPage` to utilize `useRecoilValue` for managing the selected navigation menu item in edit mode, improving state management.
- Simplified the retrieval of selected item data by restructuring the hooks, enhancing code clarity and maintainability.
- These changes contribute to a more organized and efficient implementation of command menu components.
2026-02-08 13:16:32 +05:30
Abdul Rahman b5d91817cc Refactor CommandMenuNavigationMenuItemEditPage for Improved Action Handling
- Simplified the usage of `useNavigationMenuItemEditOrganizeActions` by destructuring its properties directly in the component.
- Updated the component to use the destructured properties for action handling, enhancing code clarity and reducing redundancy.
- These changes contribute to a more organized and maintainable implementation of the CommandMenuNavigationMenuItemEditPage component.
2026-02-08 13:10:23 +05:30
Abdul Rahman 7f9128a720 Refactor Navigation Menu Item Hooks and Components for Enhanced State Management
- Updated `CommandMenuNewSidebarItemPage`, `useNavigationMenuItemEditFolderData`, and `NavigationSidebarNativeDropZone` to utilize `useRecoilValue` for improved state management of `navigationMenuItemsDraft`.
- Simplified the retrieval of navigation menu items draft state across components, enhancing code clarity and maintainability.
- These changes contribute to a more organized and efficient implementation of navigation menu item handling.
2026-02-08 13:08:59 +05:30
Abdul Rahman 9456ac38dd Refactor Command Menu Components for Improved Structure and Reusability
- Removed unused imports and consolidated rendering logic in `CommandMenuNavigationMenuItemEditPage` and `CommandMenuNewSidebarItemPage` to enhance clarity.
- Introduced `CommandMenuObjectPickerItem` to standardize object menu item rendering across different components, improving code reusability.
- Updated `CommandMenuObjectPickerSubView` and `CommandMenuSystemObjectPickerSubView` to utilize the new `CommandMenuObjectPickerItem`, streamlining the rendering process.
- These changes enhance the organization, maintainability, and readability of the command menu components.
2026-02-07 00:56:52 +05:30
Abdul Rahman 5241c5a297 Refactor CommandMenu Components for Enhanced Data Management and Readability
- Introduced hooks `useNavigationMenuItemEditFolderData` and `useSelectedNavigationMenuItemEditData` to streamline data handling in `CommandMenuEditFolderPickerSubView`, `CommandMenuEditOwnerSection`, and `CommandMenuEditViewPickerSubView`.
- Simplified state management and search functionality within `CommandMenuEditFolderPickerSubView` by utilizing local state for search input.
- Improved the logic for determining application IDs in `CommandMenuEditOwnerSection` based on the current draft and selected item.
- These changes enhance the organization, maintainability, and clarity of the command menu components.
2026-02-07 00:37:10 +05:30
Abdul Rahman ed42de3508 Refactor CommandMenuNavigationMenuItemEditPage and Related Hooks for Enhanced Structure and Readability
- Introduced new hooks for managing navigation menu item edit data, including `useNavigationMenuItemEditFolderData`, `useNavigationMenuItemEditObjectPickerData`, `useNavigationMenuItemEditOrganizeActions`, `useNavigationMenuItemEditSubView`, and `useSelectedNavigationMenuItemEditData`.
- Simplified the CommandMenuNavigationMenuItemEditPage component by removing unused imports and consolidating state management logic.
- These changes improve the organization, maintainability, and clarity of the navigation menu item editing functionality.
2026-02-07 00:33:56 +05:30
Abdul Rahman 6ec8b57e39 Refactor CommandMenuNavigationMenuItemEditPage for Improved Readability
- Simplified subViewHandlers by converting them into individual functions for better clarity.
- Updated onBack and onOpen functions to directly reference the new individual handlers, enhancing code organization.
- These changes contribute to a more maintainable and readable implementation of the CommandMenuNavigationMenuItemEditPage component.
2026-02-07 00:05:08 +05:30
Abdul Rahman fa18caa41d Refactor CommandMenuEditFolderPickerSubView for Improved Logic and Readability
- Replaced the reduce method with a for-of loop for better clarity in the getDescendantFolderIds function.
- Enhanced the logic for accumulating descendant folder IDs, improving maintainability and readability.

These changes contribute to a more organized implementation of the CommandMenuEditFolderPickerSubView component.
2026-02-07 00:03:19 +05:30
Abdul Rahman 76ceaa34c7 Refactor Navigation Menu Hooks to Utilize New Filtering Utility
- Introduced the `filterWorkspaceNavigationMenuItems` utility to streamline the filtering of navigation menu items based on user workspace ID.
- Updated multiple hooks (`useNavigationMenuEditModeActions`, `useNavigationMenuItemsDraftState`, `usePrefetchedNavigationMenuItemsData`, and `useSaveNavigationMenuItemsDraft`) to use the new utility for improved code clarity and maintainability.
- These changes enhance the organization and readability of the navigation menu item handling logic.
2026-02-06 15:16:19 +05:30
Abdul Rahman c76d7ba96d Refactor useAddToNavigationMenuDraft for Improved Code Clarity
- Introduced helper functions `getMaxPosition` and `normalizeUrl` to streamline logic and enhance readability.
- Replaced inline logic with these helper functions in multiple locations to reduce code duplication.
- These changes contribute to a more organized and maintainable implementation of the useAddToNavigationMenuDraft hook.
2026-02-06 15:11:56 +05:30
Abdul Rahman 521d28db63 Refactor WorkspaceNavigationMenuItemsFolder for Improved Clarity and Structure
- Reorganized import statements for better clarity and consistency.
- Simplified the logic for updating open folder IDs to enhance readability.
- Updated the conditional check for edit mode click handling to ensure proper functionality.

These changes contribute to a more organized and maintainable implementation of the WorkspaceNavigationMenuItemsFolder component.
2026-02-06 15:07:49 +05:30
Abdul Rahman 02e1710319 Refactor NavigationSidebarNativeDropZone for Enhanced Readability
- Reorganized import statements for improved clarity and consistency.
- Updated the conditional check in the handleDrop function for better readability.

These changes contribute to a more structured and maintainable implementation of the NavigationSidebarNativeDropZone component.
2026-02-06 14:37:23 +05:30
Abdul Rahman e0b1f8b301 Refactor NavigationSidebarNativeDropZone for Improved Clarity and Structure
- Consolidated conditional rendering into a switch statement for better readability and maintainability.
- Updated the handling of folder and link additions to streamline the logic and enhance code organization.
- Reorganized import statements for improved clarity and consistency.

These changes contribute to a more efficient and structured implementation of the NavigationSidebarNativeDropZone component.
2026-02-06 14:36:46 +05:30
Abdul Rahman 5c12b0fe0c Refactor CommandMenuNewSidebarItemPage for Enhanced Rendering Logic
- Consolidated conditional rendering into a switch statement for improved clarity and maintainability.
- Streamlined the rendering logic for various sidebar item views, enhancing code organization.
- These changes contribute to a more efficient and structured implementation of the CommandMenuNewSidebarItemPage component.
2026-02-06 14:32:19 +05:30
Abdul Rahman 430f16eea0 Enhance NavigationMenuEditModeBar for Improved Theming and Clarity
- Integrated the `useTheme` hook to dynamically adjust icon sizes based on the theme.
- Updated the icon size assignment to utilize theme values, enhancing consistency in styling.
- These changes contribute to a more organized and visually coherent implementation of the NavigationMenuEditModeBar component.
2026-02-06 14:29:49 +05:30
Abdul Rahman 7268332aec Refactor NavigationItemDropTarget and NavigationSidebarNativeDropZone for Improved Clarity and Structure
- Removed unused import statements and consolidated drop target properties directly within the component.
- Simplified the drop target ID generation logic for better readability.
- Updated the drop target attributes to use data attributes directly in the JSX, enhancing clarity.

These changes contribute to a more organized and efficient implementation of the NavigationItemDropTarget and NavigationSidebarNativeDropZone components.
2026-02-06 14:27:53 +05:30
Abdul Rahman 485e880dab Refactor CommandMenuNewSidebarItemPage for Improved Clarity and Structure
- Reorganized import statements for better code clarity and consistency.
- Simplified the rendering logic by consolidating the object menu item rendering into a dedicated function.
- Updated filtering logic to enhance readability and maintainability.

These changes contribute to a more efficient and organized implementation of the CommandMenuNewSidebarItemPage component.
2026-02-06 14:19:24 +05:30
Abdul Rahman 1a047fec3d Refactor CommandMenuNavigationMenuItemEditPage for Improved Clarity and Structure
- Removed redundant imports to streamline the component.
- Updated conditional rendering logic to enhance readability and maintainability.
- Consolidated rendering logic for object and view items into a single function, improving code organization.

These changes contribute to a more efficient and organized implementation of the CommandMenuNavigationMenuItemEditPage component.
2026-02-06 14:16:59 +05:30
Abdul Rahman 4c4d47b5e6 Refactor NavigationMenuEditModeBar for Improved Clarity and Structure
- Added the `useRecoilValue` import to manage state more effectively.
- Updated the icon variable name from `PaintIcon` to `IconPaint` for better clarity.
- Reintroduced conditional rendering for the navigation menu edit mode bar to enhance readability.

These changes contribute to a more organized and maintainable implementation of the NavigationMenuEditModeBar component.
2026-02-06 08:47:04 +05:30
Abdul Rahman 6dd068a8d0 Refactor NavigationItemDropTarget for Improved Structure and Clarity
- Moved the import statement for `ReactNode`, `useContext`, and `useRef` to enhance code organization.
- Adjusted the import order to maintain consistency with other components.
- These changes contribute to a more efficient and organized implementation of the NavigationItemDropTarget component.
2026-02-06 08:44:12 +05:30
Abdul Rahman 8858696e0d Refactor Navigation Drawer Components for Improved Structure and Clarity
- Removed the `NavigationDrawerItemForLink` component and integrated its functionality directly into the `NavigationDrawerSectionForWorkspaceItems` component, enhancing code clarity and reducing complexity.
- Updated the rendering logic to utilize the `NavigationDrawerItem` component, streamlining the handling of link items and improving maintainability.
- Enhanced icon color handling by incorporating the `getNavigationMenuItemIconColors` utility, ensuring consistent styling across navigation items.

These changes contribute to a more efficient and organized implementation of the navigation drawer components.
2026-02-06 08:43:11 +05:30
Abdul Rahman abf32ad5ee Refactor AddToNavigationDragPreview for Improved Clarity and Consistency
- Introduced the `isDefined` utility function to enhance the clarity of icon rendering logic.
- Simplified padding assignments in the styled component for better readability.
- Streamlined the conditional rendering of icons to improve the component structure.

These changes contribute to a more organized and efficient implementation of the AddToNavigationDragPreview component.
2026-02-06 08:41:23 +05:30
Abdul Rahman 61c1e850a9 Refactor AddToNavigationDragHandle for Improved Readability and Consistency
- Introduced utility function `isDefined` to enhance the clarity of icon rendering logic.
- Simplified icon size and stroke assignments by storing them in variables, improving code maintainability.
- Updated conditional rendering for icons to streamline the component structure.

These changes contribute to a more organized and efficient implementation of the AddToNavigationDragHandle component.
2026-02-06 08:39:09 +05:30
Abdul Rahman 1bf80a3ca4 Refactor CommandMenu Components to Enhance Rendering and Simplify Logic
- Replaced the `CommandMenuSelectObjectForViewMenuItem` component with a more streamlined implementation using `SelectableListItem` and `CommandMenuItem`, improving rendering efficiency and clarity.
- Integrated the `useIcons` hook to manage icon retrieval, enhancing code maintainability.
- Updated the `CommandMenuNewSidebarItemViewObjectPickerSubView` and `CommandMenuNewSidebarItemViewSystemSubView` components to utilize the new rendering approach, ensuring consistency across the command menu.

These changes contribute to a more efficient and organized implementation of the command menu components.
2026-02-06 08:36:33 +05:30
Abdul Rahman dd0b8de3cc Refactor CommandMenuObjectMenuItem for Improved Click Handling and Clarity
- Simplified the click handling logic by removing unnecessary checks and directly returning if `defaultViewId` is not defined.
- Enhanced the rendering logic for `CommandMenuItem` components by consolidating the payload structure and ensuring the `disabled` prop is set correctly.

These changes contribute to a more efficient and maintainable implementation of the command menu components.
2026-02-06 08:34:24 +05:30
Abdul Rahman 1882fdf871 Refactor CommandMenuNewSidebarItemViewSystemSubView to Use Custom Hook for Filtering
- Integrated the `useFilteredPickerItems` custom hook to streamline filtering logic and enhance code clarity.
- Simplified the handling of no results text and selectable item IDs, improving overall component structure.

These changes contribute to a more efficient and maintainable implementation of the command menu components.
2026-02-06 08:32:43 +05:30
Abdul Rahman 09bf32df7b Refactor CommandMenuNewSidebarItemViewPickerSubView to Use Custom Hook for Filtering
- Replaced manual filtering logic with the `useFilteredPickerItems` custom hook, enhancing code clarity and maintainability.
- Streamlined the handling of no results text and improved the rendering of selectable list items.

These changes contribute to a more efficient and organized implementation of the command menu components.
2026-02-06 08:31:29 +05:30
Abdul Rahman a97eafc067 Refactor CommandMenuNewSidebarItemViewObjectPickerSubView to Utilize Custom Hook for Filtering
- Replaced the manual filtering logic with the `useFilteredPickerItems` custom hook, enhancing code clarity and maintainability.
- Streamlined the handling of selectable item IDs and no results text, improving the overall structure of the component.

These changes contribute to a more efficient and organized implementation of the command menu components.
2026-02-06 08:29:41 +05:30
Abdul Rahman 923bb1e75d Refactor CommandMenuNewSidebarItemRecordSubView for Improved Permission Handling
- Simplified the logic for filtering non-readable object metadata items by consolidating the permission check into a single line, enhancing code clarity and maintainability.
- Removed redundant variable assignments to streamline the component structure.

These changes contribute to a more efficient and organized implementation of the command menu components.
2026-02-06 08:28:05 +05:30
Abdul Rahman 8a2b6f8976 Enhance CommandMenuNavigationMenuItemEditPage with Utility Functions and Improved Rendering
- Introduced the `includeCurrentObjectIfMissing` utility function to streamline the inclusion of the current object in object pickers, enhancing code clarity and maintainability.
- Refactored the rendering logic for object menu items to utilize a dedicated `renderObjectMenuItem` function, improving readability and reducing redundancy.
- Updated sorting logic for object arrays to ensure consistent ordering based on `labelPlural`.

These changes contribute to a more efficient and organized implementation of the command menu components.
2026-02-06 08:26:07 +05:30
Abdul Rahman 04c29958d5 Refactor CommandMenuEditLinkItemView to Enhance URL Handling
- Introduced the `getAbsoluteUrl` utility function to streamline URL normalization when updating links.
- Simplified the logic for setting the link URL by directly using `selectedItem.link`, improving code clarity and maintainability.
- Removed redundant variables to enhance the overall structure of the component.

These changes contribute to a more efficient and readable implementation of the command menu components.
2026-02-06 08:21:41 +05:30
Abdul Rahman 8912fb6588 Update CommandMenuEditOwnerSection to Simplify Disabled Prop Usage
- Changed the `disabled` prop in `CommandMenuEditOwnerSection` to a shorthand boolean syntax for improved clarity.
- Removed the redundant `true` value assignment, enhancing code readability and maintainability.

These changes contribute to a cleaner implementation of the command menu components.
2026-02-06 08:19:31 +05:30
Abdul Rahman 8672bbc13a Refactor CommandMenuEdit Components for Improved Clarity
- Updated `CommandMenuEditLinkItemView` and `CommandMenuEditObjectViewBase` components to simplify prop usage by removing redundant `true` values for boolean props.
- Enhanced code readability and maintainability by streamlining the component structure.

These changes contribute to a cleaner and more efficient command menu implementation.
2026-02-06 08:18:03 +05:30
Abdul Rahman 04e8a67f9a Refactor CommandMenuEditFolderPickerSubView for Improved Folder Handling
- Introduced utility functions `getDescendantFolderIds` and `excludeCurrentFolder` to enhance the logic for managing folder selections.
- Simplified the logic for determining which folders to display based on the current selection and search query, improving code clarity and maintainability.
- Updated the rendering logic to ensure consistent handling of folder options, enhancing the user experience within the command menu.

These changes streamline the folder selection process, improving the overall functionality and readability of the command menu component.
2026-02-06 08:15:57 +05:30
Abdul Rahman 27dd5f2ba5 Remove CommandMenuEditFolderItemView and Update CommandMenuNavigationMenuItemEditPage
- Deleted the `CommandMenuEditFolderItemView` component to streamline the codebase.
- Integrated its functionality directly into `CommandMenuNavigationMenuItemEditPage`, enhancing component cohesion and reducing dependencies.

These changes improve maintainability by consolidating related logic within a single component, simplifying the overall structure of the command menu.
2026-02-06 08:12:25 +05:30
Abdul Rahman a7a55322e1 Remove CommandMenuEditDefaultView and Integrate Its Logic into CommandMenuNavigationMenuItemEditPage
- Deleted the `CommandMenuEditDefaultView` component to streamline the codebase.
- Integrated its functionality directly into `CommandMenuNavigationMenuItemEditPage`, enhancing component cohesion and reducing dependencies.

These changes improve maintainability by consolidating related logic within a single component, simplifying the overall structure of the command menu.
2026-02-06 08:10:53 +05:30
Abdul Rahman 9f44d0a56f Remove CommandMenuSharedStyles and Integrate Styles Directly into CommandMenuNavigationMenuItemEditPage
- Deleted the `CommandMenuSharedStyles` file to streamline the codebase.
- Moved the styled components `StyledCommandMenuPlaceholder` and `StyledCommandMenuPageContainer` directly into `CommandMenuNavigationMenuItemEditPage`, enhancing component encapsulation and reducing dependencies.

These changes improve maintainability by consolidating styles within the relevant component, simplifying the overall structure of the command menu.
2026-02-06 08:08:22 +05:30
Abdul Rahman b7f9112287 Refactor CommandMenuFolderLinkInfo to Use Styled Navigation Menu Item Icon
- Replaced the `CommandMenuNavigationMenuItemIcon` component with a direct implementation of `StyledNavigationMenuItemIconContainer` in `CommandMenuFolderLinkInfo`, enhancing code clarity and reducing component complexity.
- Removed the now-unnecessary `CommandMenuNavigationMenuItemIcon` file to streamline the codebase.

These changes improve the maintainability of the command menu components by simplifying the icon rendering logic.
2026-02-06 08:06:15 +05:30
Abdul Rahman 5462dc5ba7 Add CommandMenuFolderLinkInfo Component and Remove CommandMenuLinkInfo
- Introduced `CommandMenuFolderLinkInfo` to consolidate folder and link item handling within the command menu, improving code organization and reducing redundancy.
- Removed the deprecated `CommandMenuLinkInfo` component to streamline the codebase.
- Updated `CommandMenuPageInfo` to utilize the new `CommandMenuFolderLinkInfo` for rendering, enhancing maintainability and clarity.

These changes enhance the command menu's functionality by simplifying the component structure and improving item management.
2026-02-06 08:04:11 +05:30
Abdul Rahman 73c529ecc6 Refactor CommandMenuLinkInfo for Improved Clarity and Logic
- Renamed `selectedId` to `selectedNavigationMenuItemInEditMode` for better understanding of its purpose.
- Updated the logic for retrieving the selected link to enhance readability and maintainability.
- Ensured consistent return statements for null checks, improving overall code structure.

These changes streamline the handling of navigation items within the command menu, enhancing code clarity and functionality.
2026-02-06 07:57:22 +05:30
Abdul Rahman 3d16040a39 Refactor Command Menu Components for Enhanced Readability and Logic
- Updated `CommandMenuFolderInfo` to improve variable naming, changing `selectedId` to `selectedNavigationMenuItemInEditMode` for clarity.
- Simplified conditional checks in `CommandMenuPageInfo` for rendering folder and link components, enhancing code readability.
- Ensured consistent return statements for null checks, improving overall code structure.

These changes enhance the maintainability and clarity of the command menu components, streamlining the logic for item handling.
2026-02-06 07:56:13 +05:30
Abdul Rahman 02dd826738 Refactor Command Menu Components for Improved Item Handling
- Updated `CommandMenuFolderInfo` and `CommandMenuLinkInfo` to utilize direct IDs for selected items, enhancing clarity and maintainability.
- Simplified the logic for retrieving selected folder and link items by using a unified `selectedId` variable.
- Refactored save functions to improve naming consistency and ensure default values are correctly applied.

These changes streamline the command menu components, improving overall code readability and functionality.
2026-02-06 07:54:35 +05:30
Abdul Rahman ff1f0aafe3 Refactor Navigation Menu Item Handling to Use New Utility Functions
- Replaced the deprecated `useFlattenedWorkspaceSectionItemsForLookup` hook with `useWorkspaceSectionItems` across multiple components, including `CommandMenuFolderInfo`, `CommandMenuLinkInfo`, and `CommandMenuPageInfo`, to streamline item retrieval.
- Introduced `getNavigationMenuItemType` utility to enhance clarity in determining item types, improving the readability of conditional checks.
- Updated related components and hooks to ensure consistency with the new item handling approach, enhancing maintainability and code structure.

These changes simplify the navigation menu item management, improving overall code clarity and functionality.
2026-02-06 07:45:34 +05:30
Abdul Rahman 0f9882bcd9 Refactor Navigation Menu Item Handling to Use Direct IDs
- Removed the `getWorkspaceSectionItemId` utility function and updated components to directly access item IDs, simplifying the logic for identifying navigation menu items.
- Adjusted various components, including `CommandMenuFolderInfo`, `CommandMenuLinkInfo`, and `CommandMenuNavigationMenuItemEditPage`, to utilize the new ID structure, enhancing code clarity and maintainability.
- Updated related hooks and types to reflect the changes in item ID handling, ensuring consistency across the navigation menu item management.

These changes streamline the navigation item handling process, improving the overall structure and readability of the codebase.
2026-02-05 18:56:41 +05:30
Abdul Rahman 20dbfcfc31 Refactor CommandMenuPageInfo to Improve Navigation Item Handling
- Renamed `selectedFolder` to `selectedNavItem` for clarity in distinguishing between folder and link types.
- Updated conditional checks to use the new `selectedNavItem` variable, enhancing readability and maintainability of the component's logic.

These changes streamline the handling of navigation items within the command menu, improving code clarity and functionality.
2026-02-05 18:35:31 +05:30
Abdul Rahman df86efed33 Enhance Command Menu Components with Application ID Integration
- Added `applicationId` prop to `CommandMenuEditFolderItemView`, `CommandMenuEditLinkItemView`, and `CommandMenuEditOwnerSection` for improved context handling.
- Updated rendering logic in `CommandMenuNavigationMenuItemEditPage` to pass the correct `applicationId` to folder items.
- Removed unused selectable item IDs in `CommandMenuEditFolderItemView` and `CommandMenuEditLinkItemView` for cleaner code.

These changes improve the modularity and functionality of command menu components, enhancing the user experience by providing relevant application context.
2026-02-05 18:23:24 +05:30
Abdul Rahman 439ac3ffc6 Add options to useCommandMenuHotKeys for form tag handling
- Introduced `enableOnFormTags` option in the `useCommandMenuHotKeys` hook to control hotkey activation within form elements, enhancing flexibility in user interactions.
- Updated the options for focused element hotkeys to include the same `enableOnFormTags` setting, ensuring consistent behavior across different contexts.

These changes improve the usability of hotkeys in the command menu, allowing for better integration with form elements.
2026-02-05 16:59:25 +05:30
Abdul Rahman e9cd87c284 Add useFilteredPickerItems Hook and Refactor Command Menu Components
- Introduced the `useFilteredPickerItems` hook to streamline the filtering of items based on a search query, enhancing reusability across command menu components.
- Deleted several outdated components, including `CommandMenuEditObjectPickerSubView`, `CommandMenuEditObjectPickerSystemSubView`, and `CommandMenuEditViewItemView`, to simplify the codebase.
- Added `CommandMenuEditObjectViewBase`, `CommandMenuObjectPickerSubView`, and `CommandMenuSystemObjectPickerSubView` to improve the organization and functionality of object selection within the command menu.
- Updated `CommandMenuNavigationMenuItemEditPage` and `CommandMenuNewSidebarItemPage` to utilize the new picker components, enhancing the user experience and maintaining consistency.

These changes improve the structure and maintainability of the command menu, providing a more efficient interface for object selection and management.
2026-02-05 16:54:43 +05:30
Abdul Rahman d04df4b52a Refactor useNavigationMenuItemMoveRemove Hook to Improve Position Swapping Logic
- Introduced a new helper function, `swapPositionsInDraft`, to streamline the logic for swapping positions of navigation menu items in the draft state.
- Replaced inline position swapping logic with the new helper function for better readability and maintainability.

These changes enhance the clarity of the `useNavigationMenuItemMoveRemove` hook, making it easier to manage item positions within the navigation menu.
2026-02-05 16:40:51 +05:30
Abdul Rahman 5b6798f9fc Refactor Command Menu Sub View to Integrate Navigation Header
- Replaced the custom back button with the `SidePanelSubPageNavigationHeader` component for improved navigation consistency.
- Removed unused styled components related to the back button, streamlining the code and enhancing maintainability.

These changes enhance the user experience by providing a more cohesive navigation interface within the command menu.
2026-02-05 16:27:54 +05:30
Abdul Rahman 9c6a117d8a Refactor useMouseDownNavigation Hook to Simplify Event Handling
- Removed the `preventDefault` option from the `useMouseDownNavigation` hook to streamline the API and ensure consistent behavior.
- Updated event handling to always prevent default actions for regular clicks, enhancing navigation reliability.

These changes improve the clarity and usability of the `useMouseDownNavigation` hook, ensuring a more predictable user experience.
2026-02-05 15:13:10 +05:30
Abdul Rahman 1061f81285 Enhance Command Menu Folder Picker and Organize Actions Components
- Updated `CommandMenuEditFolderPickerSubView` to include `currentFolderId` for improved folder selection logic, ensuring that the current folder is excluded from the options when applicable.
- Replaced `IconFolder` with `IconFolderPlus` in both `CommandMenuEditFolderPickerSubView` and `CommandMenuEditOrganizeActions` for a more intuitive icon representation.
- Refactored folder filtering logic to enhance clarity and maintainability, improving the user experience when selecting folders.

These changes streamline the folder selection process and enhance the visual consistency of the command menu components.
2026-02-05 14:44:12 +05:30
Abdul Rahman 45af0ca1a0 Refactor Command Menu Components to Integrate Owner Section
- Replaced hardcoded owner items in `CommandMenuEditFolderItemView` and `CommandMenuEditLinkItemView` with a new `CommandMenuEditOwnerSection` component for better modularity and reusability.
- Cleaned up imports and removed unused code to enhance readability and maintainability across multiple command menu components.
- Streamlined the rendering logic in `CommandMenuEditObjectPickerSubView` and `CommandMenuEditViewPickerSubView` for improved clarity.

These changes improve the structure of the command menu components, making them more maintainable and enhancing the overall user experience.
2026-02-05 14:40:34 +05:30
Abdul Rahman 5153c73a6e Refactor Command Menu Components to Use Flattened Workspace Section Items
- Replaced instances of `useWorkspaceSectionItems` with `useFlattenedWorkspaceSectionItemsForLookup` in multiple command menu components, including `CommandMenuFolderInfo`, `CommandMenuLinkInfo`, and `CommandMenuPageInfo`, to streamline data retrieval.
- Enhanced drag-and-drop functionality in `CommandMenuItemWithAddToNavigationDrag` by introducing a new constant for folder drag types and updating event handling.
- Added `NavigationDropTargetContext` to manage drag-and-drop states, improving the user experience when interacting with navigation items.
- Introduced `NavigationItemDropTarget` component to facilitate drop target behavior for navigation items, enhancing the overall drag-and-drop interface.

These changes improve code maintainability and enhance the user experience by providing a more efficient and intuitive command menu interface.
2026-02-05 14:34:07 +05:30
Abdul Rahman 71e4db6bf6 Fix import order and clean up GraphQL type definitions in generated metadata
- Moved the Apollo import statement to the top of the file for consistency.
- Removed duplicate type definition for `NavigationMenuItemFieldsFragment`, ensuring clarity and reducing redundancy.
- Ensured proper formatting and consistency in type definitions throughout the file.

These changes enhance code readability and maintainability in the generated GraphQL metadata.
2026-02-05 11:59:25 +05:30
Abdul Rahman 8237a41b20 Merge branch 'main' into feat/navbar-customization 2026-02-05 11:58:44 +05:30
Abdul Rahman ee57a19866 Remove CommandMenuEditFolderRenameSubView Component
- Deleted the `CommandMenuEditFolderRenameSubView` component from the command menu, streamlining the editing interface.
- Updated `CommandMenuNavigationMenuItemEditPage` to remove references to the deleted component, enhancing code clarity and maintainability.

These changes simplify the command menu structure and improve overall code organization.
2026-02-05 10:53:21 +05:30
Abdul Rahman d4d06a835a Refactor Command Menu Components for Improved Icon Handling and Styling
- Updated `CommandMenuNavigationMenuItemIcon` to utilize `StyledNavigationMenuItemIconContainer` for consistent icon styling based on theme colors.
- Introduced `CommandMenuSharedStyles` for shared styles across command menu components, enhancing maintainability and reducing redundancy.
- Refactored `CommandMenuNavigationMenuItemEditPage` and other components to leverage new shared styles, improving code clarity and user interface consistency.

These changes enhance the user experience by providing a more cohesive and visually appealing command menu interface.
2026-02-05 10:50:55 +05:30
Abdul Rahman 6b2bf17bec Add Command Menu Components for Enhanced Editing Functionality
- Introduced several new components including `CommandMenuEditDefaultView`, `CommandMenuEditFolderItemView`, `CommandMenuEditFolderPickerSubView`, `CommandMenuEditFolderRenameSubView`, `CommandMenuEditLinkItemView`, `CommandMenuEditObjectItemView`, `CommandMenuEditObjectPickerSubView`, `CommandMenuEditObjectPickerSystemSubView`, `CommandMenuEditViewItemView`, and `CommandMenuEditViewPickerSubView` to improve the editing capabilities within the command menu.
- Refactored `CommandMenuNavigationMenuItemEditPage` to utilize these new components, enhancing the organization and functionality of the editing interface.
- Streamlined the search functionality and improved user feedback through better handling of selectable items and no results scenarios.

These changes significantly enhance the user experience by providing a more intuitive and flexible interface for editing navigation items within the command menu.
2026-02-05 10:47:27 +05:30
Abdul Rahman 8f079b2768 Refactor CommandMenuNavigationMenuItemEditPage for improved search handling
- Updated the `CommandMenuNavigationMenuItemEditPage` to enhance the search functionality by introducing clearer handling of empty search results.
- Refactored the logic for generating selectable item IDs to improve clarity and maintainability.
- Added conditional rendering for no results text, providing better user feedback when no system objects are found.

These changes enhance the user experience by making the search interface more intuitive and responsive to user input.
2026-02-05 10:31:00 +05:30
Abdul Rahman 479dabc16f Implement New Sidebar Item Components for Command Menu
- Added `CommandMenuNewSidebarItemMainMenu` and `CommandMenuNewSidebarItemRecordSubView` components to enhance the command menu's sidebar item functionality.
- Refactored `CommandMenuNewSidebarItemPage` to utilize the new components, streamlining the process of adding new items and managing records.
- Optimized existing logic by removing unnecessary hooks and simplifying state management, improving code clarity and maintainability.

These changes significantly enhance the user experience by providing a more intuitive interface for adding and managing sidebar items within the command menu.
2026-02-05 10:26:18 +05:30
Abdul Rahman 3682e544b1 Add Command Menu Components for Enhanced Navigation Functionality
- Introduced several new components including `CommandMenuEditOrganizeActions`, `CommandMenuObjectMenuItem`, `CommandMenuSelectObjectForEditMenuItem`, `CommandMenuSelectObjectForViewMenuItem`, and hooks for managing navigation menu object metadata from drafts.
- Refactored `CommandMenuNavigationMenuItemEditPage` and `CommandMenuNewSidebarItemPage` to utilize these new components, improving the organization and functionality of the command menu.
- Removed redundant code and optimized existing logic for better maintainability and clarity.

These changes significantly enhance the user experience by providing a more intuitive and flexible interface for managing navigation items within the command menu.
2026-02-05 10:17:00 +05:30
Abdul Rahman ea920aa7e4 Enhance CommandMenuSubViewWithSearch component and integrate into navigation menu item edit page
- Updated `CommandMenuSubViewWithSearch` to accept optional `searchInputProps` and made `children` prop optional for improved flexibility.
- Refactored `CommandMenuNavigationMenuItemEditPage` to utilize `CommandMenuSubViewWithSearch`, streamlining the search functionality and enhancing the user interface.
- Removed redundant styled components from `CommandMenuNavigationMenuItemEditPage`, improving code clarity and maintainability.

These changes improve the overall user experience by providing a more consistent and flexible search interface within the command menu.
2026-02-05 09:21:18 +05:30
Abdul Rahman e1925c5451 Refactor command menu components for improved icon handling and search functionality
- Introduced `CommandMenuNavigationMenuItemIcon` component to standardize icon rendering for folder and link items in the command menu.
- Updated `CommandMenuFolderInfo` and `CommandMenuLinkInfo` to utilize the new icon component, enhancing code reusability and maintainability.
- Added `CommandMenuSubViewWithSearch` component to streamline search functionality within the command menu, replacing custom search implementations in `CommandMenuNewSidebarItemPage`.
- Refactored utility functions for workspace section item ID retrieval, improving clarity and reducing redundancy.

These changes enhance the user experience by providing a consistent interface for icons and improving search capabilities within the command menu.
2026-02-05 09:15:27 +05:30
Abdul Rahman aeb62f46a4 Add CommandMenuItemWithAddToNavigationDrag component for enhanced drag-and-drop functionality
- Introduced `CommandMenuItemWithAddToNavigationDrag` component to facilitate drag-and-drop interactions within the command menu.
- Updated `CommandMenuNewSidebarItemPage` to utilize the new component, streamlining the addition of navigation items.
- Refactored existing drag-and-drop logic into the new component, improving code organization and maintainability.
- Enhanced visual feedback during drag operations by integrating drag preview functionality.

These changes significantly improve the user experience by making it easier to add items to the navigation menu through intuitive drag-and-drop actions.
2026-02-05 09:09:04 +05:30
Abdul Rahman ebef2204b5 Enhance navigation menu item functionality with drag-and-drop support
- Introduced new components for drag-and-drop functionality within the navigation menu, including `AddToNavigationDragHandle`, `NavigationItemDropTarget`, and `NavigationSidebarNativeDropZone`.
- Updated existing components to support drag-and-drop interactions, allowing users to easily rearrange navigation items and add new items through drag events.
- Enhanced the `useAddToNavigationMenuDraft` hook to manage the addition of items at specific positions based on drag-and-drop actions.
- Improved the user experience by providing visual feedback during drag operations and ensuring seamless integration with existing navigation menu functionalities.

These changes significantly enhance the usability of the navigation menu, making it more intuitive for users to manage their navigation items.
2026-02-05 08:50:00 +05:30
Abdul Rahman b9e5dd3ab9 Add CommandMenuLinkInfo component and integrate into CommandMenuPageInfo
- Introduced `CommandMenuLinkInfo` component to manage link-specific interactions within the command menu.
- Updated `CommandMenuPageInfo` to conditionally render `CommandMenuLinkInfo` when editing a navigation menu item of type link.
- Enhanced navigation menu item editing capabilities by allowing users to manage links directly within the command menu.

These changes improve the user experience by providing a dedicated interface for link management, streamlining navigation and editing processes.
2026-02-05 07:36:44 +05:30
Abdul Rahman b26b28f7e0 Add link field to NavigationMenuItem and related inputs
- Introduced a new optional `link` field in the `NavigationMenuItem` type, allowing for external links to be associated with navigation items.
- Updated the `CreateNavigationMenuItemInput`, `UpdateNavigationMenuItemInput`, and related DTOs to include the `link` field.
- Modified the database schema with a migration to add the `link` column to the `navigationMenuItem` table.
- Enhanced validation logic to accommodate the new `link` field, ensuring proper handling during navigation menu item creation and updates.

These changes improve the flexibility of navigation menu items by enabling the inclusion of external links, enhancing user navigation capabilities.
2026-02-05 07:27:24 +05:30
Abdul Rahman fc592d3e7d Add CommandMenuFolderInfo component and integrate into CommandMenuPageInfo
- Introduced `CommandMenuFolderInfo` component to manage folder-specific interactions within the command menu.
- Updated `CommandMenuPageInfo` to conditionally render `CommandMenuFolderInfo` when editing a navigation menu item in folder mode.
- Enhanced folder management capabilities by adding folder creation and editing functionalities in the command menu.

These changes improve the user experience by providing a dedicated interface for folder management within the command menu, streamlining navigation and editing processes.
2026-02-05 01:08:55 +05:30
Abdul Rahman 41aa60da2e Integrate command menu functionality into NavigationMenuEditModeBar
- Added `useCommandMenu` hook to manage command menu interactions.
- Updated save draft logic to close the command menu upon successful save, enhancing user experience during navigation menu edits.

This change improves the responsiveness of the navigation menu editing process by ensuring the command menu closes automatically after saving changes.
2026-02-04 23:52:24 +05:30
Abdul Rahman 5110c27c13 Enhance NavigationDrawerItem to include secondary label for object metadata items
- Added a `secondaryLabel` prop to `NavigationDrawerItemForObjectMetadataItem` component.
- The `secondaryLabel` is conditionally set based on whether the item is a record or a view with a custom name, improving the clarity of displayed metadata.

This change enhances the user interface by providing additional context for object metadata items in the navigation drawer.
2026-02-04 23:51:06 +05:30
Abdul Rahman 2cf2ea6ff8 Merge branch 'main' into feat/navbar-customization 2026-02-04 23:34:10 +05:30
Abdul Rahman c516f95374 Add Object Selection for View Editing in Command Menu
- Introduced `CommandMenuSelectObjectForViewEditMenuItem` component to facilitate object selection for view editing.
- Enhanced state management in `CommandMenuNavigationMenuItemEditPage` to track selected object metadata for view editing.
- Updated logic to filter and sort objects based on their association with views, improving the user experience during object selection.
- Adjusted rendering logic to differentiate between object and view editing modes, ensuring clarity in user interactions.

These changes enhance the command menu's functionality, providing users with a more intuitive experience when managing object views.
2026-02-04 20:25:43 +05:30
Abdul Rahman b32d04bc79 Refactor Workspace Navigation Menu Item Rendering and Sorting Logic
- Updated the `WorkspaceNavigationMenuItemsFolder` component to conditionally render secondary labels based on the view key, improving clarity in navigation item representation.
- Simplified the logic in `sortNavigationMenuItems` to ensure consistent handling of object names, enhancing the accuracy of displayed labels.

These changes enhance the user experience by providing clearer navigation item details and improving the overall sorting logic.
2026-02-04 18:58:58 +05:30
Abdul Rahman 70a338ba91 Enhance Command Menu Navigation Item Editing and Sorting Logic
- Updated the `CommandMenuNavigationMenuItemEditPage` to handle empty folder states more gracefully, displaying a custom message when no folders are available.
- Refactored the logic for generating selectable item IDs to include a fallback for empty states.
- Improved the sorting logic in `sortNavigationMenuItems` to correctly handle index views and associated metadata, ensuring accurate display of labels and icons.
- Adjusted test cases to reflect changes in object naming conventions and ensure consistency in expected outcomes.

These changes improve the user experience by providing clearer feedback and more accurate representations of navigation items in the command menu.
2026-02-04 18:51:36 +05:30
Abdul Rahman e2d4375bc7 Refactor Navigation Menu Item Draft Management and Enhance Command Menu Functionality
- Consolidated multiple hooks for adding items to the navigation menu draft into a single `useAddToNavigationMenuDraft` hook, streamlining the process for adding objects, views, and records.
- Removed outdated hooks `useAddObjectToNavigationMenuDraft`, `useAddViewToNavigationMenuDraft`, and refactored related components to utilize the new consolidated hook.
- Introduced `useUpdateNavigationMenuItemsDraft` hook to manage updates to navigation menu items in draft state, enhancing item editing capabilities.
- Enhanced the `CommandMenuNavigationMenuItemEditPage` with improved state management and additional functionality for object selection and navigation item manipulation.
- Updated the `useNavigationMenuItemMoveRemove` hook to include a new `moveToFolder` function, allowing for better organization of navigation items.

These changes improve the overall efficiency and usability of the command menu, providing users with a more cohesive experience when managing navigation items.
2026-02-04 18:10:53 +05:30
Abdul Rahman ff92bde46b Enhance Back Navigation Logic in Command Menu New Sidebar Item Page
- Updated the back navigation logic in the `CommandMenuNewSidebarItemPage` to handle system object selections more effectively.
- Introduced a check for system object metadata to set the appropriate navigation option when returning to the view object list.
- Improved user experience by ensuring the correct state is maintained during navigation actions.

These changes enhance the functionality of the command menu, providing users with a more intuitive navigation experience when dealing with system objects.
2026-02-04 16:43:48 +05:30
Abdul Rahman c89eee4fdc Enhance Command Menu List with Custom No Results Text
- Added a new `noResultsText` prop to the `CommandMenuList` component, allowing for customizable no results messages.
- Updated the `CommandMenuNewSidebarItemPage` to utilize the new prop, providing context-specific messages based on user input.
- Refactored the logic for displaying results to improve clarity and user experience when no views are found.

These changes enhance the flexibility of the command menu, improving user feedback during navigation item searches.
2026-02-04 16:40:54 +05:30
Abdul Rahman f3f8a0cd02 Add View Support to Command Menu New Sidebar Item Page
- Integrated functionality for adding views to the navigation menu draft within the `CommandMenuNewSidebarItemPage`.
- Introduced a new hook, `useAddViewToNavigationMenuDraft`, to manage view additions effectively.
- Updated state management to accommodate view selection and search inputs, enhancing user interaction.
- Refactored related components and utilities to support view handling, improving overall command menu functionality.

These changes enhance the command menu's capabilities, allowing users to manage views alongside other navigation items seamlessly.
2026-02-04 16:38:47 +05:30
Abdul Rahman 9aaefbb765 Enhance Command Menu New Sidebar Item Page with System Object Support
- Added support for system objects in the `CommandMenuNewSidebarItemPage`, allowing users to filter and select system-related items.
- Introduced new state management for system object search input and updated the back navigation logic for improved user experience.
- Refactored object metadata filtering to include system objects, enhancing the overall functionality of the command menu.
- Improved search functionality by implementing a dedicated search input for objects, streamlining the selection process.

These changes enhance the command menu's capabilities, providing users with more comprehensive options for managing navigation items.
2026-02-04 14:47:50 +05:30
Abdul Rahman df50bf41e6 Remove unused targetObjectMetadataId assignment in useSaveNavigationMenuItemsDraft hook
- Eliminated the assignment of targetObjectMetadataId to undefined when viewId is defined, streamlining the input handling logic.
- This change improves the clarity and efficiency of the hook's functionality, ensuring only relevant data is processed.
2026-02-04 14:46:26 +05:30
Abdul Rahman 38659223c7 Add New Sidebar Item Page to Command Menu and Update Navigation Structure
- Introduced the `CommandMenuNewSidebarItemPage` component to facilitate the addition of new items to the navigation menu.
- Updated the `CommandMenuPagesConfig` to include the new sidebar item page, enhancing navigation options.
- Implemented hooks for adding objects and records to the navigation menu draft, improving item management.
- Refactored the `NavigationMenuEditModeBar` to support saving drafts and handling loading states, streamlining the editing process.

These changes enhance the command menu's functionality, providing users with more options for managing navigation items effectively.
2026-02-03 20:20:53 +05:30
Abdul Rahman 4611e83719 Enhance Command Menu Navigation Item Editing with Move and Remove Functionality
- Introduced the ability to move navigation menu items up and down within the command menu, improving item organization.
- Added a remove option to delete selected navigation menu items, streamlining item management.
- Refactored the `CommandMenuNavigationMenuItemEditPage` component to utilize new hooks for item manipulation and state management.
- Updated related components and hooks to ensure consistent handling of navigation menu items.

These changes enhance the user experience by providing more control over navigation menu item arrangements and management.
2026-02-03 13:17:44 +05:30
Abdul Rahman a65322dce0 Update NavigationDrawerItem Width Calculation for Enhanced Layout
- Adjusted the width calculation in the `NavigationDrawerItem` component to account for additional spacing when right options are present.
- Improved the responsiveness of the navigation drawer by refining the width logic for both expanded and collapsed states.

These changes enhance the visual consistency and usability of the navigation drawer items.
2026-02-03 13:07:13 +05:30
Abdul Rahman b38039f687 Refactor Navigation Menu Item State Management and Update Component Logic
- Replaced the `selectedWorkspaceObjectMetadataItemIdInEditModeState` with `selectedNavigationMenuItemInEditModeState` to streamline state management for navigation menu items.
- Updated components to utilize the new state, enhancing clarity and consistency across the navigation menu.
- Refactored hooks and component logic to improve handling of navigation menu item selection and editing, ensuring a more intuitive user experience.
- Introduced new utility functions and styled components to support the updated navigation structure.

These changes enhance the overall functionality and maintainability of the navigation menu system.
2026-02-03 08:32:06 +05:30
Abdul Rahman 9f9c766013 Refactor Navigation Menu Item Structure and Introduce Workspace Section Items
- Updated the navigation menu item components to utilize user-specific navigation items, enhancing the organization of workspace-related views.
- Introduced a new `WorkspaceNavigationMenuItemsFolder` component to manage folder items within the workspace navigation.
- Refactored hooks to separate workspace and user navigation items, improving data handling and clarity.
- Added utility functions to identify navigation menu item folders, streamlining the integration of folder items in the navigation structure.

These changes enhance the user experience by providing a more structured and intuitive navigation menu for workspace items.
2026-02-03 08:06:27 +05:30
Abdul Rahman 9e487f0a44 Add Workflows Folder and Update Navigation Menu Structure
- Introduced a new 'workflowsFolder' item in the standard navigation menu, enhancing organization of workflow-related views.
- Added new entries for 'workflowsFolderAllWorkflows', 'workflowsFolderAllWorkflowRuns', and 'workflowsFolderAllWorkflowVersions' to improve navigation and access to workflow data.
- Created utility functions for generating flat metadata for folder items, streamlining the integration of new navigation items.
- Updated existing view and view field utilities to include support for workflow versions, ensuring comprehensive coverage in the navigation structure.

These changes enhance the user experience by providing a clearer and more structured navigation menu for workflows and their associated views.
2026-02-03 07:35:16 +05:30
Abdul Rahman 4224522d98 Merge branch 'main' into feat/navbar-customization 2026-02-03 01:16:06 +05:30
Abdul Rahman 2d049774d9 Refactor NavigationDrawerItemForObjectMetadataItem to Simplify Component Structure
- Removed unused imports and state management related to views and context store, streamlining the component.
- Simplified the rendering logic by eliminating the collapsible container and directly rendering the `NavigationDrawerItem`.
- This refactor enhances readability and maintainability of the code while preserving existing functionality.
2026-02-03 00:48:00 +05:30
Abdul Rahman e80574b837 Enhance Workspace Navigation Menu Items with Active Item Click Handling
- Added support for handling active item clicks in the `WorkspaceNavigationMenuItems` component, allowing users to interact with items even when not in edit mode.
- Introduced a new styled container for right icons to improve layout and spacing.
- Updated `NavigationDrawerItemForObjectMetadataItem` and `NavigationDrawerSectionForObjectMetadataItems` components to accommodate the new click handling logic, enhancing user experience and interaction consistency.

These changes improve the functionality and usability of the navigation menu, making it more intuitive for users.
2026-02-03 00:40:40 +05:30
Abdul Rahman 3672bb7700 Add Navigation Menu Item Edit Page and Update Command Menu Configuration
- Introduced `CommandMenuNavigationMenuItemEditPage` for editing navigation menu items.
- Updated `COMMAND_MENU_PAGES_CONFIG` to include the new edit page.
- Added state management for selected navigation menu item in edit mode.
- Enhanced `WorkspaceNavigationMenuItems` to support opening the edit page and handling edit mode interactions.

These changes improve the user experience by allowing direct editing of navigation menu items within the command menu.
2026-02-02 20:14:48 +05:30
Abdul Rahman c8a7ce4ff6 Add Navigation Menu Edit Mode Bar and Enhance Workspace Navigation Items 2026-02-02 17:15:32 +05:30
Abdul Rahman 2affeaff7e Enhance Save and Cancel Buttons with Inverted Style Support
- Added an `inverted` prop to `CancelButton`, allowing for a tertiary button style.
- Updated `SaveButton` to support an `inverted` prop, changing its appearance based on the prop value.
- Modified `SaveAndCancelButtons` to pass the `inverted` prop to both buttons, ensuring consistent styling.

These changes improve the visual flexibility of the buttons in the settings module, enhancing user experience.
2026-02-02 17:09:49 +05:30
Abdul Rahman 986a36a8fd Add navigation menu edit mode hooks and state management
- Introduced `useNavigationMenuEditModeActions` for managing edit mode actions, including entering and canceling edit mode.
- Added `useNavigationMenuItemsDraftState` to handle draft state of navigation menu items, determining workspace items based on edit mode.
- Created `isNavigationMenuInEditModeState` and `navigationMenuItemsDraftState` atoms for managing edit mode status and draft items.

These additions enhance the functionality for editing navigation menu items, improving user experience and customization options.
2026-02-02 14:45:15 +05:30
Abdul Rahman ef617aac54 Add IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED feature flag
- Introduced the IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED flag across the GraphQL schema and server-side enums.
- Updated the workspace entity manager tests to include the new feature flag.
- Enhanced the seed feature flags utility to support the new flag.

These changes enable editing capabilities for navigation menu items, improving customization options.
2026-02-02 14:40:21 +05:30
Abdul Rahman 2a5c2cf62d Merge branch 'main' into feat/navbar-customization 2026-02-02 14:23:38 +05:30
Abdul Rahman 8cbbc1b6bf Refactor NavigationMenuItemIcon to enhance icon color handling
- Added `IconColor` to the `useGetStandardObjectIcon` hook for improved icon color customization.
- Simplified logic for determining icon background color based on the presence of `targetRecordId` and `viewId`.
- Consolidated avatar rendering logic to reduce redundancy and improve readability.

These changes enhance the visual consistency and flexibility of navigation menu items.
2026-02-02 07:56:13 +05:30
Abdul Rahman ad10e0a076 Enhance navigation menu item components with icon color customization
- Introduced `getNavigationMenuItemIconColors` utility to manage icon colors based on the theme.
- Updated `CurrentWorkspaceMemberNavigationMenuItems` and `NavigationDrawerItemForObjectMetadataItem` to utilize the new icon color utility.
- Refactored `NavigationMenuItemIcon` to include a styled background for icons, improving visual consistency.
- Adjusted `NavigationDrawerItem` and `NavigationDrawerSubItem` to accept and apply background colors for icons.

These changes improve the visual representation of navigation items and ensure consistent theming across the application.
2026-02-02 07:33:35 +05:30
884 changed files with 12553 additions and 7159 deletions
+3 -1
View File
@@ -89,6 +89,7 @@ In interactive mode, you can pick from:
- **Example front component** — a React UI component (`front-components/hello-world.tsx`)
- **Example view** — a saved view for the example object (`views/example-view.ts`)
- **Example navigation menu item** — a sidebar link (`navigation-menu-items/example-navigation-menu-item.ts`)
- **Example skill** — an AI agent skill definition (`skills/example-skill.ts`)
## What gets scaffolded
@@ -106,11 +107,12 @@ In interactive mode, you can pick from:
- `front-components/hello-world.tsx` — Example front component
- `views/example-view.ts` — Example saved view for the example object
- `navigation-menu-items/example-navigation-menu-item.ts` — Example sidebar navigation link
- `skills/example-skill.ts` — Example AI agent skill definition
## Next steps
- Run `yarn twenty help` to see all available commands.
- Use `yarn twenty auth:login` to authenticate with your Twenty workspace.
- Explore the generated project and add your first entity with `yarn twenty entity:add` (logic functions, front components, objects, roles, views, navigation menu items).
- Explore the generated project and add your first entity with `yarn twenty entity:add` (logic functions, front components, objects, roles, views, navigation menu items, skills).
- Use `yarn twenty app:dev` while you iterate — it watches, builds, and syncs changes to your workspace in real time.
- Types are autogenerated by `yarn twenty app:dev` and stored in `node_modules/twenty-sdk/generated`.
@@ -114,6 +114,7 @@ export class CreateAppCommand {
includeExampleFrontComponent: false,
includeExampleView: false,
includeExampleNavigationMenuItem: false,
includeExampleSkill: false,
};
}
@@ -125,6 +126,7 @@ export class CreateAppCommand {
includeExampleFrontComponent: true,
includeExampleView: true,
includeExampleNavigationMenuItem: true,
includeExampleSkill: true,
};
}
@@ -164,6 +166,11 @@ export class CreateAppCommand {
value: 'navigationMenuItem',
checked: true,
},
{
name: 'Example skill (AI agent skill definition)',
value: 'skill',
checked: true,
},
],
},
]);
@@ -189,6 +196,7 @@ export class CreateAppCommand {
includeExampleView: includeView,
includeExampleNavigationMenuItem:
selectedExamples.includes('navigationMenuItem'),
includeExampleSkill: selectedExamples.includes('skill'),
};
}
@@ -7,4 +7,5 @@ export type ExampleOptions = {
includeExampleFrontComponent: boolean;
includeExampleView: boolean;
includeExampleNavigationMenuItem: boolean;
includeExampleSkill: boolean;
};
@@ -1,8 +1,9 @@
import * as fs from 'fs-extra';
import { join } from 'path';
import { tmpdir } from 'os';
import { copyBaseApplicationProject } from '@/utils/app-template';
import { type ExampleOptions } from '@/types/scaffolding-options';
import { GENERATED_DIR } from 'twenty-shared/application';
import { copyBaseApplicationProject } from '@/utils/app-template';
import * as fs from 'fs-extra';
import { tmpdir } from 'os';
import { join } from 'path';
// Mock fs-extra's copy function to skip copying base template (not available during tests)
jest.mock('fs-extra', () => {
@@ -23,11 +24,13 @@ const ALL_EXAMPLES: ExampleOptions = {
includeExampleFrontComponent: true,
includeExampleView: true,
includeExampleNavigationMenuItem: true,
includeExampleSkill: true,
};
const NO_EXAMPLES: ExampleOptions = {
includeExampleObject: false,
includeExampleField: false,
includeExampleSkill: false,
includeExampleLogicFunction: false,
includeExampleFrontComponent: false,
includeExampleView: false,
@@ -109,7 +112,7 @@ describe('copyBaseApplicationProject', () => {
const gitignoreContent = await fs.readFile(gitignorePath, 'utf8');
expect(gitignoreContent).toContain('/node_modules');
expect(gitignoreContent).toContain('generated');
expect(gitignoreContent).toContain(GENERATED_DIR);
});
it('should create yarn.lock file', async () => {
@@ -437,6 +440,7 @@ describe('copyBaseApplicationProject', () => {
exampleOptions: {
includeExampleObject: false,
includeExampleField: false,
includeExampleSkill: false,
includeExampleLogicFunction: false,
includeExampleFrontComponent: true,
includeExampleView: false,
@@ -472,6 +476,7 @@ describe('copyBaseApplicationProject', () => {
appDirectory: testAppDirectory,
exampleOptions: {
includeExampleObject: false,
includeExampleSkill: false,
includeExampleField: false,
includeExampleLogicFunction: true,
includeExampleFrontComponent: false,
@@ -89,6 +89,14 @@ export const copyBaseApplicationProject = async ({
});
}
if (exampleOptions.includeExampleSkill) {
await createExampleSkill({
appDirectory: sourceFolderPath,
fileFolder: 'skills',
fileName: 'example-skill.ts',
});
}
await createDefaultPostInstallFunction({
appDirectory: sourceFolderPath,
fileFolder: 'logic-functions',
@@ -424,6 +432,36 @@ export default defineNavigationMenuItem({
await fs.writeFile(join(appDirectory, fileFolder ?? '', fileName), content);
};
const createExampleSkill = async ({
appDirectory,
fileFolder,
fileName,
}: {
appDirectory: string;
fileFolder?: string;
fileName: string;
}) => {
const universalIdentifier = v4();
const content = `import { defineSkill } from 'twenty-sdk';
export const EXAMPLE_SKILL_UNIVERSAL_IDENTIFIER =
'${universalIdentifier}';
export default defineSkill({
universalIdentifier: EXAMPLE_SKILL_UNIVERSAL_IDENTIFIER,
name: 'example-skill',
label: 'Example Skill',
description: 'A sample skill for your application',
icon: 'IconBrain',
content: 'Add your skill instructions here. Skills provide context and capabilities to AI agents.',
});
`;
await fs.ensureDir(join(appDirectory, fileFolder ?? ''));
await fs.writeFile(join(appDirectory, fileFolder ?? '', fileName), content);
};
const createApplicationConfig = async ({
displayName,
description,
@@ -14,6 +14,7 @@ Apps let you build and manage Twenty customizations **as code**. Instead of conf
**What you can do today:**
- Define custom objects and fields as code (managed data model)
- Build logic functions with custom triggers
- Define skills for AI agents
- Deploy the same app across multiple workspaces
## Prerequisites
@@ -44,7 +45,7 @@ yarn twenty app:dev
The scaffolder supports three modes for controlling which example files are included:
```bash filename="Terminal"
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Minimal: only core files (application-config.ts and default-role.ts)
@@ -117,8 +118,10 @@ my-twenty-app/
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
With `--minimal`, only the core files are created (`application-config.ts`, `roles/default-role.ts`, and `logic-functions/post-install.ts`). With `--interactive`, you choose which example files to include.
@@ -147,6 +150,7 @@ The SDK detects entities by parsing your TypeScript files for **`export default
| `defineField()` | Field extensions for existing objects |
| `defineView()` | Saved view definitions |
| `defineNavigationMenuItem()` | Navigation menu item definitions |
| `defineSkill()` | AI agent skill definitions |
<Note>
**File naming is flexible.** Entity detection is AST-based — the SDK scans your source files for the `export default define<Entity>({...})` pattern. You can organize your files and folders however you like. Grouping by entity type (e.g., `logic-functions/`, `roles/`) is just a convention for code organization, not a requirement.
@@ -167,7 +171,7 @@ export default defineObject({
Later commands will add more files and folders:
- `yarn twenty app:dev` will auto-generate a typed API client in `node_modules/twenty-sdk/generated` (typed Twenty client + workspace types).
- `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, or roles.
- `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## Authentication
@@ -220,6 +224,7 @@ The SDK provides helper functions for defining your app entities. As described i
| `defineField()` | Extend existing objects with additional fields |
| `defineView()` | Define saved views for objects |
| `defineNavigationMenuItem()` | Define sidebar navigation links |
| `defineSkill()` | Define AI agent skills |
These functions validate your configuration at build time and provide IDE autocompletion and type safety.
@@ -729,6 +734,40 @@ You can create new front components in two ways:
- **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new front component.
- **Manual**: Create a new `*.front-component.tsx` file and use `defineFrontComponent()`.
### Skills
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Key points:
- `name` is a unique identifier string for the skill (kebab-case recommended).
- `label` is the human-readable display name shown in the UI.
- `content` contains the skill instructions — this is the text the AI agent uses.
- `icon` (optional) sets the icon displayed in the UI.
- `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
- **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
- **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### Generated typed client
The typed client is auto-generated by `yarn twenty app:dev` and stored in `node_modules/twenty-sdk/generated` based on your workspace schema. Use it in your functions:
@@ -754,6 +793,51 @@ Notes:
- The API key's permissions are determined by the role referenced in your `application-config.ts` via `defaultRoleUniversalIdentifier`. This is the default role used by logic functions of your application.
- Applications can define roles to follow leastprivilege. Grant only the permissions your functions need, then point `defaultRoleUniversalIdentifier` to that role's universal identifier.
#### Uploading files
The generated `Twenty` client includes an `uploadFile` method for attaching files to file-type fields on your workspace objects. Because standard GraphQL clients do not support multipart file uploads natively, the client provides this dedicated method that implements the [GraphQL multipart request specification](https://github.com/jaydenseric/graphql-multipart-request-spec) under the hood.
```typescript
import Twenty from '~/generated';
import * as fs from 'fs';
const client = new Twenty();
const fileBuffer = fs.readFileSync('./invoice.pdf');
const uploadedFile = await client.uploadFile(
fileBuffer, // file contents as a Buffer
'invoice.pdf', // filename
'application/pdf', // MIME type (defaults to 'application/octet-stream')
'58a0a314-d7ea-4865-9850-7fb84e72f30b', // field universal identifier
);
console.log(uploadedFile);
// { id: '...', path: '...', size: 12345, createdAt: '...', url: 'https://...' }
```
The method signature:
```typescript
uploadFile(
fileBuffer: Buffer,
filename: string,
contentType: string,
fieldMetadataUniversalIdentifier: string,
): Promise<{ id: string; path: string; size: number; createdAt: string; url: string }>
```
| Parameter | Type | Description |
|-----------|------|-------------|
| `fileBuffer` | `Buffer` | The raw file contents |
| `filename` | `string` | The name of the file (used for storage and display) |
| `contentType` | `string` | MIME type of the file (defaults to `application/octet-stream` if omitted) |
| `fieldMetadataUniversalIdentifier` | `string` | The `universalIdentifier` of the file-type field on your object |
Key points:
- The method sends the file to the **metadata endpoint** (not the main GraphQL endpoint), where the upload mutation is resolved.
- It uses the field's `universalIdentifier` (not its workspace-specific ID), so your upload code works across any workspace where your app is installed — consistent with how apps reference fields everywhere else.
- The returned `url` is a signed URL you can use to access the uploaded file.
### Hello World example
@@ -15,6 +15,7 @@ description: أنشئ وأدِر تخصيصات Twenty على هيئة كود.
* عرِّف كائنات وحقولًا مخصصة على شكل كود (نموذج بيانات مُدار)
* أنشئ وظائف منطقية مع مشغلات مخصصة
* حدد المهارات لوكلاء الذكاء الاصطناعي
* انشر التطبيق نفسه عبر مساحات عمل متعددة
## المتطلبات الأساسية
@@ -45,7 +46,7 @@ yarn twenty app:dev
يدعم المُنشئ ثلاثة أوضاع للتحكم في ملفات الأمثلة التي سيتم تضمينها:
```bash filename="Terminal"
# الافتراضي (شامل): جميع الأمثلة (كائن، حقل، دالة منطقية، مكوّن الواجهة الأمامية، عرض، عنصر قائمة التنقل)
# الافتراضي (شامل): جميع الأمثلة (كائن، حقل، دالة منطقية، مكوّن الواجهة الأمامية، عرض، عنصر قائمة التنقل، مهارة)
npx create-twenty-app@latest my-app
# الأدنى: الملفات الأساسية فقط (application-config.ts و default-role.ts)
@@ -118,8 +119,10 @@ my-twenty-app/
│ └── hello-world.tsx # مكوّن واجهة أمامية — مثال
├── views/
│ └── example-view.ts # تعريف عرض محفوظ — مثال
── navigation-menu-items/
└── example-navigation-menu-item.ts # رابط تنقّل في الشريط الجانبي — مثال
── navigation-menu-items/
└── example-navigation-menu-item.ts # رابط تنقّل في الشريط الجانبي — مثال
└── skills/
└── example-skill.ts # تعريف مهارة لوكيل الذكاء الاصطناعي — مثال
```
مع `--minimal`، سيتم إنشاء الملفات الأساسية فقط (`application-config.ts` و`roles/default-role.ts` و`logic-functions/post-install.ts`). مع `--interactive`، تختار ملفات الأمثلة التي تريد تضمينها.
@@ -139,15 +142,16 @@ my-twenty-app/
يكتشف SDK الكيانات عبر تحليل ملفات TypeScript الخاصة بك بحثًا عن استدعاءات **`export default define<Entity>({...})`**. يحتوي كل نوع كيان على دالة مساعدة مقابلة يتم تصديرها من `twenty-sdk`:
| دالة مساعدة | نوع الكيان |
| ---------------------------- | --------------------------------- |
| `defineObject()` | تعريفات كائنات مخصصة |
| `defineLogicFunction()` | تعريفات الوظائف المنطقية |
| `defineFrontComponent()` | Front component definitions |
| `defineRole()` | تعريفات الأدوار |
| `defineField()` | امتدادات الحقول للكائنات الموجودة |
| `defineView()` | تعريفات العروض المحفوظة |
| `defineNavigationMenuItem()` | تعريفات عناصر قائمة التنقل |
| دالة مساعدة | نوع الكيان |
| ---------------------------- | ------------------------------------ |
| `defineObject()` | تعريفات كائنات مخصصة |
| `defineLogicFunction()` | تعريفات الوظائف المنطقية |
| `defineFrontComponent()` | Front component definitions |
| `defineRole()` | تعريفات الأدوار |
| `defineField()` | امتدادات الحقول للكائنات الموجودة |
| `defineView()` | تعريفات العروض المحفوظة |
| `defineNavigationMenuItem()` | تعريفات عناصر قائمة التنقل |
| `defineSkill()` | تعريفات مهارات وكيل الذكاء الاصطناعي |
<Note>
**تسمية الملفات مرنة.** يعتمد اكتشاف الكيانات على بنية الشجرة المجردة (AST) — إذ يقوم SDK بفحص ملفات المصدر لديك بحثًا عن النمط `export default define<Entity>({...})`. يمكنك تنظيم ملفاتك ومجلداتك كيفما تشاء. التجميع حسب نوع الكيان (مثلًا، `logic-functions/` و`roles/`) هو مجرد عرف لتنظيم الشيفرة، وليس مطلبًا إلزاميًا.
@@ -169,7 +173,7 @@ export default defineObject({
ستضيف الأوامر اللاحقة مزيدًا من الملفات والمجلدات:
* `yarn twenty app:dev` سيولّد تلقائيًا عميل API مضبوط الأنواع في `node_modules/twenty-sdk/generated` (عميل Twenty مضبوط الأنواع + أنواع مساحة العمل).
* `yarn twenty entity:add` سيضيف ملفات تعريف الكيانات تحت `src/` لكائناتك المخصصة أو الوظائف أو المكونات الواجهية أو الأدوار.
* `yarn twenty entity:add` سيضيف ملفات تعريف الكيانات ضمن `src/` لكائناتك المخصّصة، والوظائف، ومكوّنات الواجهة الأمامية، والأدوار، والمهارات، وغير ذلك.
## المصادقة
@@ -222,6 +226,7 @@ yarn twenty auth:status
| `defineField()` | وسّع الكائنات الموجودة بحقول إضافية |
| `defineView()` | تعريف العروض المحفوظة للكائنات |
| `defineNavigationMenuItem()` | تعريف روابط التنقل في الشريط الجانبي |
| `defineSkill()` | عرّف مهارات وكيل الذكاء الاصطناعي |
تتحقق هذه الدوال من تكوينك وقت البناء وتوفّر إكمالًا تلقائيًا في بيئة التطوير وأمان الأنواع.
@@ -741,6 +746,41 @@ export default defineFrontComponent({
* **مُنشأ بالقالب**: شغّل `yarn twenty entity:add` واختر خيار إضافة مكوّن أمامي جديد.
* **يدوي**: أنشئ ملفًا جديدًا `*.front-component.tsx` واستخدم `defineFrontComponent()`.
### المهارات
تُحدِّد المهارات تعليمات وإمكانات قابلة لإعادة الاستخدام يمكن لوكلاء الذكاء الاصطناعي استخدامها داخل مساحة العمل لديك. استخدم `defineSkill()` لتعريف مهارات مع تحقّق مدمج:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'التواصل البيعي',
description: 'يرشد وكيل الذكاء الاصطناعي خلال عملية منظّمة للتواصل البيعي',
icon: 'IconBrain',
content: `أنت مساعد للتواصل البيعي. عند التواصل مع عميل محتمل:
1. ابحث عن الشركة وآخر الأخبار
2. حدِّد دور العميل المحتمل ونقاط الألم المرجّحة
3. صِغ رسالة مخصّصة تشير إلى تفاصيل محدّدة
4. حافظ على نبرة احترافية ولكن حوارية`,
});
```
النقاط الرئيسية:
* `name` هي سلسلة معرّف فريدة للمهارة (يُنصَح باستخدام kebab-case).
* `label` هو اسم العرض المقروء للبشر الظاهر في واجهة المستخدم.
* `content` يحتوي على تعليمات المهارة — وهو النص الذي يستخدمه وكيل الذكاء الاصطناعي.
* `icon` (اختياري) يحدّد الأيقونة المعروضة في واجهة المستخدم.
* `description` (اختياري) يوفّر سياقًا إضافيًا حول غرض المهارة.
يمكنك إنشاء مهارات جديدة بطريقتين:
* **مُنشأ بالقالب**: شغِّل `yarn twenty entity:add` واختر خيار إضافة مهارة جديدة.
* **يدوي**: أنشئ ملفًا جديدًا واستخدم `defineSkill()` مع اتباع النمط نفسه.
### عميل مُولَّد مضبوط الأنواع
يُولَّد العميل مضبوط الأنواع تلقائيًا بواسطة `yarn twenty app:dev` ويُخزَّن في `node_modules/twenty-sdk/generated` استنادًا إلى مخطط مساحة العمل لديك. استخدمه في وظائفك:
@@ -15,6 +15,7 @@ Aplikace vám umožňují vytvářet a spravovat přizpůsobení Twenty **jako k
* Definujte vlastní objekty a pole jako kód (spravovaný datový model)
* Vytvářejte logické funkce s vlastními spouštěči
* Definujte dovednosti agentů AI
* Nasazujte stejnou aplikaci do více pracovních prostorů
## Předpoklady
@@ -45,7 +46,7 @@ yarn twenty app:dev
Nástroj pro generování kostry podporuje tři režimy pro řízení toho, které ukázkové soubory jsou zahrnuty:
```bash filename="Terminal"
# Výchozí (úplný): všechny příklady (objekt, pole, logická funkce, front-endová komponenta, zobrazení, položka navigační nabídky)
# Výchozí (úplný): všechny příklady (objekt, pole, logická funkce, front-endová komponenta, zobrazení, položka navigační nabídky, dovednost)
npx create-twenty-app@latest my-app
# Minimální: pouze základní soubory (application-config.ts a default-role.ts)
@@ -118,8 +119,10 @@ my-twenty-app/
│ └── hello-world.tsx # Ukázková front-endová komponenta
├── views/
│ └── example-view.ts # Ukázková definice uloženého zobrazení
── navigation-menu-items/
└── example-navigation-menu-item.ts # Ukázkový odkaz postranní navigace
── navigation-menu-items/
└── example-navigation-menu-item.ts # Ukázkový odkaz postranní navigace
└── skills/
└── example-skill.ts # Ukázková definice dovednosti agenta AI
```
S volbou `--minimal` se vytvoří pouze základní soubory (`application-config.ts`, `roles/default-role.ts` a `logic-functions/post-install.ts`). S volbou `--interactive` si vyberete, které ukázkové soubory chcete zahrnout.
@@ -148,6 +151,7 @@ SDK detekuje entity analýzou vašich souborů TypeScript a hledá volání **`e
| `defineField()` | Rozšíření polí u existujících objektů |
| `defineView()` | Definice uložených zobrazení |
| `defineNavigationMenuItem()` | Definice položek navigační nabídky |
| `defineSkill()` | Definice dovedností agenta AI |
<Note>
**Pojmenování souborů je flexibilní.** Detekce entit je založená na AST — SDK prochází vaše zdrojové soubory a hledá vzor `export default define<Entity>({...})`. Soubory a složky můžete organizovat, jak chcete. Seskupování podle typu entity (např. `logic-functions/`, `roles/`) je pouze konvence pro organizaci kódu, nikoli požadavek.
@@ -169,7 +173,7 @@ export default defineObject({
Pozdější příkazy přidají další soubory a složky:
* `yarn twenty app:dev` automaticky vygeneruje typovaného klienta API v `node_modules/twenty-sdk/generated` (typovaný klient Twenty + typy pracovního prostoru).
* `yarn twenty entity:add` přidá soubory s definicemi entit do `src/` pro vaše vlastní objekty, funkce, frontové komponenty nebo role.
* `yarn twenty entity:add` přidá soubory s definicemi entit do `src/` pro vaše vlastní objekty, funkce, frontové komponenty, role, dovednosti a další.
## Ověření
@@ -222,6 +226,7 @@ SDK poskytuje pomocné funkce pro definování entit vaší aplikace. Jak je pop
| `defineField()` | Rozšiřte existující objekty o další pole |
| `defineView()` | Definujte uložená zobrazení pro objekty |
| `defineNavigationMenuItem()` | Definujte odkazy postranní navigace |
| `defineSkill()` | Definuje dovednosti agenta AI |
Tyto funkce validují vaši konfiguraci v době sestavení a poskytují automatické doplňování v IDE a typovou bezpečnost.
@@ -741,6 +746,41 @@ Nové frontendové komponenty můžete vytvořit dvěma způsoby:
* **Vygenerované**: Spusťte `yarn twenty entity:add` a zvolte možnost přidat novou frontendovou komponentu.
* **Ruční**: Vytvořte nový soubor `*.front-component.tsx` a použijte `defineFrontComponent()`.
### Dovednosti
Dovednosti definují znovupoužitelné pokyny a schopnosti, které mohou agenti AI používat ve vašem pracovním prostoru. K definování dovedností s vestavěnou validací použijte `defineSkill()`:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Hlavní body:
* `name` je jedinečný identifikátor dovednosti (doporučuje se kebab-case).
* `label` je uživatelsky čitelný název zobrazovaný v UI.
* `content` obsahuje pokyny dovednosti — je to text, který agent AI používá.
* `icon` (volitelné) nastavuje ikonu zobrazovanou v UI.
* `description` (volitelné) poskytuje doplňující kontext o účelu dovednosti.
Nové dovednosti můžete vytvářet dvěma způsoby:
* **Vygenerované**: Spusťte `yarn twenty entity:add` a zvolte možnost přidat novou dovednost.
* **Ruční**: Vytvořte nový soubor a použijte `defineSkill()` podle stejného vzoru.
### Generovaný typovaný klient
Typovaný klient je automaticky generován pomocí `yarn twenty app:dev` a ukládá se do `node_modules/twenty-sdk/generated` podle schématu vašeho pracovního prostoru. Použijte jej ve svých funkcích:
@@ -15,6 +15,7 @@ Mit Apps können Sie Twenty-Anpassungen **als Code** erstellen und verwalten. An
* Benutzerdefinierte Objekte und Felder als Code definieren (verwaltetes Datenmodell)
* Logikfunktionen mit benutzerdefinierten Triggern erstellen
* Fähigkeiten für KI-Agenten definieren
* Dieselbe App in mehreren Workspaces bereitstellen
## Voraussetzungen
@@ -45,7 +46,7 @@ yarn twenty app:dev
Das Scaffolding-Tool unterstützt drei Modi, um zu steuern, welche Beispieldateien enthalten sind:
```bash filename="Terminal"
# Standard (umfassend): alle Beispiele (Objekt, Feld, Logikfunktion, Frontend-Komponente, View, Navigationsmenüeintrag)
# Standard (umfassend): alle Beispiele (Objekt, Feld, Logikfunktion, Frontend-Komponente, View, Navigationsmenüeintrag, Skill)
npx create-twenty-app@latest my-app
# Minimal: nur Kerndateien (application-config.ts und default-role.ts)
@@ -104,22 +105,24 @@ my-twenty-app/
README.md
public/ # Ordner für öffentliche Assets (Bilder, Schriftarten usw.)
src/
application-config.ts # Erforderlich  Hauptkonfiguration der Anwendung
roles/
 default-role.ts # Standardrolle für Logikfunktionen
objects/
 example-object.ts # Beispiel für eine benutzerdefinierte Objektdefinition
fields/
 example-field.ts # Beispiel für eine eigenständige Felddefinition
logic-functions/
 hello-world.ts # Beispiel für eine Logikfunktion
 post-install.ts # Post-Installations-Logikfunktion
front-components/
 hello-world.tsx # Beispiel für eine Frontend-Komponente
views/
 example-view.ts # Beispiel für eine gespeicherte View-Definition
navigation-menu-items/
example-navigation-menu-item.ts # Beispiel für einen Navigationslink in der Seitenleiste
├── application-config.ts # Erforderlich - Hauptkonfiguration der Anwendung
├── roles/
│ └── default-role.ts # Standardrolle für Logikfunktionen
├── objects/
│ └── example-object.ts # Beispiel für eine benutzerdefinierte Objektdefinition
├── fields/
│ └── example-field.ts # Beispiel für eine eigenständige Felddefinition
├── logic-functions/
│ ├── hello-world.ts # Beispiel für eine Logikfunktion
│ └── post-install.ts # Post-Installations-Logikfunktion
├── front-components/
│ └── hello-world.tsx # Beispiel für eine Frontend-Komponente
├── views/
│ └── example-view.ts # Beispiel für eine gespeicherte View-Definition
├── navigation-menu-items/
└── example-navigation-menu-item.ts # Beispiel für einen Navigationslink in der Seitenleiste
└── skills/
└── example-skill.ts # Beispiel für eine Skill-Definition eines KI-Agenten
```
Mit `--minimal` werden nur die Kerndateien erstellt (`application-config.ts`, `roles/default-role.ts` und `logic-functions/post-install.ts`). Mit `--interactive` wählst du aus, welche Beispieldateien enthalten sein sollen.
@@ -148,6 +151,7 @@ Das SDK erkennt Entitäten, indem es Ihre TypeScript-Dateien nach Aufrufen von *
| `defineField()` | Felderweiterungen für bestehende Objekte |
| `defineView()` | Gespeicherte View-Definitionen |
| `defineNavigationMenuItem()` | Definitionen von Navigationsmenüeinträgen |
| `defineSkill()` | Skill-Definitionen für KI-Agenten |
<Note>
**Dateibenennung ist flexibel.** Die Entitätserkennung ist AST-basiert — das SDK durchsucht Ihre Quelldateien nach dem Muster `export default define<Entity>({...})`. Sie können Ihre Dateien und Ordner nach Belieben organisieren. Die Gruppierung nach Entitätstyp (z. B. `logic-functions/`, `roles/`) ist lediglich eine Konvention zur Codeorganisation, keine Voraussetzung.
@@ -169,7 +173,7 @@ export default defineObject({
Spätere Befehle fügen weitere Dateien und Ordner hinzu:
* `yarn twenty app:dev` generiert automatisch einen typisierten API-Client in `node_modules/twenty-sdk/generated` (typisierter Twenty-Client + Arbeitsbereichs-Typen).
* `yarn twenty entity:add` fügt unter `src/` Entitätsdefinitionsdateien für benutzerdefinierte Objekte, Funktionen, Frontend-Komponenten oder Rollen hinzu.
* `yarn twenty entity:add` fügt unter `src/` Entitätsdefinitionsdateien für Ihre benutzerdefinierten Objekte, Funktionen, Frontend-Komponenten, Rollen, Skills und mehr hinzu.
## Authentifizierung
@@ -222,6 +226,7 @@ Das SDK stellt Hilfsfunktionen bereit, um die Entitäten Ihrer App zu definieren
| `defineField()` | Bestehende Objekte mit zusätzlichen Feldern erweitern |
| `defineView()` | Gespeicherte Views für Objekte definieren |
| `defineNavigationMenuItem()` | Seitenleisten-Navigationslinks definieren |
| `defineSkill()` | Definieren Sie Skills für KI-Agenten |
Diese Funktionen validieren Ihre Konfiguration zur Build-Zeit und bieten IDE-Autovervollständigung sowie Typsicherheit.
@@ -741,6 +746,41 @@ Sie können neue Frontend-Komponenten auf zwei Arten erstellen:
* **Generiert**: Führen Sie `yarn twenty entity:add` aus und wählen Sie die Option zum Hinzufügen einer neuen Frontend-Komponente.
* **Manuell**: Erstellen Sie eine neue `*.front-component.tsx`-Datei und verwenden Sie `defineFrontComponent()`.
### Fähigkeiten
Skills definieren wiederverwendbare Anweisungen und Fähigkeiten, die KI-Agenten in Ihrem Arbeitsbereich verwenden können. Verwenden Sie `defineSkill()`, um Skills mit eingebauter Validierung zu definieren:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Hauptpunkte:
* `name` ist eine eindeutige Kennung (als Zeichenfolge) für den Skill (kebab-case empfohlen).
* `label` ist der menschenlesbare Anzeigename, der in der UI angezeigt wird.
* `content` enthält die Skill-Anweisungen — dies ist der Text, den der KI-Agent verwendet.
* `icon` (optional) legt das in der UI angezeigte Symbol fest.
* `description` (optional) liefert zusätzlichen Kontext zum Zweck des Skills.
Sie können neue Skills auf zwei Arten erstellen:
* **Generiert**: Führen Sie `yarn twenty entity:add` aus und wählen Sie die Option zum Hinzufügen eines neuen Skills.
* **Manuell**: Erstellen Sie eine neue Datei und verwenden Sie `defineSkill()` nach demselben Muster.
### Generierter typisierter Client
Der typisierte Client wird von `yarn twenty app:dev` automatisch generiert und basierend auf Ihrem Arbeitsbereichs-Schema in `node_modules/twenty-sdk/generated` gespeichert. Verwenden Sie ihn in Ihren Funktionen:
@@ -15,6 +15,7 @@ Le app ti consentono di creare e gestire le personalizzazioni di Twenty **come c
* Definisci oggetti e campi personalizzati come codice (modello dati gestito)
* Crea funzioni logiche con trigger personalizzati
* Definire le abilità per gli agenti IA
* Distribuisci la stessa app su più spazi di lavoro
## Prerequisiti
@@ -45,13 +46,13 @@ yarn twenty app:dev
Lo strumento di scaffolding supporta tre modalità per controllare quali file di esempio vengono inclusi:
```bash filename="Terminal"
# Predefinita (esaustiva): tutti gli esempi (oggetto, campo, funzione logica, componente front-end, vista, voce del menu di navigazione)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Minimale: solo i file principali (application-config.ts e default-role.ts)
# Minimal: only core files (application-config.ts and default-role.ts)
npx create-twenty-app@latest my-app --minimal
# Interattiva: seleziona quali esempi includere
# Interactive: select which examples to include
npx create-twenty-app@latest my-app --interactive
```
@@ -102,24 +103,26 @@ my-twenty-app/
eslint.config.mjs
tsconfig.json
README.md
public/ # Cartella delle risorse pubbliche (immagini, font, ecc.)
public/ # Public assets folder (images, fonts, etc.)
src/
├── application-config.ts # Obbligatorio - configurazione principale dell'applicazione
├── application-config.ts # Required - main application configuration
├── roles/
│ └── default-role.ts # Ruolo predefinito per le funzioni logiche
│ └── default-role.ts # Default role for logic functions
├── objects/
│ └── example-object.ts # Definizione di oggetto personalizzato di esempio
│ └── example-object.ts # Example custom object definition
├── fields/
│ └── example-field.ts # Definizione di campo autonomo di esempio
│ └── example-field.ts # Example standalone field definition
├── logic-functions/
│ ├── hello-world.ts # Funzione logica di esempio
│ └── post-install.ts # Funzione logica post-installazione
│ ├── hello-world.ts # Example logic function
│ └── post-install.ts # Post-install logic function
├── front-components/
│ └── hello-world.tsx # Componente front-end di esempio
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Definizione di vista salvata di esempio
── navigation-menu-items/
└── example-navigation-menu-item.ts # Link di navigazione della barra laterale di esempio
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
Con `--minimal`, vengono creati solo i file principali (`application-config.ts`, `roles/default-role.ts` e `logic-functions/post-install.ts`). Con `--interactive`, scegli quali file di esempio includere.
@@ -148,6 +151,7 @@ L'SDK rileva le entità analizzando i tuoi file TypeScript alla ricerca di chiam
| `defineField()` | Estensioni di campo per oggetti esistenti |
| `defineView()` | Definizioni di viste salvate |
| `defineNavigationMenuItem()` | Definizioni delle voci del menu di navigazione |
| `defineSkill()` | AI agent skill definitions |
<Note>
**La denominazione dei file è flessibile.** Il rilevamento delle entità è basato sull'AST — l'SDK esegue la scansione dei file sorgente alla ricerca del pattern `export default define<Entity>({...})`. Puoi organizzare file e cartelle come preferisci. Raggruppare per tipo di entità (ad es., `logic-functions/`, `roles/`) è solo una convenzione per l'organizzazione del codice, non un requisito.
@@ -169,7 +173,7 @@ export default defineObject({
Comandi successivi aggiungeranno altri file e cartelle:
* `yarn twenty app:dev` genererà automaticamente un client API tipizzato in `node_modules/twenty-sdk/generated` (client Twenty tipizzato + tipi dell'area di lavoro).
* `yarn twenty entity:add` aggiungerà file di definizione delle entità sotto `src/` per i tuoi oggetti, funzioni, componenti front-end o ruoli personalizzati.
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## Autenticazione
@@ -222,6 +226,7 @@ L'SDK fornisce funzioni helper per definire le entità della tua app. Come descr
| `defineField()` | Estendi gli oggetti esistenti con campi aggiuntivi |
| `defineView()` | Definisce viste salvate per gli oggetti |
| `defineNavigationMenuItem()` | Definisce i link di navigazione della barra laterale |
| `defineSkill()` | Define AI agent skills |
Queste funzioni convalidano la configurazione in fase di build e offrono il completamento automatico nell'IDE e la sicurezza dei tipi.
@@ -741,6 +746,41 @@ Puoi creare nuovi componenti front-end in due modi:
* **Generata dallo scaffolder**: Esegui `yarn twenty entity:add` e scegli l'opzione per aggiungere un nuovo componente front-end.
* **Manuale**: Crea un nuovo file `*.front-component.tsx` e usa `defineFrontComponent()`.
### Abilità
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Punti chiave:
* `name` is a unique identifier string for the skill (kebab-case recommended).
* `label` is the human-readable display name shown in the UI.
* `content` contains the skill instructions — this is the text the AI agent uses.
* `icon` (optional) sets the icon displayed in the UI.
* `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### Client tipizzato generato
Il client tipizzato è generato automaticamente da `yarn twenty app:dev` e salvato in `node_modules/twenty-sdk/generated` in base allo schema della tua area di lavoro. Usalo nelle tue funzioni:
@@ -15,6 +15,7 @@ Os aplicativos permitem criar e gerenciar personalizações do Twenty **como có
* Defina objetos e campos personalizados como código (modelo de dados gerenciado)
* Crie funções de lógica com gatilhos personalizados
* Definir habilidades para agentes de IA
* Implemente o mesmo aplicativo em vários espaços de trabalho
## Pré-requisitos
@@ -45,13 +46,13 @@ yarn twenty app:dev
O gerador de estrutura oferece suporte a três modos para controlar quais arquivos de exemplo são incluídos:
```bash filename="Terminal"
# Padrão (exhaustivo): todos os exemplos (objeto, campo, função de lógica, componente de front-end, visualização, item do menu de navegação)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Mínimo: apenas arquivos principais (application-config.ts e default-role.ts)
# Minimal: only core files (application-config.ts and default-role.ts)
npx create-twenty-app@latest my-app --minimal
# Interativo: selecione quais exemplos incluir
# Interactive: select which examples to include
npx create-twenty-app@latest my-app --interactive
```
@@ -102,24 +103,26 @@ my-twenty-app/
eslint.config.mjs
tsconfig.json
README.md
public/ # Pasta de recursos públicos (imagens, fontes, etc.)
public/ # Public assets folder (images, fonts, etc.)
src/
├── application-config.ts # Obrigatório - configuração principal da aplicação
├── application-config.ts # Required - main application configuration
├── roles/
│ └── default-role.ts # Papel padrão para funções de lógica
│ └── default-role.ts # Default role for logic functions
├── objects/
│ └── example-object.ts # Exemplo de definição de objeto personalizado
│ └── example-object.ts # Example custom object definition
├── fields/
│ └── example-field.ts # Exemplo de definição de campo independente
│ └── example-field.ts # Example standalone field definition
├── logic-functions/
│ ├── hello-world.ts # Exemplo de função de lógica
│ └── post-install.ts # Função de lógica de pós-instalação
│ ├── hello-world.ts # Example logic function
│ └── post-install.ts # Post-install logic function
├── front-components/
│ └── hello-world.tsx # Exemplo de componente de front-end
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Exemplo de definição de visualização salva
── navigation-menu-items/
└── example-navigation-menu-item.ts # Exemplo de link de navegação da barra lateral
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
Com `--minimal`, apenas os arquivos principais são criados (`application-config.ts`, `roles/default-role.ts` e `logic-functions/post-install.ts`). Com `--interactive`, você escolhe quais arquivos de exemplo incluir.
@@ -148,6 +151,7 @@ O SDK detecta entidades analisando seus arquivos TypeScript em busca de chamadas
| `defineField()` | Extensões de campos para objetos existentes |
| `defineView()` | Definições de visualizações salvas |
| `defineNavigationMenuItem()` | Definições de itens do menu de navegação |
| `defineSkill()` | AI agent skill definitions |
<Note>
**A nomeação de arquivos é flexível.** A detecção de entidades é baseada em AST — o SDK varre seus arquivos fonte em busca do padrão `export default define<Entity>({...})`. Você pode organizar seus arquivos e pastas como quiser. Agrupar por tipo de entidade (por exemplo, `logic-functions/`, `roles/`) é apenas uma convenção para organização do código, não um requisito.
@@ -169,7 +173,7 @@ export default defineObject({
Comandos posteriores adicionarão mais arquivos e pastas:
* `yarn twenty app:dev` vai gerar automaticamente um cliente de API tipado em `node_modules/twenty-sdk/generated` (cliente Twenty tipado + tipos do espaço de trabalho).
* `yarn twenty entity:add` adicionará arquivos de definição de entidade em `src/` para seus objetos, funções, componentes de front-end ou papéis personalizados.
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## Autenticação
@@ -222,6 +226,7 @@ O SDK fornece funções utilitárias para definir as entidades do seu app. Confo
| `defineField()` | Estender objetos existentes com campos adicionais |
| `defineView()` | Define visualizações salvas para objetos |
| `defineNavigationMenuItem()` | Define links de navegação da barra lateral |
| `defineSkill()` | Define AI agent skills |
Essas funções validam sua configuração em tempo de compilação e oferecem autocompletar na IDE e segurança de tipos.
@@ -741,6 +746,41 @@ Você pode criar novos componentes de front-end de duas formas:
* **Gerado automaticamente**: Execute `yarn twenty entity:add` e escolha a opção para adicionar um novo componente de front-end.
* **Manual**: Crie um novo arquivo `*.front-component.tsx` e use `defineFrontComponent()`.
### Habilidades
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Pontos-chave:
* `name` is a unique identifier string for the skill (kebab-case recommended).
* `label` is the human-readable display name shown in the UI.
* `content` contains the skill instructions — this is the text the AI agent uses.
* `icon` (optional) sets the icon displayed in the UI.
* `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### Cliente tipado gerado
O cliente tipado é gerado automaticamente pelo `yarn twenty app:dev` e armazenado em `node_modules/twenty-sdk/generated` com base no esquema do seu espaço de trabalho. Use-o em suas funções:
@@ -15,6 +15,7 @@ Aplicațiile vă permit să construiți și să gestionați personalizările Twe
* Definiți obiecte și câmpuri personalizate sub formă de cod (model de date gestionat)
* Creați funcții de logică cu declanșatoare personalizate
* Definiți abilități pentru agenți de IA
* Implementați aceeași aplicație în mai multe spații de lucru
## Cerințe
@@ -45,7 +46,7 @@ yarn twenty app:dev
Generatorul de schelet acceptă trei moduri pentru a controla ce fișiere de exemplu sunt incluse:
```bash filename="Terminal"
# Implicit (exhaustiv): toate exemplele (obiect, câmp, funcție logică, componentă de interfață, vizualizare, element de meniu de navigare)
# Implicit (exhaustiv): toate exemplele (obiect, câmp, funcție logică, componentă de interfață, vizualizare, element de meniu de navigare, abilitate)
npx create-twenty-app@latest my-app
# Minimal: doar fișierele de bază (application-config.ts și default-role.ts)
@@ -118,8 +119,10 @@ my-twenty-app/
│ └── hello-world.tsx # Exemplu de componentă de interfață
├── views/
│ └── example-view.ts # Exemplu de definiție a unei vizualizări salvate
── navigation-menu-items/
└── example-navigation-menu-item.ts # Exemplu de link de navigare în bara laterală
── navigation-menu-items/
└── example-navigation-menu-item.ts # Exemplu de link de navigare în bara laterală
└── skills/
└── example-skill.ts # Exemplu de definiție a unei abilități a agentului AI
```
Cu `--minimal`, sunt create doar fișierele de bază (`application-config.ts`, `roles/default-role.ts` și `logic-functions/post-install.ts`). Cu `--interactive`, alegi ce fișiere de exemplu să incluzi.
@@ -148,6 +151,7 @@ SDK-ul detectează entitățile analizând fișierele TypeScript pentru apeluri
| `defineField()` | Extensii de câmp pentru obiectele existente |
| `defineView()` | Definiții pentru vizualizări salvate |
| `defineNavigationMenuItem()` | Definiții pentru elemente de meniu de navigare |
| `defineSkill()` | Definiții ale abilităților agentului AI |
<Note>
**Denumirea fișierelor este flexibilă.** Detectarea entităților se bazează pe AST — SDK-ul scanează fișierele sursă pentru tiparul `export default define<Entity>({...})`. Puteți organiza fișierele și folderele cum doriți. Gruparea după tipul de entitate (de exemplu, `logic-functions/`, `roles/`) este doar o convenție pentru organizarea codului, nu o cerință.
@@ -169,7 +173,7 @@ export default defineObject({
Comenzile ulterioare vor adăuga mai multe fișiere și foldere:
* `yarn twenty app:dev` va genera automat un client API tipizat în `node_modules/twenty-sdk/generated` (client Twenty tipizat + tipuri ale spațiului de lucru).
* `yarn twenty entity:add` va adăuga fișiere de definire a entităților în `src/` pentru obiectele, funcțiile, componentele front-end sau rolurile personalizate.
* `yarn twenty entity:add` va adăuga fișiere de definire a entităților în `src/` pentru obiectele, funcțiile, componentele front-end, rolurile, abilitățile și altele.
## Autentificare
@@ -222,6 +226,7 @@ SDK-ul oferă funcții ajutătoare pentru definirea entităților aplicației. D
| `defineField()` | Extindeți obiectele existente cu câmpuri suplimentare |
| `defineView()` | Definește vizualizări salvate pentru obiecte |
| `defineNavigationMenuItem()` | Definește linkuri de navigare în bara laterală |
| `defineSkill()` | Definiți abilități pentru agentul AI |
Aceste funcții validează configurația în timpul build-ului și oferă completare automată în IDE și siguranța tipurilor.
@@ -741,6 +746,41 @@ Puteți crea componente Front noi în două moduri:
* **Generat**: Rulați `yarn twenty entity:add` și alegeți opțiunea de a adăuga o componentă frontend nouă.
* **Manual**: Creați un fișier nou `*.front-component.tsx` și folosiți `defineFrontComponent()`.
### Abilități
Abilitățile definesc instrucțiuni și capabilități reutilizabile pe care agenții AI le pot folosi în spațiul dvs. de lucru. Folosiți `defineSkill()` pentru a defini abilități cu validare încorporată:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Abordare de vânzări',
description: 'Ghidează agentul AI printr-un proces structurat de abordare de vânzări',
icon: 'IconBrain',
content: `Ești un asistent pentru abordare de vânzări. Când contactezi un potențial client:
1. Cercetează compania și noutățile recente
2. Identifică rolul potențialului client și probabilele puncte sensibile
3. Redactează un mesaj personalizat care face referire la detalii specifice
4. Păstrează un ton profesionist, dar conversațional`,
});
```
Puncte cheie:
* `name` este un șir identificator unic pentru abilitate (se recomandă kebab-case).
* `label` este numele lizibil afișat în interfața cu utilizatorul (UI).
* `content` conține instrucțiunile abilității — acesta este textul pe care agentul AI îl folosește.
* `icon` (opțional) setează pictograma afișată în UI.
* `description` (opțional) oferă context suplimentar despre scopul abilității.
Puteți crea abilități noi în două moduri:
* **Generat**: Rulați `yarn twenty entity:add` și alegeți opțiunea de a adăuga o abilitate nouă.
* **Manual**: Creați un fișier nou și folosiți `defineSkill()`, urmând același model.
### Client tipizat generat
Clientul tipizat este generat automat de `yarn twenty app:dev` și stocat în `node_modules/twenty-sdk/generated`, pe baza schemei spațiului tău de lucru. Folosiți-l în funcțiile dvs.:
@@ -15,6 +15,7 @@ description: Создавайте и управляйте настройками
* Определяйте пользовательские объекты и поля в виде кода (управляемая модель данных)
* Создавайте логические функции с пользовательскими триггерами
* Определите навыки для ИИ-агентов
* Развёртывайте одно и то же приложение в нескольких рабочих пространствах
## Требования
@@ -45,13 +46,13 @@ yarn twenty app:dev
Генератор каркаса поддерживает три режима для управления тем, какие примерные файлы включаются:
```bash filename="Terminal"
# По умолчанию (полный набор): все примеры (объект, поле, логическая функция, фронтенд-компонент, представление, пункт меню навигации)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Минимальный: только основные файлы (application-config.ts и default-role.ts)
# Minimal: only core files (application-config.ts and default-role.ts)
npx create-twenty-app@latest my-app --minimal
# Интерактивный: выбрать, какие примеры включить
# Interactive: select which examples to include
npx create-twenty-app@latest my-app --interactive
```
@@ -102,24 +103,26 @@ my-twenty-app/
eslint.config.mjs
tsconfig.json
README.md
public/ # Папка публичных ресурсов (изображения, шрифты и т. д.)
public/ # Public assets folder (images, fonts, etc.)
src/
├── application-config.ts # Обязательный — основная конфигурация приложения
├── application-config.ts # Required - main application configuration
├── roles/
│ └── default-role.ts # Роль по умолчанию для логических функций
│ └── default-role.ts # Default role for logic functions
├── objects/
│ └── example-object.ts # Пример определения пользовательского объекта
│ └── example-object.ts # Example custom object definition
├── fields/
│ └── example-field.ts # Пример определения отдельного поля
│ └── example-field.ts # Example standalone field definition
├── logic-functions/
│ ├── hello-world.ts # Пример логической функции
│ └── post-install.ts # Постустановочная логическая функция
│ ├── hello-world.ts # Example logic function
│ └── post-install.ts # Post-install logic function
├── front-components/
│ └── hello-world.tsx # Пример фронтенд-компонента
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Пример определения сохранённого представления
── navigation-menu-items/
└── example-navigation-menu-item.ts # Пример ссылки боковой панели навигации
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
С `--minimal` создаются только основные файлы (`application-config.ts`, `roles/default-role.ts` и `logic-functions/post-install.ts`). С `--interactive` вы выбираете, какие примерные файлы включить.
@@ -148,6 +151,7 @@ SDK обнаруживает сущности, разбирая ваши фай
| `defineField()` | Расширения полей для существующих объектов |
| `defineView()` | Определения сохранённых представлений |
| `defineNavigationMenuItem()` | Определения пунктов меню навигации |
| `defineSkill()` | AI agent skill definitions |
<Note>
**Имена файлов заданы гибко.** Обнаружение сущностей основано на AST — SDK сканирует ваши исходные файлы в поисках шаблона `export default define<Entity>({...})`. Вы можете организовывать файлы и папки как угодно. Группировка по типу сущности (например, `logic-functions/`, `roles/`) — это лишь соглашение для организации кода, а не требование.
@@ -169,7 +173,7 @@ export default defineObject({
Позднее команды добавят больше файлов и папок:
* `yarn twenty app:dev` автоматически сгенерирует типизированный клиент API в `node_modules/twenty-sdk/generated` (типизированный клиент Twenty + типы рабочего пространства).
* `yarn twenty entity:add` добавит файлы определений сущностей в `src/` для ваших пользовательских объектов, функций, фронтенд-компонентов или ролей.
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## Аутентификация
@@ -222,6 +226,7 @@ SDK предоставляет вспомогательные функции д
| `defineField()` | Расширение существующих объектов дополнительными полями |
| `defineView()` | Определяйте сохранённые представления для объектов |
| `defineNavigationMenuItem()` | Определяйте ссылки боковой панели навигации |
| `defineSkill()` | Define AI agent skills |
Эти функции проверяют вашу конфигурацию на этапе сборки и обеспечивают автодополнение в IDE и безопасность типов.
@@ -741,6 +746,41 @@ export default defineFrontComponent({
* **Сгенерировано**: Запустите `yarn twenty entity:add` и выберите опцию добавления нового фронтенд-компонента.
* **Вручную**: Создайте новый файл `*.front-component.tsx` и используйте `defineFrontComponent()`.
### Навыки
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Основные моменты:
* `name` is a unique identifier string for the skill (kebab-case recommended).
* `label` is the human-readable display name shown in the UI.
* `content` contains the skill instructions — this is the text the AI agent uses.
* `icon` (optional) sets the icon displayed in the UI.
* `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### Сгенерированный типизированный клиент
Типизированный клиент автоматически генерируется с помощью `yarn twenty app:dev` и сохраняется в `node_modules/twenty-sdk/generated` на основе схемы вашего рабочего пространства. Используйте его в своих функциях:
@@ -15,6 +15,7 @@ Uygulamalar, Twenty özelleştirmelerini **kod olarak** oluşturup yönetmenizi
* Özel nesneleri ve alanları kod olarak tanımlayın (yönetilen veri modeli)
* Özel tetikleyicilerle mantık fonksiyonları oluşturun
* Yapay zekâ ajanları için becerileri tanımlayın
* Aynı uygulamayı birden çok çalışma alanına dağıtın
## Ön Gereksinimler
@@ -45,7 +46,7 @@ yarn twenty app:dev
İskelet oluşturucu, hangi örnek dosyaların dahil edileceğini kontrol etmek için üç modu destekler:
```bash filename="Terminal"
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Minimal: only core files (application-config.ts and default-role.ts)
@@ -118,8 +119,10 @@ my-twenty-app/
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
`--minimal` ile yalnızca çekirdek dosyalar oluşturulur (`application-config.ts`, `roles/default-role.ts` ve `logic-functions/post-install.ts`). `--interactive` ile hangi örnek dosyaların dahil edileceğini siz seçersiniz.
@@ -148,6 +151,7 @@ SDK, TypeScript dosyalarınızı **`export default define<Entity>({...})`** ça
| `defineField()` | Mevcut nesneler için alan genişletmeleri |
| `defineView()` | Kaydedilmiş görünüm tanımları |
| `defineNavigationMenuItem()` | Gezinme menüsü öğesi tanımları |
| `defineSkill()` | AI agent skill definitions |
<Note>
**Dosya adlandırma esnektir.** Varlık algılama AST tabanlıdır — SDK, kaynak dosyalarınızı `export default define<Entity>({...})` desenini bulmak için tarar. Dosyalarınızı ve klasörlerinizi dilediğiniz gibi düzenleyebilirsiniz. Varlık türüne göre gruplama (örn. `logic-functions/`, `roles/`) bir gereklilik değil, yalnızca kod organizasyonu için bir gelenektir.
@@ -169,7 +173,7 @@ export default defineObject({
İlerideki komutlar daha fazla dosya ve klasör ekleyecektir:
* `yarn twenty app:dev`, `node_modules/twenty-sdk/generated` içinde tipli bir API istemcisini otomatik olarak oluşturur (tipli Twenty istemcisi + çalışma alanı türleri).
* `yarn twenty entity:add`, özel nesneleriniz, fonksiyonlarınız, ön bileşenleriniz veya rolleriniz için `src/` altında varlık tanım dosyaları ekler.
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## Kimlik Doğrulama
@@ -222,6 +226,7 @@ SDK, uygulama varlıklarınızı tanımlamak için yardımcı fonksiyonlar sağl
| `defineField()` | Mevcut nesneleri ek alanlarla genişletin |
| `defineView()` | Nesneler için kaydedilmiş görünümler tanımlayın |
| `defineNavigationMenuItem()` | Kenar çubuğu gezinme bağlantılarını tanımlayın |
| `defineSkill()` | Define AI agent skills |
Bu fonksiyonlar, derleme zamanında yapılandırmanızı doğrular ve IDE otomatik tamamlama ile tür güvenliği sağlar.
@@ -741,6 +746,41 @@ Yeni ön uç bileşenlerini iki şekilde oluşturabilirsiniz:
* **Şablondan**: `yarn twenty entity:add` çalıştırın ve yeni bir ön uç bileşeni ekleme seçeneğini seçin.
* **Manuel**: Yeni bir `*.front-component.tsx` dosyası oluşturun ve `defineFrontComponent()` kullanın.
### Beceriler
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
Önemli noktalar:
* `name` is a unique identifier string for the skill (kebab-case recommended).
* `label` is the human-readable display name shown in the UI.
* `content` contains the skill instructions — this is the text the AI agent uses.
* `icon` (optional) sets the icon displayed in the UI.
* `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### Oluşturulmuş türlendirilmiş istemci
Tipli istemci, `yarn twenty app:dev` tarafından otomatik olarak oluşturulur ve çalışma alanı şemanıza göre `node_modules/twenty-sdk/generated` içine kaydedilir. Fonksiyonlarınızda kullanın:
@@ -15,6 +15,7 @@ description: 以代码的形式构建并管理 Twenty 自定义项。
* 以代码定义自定义对象和字段(受管理的数据模型)
* 构建带有自定义触发器的逻辑函数
* 为 AI 智能体定义技能
* 将同一个应用部署到多个工作空间
## 先决条件
@@ -45,7 +46,7 @@ yarn twenty app:dev
The scaffolder supports three modes for controlling which example files are included:
```bash filename="Terminal"
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item)
# Default (exhaustive): all examples (object, field, logic function, front component, view, navigation menu item, skill)
npx create-twenty-app@latest my-app
# Minimal: only core files (application-config.ts and default-role.ts)
@@ -118,8 +119,10 @@ my-twenty-app/
│ └── hello-world.tsx # Example front component
├── views/
│ └── example-view.ts # Example saved view definition
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
── navigation-menu-items/
└── example-navigation-menu-item.ts # Example sidebar navigation link
└── skills/
└── example-skill.ts # Example AI agent skill definition
```
With `--minimal`, only the core files are created (`application-config.ts`, `roles/default-role.ts`, and `logic-functions/post-install.ts`). With `--interactive`, you choose which example files to include.
@@ -148,6 +151,7 @@ With `--minimal`, only the core files are created (`application-config.ts`, `rol
| `defineField()` | 现有对象的字段扩展 |
| `defineView()` | Saved view definitions |
| `defineNavigationMenuItem()` | Navigation menu item definitions |
| `defineSkill()` | AI agent skill definitions |
<Note>
**文件命名是灵活的。** 实体检测基于 AST — SDK 会扫描你的源文件以查找 `export default define<Entity>({...})` 模式。 你可以按照自己的喜好组织文件和文件夹。 按实体类型分组(例如 `logic-functions/`、`roles/`)只是代码组织的一种约定,并非必需。
@@ -169,7 +173,7 @@ export default defineObject({
后续命令将添加更多文件和文件夹:
* `yarn twenty app:dev` 将在 `node_modules/twenty-sdk/generated` 中自动生成一个类型化的 API 客户端(类型化的 Twenty 客户端 + 工作区类型)。
* `yarn twenty entity:add` 会在 `src/` 下为你的自定义对象、函数、前端组件或角色添加实体定义文件。
* `yarn twenty entity:add` will add entity definition files under `src/` for your custom objects, functions, front components, roles, skills, and more.
## 身份验证
@@ -222,6 +226,7 @@ twenty-sdk 提供你在应用中使用的类型化构件和辅助函数。 以
| `defineField()` | 为现有对象扩展额外字段 |
| `defineView()` | Define saved views for objects |
| `defineNavigationMenuItem()` | Define sidebar navigation links |
| `defineSkill()` | Define AI agent skills |
这些函数会在构建时校验你的配置,并提供 IDE 自动补全和类型安全。
@@ -741,6 +746,41 @@ export default defineFrontComponent({
* **脚手架生成**:运行 `yarn twenty entity:add` 并选择添加新前端组件的选项。
* **手动**:创建一个新的 `*.front-component.tsx` 文件,并使用 `defineFrontComponent()`。
### 技能
Skills define reusable instructions and capabilities that AI agents can use within your workspace. Use `defineSkill()` to define skills with built-in validation:
```typescript
// src/skills/example-skill.ts
import { defineSkill } from 'twenty-sdk';
export default defineSkill({
universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
name: 'sales-outreach',
label: 'Sales Outreach',
description: 'Guides the AI agent through a structured sales outreach process',
icon: 'IconBrain',
content: `You are a sales outreach assistant. When reaching out to a prospect:
1. Research the company and recent news
2. Identify the prospect's role and likely pain points
3. Draft a personalized message referencing specific details
4. Keep the tone professional but conversational`,
});
```
关键点:
* `name` is a unique identifier string for the skill (kebab-case recommended).
* `label` is the human-readable display name shown in the UI.
* `content` contains the skill instructions — this is the text the AI agent uses.
* `icon` (optional) sets the icon displayed in the UI.
* `description` (optional) provides additional context about the skill's purpose.
You can create new skills in two ways:
* **Scaffolded**: Run `yarn twenty entity:add` and choose the option to add a new skill.
* **Manual**: Create a new file and use `defineSkill()`, following the same pattern.
### 生成的类型化客户端
类型化客户端由 `yarn twenty app:dev` 自动生成,并基于你的工作区架构存放在 `node_modules/twenty-sdk/generated`。 在你的函数中使用它:
File diff suppressed because one or more lines are too long
@@ -5,7 +5,6 @@ import { useIsCurrentLocationOnAWorkspace } from '@/domain-manager/hooks/useIsCu
import { useDefaultHomePagePath } from '@/navigation/hooks/useDefaultHomePagePath';
import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState';
import { useOnboardingStatus } from '@/onboarding/hooks/useOnboardingStatus';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useIsWorkspaceActivationStatusEqualsTo } from '@/workspace/hooks/useIsWorkspaceActivationStatusEqualsTo';
import { useLocation, useParams } from 'react-router-dom';
import { useRecoilValue } from 'recoil';
@@ -24,7 +23,7 @@ export const usePageChangeEffectNavigateLocation = () => {
);
const { defaultHomePagePath } = useDefaultHomePagePath();
const location = useLocation();
const calendarBookingPageId = useRecoilValueV2(calendarBookingPageIdState);
const calendarBookingPageId = useRecoilValue(calendarBookingPageIdState);
const someMatchingLocationOf = (appPaths: AppPath[]): boolean =>
appPaths.some((appPath) => isMatchingLocation(location, appPath));
@@ -50,9 +49,7 @@ export const usePageChangeEffectNavigateLocation = () => {
const objectMetadataItem = objectMetadataItems?.find(
(objectMetadataItem) => objectMetadataItem.namePlural === objectNamePlural,
);
const verifyEmailRedirectPath = useRecoilValueV2(
verifyEmailRedirectPathState,
);
const verifyEmailRedirectPath = useRecoilValue(verifyEmailRedirectPathState);
if (
(!isLoggedIn || (isLoggedIn && !isOnAWorkspace)) &&
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Voeg \"{trimmedName}\" by opsies"
msgid "Add a {objectLabelSingular}"
msgstr "Voeg 'n {objectLabelSingular} by"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Voeg 'n nodus by"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "'n Fout het voorgekom tydens die oplaai van die prent."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kern"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kernskema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Algemeen"
@@ -7012,11 +7012,6 @@ msgstr "Instruksies vir KI"
msgid "Integrations - Settings"
msgstr "Integrasies - Instellings"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interaksie met jou werkspasie-data"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Metadataleêr generasie het misluk"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadataskema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nuwe Veld"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Ander"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "أضف \"{trimmedName}\" إلى الخيارات"
msgid "Add a {objectLabelSingular}"
msgstr "أضف {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "إضافة عقدة"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "حدث خطأ أثناء تحميل الصورة."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "النواة"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "المخطط الأساسي"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "الرسم البياني القياسي"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "عام"
@@ -7012,11 +7012,6 @@ msgstr "تعليمات إلى الذكاء الاصطناعي"
msgid "Integrations - Settings"
msgstr "التكاملات - إعدادات"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "تفاعل مع بيانات مساحة العمل الخاصة بك"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "البيانات الوصفية"
msgid "Metadata file generation failed"
msgstr "فشل في توليد ملف البيانات الوصفية"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "مخطط البيانات الوصفية"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "حقل جديد"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "أخرى"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Afegeix \"{trimmedName}\" a les opcions"
msgid "Add a {objectLabelSingular}"
msgstr "Afegeix un {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Afegeix un node"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "S'ha produït un error en carregar la imatge."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Nucli"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Esquema del nucli"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Gràfic de mesurador"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "General"
@@ -7012,11 +7012,6 @@ msgstr "Instruccions per a la IA"
msgid "Integrations - Settings"
msgstr "Integracions - Configuració"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interactua amb les dades del teu espai de treball"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadades"
msgid "Metadata file generation failed"
msgstr "Error en la generació del fitxer de metadades"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Esquema de metadades"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nou camp"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Altres"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Přidat \"{trimmedName}\" do možností"
msgid "Add a {objectLabelSingular}"
msgstr "Přidat {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Přidat uzel"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Při nahrávání obrázku došlo k chybě."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Jádro"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Základní schéma"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Ukazatelový graf"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Obecné"
@@ -7012,11 +7012,6 @@ msgstr "Pokyny pro AI"
msgid "Integrations - Settings"
msgstr "Integrace - Nastavení"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interakce s daty vašeho pracovního prostoru"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Generování souboru metadat selhalo"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Schéma metadat"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nové pole"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Ostatní"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Tilføj \"{trimmedName}\" til muligheder"
msgid "Add a {objectLabelSingular}"
msgstr "Tilføj {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Tilføj en node"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Der opstod en fejl under upload af billedet."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kerne"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kerneskema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Målediagram"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Generelt"
@@ -7012,11 +7012,6 @@ msgstr "Instruktioner til AI"
msgid "Integrations - Settings"
msgstr "Integrationer - Indstillinger"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagér med dine arbejdspladsdata"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Generering af metadatafil mislykkedes"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadata-skema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nyt felt"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Andet"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "\"{trimmedName}\" zu den Optionen hinzufügen"
msgid "Add a {objectLabelSingular}"
msgstr "Ein {objectLabelSingular} hinzufügen"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Knoten hinzufügen"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Beim Hochladen des Bildes ist ein Fehler aufgetreten."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kern"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kernschema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Allgemein"
@@ -7012,11 +7012,6 @@ msgstr "Anweisungen für die KI"
msgid "Integrations - Settings"
msgstr "Integrationen - Einstellungen"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagieren Sie mit Ihren Arbeitsbereichsdaten"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadaten"
msgid "Metadata file generation failed"
msgstr "Generierung der Metadatendatei fehlgeschlagen"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadaten-Schema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Neues Feld"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Andere"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Προσθήκη \"{trimmedName}\" στις επιλογές"
msgid "Add a {objectLabelSingular}"
msgstr "Προσθήκη {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Προσθήκη κόμβου"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Παρουσιάστηκε σφάλμα κατά τη μεταφόρτω
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Πυρήνας"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Βασικό σχήμα"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Διάγραμμα δείκτη"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Γενικά"
@@ -7012,11 +7012,6 @@ msgstr "Οδηγίες για το AI"
msgid "Integrations - Settings"
msgstr "Ενσωματώσεις - Ρυθμίσεις"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Αλληλεπιδράστε με τα δεδομένα του χώρου εργασίας σας"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Μεταδεδομένα"
msgid "Metadata file generation failed"
msgstr "Αποτυχία δημιουργίας αρχείου μεταδεδομένων"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Σχήμα μεταδεδομένων"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Νέο Πεδίο"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Άλλο"
+17 -22
View File
@@ -770,6 +770,11 @@ msgstr "Add \"{trimmedName}\" to options"
msgid "Add a {objectLabelSingular}"
msgstr "Add a {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr "Add a Group"
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -786,11 +791,6 @@ msgstr "Add a node"
msgid "Add a record"
msgstr "Add a record"
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr "Add a Section"
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1512,6 +1512,9 @@ msgstr "An error occurred while uploading the picture."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3243,11 +3246,6 @@ msgstr "Core"
msgid "Core Objects"
msgstr "Core Objects"
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Core Schema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6283,7 +6281,9 @@ msgstr "Gauge Chart"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "General"
@@ -7007,11 +7007,6 @@ msgstr "Instructions for AI"
msgid "Integrations - Settings"
msgstr "Integrations - Settings"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interact with your workspace data"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8125,11 +8120,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Metadata file generation failed"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadata Schema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8522,6 +8512,11 @@ msgstr "New Field"
msgid "New folder"
msgstr "New folder"
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr "New Group"
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9568,7 +9563,7 @@ msgstr "Organize"
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Other"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Agregar \"{trimmedName}\" a las opciones"
msgid "Add a {objectLabelSingular}"
msgstr "Agregar un {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Añadir un nodo"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Se produjo un error al subir la imagen."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Núcleo"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Esquema principal"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Gráfico de Medidor"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "General"
@@ -7012,11 +7012,6 @@ msgstr "Instrucciones para la IA"
msgid "Integrations - Settings"
msgstr "Integraciones - Ajustes"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interactúe con los datos de su espacio de trabajo"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadatos"
msgid "Metadata file generation failed"
msgstr "Fallo en la generación del archivo de metadatos"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Esquema de metadatos"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nuevo Campo"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Otros"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Lisää \"{trimmedName}\" valintoihin"
msgid "Add a {objectLabelSingular}"
msgstr "Lisää {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Lisää solmu"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Kuvaa ladattaessa tapahtui virhe."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Ydin"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Ydinskeema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Mittarikaavio"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Yleiset"
@@ -7012,11 +7012,6 @@ msgstr "Ohjeet tekoälylle"
msgid "Integrations - Settings"
msgstr "Integraatiot - Asetukset"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Vuorovaikuta työtilasi tietojen kanssa"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metatiedot"
msgid "Metadata file generation failed"
msgstr "Metatiedostotiedoston luonti epäonnistui"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metatietoskeema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Uusi kenttä"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Muu"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Ajouter \"{trimmedName}\" aux options"
msgid "Add a {objectLabelSingular}"
msgstr "Ajouter un {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Ajouter un nœud"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Une erreur s'est produite lors du téléversement de l'image."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Noyau"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Schéma principal"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Général"
@@ -7012,11 +7012,6 @@ msgstr "Instructions pour l'IA"
msgid "Integrations - Settings"
msgstr "Intégrations - Paramètres"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagissez avec les données de votre espace de travail"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Métadonnées"
msgid "Metadata file generation failed"
msgstr "Échec de la génération du fichier des métadonnées"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Schéma des métadonnées"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nouveau champ"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Autres"
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "הוסף \"{trimmedName}\" לאפשרויות"
msgid "Add a {objectLabelSingular}"
msgstr "הוסף {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "הוסף צומת"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "אירעה שגיאה בעת העלאת התמונה."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "ליבה"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "סכימת ליבה"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "תרשים מד"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "כללי"
@@ -7012,11 +7012,6 @@ msgstr "הוראות לבינה מלאכותית"
msgid "Integrations - Settings"
msgstr "אינטגרציות - הגדרות"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "אינטראקציה עם נתוני סביבת העבודה שלך"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "מטא-נתונים"
msgid "Metadata file generation failed"
msgstr "יצירת קובץ מטא נתונים נכשלה"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "סכימת מטא-נתונים"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "שדה חדש"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "אחר"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "\"{trimmedName}\" hozzáadása az opciókhoz"
msgid "Add a {objectLabelSingular}"
msgstr "Új {objectLabelSingular} hozzáadása"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Csomópont hozzáadása"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Hiba történt a kép feltöltése közben."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Mag"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Alap séma"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Mérőműszer diagram"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Általános"
@@ -7012,11 +7012,6 @@ msgstr "Utasítások az AI-nak"
msgid "Integrations - Settings"
msgstr "Integrációk - Beállítások"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Lépjen kapcsolatba a munkaterület adatával"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metaadatok"
msgid "Metadata file generation failed"
msgstr "Metadat fájl generálása sikertelen"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metaadatséma"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Új mező"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Egyéb"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Aggiungi \"{trimmedName}\" alle opzioni"
msgid "Add a {objectLabelSingular}"
msgstr "Aggiungi {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Aggiungi un nodo"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Si è verificato un errore durante il caricamento dell'immagine."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Core"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Schema principale"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Grafico a Indicatore"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Generale"
@@ -7012,11 +7012,6 @@ msgstr "Istruzioni per l'AI"
msgid "Integrations - Settings"
msgstr "Integrazioni - Impostazioni"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagisci con i dati del tuo spazio di lavoro"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadati"
msgid "Metadata file generation failed"
msgstr "Generazione del file di metadata fallita"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Schema dei metadati"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nuovo Campo"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Altro"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "「{trimmedName}」をオプションに追加"
msgid "Add a {objectLabelSingular}"
msgstr "{objectLabelSingular} を追加"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "ノードを追加する"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "画像のアップロード中にエラーが発生しました。"
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "コア"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "コアスキーマ"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "ゲージチャート"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "一般"
@@ -7012,11 +7012,6 @@ msgstr "AIのための指示"
msgid "Integrations - Settings"
msgstr "統合 - 設定"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "ワークスペースデータとのインタラクション"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "メタデータ"
msgid "Metadata file generation failed"
msgstr "メタデータファイルの生成に失敗しました"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "メタデータスキーマ"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "新規フィールド"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "その他"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "\"{trimmedName}\"을 옵션에 추가하기"
msgid "Add a {objectLabelSingular}"
msgstr "{objectLabelSingular} 추가"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "노드 추가"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "사진을 업로드하는 중 오류가 발생했습니다."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "코어"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "코어 스키마"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "게이지 차트"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "일반"
@@ -7012,11 +7012,6 @@ msgstr "AI 사용 지침"
msgid "Integrations - Settings"
msgstr "통합 - 설정"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "작업 공간 데이터와 상호 작용"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "메타데이터"
msgid "Metadata file generation failed"
msgstr "메타데이터 파일 생성 실패"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "메타데이터 스키마"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "새 필드"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "기타"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Voeg \"{trimmedName}\" toe aan opties"
msgid "Add a {objectLabelSingular}"
msgstr "Voeg een {objectLabelSingular} toe"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Voeg een knooppunt toe"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Er is een fout opgetreden bij het uploaden van de afbeelding."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kern"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kernschema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Algemeen"
@@ -7012,11 +7012,6 @@ msgstr "Instructies voor AI"
msgid "Integrations - Settings"
msgstr "Integraties - Instellingen"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interageer met uw werkruimtegegevens"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Metadatabestandsgeneratie mislukt"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadataschema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nieuw veld"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Overige"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Legg til \"{trimmedName}\" i valg"
msgid "Add a {objectLabelSingular}"
msgstr "Legg til {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Legg til node"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Det oppstod en feil under opplasting av bildet."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kjerne"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kjernesjema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Målediagram"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Generelt"
@@ -7012,11 +7012,6 @@ msgstr "Instruksjoner for AI"
msgid "Integrations - Settings"
msgstr "Integrasjoner - Innstillinger"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Samhandle med dataene i arbeidsområdet ditt"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Generering av metadatafil mislyktes"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadataskjema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nytt felt"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Annen"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Dodaj \"{trimmedName}\" do opcji"
msgid "Add a {objectLabelSingular}"
msgstr "Dodaj {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Dodaj węzeł"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Wystąpił błąd podczas przesyłania zdjęcia."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Trzon"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Główny schemat"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Ogólne"
@@ -7012,11 +7012,6 @@ msgstr "Instrukcje dla AI"
msgid "Integrations - Settings"
msgstr "Integracje - Ustawienia"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Wejdź w interakcję z danymi w swoim miejscu pracy"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadane"
msgid "Metadata file generation failed"
msgstr "Generowanie pliku metadanych nie powiodło się"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Schemat metadanych"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Nowe pole"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Inne"
+17 -22
View File
@@ -770,6 +770,11 @@ msgstr ""
msgid "Add a {objectLabelSingular}"
msgstr ""
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -786,11 +791,6 @@ msgstr ""
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1512,6 +1512,9 @@ msgstr ""
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3243,11 +3246,6 @@ msgstr ""
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr ""
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6283,7 +6281,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr ""
@@ -7007,11 +7007,6 @@ msgstr ""
msgid "Integrations - Settings"
msgstr ""
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr ""
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8125,11 +8120,6 @@ msgstr ""
msgid "Metadata file generation failed"
msgstr ""
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr ""
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8522,6 +8512,11 @@ msgstr ""
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9568,7 +9563,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr ""
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Adicionar \"{trimmedName}\" às opções"
msgid "Add a {objectLabelSingular}"
msgstr "Adicionar um {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Adicionar nó"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Ocorreu um erro ao carregar a imagem."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Núcleo"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Esquema principal"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Gráfico de Medidor"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Geral"
@@ -7012,11 +7012,6 @@ msgstr "Instruções para IA"
msgid "Integrations - Settings"
msgstr "Integrações - Configurações"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagir com os dados do seu espaço de trabalho"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadados"
msgid "Metadata file generation failed"
msgstr "Falha na geração do arquivo de metadados"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Esquema de metadados"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Novo campo"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Outros"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Adicionar \"{trimmedName}\" às opções"
msgid "Add a {objectLabelSingular}"
msgstr "Adicionar um {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Adicionar nó"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Ocorreu um erro ao carregar a imagem."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Núcleo"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Esquema Principal"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Geral"
@@ -7012,11 +7012,6 @@ msgstr "Instruções para AI"
msgid "Integrations - Settings"
msgstr "Integrações - Configurações"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interaja com os dados do seu espaço de trabalho"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadados"
msgid "Metadata file generation failed"
msgstr "Falha na geração do arquivo de metadados"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Esquema de Metadados"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Novo Campo"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Outros"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Adaugă \"{trimmedName}\" la opțiuni"
msgid "Add a {objectLabelSingular}"
msgstr "Adaugă un {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Adaugă nod"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "A apărut o eroare la încărcarea imaginii."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Nucleu"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Schemă de bază"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Grafic tip ceas"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "General"
@@ -7012,11 +7012,6 @@ msgstr "Instrucțiuni pentru AI"
msgid "Integrations - Settings"
msgstr "Integrări - Setări"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interacţionează cu datele workspace-ului tău"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Generarea fișierului de metadate a eșuat"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Schemă de metadate"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Câmp nou"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Altul"
Binary file not shown.
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Додај \"{trimmedName}\" у опције"
msgid "Add a {objectLabelSingular}"
msgstr "Додај {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Додај чвор"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Дошло је до грешке приликом отпремања с
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Језгро"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Основна шема"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Опште"
@@ -7012,11 +7012,6 @@ msgstr "Упутства за AI"
msgid "Integrations - Settings"
msgstr "Интеграције - Подешавања"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Интеракција са подацима ваше радне површине"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Метаподаци"
msgid "Metadata file generation failed"
msgstr "Генерисање датотеке метаподатака није успело"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Шема метаподатака"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Ново поље"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Остало"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Lägg till \"{trimmedName}\" i alternativ"
msgid "Add a {objectLabelSingular}"
msgstr "Lägg till {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Lägg till en nod"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Ett fel uppstod när bilden laddades upp."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Kärna"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Kärnschema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Mätardiagram"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Allmänt"
@@ -7012,11 +7012,6 @@ msgstr "Instruktioner för AI"
msgid "Integrations - Settings"
msgstr "Integrationer - Inställningar"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Interagera med dina arbetsytedata"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Metadata"
msgid "Metadata file generation failed"
msgstr "Generering av metadatafilen misslyckades"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Metadataschema"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8529,6 +8519,11 @@ msgstr "Nytt fält"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9575,7 +9570,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Annat"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "\"{trimmedName}\" seçeneğe ekle"
msgid "Add a {objectLabelSingular}"
msgstr "Bir {objectLabelSingular} ekle"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Bir düğüm ekle"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Resim yüklenirken bir hata oluştu."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Çekirdek"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Çekirdek Şema"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Gösterge Grafiği"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Genel"
@@ -7012,11 +7012,6 @@ msgstr "AI için Talimatlar"
msgid "Integrations - Settings"
msgstr "Entegrasyonlar - Ayarlar"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Çalışma alanı verileriyle etkileşim kurma"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Meta veri"
msgid "Metadata file generation failed"
msgstr "Metadata dosyası oluşturulamadı"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Meta Veri Şeması"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Yeni Alan"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Diğer"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Додати \"{trimmedName}\" до параметрів"
msgid "Add a {objectLabelSingular}"
msgstr "Додати {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Додати вузол"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Під час завантаження зображення сталас
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Ядро"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Основна схема"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "Загальні"
@@ -7012,11 +7012,6 @@ msgstr "Інструкції для AI"
msgid "Integrations - Settings"
msgstr "Інтеграції - Налаштування"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Взаємодія з даними вашого робочого простору"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Метадані"
msgid "Metadata file generation failed"
msgstr "Не вдалося згенерувати файл метаданих"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Схема метаданих"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Нове поле"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Інший"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "Thêm \"{trimmedName}\" vào các tùy chọn"
msgid "Add a {objectLabelSingular}"
msgstr "Thêm {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "Thêm nút"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "Đã xảy ra lỗi khi tải lên ảnh."
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "Lõi"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "Lược đồ lõi"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "Biểu đồ đo lường"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "\\"
@@ -7012,11 +7012,6 @@ msgstr "Hướng dẫn cho AI"
msgid "Integrations - Settings"
msgstr "Cài đặt - Tích hợp"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "Tương tác với dữ liệu không gian làm việc của bạn"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "Siêu dữ liệu"
msgid "Metadata file generation failed"
msgstr "Tạo tập tin Metadata thất bại"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "Lược đồ siêu dữ liệu"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "Trường mới"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "Khác"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "将 \"{trimmedName}\" 添加到选项中"
msgid "Add a {objectLabelSingular}"
msgstr "添加一个 {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "添加节点"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "上传图片时发生错误。"
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "核心"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "核心架构"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "仪表图"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "常规"
@@ -7012,11 +7012,6 @@ msgstr "AI 指令"
msgid "Integrations - Settings"
msgstr "集成 - 设置"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "与您的工作区数据互动"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "元数据"
msgid "Metadata file generation failed"
msgstr "元数据文件生成失败"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "元数据架构"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "新字段"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "其他"
+17 -22
View File
@@ -775,6 +775,11 @@ msgstr "將 \"{trimmedName}\" 添加到選項中"
msgid "Add a {objectLabelSingular}"
msgstr "新增一個 {objectLabelSingular}"
#. js-lingui-id: 7W8nJr
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupEditor.tsx
msgid "Add a Group"
msgstr ""
#. js-lingui-id: CZDwqQ
#: src/modules/ai/components/suggested-prompts/default-suggested-prompts.ts
msgid "Add a new company we're in touch with (e.g. name, website, industry). Details: "
@@ -791,11 +796,6 @@ msgstr "添加節點"
msgid "Add a record"
msgstr ""
#. js-lingui-id: r8W+9y
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationSectionEditor.tsx
msgid "Add a Section"
msgstr ""
#. js-lingui-id: eMc2xs
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx
msgid "Add a step"
@@ -1517,6 +1517,9 @@ msgstr "上傳圖片時發生錯誤。"
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFilterAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldGroupAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
#: src/modules/views/hooks/internal/usePerformViewFieldAPIPersist.ts
@@ -3248,11 +3251,6 @@ msgstr "核心"
msgid "Core Objects"
msgstr ""
#. js-lingui-id: cfa2VJ
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Core Schema"
msgstr "核心結構描述"
#. js-lingui-id: I99Miw
#: src/modules/billing/components/SettingsBillingCreditsSection.tsx
#: src/modules/ai/components/internal/AIChatContextUsageButton.tsx
@@ -6288,7 +6286,9 @@ msgstr "儀表圖"
#: src/pages/settings/SettingsWorkspace.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/settings/admin-panel/components/SettingsAdminContent.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetEditorGroupsData.ts
#: src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuOpenContent.tsx
msgid "General"
msgstr "常規"
@@ -7012,11 +7012,6 @@ msgstr "AI 指示"
msgid "Integrations - Settings"
msgstr "整合 - 設定"
#. js-lingui-id: ntgzzG
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Interact with your workspace data"
msgstr "與您的工作空間數據互動"
#. js-lingui-id: jyjroS
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Interval switching has been cancelled."
@@ -8130,11 +8125,6 @@ msgstr "元數據"
msgid "Metadata file generation failed"
msgstr "元數據文件生成失敗"
#. js-lingui-id: 0BF9eC
#: src/pages/settings/ai/components/SettingsAIMCP.tsx
msgid "Metadata Schema"
msgstr "中繼資料結構描述"
#. js-lingui-id: onCJJ6
#: src/modules/billing/components/SettingsBillingSubscriptionInfo.tsx
msgid "Metered tier switching has been cancelled."
@@ -8527,6 +8517,11 @@ msgstr "新字段"
msgid "New folder"
msgstr ""
#. js-lingui-id: 93KA8w
#: src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx
msgid "New Group"
msgstr ""
#. js-lingui-id: o8MyXb
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx
msgid "New key"
@@ -9573,7 +9568,7 @@ msgstr ""
#: src/pages/settings/admin-panel/SettingsAdminConfigVariableDetails.tsx
#: src/pages/settings/admin-panel/SettingsAdmin.tsx
#: src/modules/settings/hooks/useSettingsNavigationItems.tsx
#: src/modules/page-layout/hooks/useTemporaryFieldsConfiguration.ts
#: src/modules/page-layout/widgets/fields/hooks/useFieldsWidgetGroups.ts
#: src/modules/command-menu/pages/navigation-menu-item/components/CommandMenuNewSidebarItemMainMenu.tsx
msgid "Other"
msgstr "其他"
@@ -2,11 +2,11 @@ import { ActionDisplay } from '@/action-menu/actions/display/components/ActionDi
import { ActionConfigContext } from '@/action-menu/contexts/ActionConfigContext';
import { useNavigateCommandMenu } from '@/command-menu/hooks/useNavigateCommandMenu';
import { commandMenuSearchState } from '@/command-menu/states/commandMenuSearchState';
import { type CommandMenuPages } from '@/command-menu/types/CommandMenuPages';
import { type MessageDescriptor } from '@lingui/core';
import { t } from '@lingui/core/macro';
import { useContext } from 'react';
import { useSetRecoilState } from 'recoil';
import { type CommandMenuPages } from 'twenty-shared/types';
import { type IconComponent } from 'twenty-ui/display';
export const ActionOpenSidePanelPage = ({
@@ -1,5 +1,4 @@
import { Action } from '@/action-menu/actions/components/Action';
import { useSelectedRecordIdOrThrow } from '@/action-menu/actions/record-actions/single-record/hooks/useSelectedRecordIdOrThrow';
import { useCommandMenu } from '@/command-menu/hooks/useCommandMenu';
import { useContextStoreObjectMetadataItemOrThrow } from '@/context-store/hooks/useContextStoreObjectMetadataItemOrThrow';
import { useRecordPageLayoutIdFromRecordStoreOrThrow } from '@/page-layout/hooks/useRecordPageLayoutIdFromRecordStoreOrThrow';
@@ -7,12 +6,9 @@ import { useResetDraftPageLayoutToPersistedPageLayout } from '@/page-layout/hook
import { useSetIsPageLayoutInEditMode } from '@/page-layout/hooks/useSetIsPageLayoutInEditMode';
export const CancelRecordPageLayoutSingleRecordAction = () => {
const recordId = useSelectedRecordIdOrThrow();
const { objectMetadataItem } = useContextStoreObjectMetadataItemOrThrow();
const { pageLayoutId } = useRecordPageLayoutIdFromRecordStoreOrThrow({
id: recordId,
targetObjectNameSingular: objectMetadataItem.nameSingular,
});
@@ -1,17 +1,13 @@
import { Action } from '@/action-menu/actions/components/Action';
import { useSelectedRecordIdOrThrow } from '@/action-menu/actions/record-actions/single-record/hooks/useSelectedRecordIdOrThrow';
import { useContextStoreObjectMetadataItemOrThrow } from '@/context-store/hooks/useContextStoreObjectMetadataItemOrThrow';
import { useRecordPageLayoutIdFromRecordStoreOrThrow } from '@/page-layout/hooks/useRecordPageLayoutIdFromRecordStoreOrThrow';
import { useSetIsPageLayoutInEditMode } from '@/page-layout/hooks/useSetIsPageLayoutInEditMode';
import { useResetLocationHash } from 'twenty-ui/utilities';
export const EditRecordPageLayoutSingleRecordAction = () => {
const recordId = useSelectedRecordIdOrThrow();
const { objectMetadataItem } = useContextStoreObjectMetadataItemOrThrow();
const { pageLayoutId } = useRecordPageLayoutIdFromRecordStoreOrThrow({
id: recordId,
targetObjectNameSingular: objectMetadataItem.nameSingular,
});
@@ -1,22 +1,22 @@
import { Action } from '@/action-menu/actions/components/Action';
import { useSelectedRecordIdOrThrow } from '@/action-menu/actions/record-actions/single-record/hooks/useSelectedRecordIdOrThrow';
import { useCommandMenu } from '@/command-menu/hooks/useCommandMenu';
import { useContextStoreObjectMetadataItemOrThrow } from '@/context-store/hooks/useContextStoreObjectMetadataItemOrThrow';
import { useRecordPageLayoutIdFromRecordStoreOrThrow } from '@/page-layout/hooks/useRecordPageLayoutIdFromRecordStoreOrThrow';
import { useSaveFieldsWidgetGroups } from '@/page-layout/hooks/useSaveFieldsWidgetGroups';
import { useSavePageLayout } from '@/page-layout/hooks/useSavePageLayout';
import { useSetIsPageLayoutInEditMode } from '@/page-layout/hooks/useSetIsPageLayoutInEditMode';
export const SaveRecordPageLayoutSingleRecordAction = () => {
const recordId = useSelectedRecordIdOrThrow();
const { objectMetadataItem } = useContextStoreObjectMetadataItemOrThrow();
const { pageLayoutId } = useRecordPageLayoutIdFromRecordStoreOrThrow({
id: recordId,
targetObjectNameSingular: objectMetadataItem.nameSingular,
});
const { savePageLayout } = useSavePageLayout(pageLayoutId);
const { saveFieldsWidgetGroups } = useSaveFieldsWidgetGroups({
pageLayoutId,
});
const { setIsPageLayoutInEditMode } =
useSetIsPageLayoutInEditMode(pageLayoutId);
@@ -27,6 +27,8 @@ export const SaveRecordPageLayoutSingleRecordAction = () => {
const result = await savePageLayout();
if (result.status === 'successful') {
await saveFieldsWidgetGroups();
closeCommandMenu();
setIsPageLayoutInEditMode(false);
}
@@ -4,8 +4,8 @@ import { type ActionConfig } from '@/action-menu/actions/types/ActionConfig';
import { ActionScope } from '@/action-menu/actions/types/ActionScope';
import { ActionType } from '@/action-menu/actions/types/ActionType';
import { ActionViewType } from '@/action-menu/actions/types/ActionViewType';
import { CommandMenuPages } from '@/command-menu/types/CommandMenuPages';
import { msg } from '@lingui/core/macro';
import { CommandMenuPages } from 'twenty-shared/types';
import { IconHistory, IconSearch, IconSparkles } from 'twenty-ui/display';
export const RECORD_AGNOSTIC_ACTIONS_CONFIG: Record<string, ActionConfig> = {
@@ -17,7 +17,6 @@ import { hasAnySoftDeleteFilterOnViewComponentSelector } from '@/object-record/r
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
import { useRecoilComponentValue } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValue';
import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useContext, useMemo } from 'react';
import { useRecoilCallback, useRecoilValue } from 'recoil';
import { isDefined } from 'twenty-shared/utils';
@@ -137,7 +136,7 @@ export const useShouldActionBeRegisteredParams = ({
forceRegisteredActionsByKeyState,
);
const currentWorkspace = useRecoilValueV2(currentWorkspaceState);
const currentWorkspace = useRecoilValue(currentWorkspaceState);
const isFeatureFlagEnabled = (featureFlagKey: FeatureFlagKey) => {
const featureFlag = currentWorkspace?.featureFlags?.find(
@@ -2,7 +2,7 @@ import { css, useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { t } from '@lingui/core/macro';
import { format } from 'date-fns';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useRecoilValue } from 'recoil';
import {
CalendarChannelVisibility,
type TimelineCalendarEvent,
@@ -85,7 +85,7 @@ export const CalendarEventRow = ({
className,
}: CalendarEventRowProps) => {
const theme = useTheme();
const currentWorkspaceMember = useRecoilValueV2(currentWorkspaceMemberState);
const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState);
const { openCalendarEventInCommandMenu } =
useOpenCalendarEventInCommandMenu();
@@ -11,7 +11,7 @@ import { type ActivityTargetableObject } from '@/activities/types/ActivityTarget
import { isAttachmentPreviewEnabledState } from '@/client-config/states/isAttachmentPreviewEnabledState';
import { Modal } from '@/ui/layout/modal/components/Modal';
import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useRecoilValue } from 'recoil';
import { ActivityList } from '@/activities/components/ActivityList';
import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
@@ -135,7 +135,7 @@ export const AttachmentList = ({
const [previewedAttachment, setPreviewedAttachment] =
useState<Attachment | null>(null);
const isAttachmentPreviewEnabled = useRecoilValueV2(
const isAttachmentPreviewEnabled = useRecoilValue(
isAttachmentPreviewEnabledState,
);
@@ -2,14 +2,12 @@ import { gql, InMemoryCache } from '@apollo/client';
import { MockedProvider } from '@apollo/client/testing';
import { act, renderHook } from '@testing-library/react';
import { type ReactNode } from 'react';
import { Provider as JotaiProvider } from 'jotai';
import { RecoilRoot, useSetRecoilState } from 'recoil';
import { useActivityTargetObjectRecords } from '@/activities/hooks/useActivityTargetObjectRecords';
import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState';
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
import { jotaiStore } from '@/ui/utilities/state/jotai/jotaiStore';
import { SnackBarComponentInstanceContext } from '@/ui/feedback/snack-bar-manager/contexts/SnackBarComponentInstanceContext';
import { JestObjectMetadataItemSetter } from '~/testing/jest/JestObjectMetadataItemSetter';
import { mockWorkspaceMembers } from '~/testing/mock-data/workspace-members';
@@ -113,27 +111,26 @@ const task = {
};
const Wrapper = ({ children }: { children: ReactNode }) => (
<JotaiProvider store={jotaiStore}>
<RecoilRoot>
<MockedProvider cache={cache}>
<JestObjectMetadataItemSetter>
<SnackBarComponentInstanceContext.Provider
value={{ instanceId: 'snack-bar-manager' }}
>
{children}
</SnackBarComponentInstanceContext.Provider>
</JestObjectMetadataItemSetter>
</MockedProvider>
</RecoilRoot>
</JotaiProvider>
<RecoilRoot>
<MockedProvider cache={cache}>
<JestObjectMetadataItemSetter>
<SnackBarComponentInstanceContext.Provider
value={{ instanceId: 'snack-bar-manager' }}
>
{children}
</SnackBarComponentInstanceContext.Provider>
</JestObjectMetadataItemSetter>
</MockedProvider>
</RecoilRoot>
);
describe('useActivityTargetObjectRecords', () => {
it('return targetObjects', async () => {
jotaiStore.set(currentWorkspaceMemberState.atom, mockWorkspaceMembers[0]);
const { result } = renderHook(
() => {
const setCurrentWorkspaceMember = useSetRecoilState(
currentWorkspaceMemberState,
);
const setObjectMetadataItems = useSetRecoilState(
objectMetadataItemsState,
);
@@ -148,6 +145,7 @@ describe('useActivityTargetObjectRecords', () => {
return {
activityTargetObjectRecords,
setCurrentWorkspaceMember,
setObjectMetadataItems,
setRecordFromStore,
};
@@ -156,6 +154,7 @@ describe('useActivityTargetObjectRecords', () => {
);
act(() => {
result.current.setCurrentWorkspaceMember(mockWorkspaceMembers[0]);
result.current.setObjectMetadataItems(generatedMockObjectMetadataItems);
result.current.setRecordFromStore(task);
});
@@ -1,5 +1,4 @@
import styled from '@emotion/styled';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useContext } from 'react';
import { useRecoilValue } from 'recoil';
@@ -93,9 +92,9 @@ export const EventRow = ({
event,
mainObjectMetadataItem,
}: EventRowProps) => {
const currentWorkspaceMember = useRecoilValueV2(currentWorkspaceMemberState);
const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState);
const allowRequestsToTwentyIcons = useRecoilValueV2(
const allowRequestsToTwentyIcons = useRecoilValue(
allowRequestsToTwentyIconsState,
);
@@ -1,6 +1,7 @@
import styled from '@emotion/styled';
import { EditorContent } from '@tiptap/react';
import { useState } from 'react';
import { useRecoilValue } from 'recoil';
import { LightButton } from 'twenty-ui/input';
import { DropZone } from '@/activities/files/components/DropZone';
@@ -22,7 +23,6 @@ import { useAIChatFileUpload } from '@/ai/hooks/useAIChatFileUpload';
import { useAgentChatContextOrThrow } from '@/ai/hooks/useAgentChatContextOrThrow';
import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
const StyledContainer = styled.div<{ isDraggingFile: boolean }>`
background: ${({ theme }) => theme.background.primary};
@@ -144,7 +144,7 @@ export const AIChatTab = () => {
const hasMessages = messages.length > 0;
const { uploadFiles } = useAIChatFileUpload();
const currentWorkspace = useRecoilValueV2(currentWorkspaceState);
const currentWorkspace = useRecoilValue(currentWorkspaceState);
const smartModelLabel = useAiModelLabel(currentWorkspace?.smartModel, false);
const { editor, handleSendAndClear } = useAIChatEditor({
@@ -1,13 +1,7 @@
import { agentChatUsageStateV2 } from '@/ai/states/agentChatUsageStateV2';
import { currentAIChatThreadStateV2 } from '@/ai/states/currentAIChatThreadStateV2';
import { currentAIChatThreadTitleStateV2 } from '@/ai/states/currentAIChatThreadTitleStateV2';
import { useOpenAskAIPageInCommandMenu } from '@/command-menu/hooks/useOpenAskAIPageInCommandMenu';
import { useRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilStateV2';
import { useSetRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useSetRecoilStateV2';
import { useAIChatThreadClick } from '@/ai/hooks/useAIChatThreadClick';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { useLingui } from '@lingui/react/macro';
import { isDefined } from 'twenty-shared/utils';
import { IconSparkles } from 'twenty-ui/display';
import { type AgentChatThread } from '~/generated-metadata/graphql';
@@ -24,7 +18,7 @@ const StyledDateGroup = styled.div`
const StyledDateHeader = styled.div`
color: ${({ theme }) => theme.font.color.light};
font-size: ${({ theme }) => theme.font.size.xs};
font-weight: 600;
font-weight: ${({ theme }) => theme.font.weight.medium};
margin-bottom: ${({ theme }) => theme.spacing(1)};
`;
@@ -79,41 +73,7 @@ export const AIChatThreadGroup = ({
}) => {
const { t } = useLingui();
const theme = useTheme();
const [, setCurrentAIChatThread] = useRecoilStateV2(
currentAIChatThreadStateV2,
);
const setCurrentAIChatThreadTitle = useSetRecoilStateV2(
currentAIChatThreadTitleStateV2,
);
const setAgentChatUsage = useSetRecoilStateV2(agentChatUsageStateV2);
const { openAskAIPage } = useOpenAskAIPageInCommandMenu();
const handleThreadClick = (thread: AgentChatThread) => {
setCurrentAIChatThread(thread.id);
setCurrentAIChatThreadTitle(thread.title ?? null);
const hasUsageData =
(thread.conversationSize ?? 0) > 0 &&
isDefined(thread.contextWindowTokens);
setAgentChatUsage(
hasUsageData
? {
lastMessage: null,
conversationSize: thread.conversationSize ?? 0,
contextWindowTokens: thread.contextWindowTokens ?? 0,
inputTokens: thread.totalInputTokens,
outputTokens: thread.totalOutputTokens,
inputCredits: thread.totalInputCredits,
outputCredits: thread.totalOutputCredits,
}
: null,
);
openAskAIPage({
resetNavigationStack: false,
});
};
const { handleThreadClick } = useAIChatThreadClick();
if (threads.length === 0) {
return null;
@@ -0,0 +1,126 @@
import styled from '@emotion/styled';
import { useLingui } from '@lingui/react/macro';
import { IconComment } from 'twenty-ui/display';
import { AIChatSkeletonLoader } from '@/ai/components/internal/AIChatSkeletonLoader';
import { useAIChatThreadClick } from '@/ai/hooks/useAIChatThreadClick';
import { currentAIChatThreadStateV2 } from '@/ai/states/currentAIChatThreadStateV2';
import { groupThreadsByDate } from '@/ai/utils/groupThreadsByDate';
import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import {
type AgentChatThread,
useGetChatThreadsQuery,
} from '~/generated-metadata/graphql';
import { beautifyPastDateRelativeToNow } from '~/utils/date-utils';
const DATE_GROUP_KEYS = ['today', 'yesterday', 'older'] as const;
const StyledScrollableList = styled.div`
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow-y: auto;
padding: ${({ theme }) => theme.spacing(2, 0)};
width: ${({ theme }) => `calc(100% - ${theme.spacing(2)})`};
`;
const StyledDateSection = styled.section`
margin-bottom: ${({ theme }) => theme.spacing(4)};
`;
const StyledThreadList = styled.div`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.spacing(0.5)};
`;
const StyledDateHeader = styled.div`
color: ${({ theme }) => theme.font.color.light};
font-size: ${({ theme }) => theme.font.size.xs};
font-weight: ${({ theme }) => theme.font.weight.medium};
margin-bottom: ${({ theme }) => theme.spacing(1)};
padding: ${({ theme }) => theme.spacing(0, 2)};
`;
const StyledThreadTimestamp = styled.span`
color: ${({ theme }) => theme.font.color.light};
font-size: ${({ theme }) => theme.font.size.xs};
font-weight: ${({ theme }) => theme.font.weight.regular};
padding-right: ${({ theme }) => theme.spacing(0.5)};
`;
export const NavigationDrawerAIChatThreadsList = () => {
const { t } = useLingui();
const currentThreadId = useRecoilValueV2(currentAIChatThreadStateV2);
const { handleThreadClick } = useAIChatThreadClick({
resetNavigationStack: true,
});
const { data: { chatThreads = [] } = {}, loading } = useGetChatThreadsQuery();
const groupedThreads = groupThreadsByDate(chatThreads);
if (loading === true) {
return <AIChatSkeletonLoader />;
}
return (
<StyledScrollableList>
{DATE_GROUP_KEYS.map((key) => {
const threads = groupedThreads[key];
if (threads.length === 0) return null;
const title =
key === 'today'
? t`Today`
: key === 'yesterday'
? t`Yesterday`
: t`Older`;
return (
<StyledDateSection key={key}>
<StyledDateHeader>{title}</StyledDateHeader>
<StyledThreadList>
{threads.map((thread: AgentChatThread) => {
const isActive = currentThreadId === thread.id;
const timestamp = beautifyPastDateRelativeToNow(
thread.updatedAt ?? thread.createdAt,
);
return (
<NavigationDrawerItem
key={thread.id}
label={thread.title || t`Untitled`}
Icon={IconComment}
active={isActive}
onClick={() => handleThreadClick(thread)}
alwaysShowRightOptions
rightOptions={
<StyledThreadTimestamp
onClick={(event) => {
event.stopPropagation();
handleThreadClick(thread);
}}
role="button"
tabIndex={0}
onKeyDown={(event) => {
if (event.key === 'Enter' || event.key === ' ') {
event.preventDefault();
event.stopPropagation();
handleThreadClick(thread);
}
}}
>
{timestamp}
</StyledThreadTimestamp>
}
/>
);
})}
</StyledThreadList>
</StyledDateSection>
);
})}
</StyledScrollableList>
);
};
@@ -0,0 +1,54 @@
import { agentChatUsageStateV2 } from '@/ai/states/agentChatUsageStateV2';
import { currentAIChatThreadStateV2 } from '@/ai/states/currentAIChatThreadStateV2';
import { currentAIChatThreadTitleStateV2 } from '@/ai/states/currentAIChatThreadTitleStateV2';
import { useOpenAskAIPageInCommandMenu } from '@/command-menu/hooks/useOpenAskAIPageInCommandMenu';
import { useSetRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useSetRecoilStateV2';
import { isDefined } from 'twenty-shared/utils';
import { type AgentChatThread } from '~/generated-metadata/graphql';
export type UseAIChatThreadClickOptions = {
resetNavigationStack?: boolean;
};
export const useAIChatThreadClick = (
options: UseAIChatThreadClickOptions = {},
) => {
const { resetNavigationStack = false } = options;
const setCurrentAIChatThread = useSetRecoilStateV2(
currentAIChatThreadStateV2,
);
const setCurrentAIChatThreadTitle = useSetRecoilStateV2(
currentAIChatThreadTitleStateV2,
);
const setAgentChatUsage = useSetRecoilStateV2(agentChatUsageStateV2);
const { openAskAIPage } = useOpenAskAIPageInCommandMenu();
const handleThreadClick = (thread: AgentChatThread) => {
setCurrentAIChatThread(thread.id);
setCurrentAIChatThreadTitle(thread.title ?? null);
const hasUsageData =
(thread.conversationSize ?? 0) > 0 &&
isDefined(thread.contextWindowTokens);
setAgentChatUsage(
hasUsageData
? {
lastMessage: null,
conversationSize: thread.conversationSize ?? 0,
contextWindowTokens: thread.contextWindowTokens ?? 0,
inputTokens: thread.totalInputTokens,
outputTokens: thread.totalOutputTokens,
inputCredits: thread.totalInputCredits,
outputCredits: thread.totalOutputCredits,
}
: null,
);
openAskAIPage({
resetNavigationStack,
});
};
return { handleThreadClick };
};
@@ -1,3 +1,5 @@
import { useSetRecoilState } from 'recoil';
import { useGetBrowsingContext } from '@/ai/hooks/useBrowsingContext';
import { agentChatSelectedFilesStateV2 } from '@/ai/states/agentChatSelectedFilesStateV2';
import { agentChatUploadedFilesStateV2 } from '@/ai/states/agentChatUploadedFilesStateV2';
@@ -21,7 +23,7 @@ import { REACT_APP_SERVER_BASE_URL } from '~/config';
import { cookieStorage } from '~/utils/cookie-storage';
export const useAgentChat = (uiMessages: ExtendedUIMessage[]) => {
const setTokenPair = useSetRecoilStateV2(tokenPairState);
const setTokenPair = useSetRecoilState(tokenPairState);
const setAgentChatUsage = useSetRecoilStateV2(agentChatUsageStateV2);
const { getBrowsingContext } = useGetBrowsingContext();
@@ -1,42 +1,41 @@
import { InMemoryCache, type NormalizedCacheObject } from '@apollo/client';
import { useMemo, useRef } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
import { useRecoilState, useSetRecoilState } from 'recoil';
import { ApolloFactory, type Options } from '@/apollo/services/apollo.factory';
import { currentUserState } from '@/auth/states/currentUserState';
import { currentUserWorkspaceState } from '@/auth/states/currentUserWorkspaceState';
import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';
import { previousUrlState } from '@/auth/states/previousUrlState';
import { tokenPairState } from '@/auth/states/tokenPairState';
import { appVersionState } from '@/client-config/states/appVersionState';
import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { useRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilStateV2';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useSetRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useSetRecoilStateV2';
import { AppPath } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
import { REACT_APP_SERVER_BASE_URL } from '~/config';
import { useUpdateEffect } from '~/hooks/useUpdateEffect';
import { isMatchingLocation } from '~/utils/isMatchingLocation';
import { ApolloFactory, type Options } from '@/apollo/services/apollo.factory';
import { currentUserWorkspaceState } from '@/auth/states/currentUserWorkspaceState';
import { appVersionState } from '@/client-config/states/appVersionState';
import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { AppPath } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
import { useSetRecoilStateV2 } from '@/ui/utilities/state/jotai/hooks/useSetRecoilStateV2';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
export const useApolloFactory = (options: Partial<Options<any>> = {}) => {
// eslint-disable-next-line twenty/no-state-useref
const apolloRef = useRef<ApolloFactory<NormalizedCacheObject> | null>(null);
const navigate = useNavigate();
const setTokenPair = useSetRecoilStateV2(tokenPairState);
const [currentWorkspace, setCurrentWorkspace] = useRecoilStateV2(
const setTokenPair = useSetRecoilState(tokenPairState);
const [currentWorkspace, setCurrentWorkspace] = useRecoilState(
currentWorkspaceState,
);
const appVersion = useRecoilValueV2(appVersionState);
const [currentWorkspaceMember, setCurrentWorkspaceMember] = useRecoilStateV2(
const [currentWorkspaceMember, setCurrentWorkspaceMember] = useRecoilState(
currentWorkspaceMemberState,
);
const setCurrentUser = useSetRecoilStateV2(currentUserState);
const setCurrentUserWorkspace = useSetRecoilStateV2(
currentUserWorkspaceState,
);
const setCurrentUser = useSetRecoilState(currentUserState);
const setCurrentUserWorkspace = useSetRecoilState(currentUserWorkspaceState);
const setPreviousUrl = useSetRecoilStateV2(previousUrlState);
const location = useLocation();
@@ -1,13 +1,13 @@
import { useCreateAppRouter } from '@/app/hooks/useCreateAppRouter';
import { currentUserState } from '@/auth/states/currentUserState';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { RouterProvider } from 'react-router-dom';
import { useRecoilValue } from 'recoil';
export const AppRouter = () => {
// We want to disable logic function settings but keep the code for now
const isFunctionSettingsEnabled = false;
const currentUser = useRecoilValueV2(currentUserState);
const currentUser = useRecoilValue(currentUserState);
const isAdminPageEnabled =
(currentUser?.canImpersonate || currentUser?.canAccessFullAdminPanel) ??
@@ -11,6 +11,7 @@ import { ClientConfigProviderEffect } from '@/client-config/components/ClientCon
import { MainContextStoreProvider } from '@/context-store/components/MainContextStoreProvider';
import { ErrorMessageEffect } from '@/error-handler/components/ErrorMessageEffect';
import { PromiseRejectionEffect } from '@/error-handler/components/PromiseRejectionEffect';
import { HeadlessFrontComponentMountRoot } from '@/front-components/components/HeadlessFrontComponentMountRoot';
import { ApolloCoreProvider } from '@/object-metadata/components/ApolloCoreProvider';
import { ObjectMetadataItemsLoadEffect } from '@/object-metadata/components/ObjectMetadataItemsLoadEffect';
import { ObjectMetadataItemsProvider } from '@/object-metadata/components/ObjectMetadataItemsProvider';
@@ -68,6 +69,7 @@ export const AppRouterProviders = () => {
<PageFavicon />
<Outlet />
<GlobalFilePreviewModal />
<HeadlessFrontComponentMountRoot />
</StrictMode>
</DialogManager>
</DialogComponentInstanceContext.Provider>
@@ -1,3 +1,12 @@
import { useEffect, useState } from 'react';
import {
matchPath,
useLocation,
useNavigate,
useParams,
} from 'react-router-dom';
import { useRecoilCallback, useRecoilValue } from 'recoil';
import {
setSessionId,
useEventTracker,
@@ -6,19 +15,9 @@ import { useExecuteTasksOnAnyLocationChange } from '@/app/hooks/useExecuteTasksO
import { isAppEffectRedirectEnabledState } from '@/app/states/isAppEffectRedirectEnabledState';
import { useRequestFreshCaptchaToken } from '@/captcha/hooks/useRequestFreshCaptchaToken';
import { isCaptchaScriptLoadedState } from '@/captcha/states/isCaptchaScriptLoadedState';
import { useRecoilValueV2 } from '@/ui/utilities/state/jotai/hooks/useRecoilValueV2';
import { useEffect, useState } from 'react';
import {
matchPath,
useLocation,
useNavigate,
useParams,
} from 'react-router-dom';
import { useRecoilCallback } from 'recoil';
import { isCaptchaRequiredForPath } from '@/captcha/utils/isCaptchaRequiredForPath';
import { useCommandMenu } from '@/command-menu/hooks/useCommandMenu';
import { commandMenuPageState } from '@/command-menu/states/commandMenuPageState';
import { CommandMenuPages } from '@/command-menu/types/CommandMenuPages';
import { MAIN_CONTEXT_STORE_INSTANCE_ID } from '@/context-store/constants/MainContextStoreInstanceId';
import { contextStoreCurrentViewIdComponentState } from '@/context-store/states/contextStoreCurrentViewIdComponentState';
import { contextStoreCurrentViewTypeComponentState } from '@/context-store/states/contextStoreCurrentViewTypeComponentState';
@@ -37,7 +36,7 @@ import { PageFocusId } from '@/types/PageFocusId';
import { useResetFocusStackToFocusItem } from '@/ui/utilities/focus/hooks/useResetFocusStackToFocusItem';
import { FocusComponentType } from '@/ui/utilities/focus/types/FocusComponentType';
import { useRecoilComponentValue } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValue';
import { AppBasePath, AppPath } from 'twenty-shared/types';
import { AppBasePath, AppPath, CommandMenuPages } from 'twenty-shared/types';
import { isDefined } from 'twenty-shared/utils';
import { AnalyticsType } from '~/generated-metadata/graphql';
import { usePageChangeEffectNavigateLocation } from '~/hooks/usePageChangeEffectNavigateLocation';
@@ -93,7 +92,7 @@ export const PageChangeEffect = () => {
const { executeTasksOnAnyLocationChange } =
useExecuteTasksOnAnyLocationChange();
const isAppEffectRedirectEnabled = useRecoilValueV2(
const isAppEffectRedirectEnabled = useRecoilValue(
isAppEffectRedirectEnabledState,
);
@@ -366,7 +365,7 @@ export const PageChangeEffect = () => {
}, [eventTracker, location.pathname]);
const { requestFreshCaptchaToken } = useRequestFreshCaptchaToken();
const isCaptchaScriptLoaded = useRecoilValueV2(isCaptchaScriptLoadedState);
const isCaptchaScriptLoaded = useRecoilValue(isCaptchaScriptLoadedState);
useEffect(() => {
if (isCaptchaScriptLoaded && isCaptchaRequiredForPath(location.pathname)) {
@@ -3,6 +3,7 @@ import { useRecoilCallback } from 'recoil';
import { MAIN_CONTEXT_STORE_INSTANCE_ID } from '@/context-store/constants/MainContextStoreInstanceId';
import { contextStoreIsPageInEditModeComponentState } from '@/context-store/states/contextStoreIsPageInEditModeComponentState';
import { currentPageLayoutIdState } from '@/page-layout/states/currentPageLayoutIdState';
import { hasInitializedFieldsWidgetGroupsDraftComponentState } from '@/page-layout/states/hasInitializedFieldsWidgetGroupsDraftComponentState';
import { isPageLayoutInEditModeComponentState } from '@/page-layout/states/isPageLayoutInEditModeComponentState';
import { pageLayoutCurrentLayoutsComponentState } from '@/page-layout/states/pageLayoutCurrentLayoutsComponentState';
import { pageLayoutDraftComponentState } from '@/page-layout/states/pageLayoutDraftComponentState';
@@ -69,6 +70,13 @@ export const useExecuteTasksOnAnyLocationChange = () => {
false,
);
set(
hasInitializedFieldsWidgetGroupsDraftComponentState.atomFamily({
instanceId: pageLayoutId,
}),
{},
);
set(currentPageLayoutIdState, null);
}
@@ -1,60 +1,63 @@
import { useCallback } from 'react';
import { useRecoilCallback } from 'recoil';
import { billingCheckoutSessionState } from '@/auth/states/billingCheckoutSessionState';
import { type BillingCheckoutSession } from '@/auth/types/billingCheckoutSession.type';
import { BILLING_CHECKOUT_SESSION_DEFAULT_VALUE } from '@/billing/constants/BillingCheckoutSessionDefaultValue';
import { jotaiStore } from '@/ui/utilities/state/jotai/jotaiStore';
import deepEqual from 'deep-equal';
// Initialize state that are hydrated from query parameters
// We used to use recoil-sync to do this, but it was causing issues with Firefox
export const useInitializeQueryParamState = () => {
const initializeQueryParamState = useCallback(() => {
const handlers = {
billingCheckoutSession: (value: string) => {
const billingCheckoutSession = jotaiStore.get(
billingCheckoutSessionState.atom,
);
const initializeQueryParamState = useRecoilCallback(
({ set, snapshot }) =>
() => {
const handlers = {
billingCheckoutSession: (value: string) => {
const billingCheckoutSession = snapshot
.getLoadable(billingCheckoutSessionState)
.getValue();
try {
const parsedValue = JSON.parse(decodeURIComponent(value));
try {
const parsedValue = JSON.parse(decodeURIComponent(value));
if (
typeof parsedValue === 'object' &&
parsedValue !== null &&
'plan' in parsedValue &&
'interval' in parsedValue &&
'requirePaymentMethod' in parsedValue &&
!deepEqual(billingCheckoutSession, parsedValue)
) {
jotaiStore.set(
billingCheckoutSessionState.atom,
parsedValue as BillingCheckoutSession,
);
if (
typeof parsedValue === 'object' &&
parsedValue !== null &&
'plan' in parsedValue &&
'interval' in parsedValue &&
'requirePaymentMethod' in parsedValue &&
!deepEqual(billingCheckoutSession, parsedValue)
) {
set(
billingCheckoutSessionState,
parsedValue as BillingCheckoutSession,
);
}
} catch (error) {
// eslint-disable-next-line no-console
console.error(
'Failed to parse billingCheckoutSession from URL',
error,
);
set(
billingCheckoutSessionState,
BILLING_CHECKOUT_SESSION_DEFAULT_VALUE,
);
}
},
};
const queryParams = new URLSearchParams(window.location.search);
for (const [paramName, handler] of Object.entries(handlers)) {
const value = queryParams.get(paramName);
if (value !== null) {
handler(value);
}
} catch (error) {
// eslint-disable-next-line no-console
console.error(
'Failed to parse billingCheckoutSession from URL',
error,
);
jotaiStore.set(
billingCheckoutSessionState.atom,
BILLING_CHECKOUT_SESSION_DEFAULT_VALUE,
);
}
},
};
const queryParams = new URLSearchParams(window.location.search);
for (const [paramName, handler] of Object.entries(handlers)) {
const value = queryParams.get(paramName);
if (value !== null) {
handler(value);
}
}
}, []);
[],
);
return { initializeQueryParamState };
};

Some files were not shown because too many files have changed in this diff Show More