Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
002dae4
feat: add logging for refObjects in DFlowSuggestion hook
Dec 19, 2025
a7df76c
feat: refactor useRefObjects and introduce useNodeContext for improve…
Dec 19, 2025
72dd5dc
feat: enhance DFlowFunctionDefaultCard with additional icons and impr…
Dec 19, 2025
2aac2db
feat: enhance DFlowSuggestion hook to support number range suggestion…
Dec 19, 2025
02254a2
feat: integrate node validation and enhance badge color representatio…
Dec 19, 2025
8aaf79a
feat: enhance DNodeValidation hook to resolve generic keys and improv…
Dec 19, 2025
408c32c
feat: implement hooks for data type, function, reference, and value s…
Dec 19, 2025
1886fce
feat: refactor useSuggestions hook to integrate value, reference, fun…
Dec 19, 2025
eff51fd
feat: simplify DFlowTabDefault component usage in DFlowFunctionDefaul…
Dec 19, 2025
9a3a0f4
feat: update useSuggestions hook in DFlowFunctionSuggestionCard to ut…
Dec 19, 2025
d7ad9ed
feat: replace useSuggestions hook with useDataTypeSuggestions in DFlo…
Dec 19, 2025
6b57c93
feat: update useSuggestions hook in DFlowPanelControl to utilize flow…
Dec 19, 2025
0256294
feat: update DFlowTabDefault to simplify props and enhance suggestion…
Dec 19, 2025
c631789
feat: refactor DFlowTabTrigger to use new suggestion hooks and improv…
Dec 19, 2025
0c74cab
feat: remove debug log from DNodeValidation hook and clean up code
Dec 19, 2025
f51b111
feat: add TODO comment for missing parent type rule in DValueValidati…
Dec 19, 2025
ccc979a
feat: add DATA_TYPE DataType
Dec 19, 2025
26a4e45
feat: enhance ReferenceValue badge to include reference path in display
Dec 19, 2025
c3e0fb0
feat: update DataType ID in DFlowInputDataType to use a placeholder v…
Dec 19, 2025
4230ffc
feat: enhance reference extraction logic in DFlowReferenceSuggestions…
Dec 19, 2025
b0f65b7
feat: remove unused flowStoreApi reference and simplify Menu component
Dec 19, 2025
b38cad9
feat: update sagittarius-graphql-types version and add react-contente…
Dec 23, 2025
d43d658
feat: remove old Syntax stuff
Dec 27, 2025
69b2d7c
feat: remove unused IconDots component and clean up DFlowFolder
Dec 27, 2025
266e722
feat: update DUserInput component with default value and adjust max w…
Dec 27, 2025
7303c99
feat: refactor Input styles for improved alignment and remove unused …
Dec 27, 2025
6d55396
feat: remove unused syntax-related functions and types from Input.syn…
Dec 27, 2025
2c811de
feat: remove unused useSyncSyntaxScroll hook and clean up Input.utils.ts
Dec 27, 2025
0f2b2db
feat: add useContentEditableController hook for enhanced content edit…
Dec 27, 2025
fe778d3
feat: clean up imports and improve code formatting in DFlowTabTrigger…
Dec 27, 2025
1c1881c
feat: enhance Input component with improved focus handling and sugges…
Jan 3, 2026
ba1cf70
feat: refactor InputSuggestion component for improved suggestion hand…
Jan 3, 2026
a6bbf42
feat: update setSettingValue method to use flowSettingIdentifier for …
Jan 3, 2026
0f5642a
feat: update submitValue function to use flowSettingIdentifier for se…
Jan 3, 2026
474abc1
feat: remove console log and add submitValueEvent to Input component …
Jan 3, 2026
014d85e
feat: enhance deleteActiveNode functionality with flowId validation f…
Jan 4, 2026
24cbc62
feat: replace IconFile with IconNote in DFlowFunctionDefaultCard for …
Jan 4, 2026
629c05e
feat: replace ButtonGroup with Flex in DFlowTabs for improved layout …
Jan 4, 2026
946beed
feat: adjust icon sizes in DResizable story for improved visual consi…
Jan 4, 2026
63f34b8
feat: remove IconFile import from FileTabs for cleaner code
Jan 4, 2026
4bf3c59
feat: add insertMode property to suggestion menu for enhanced functio…
Jan 4, 2026
9909450
feat: enhance DFlowTabDefault with input validation and suggestion ha…
Jan 4, 2026
d5893dc
feat: implement insertMode handling for suggestion insertion in Input…
Jan 4, 2026
6c3622f
feat: enhance DFlowTabDefault to support additional NodeFunction parsing
Jan 4, 2026
e64789c
feat: add splitTextAndObjects utility and refactor transformSyntax fo…
Jan 4, 2026
f5e2f61
feat: enhance syntax handling by adding value property to InputSyntax…
Jan 4, 2026
1f70afe
feat: refactor DFlowTabDefault to improve input handling and integrat…
Jan 4, 2026
4f86da2
feat: add truthyValidationBeforeSubmit prop to FormValidationProps fo…
Jan 5, 2026
7fbe158
feat: synchronize validation value in Input component for improved fo…
Jan 5, 2026
95111e0
feat: enhance DFlowTabDefault input handling and validation logic
Jan 5, 2026
1f1325b
feat: improve form value management by integrating useRef for state c…
Jan 5, 2026
639e435
feat: emulate onChange and onInput events for contentEditable tokens …
Jan 5, 2026
50696bb
feat: optimize suggestion handling and validation in DFlowTabDefault …
Jan 5, 2026
90c537d
feat: add optional chaining for safer return type handling in DFlowFu…
Jan 5, 2026
050db56
feat: replace setElementKey with clearInputElement for improved input…
Jan 5, 2026
9ee90d6
feat: integrate FileTabsService to manage file tab deletion based on …
Jan 5, 2026
e2774ca
feat: refine file tab deletion logic by removing unnecessary syntax v…
Jan 5, 2026
548450c
feat: enhance value handling in DFlowTabDefault by adding support for…
Jan 5, 2026
1bb9a20
feat: improve null safety in DFlowFunction hook by using optional cha…
Jan 5, 2026
af45857
feat: enhance syntax value handling in DFlowTabDefault by adding JSON…
Jan 5, 2026
9a1da10
feat: simplify validation logic in useForm by removing initialRender …
Jan 5, 2026
d71b8f8
feat: add getLinkedNodesById method to retrieve linked nodes and enha…
Jan 6, 2026
828d297
feat: enhance node deletion logic in DFlowPanelControl by retrieving …
Jan 6, 2026
64acb4e
feat: enhance node deletion in DFlowTabDefault by retrieving and dele…
Jan 6, 2026
f345052
feat: simplify tab activation logic in DFlowTabs by removing unnecess…
Jan 6, 2026
6ffa790
feat: refactor tab deletion logic in FileTabs.service to use deleteBy…
Jan 6, 2026
fd643a6
feat: add DFlowInputDefault component for enhanced input handling and…
Jan 6, 2026
b423d04
feat: integrate DFlowInputDefault for improved input handling in DFlo…
Jan 6, 2026
637b568
feat: enhance DFlowInputDefault to support custom suggestions and imp…
Jan 6, 2026
77ef74c
feat: replace TextInput with DFlowInputDefault in DFlowTabTrigger for…
Jan 6, 2026
72c1827
feat: add DFlowInputLiteralBadge component for displaying literal val…
Jan 6, 2026
87818b4
feat: add DFlowInputNodeBadge component for displaying node function …
Jan 6, 2026
279791a
feat: add DFlowInputReferenceBadge component for displaying reference…
Jan 6, 2026
6d85494
feat: integrate DFlowInput badges for improved parameter display in D…
Jan 6, 2026
26b0e80
feat: enhance edge and node handling by refining hash generation for …
Jan 6, 2026
8729a3d
feat: improve node handling by ensuring deep copy of nextNode for con…
Jan 6, 2026
7154913
feat: enhance DFlowInputDefault by integrating DFlowInputNodeBadge an…
Jan 6, 2026
9bc0311
feat: enhance DFlowInputNodeBadge to support optional function defini…
Jan 6, 2026
19ac3c7
feat: enhance DFlowReferenceSuggestions to include reference path in …
Jan 6, 2026
bb0159d
feat: update DFlowInputReferenceBadge to format display text with bra…
Jan 6, 2026
c681865
feat: add null check for node in DFlow edges and nodes hooks to preve…
Jan 6, 2026
415ae3c
feat: add TODO comment for handling node replacement in addNextNodeBy…
Jan 6, 2026
491c54f
feat: remove unnecessary null check for function return type in DFlow…
Jan 6, 2026
759ca6a
feat: add input suggestions logic to useReferenceSuggestions for enha…
Jan 6, 2026
cf1f264
feat: refactor syntax value assignment for improved clarity in DFlowT…
Jan 6, 2026
5c2b20c
feat: track changed parameters in DFlowTabDefault for improved form v…
Jan 6, 2026
f654e0d
feat: remove TODO comment regarding node replacement handling in addN…
Jan 6, 2026
a509e56
feat: enhance DFlowFolder components with additional props for contex…
Jan 6, 2026
eed1e24
feat: enhance useReferenceSuggestions with improved generic key handl…
Jan 6, 2026
90af6af
feat: add GenericTargetMap type and implement targetForGenericKey fun…
Jan 6, 2026
8fb1c59
feat: optimize getLayoutElements function for improved node positioni…
Jan 7, 2026
cd9dd1d
feat: adjust gradient stopOpacity values for improved visual consiste…
Jan 7, 2026
ae45ef3
feat: enhance DFlowFunctionDefaultCard with parameter validation styl…
Jan 7, 2026
13e7c6c
feat: add forceMount prop to MenuContent for improved rendering behavior
Jan 7, 2026
2c9d3f4
feat: add custom underline styles for inspection severity in inspecti…
Jan 7, 2026
728f9e2
feat: extend reference value type with parameter and input type indic…
Jan 7, 2026
5bf1d33
feat: refactor context handling in DFlowReferenceSuggestions hook for…
Jan 7, 2026
c878ea7
feat: enhance DFlowReferenceSuggestions hook with node parameter hand…
Jan 7, 2026
5200e5a
feat: update DFlow components to use non-null assertion for names and…
Jan 7, 2026
ce94251
feat: simplify color handling in DFlowFunctionDefaultCard by setting …
Jan 7, 2026
755bf15
feat: enhance DFlowReferenceSuggestions hook with improved scope matc…
Jan 7, 2026
f3a5fa8
feat: update input components to use non-null assertion for refs
Jan 7, 2026
3ff5afb
feat: remove debug logging from DFlow service for cleaner output
Jan 7, 2026
1da1281
feat: update DFlowInputReferenceBadge to use flowId prop for improved…
Jan 7, 2026
94c15de
feat: update DFlowInputReferenceBadge usage in DFlowInputDefault to i…
Jan 7, 2026
140972a
feat: extend DFlowInputNodeBadgeProps to include FlowTypeView in defi…
Jan 7, 2026
9977346
feat: enhance DFlowInputReferenceBadge to include flowId and definiti…
Jan 7, 2026
433a779
feat: added Data_Type type
Jan 7, 2026
76816b9
feat: integrate DFlowTypeReactiveService for enhanced flow type handl…
Jan 7, 2026
fe7a5a9
feat: enhance DFlowInputNodeBadge to support flow type handling and t…
Jan 7, 2026
1949007
feat: enhance DFlowInputReferenceBadge to include IconVariable and im…
Jan 7, 2026
ff1714b
feat: add inputTypeIdentifier to ExtendedReferenceValue for enhanced …
Jan 7, 2026
25d2b98
feat: refactor color handling to use hashToColor utility for consiste…
Jan 7, 2026
c97e45f
feat: simplify color generation in DFlow.edges.hook by removing satur…
Jan 7, 2026
9628a39
feat: enhance hashToColor function to incorporate ID extraction for i…
Jan 7, 2026
5209ef4
feat: restructure DResizable component layout for improved organizati…
Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .storybook/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default create({

brandTitle: 'Code0 Pictor',
brandUrl: 'https://code0.tech',
brandImage: 'https://cdn.discordapp.com/attachments/1187919509298888746/1187921987868299388/Logo.png',
brandImage: 'https://code0.tech/code0_logo.png',
brandTarget: '_self',

// UI
Expand Down Expand Up @@ -40,4 +40,4 @@ export default create({
inputBorder: '#91949A',
inputTextColor: 'rgba(255,255,255, .5)',
inputBorderRadius: 2,
});
});
78 changes: 70 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@ariakit/react": "^0.4.17",
"@babel/plugin-proposal-decorators": "^7.28.0",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@code0-tech/sagittarius-graphql-types": "^0.0.0-968478cecf351385c6c13c2be8aeae5c45da026c",
"@code0-tech/sagittarius-graphql-types": "^0.0.0-a395eea54741fc1bb9649341ff6f082cc1c3e67e",
"@dagrejs/dagre": "^2.0.0",
"@mdx-js/react": "^3.1.1",
"@radix-ui/react-checkbox": "^1.3.3",
Expand All @@ -47,6 +47,7 @@
"@tabler/icons-react": "3.35.0",
"@types/jest-image-snapshot": "^6.4.0",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/browser-playwright": "^4.0.14",
"@vitest/coverage-v8": "^4.0.14",
Expand Down Expand Up @@ -93,7 +94,7 @@
"types": "dist/index.d.ts",
"peerDependencies": {
"@ariakit/react": "^0.4.5",
"@code0-tech/sagittarius-graphql-types": "^0.0.0-968478cecf351385c6c13c2be8aeae5c45da026c",
"@code0-tech/sagittarius-graphql-types": "^0.0.0-a395eea54741fc1bb9649341ff6f082cc1c3e67e",
"@radix-ui/react-checkbox": "^1.3.2",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-dropdown-menu": "^2.1.15",
Expand All @@ -119,6 +120,7 @@
"access": "public"
},
"dependencies": {
"@radix-ui/react-context-menu": "^2.2.16"
"@radix-ui/react-context-menu": "^2.2.16",
"react-contenteditable": "^3.3.7"
}
}
3 changes: 2 additions & 1 deletion src/components/button-group/ButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ export const ButtonGroup: React.FC<ButtonGroupType> = (props) => {

{children.map((child, i) => {
return <div
key={child.key ?? `button-group-${i}`}
className={`${i == 0 || i == children.length - 1 ? i == 0 ? "button-group__first" : "button-group__last" : "button-group__item"}`}>
{child}
</div>
})}
</div>
}
}
15 changes: 7 additions & 8 deletions src/components/d-flow-data-type/DFlowDataType.view.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
import type {
DataType,
DataTypeRuleConnection,
DataTypeVariant, Maybe, Runtime, Scalars,
TranslationConnection
DataTypeVariant, Maybe, Runtime, Scalars, Translation,
} from "@code0-tech/sagittarius-graphql-types";


export class DataTypeView {

/** Name of the function */
private readonly _aliases?: Maybe<TranslationConnection>;
private readonly _aliases?: Maybe<Array<Translation>>;
/** Time when this DataType was created */
private readonly _createdAt?: Maybe<Scalars['Time']['output']>;
/** Display message of the function */
private readonly _displayMessages?: Maybe<TranslationConnection>;
private readonly _displayMessages?: Maybe<Array<Translation>>;
/** Generic keys of the datatype */
private readonly _genericKeys?: Maybe<Array<Scalars['String']['output']>>;
/** Global ID of this DataType */
private readonly _id?: Maybe<Scalars['DataTypeID']['output']>;
/** The identifier scoped to the namespace */
private readonly _identifier?: Maybe<Scalars['String']['output']>;
/** Names of the flow type setting */
private readonly _name?: Maybe<TranslationConnection>;
private readonly _name?: Maybe<Array<Translation>>;
/** Rules of the datatype */
private readonly _rules?: Maybe<DataTypeRuleConnection>;
/** The namespace where this datatype belongs to */
Expand All @@ -45,15 +44,15 @@ export class DataTypeView {
this._variant = dataType.variant;
}

get aliases(): Maybe<TranslationConnection> | undefined {
get aliases(): Maybe<Array<Translation>> | undefined {
return this._aliases;
}

get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined {
return this._createdAt;
}

get displayMessages(): Maybe<TranslationConnection> | undefined {
get displayMessages(): Maybe<Array<Translation>> | undefined {
return this._displayMessages;
}

Expand All @@ -69,7 +68,7 @@ export class DataTypeView {
return this._identifier;
}

get name(): Maybe<TranslationConnection> | undefined {
get name(): Maybe<Array<Translation>> | undefined {
return this._name;
}

Expand Down
Loading