Skip to content
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
659 commits
Select commit Hold shift + click to select a range
d5e7cb7
feat: update DFlowDataTypeRule to use NodeParameterValue for validati…
nicosammito Oct 19, 2025
13d0bde
feat: remove old input type rule config
nicosammito Oct 19, 2025
98946c2
feat: update DFlowDataTypeRangeRule to use NodeParameterValue and Dat…
nicosammito Oct 19, 2025
30b0617
feat: update DFlowDataTypeItemOfCollectionRule to use NodeParameterVa…
nicosammito Oct 19, 2025
0e8c374
feat: update DFlowDataTypeParentRule to use NodeParameterValue and Da…
nicosammito Oct 19, 2025
1cc44f6
feat: update DFlowDataTypeRegexRule to use NodeParameterValue and Dat…
nicosammito Oct 19, 2025
dbb2026
feat: update DFlowDataTypeContainsKeyRule to use NodeParameterValue a…
nicosammito Oct 19, 2025
a1eb771
feat: update DFlowDataTypeService to remove string type from getDataT…
nicosammito Oct 19, 2025
5a2cc95
feat: update @code0-tech/sagittarius-graphql-types to version 0.0.0-9…
nicosammito Oct 19, 2025
abc793b
feat: update DFlowSuggestion hook to enhance type handling and improv…
nicosammito Oct 19, 2025
41cf55b
feat: enhance null safety and optional chaining in DFlowDataTypeConta…
nicosammito Oct 19, 2025
33c135d
feat: remove unused GenericType import from DFlowDataTypeContainsKeyRule
nicosammito Oct 19, 2025
919163b
feat: remove unused typeId assignment in DFlowDataTypeContainsKeyRule…
nicosammito Oct 20, 2025
e5c5f59
feat: refactor DFlowDataTypeContainsTypeRule validation to improve ty…
nicosammito Oct 20, 2025
5bc071e
feat: enhance null safety in DFlowDataTypeRule by adding optional cha…
nicosammito Oct 20, 2025
88cdcfa
feat: refactor DFlowDataTypeReturnTypeRule for improved type handling…
nicosammito Oct 20, 2025
0fc5f80
feat: enhance type handling and null safety in DFlowDataTypeService m…
nicosammito Oct 20, 2025
51848ef
feat: fix type comparison in DFlowDataTypeService for array variant h…
nicosammito Oct 20, 2025
ff0b2f5
feat: enhance DataTypeView with additional properties and improved va…
nicosammito Oct 20, 2025
26b4fa7
feat: fix type comparison in DFlowFunction validation for parameter d…
nicosammito Oct 20, 2025
e170632
feat: update DFlowSuggestion hook to use 'variant' for DataTypeVarian…
nicosammito Oct 20, 2025
521bacd
feat: update DFlowViewport hook to use 'variant' for NODE type checks
nicosammito Oct 20, 2025
523e210
feat: update DFlowViewport hook to use 'variant' for NODE type checks
nicosammito Oct 20, 2025
c134d81
feat: update DFlowViewportDefaultCard to use 'variant' for NODE type …
nicosammito Oct 20, 2025
6239235
feat: update generics.ts to use 'variant' for DataTypeVariant checks
nicosammito Oct 20, 2025
43e5e5e
feat: update DFlowDataType.service.ts to use 'identifier' for type ch…
nicosammito Oct 20, 2025
0f10e4f
feat: enhance validation in DFlowDataTypeNumberRangeRule to check for…
nicosammito Oct 20, 2025
6b2628e
feat: add validation for pattern in DFlowDataTypeRegexRule
nicosammito Oct 20, 2025
f09356d
feat: update DFlowDataTypeReturnTypeRule to use 'dataTypeIdentifier' …
nicosammito Oct 20, 2025
c6421ca
feat: fix return type property reference in DFlowFunction.input.hook.ts
nicosammito Oct 20, 2025
09c5417
feat: fix property reference for return type in DFlowFunction.return.…
nicosammito Oct 20, 2025
06d5599
feat: update getFunctionDefinition to use Scalars for function ID type
nicosammito Oct 20, 2025
8697c0d
feat: update parameter validation to use dataTypeIdentifier for param…
nicosammito Oct 20, 2025
020770e
feat: enhance FunctionDefinitionView and ParameterDefinitionView with…
nicosammito Oct 20, 2025
3abbc85
feat: update DFlowViewportDefaultTabContent to use ParameterDefinitio…
nicosammito Oct 20, 2025
909ba27
feat: refactor DFlowSuggestion to improve function and parameter hand…
nicosammito Oct 20, 2025
9b78e74
feat: update SuggestionMenu to use structured data type for suggestions
nicosammito Oct 20, 2025
50b633b
feat: update DFlowViewport to use DataTypeIdentifier for data type ha…
nicosammito Oct 20, 2025
3d52ac0
feat: enhance DFlowViewport to support DataTypeVariant and Scalars fo…
nicosammito Oct 20, 2025
6927592
feat: update DFlowViewportDefaultTabContent to utilize dataTypeIdenti…
nicosammito Oct 20, 2025
7671d7c
feat: update DFlowViewportDefaultCard to use DataTypeVariant for para…
nicosammito Oct 20, 2025
1882abb
feat: update DFlowViewportTriggerTabContent to use type identifier fo…
nicosammito Oct 20, 2025
0ffd76c
feat: update DFlowViewportSuggestionCard to use NodeFunction type for…
nicosammito Oct 20, 2025
aab01e0
feat: update DFlowViewportSuggestionCard to use NodeFunction type for…
nicosammito Oct 21, 2025
9296ff5
feat: update DFlowViewportDefaultCard to use NodeParameterView for pa…
nicosammito Oct 21, 2025
fc6028c
feat: add getNodeById method and update NodeParameter value type to s…
nicosammito Oct 21, 2025
51f63e2
feat: update DFlowViewport.nodes.hook.ts to use runtimeFunction ident…
nicosammito Oct 21, 2025
6b4a367
feat: update DFlowViewport.edges.hook.ts to use runtimeFunction ident…
nicosammito Oct 21, 2025
aa5ac83
feat: enhance DFlowViewportDefaultTabContent to ensure safe parameter…
nicosammito Oct 21, 2025
b0e4d4c
feat: update DFlow.view.ts to replace FlowSetting with FlowSettingVie…
nicosammito Oct 21, 2025
c31f26d
feat: update DFlowType.service.ts to use Scalars for improved type sa…
nicosammito Oct 21, 2025
7c3f14d
feat: update DFlowType.view.ts to enhance type safety with optional p…
nicosammito Oct 21, 2025
baf3bce
feat: update DFlowViewportTriggerTabContent to improve flowTypeSettin…
nicosammito Oct 21, 2025
3a7e578
feat: enhance DFlowDataTypeReturnTypeRule for improved type handling …
nicosammito Oct 21, 2025
cd7b34f
feat: update DFlowSuggestion.hook.tsx to improve parameter handling a…
nicosammito Oct 21, 2025
9a6041b
feat: update DResizable.stories.tsx to enhance type safety by replaci…
nicosammito Oct 21, 2025
a42408c
feat: enhance generics.ts for improved type safety with non-null asse…
nicosammito Oct 21, 2025
205a4ba
feat: add DNamespace.service.ts for enhanced namespace management
nicosammito Oct 21, 2025
a20ba39
feat: add DNamespace.view.ts for improved namespace visualization
nicosammito Oct 21, 2025
12e6087
feat: add DNamespaceLicense.service.ts for namespace license management
nicosammito Oct 21, 2025
2527685
feat: add DNamespaceLicense.view.ts for namespace license visualization
nicosammito Oct 21, 2025
3a698cd
feat: add DNamespaceMember.service.ts for namespace member management
nicosammito Oct 21, 2025
c155d2f
feat: add DNamespaceMember.view.ts for namespace member visualization
nicosammito Oct 21, 2025
bd914d7
feat: add DNamespaceProject.service.ts for namespace project management
nicosammito Oct 21, 2025
94631c2
feat: add DNamespaceProject.view.ts for namespace project visualization
nicosammito Oct 21, 2025
f450d74
feat: add DNamespaceRole.service.ts for namespace role management
nicosammito Oct 21, 2025
63c6486
feat: add DNamespaceRole.view.ts for namespace role visualization
nicosammito Oct 21, 2025
6a3e728
feat: add DNamespaceRuntime.service.ts for namespace runtime management
nicosammito Oct 21, 2025
303680e
feat: add DNamespaceRuntime.view.ts for namespace runtime visualization
nicosammito Oct 21, 2025
e060695
feat: add DOrga.service.ts for organization management
nicosammito Oct 21, 2025
dc7c155
feat: add DOrga.view.ts for organization management visualization
nicosammito Oct 21, 2025
65399db
feat: add DUser.service.ts for user management
nicosammito Oct 21, 2025
5d2cefc
feat: add DUser.view.ts for user management visualization
nicosammito Oct 21, 2025
6280ff8
feat: implement DUserReactiveService for user session management and …
nicosammito Oct 21, 2025
ddac0fb
feat: add DUserView class for user data representation
nicosammito Oct 21, 2025
77d8c68
feat: init DProjectCard & DOrganizationCard
mvriu5 Oct 22, 2025
7e9c24c
feat: add DUserView class for user data representation
nicosammito Oct 22, 2025
f15daee
feat: add placeholder for userEmailVerification method in DUser.servi…
nicosammito Oct 22, 2025
f513118
feat: implement DOrgaReactiveService for organization management
nicosammito Oct 22, 2025
824dc95
feat: add DOrgaView class for organization data representation
nicosammito Oct 22, 2025
fd7ef7b
feat: implement DNamespaceReactiveService for namespace management
nicosammito Oct 22, 2025
1870dec
feat: add DNamespaceView class for namespace data representation
nicosammito Oct 22, 2025
5599efc
feat: implement DNamespaceLicenseReactiveService for namespace licens…
nicosammito Oct 22, 2025
7ea189b
feat: add DNamespaceLicenseView class for namespace license represent…
nicosammito Oct 22, 2025
d114b90
feat: implement DNamespaceMemberReactiveService and DNamespaceMemberV…
nicosammito Oct 22, 2025
eb89bf2
feat: refactor DUserReactiveService to be abstract and define user-re…
nicosammito Oct 22, 2025
ccf43b4
feat: remove unused DUserViewQuery definition from DUser.view.ts
nicosammito Oct 22, 2025
fac63a3
feat: define DNamespaceProjectService interface and abstract DNamespa…
nicosammito Oct 22, 2025
457152b
feat: add DNamespaceProjectView class for representing namespace proj…
nicosammito Oct 22, 2025
e910cd8
feat: add DUserLoginMutation and DUserLoginMfaMutation for user authe…
nicosammito Oct 22, 2025
06e49d5
feat: add DUserValuesQuery for user-related data retrieval
nicosammito Oct 22, 2025
ca928e3
feat: card content & stories
mvriu5 Oct 22, 2025
6db1eee
Merge remote-tracking branch 'origin/feat/#235' into feat/#395
mvriu5 Oct 23, 2025
96363c1
feat: init menu for user/project/organization
mvriu5 Oct 23, 2025
e1cb962
feat: contextStore for abstract and non abstract class
mvriu5 Oct 24, 2025
e433755
feat: project/organization cards new logic & style changes
mvriu5 Oct 24, 2025
cc1c181
feat: menu implementation for project/organization/user
mvriu5 Oct 24, 2025
9f0ca30
feat: improved responsive styling for cards
mvriu5 Oct 25, 2025
f943bfa
feat: menus now extends from menuprops instead of code0component
mvriu5 Oct 25, 2025
a3092cc
Merge branch 'main' into feat/#395
mvriu5 Oct 25, 2025
1668380
feat: removed DFlowSuggestionMenu, added Username & Identifier to DUs…
mvriu5 Oct 27, 2025
01a3764
feat: changed DOrganizationCard project display to badge
mvriu5 Oct 27, 2025
0e49158
feat: add Storybook stories for DFlow component with example flow
nicosammito Jul 19, 2025
def2493
feat: add DFlowFunctionCard component for enhanced user feedback display
nicosammito Jul 19, 2025
5f67827
feat: integrate ContextStoreProvider and reactive array service into …
nicosammito Jul 19, 2025
b7d8b52
feat: add DFlowSuggestionMenu story with example usage and context pr…
nicosammito Jul 13, 2025
fdc6fc7
feat: add DFlowSuggestionMenu styles for improved UI presentation
nicosammito Jul 13, 2025
6458a52
feat: optimize SuggestionMenu rendering with useMemo for performance
nicosammito Jul 13, 2025
cb2d318
feat: integrate NumberInput into DFlowSuggestionMenu for enhanced num…
nicosammito Jul 14, 2025
3404e5e
feat: simplify useSuggestions call in DFlowSuggestionMenu story for n…
nicosammito Jul 14, 2025
83871c2
feat: replace NumberInput with TextInput in DFlowSuggestionMenu for i…
nicosammito Jul 15, 2025
4efa5b3
feat: integrate DFlowSuggestionMenuFooter and transform suggestions f…
nicosammito Jul 16, 2025
9215cca
feat: refactor DFlowSuggestionMenu to extract footer and improve sugg…
nicosammito Jul 16, 2025
03f31f3
feat: implement useFlowEdges hook to manage flow edges in DFlow
nicosammito Jul 20, 2025
15c92d7
feat: add useFlowNodes hook to manage flow nodes in DFlow
nicosammito Jul 20, 2025
e5bd0fa
feat: integrate useFlowNodes and useFlowEdges hooks in DFlow stories …
nicosammito Jul 20, 2025
0f6a3ff
feat: add json getter to NodeFunction for structured data representation
nicosammito Jul 20, 2025
5c21450
feat: add DFlowEdge component for enhanced flow edge representation
nicosammito Jul 20, 2025
5ea6e73
feat: enhance DFlowFunctionCard to support dynamic parameter handles
nicosammito Jul 20, 2025
e37589f
feat: update useSuggestions hook with additional TODO for function su…
nicosammito Jul 20, 2025
3502469
feat: add DFlowEdge component for rendering straight edges in flow di…
nicosammito Jul 20, 2025
0ecccea
feat: refine DFlowFunctionCard component with improved formatting and…
nicosammito Jul 20, 2025
8b003ca
feat: integrate DFlowEdge component into DFlow story for edge type su…
nicosammito Jul 20, 2025
469b651
feat: enhance DFlowEdge component with smooth step path calculation f…
nicosammito Jul 20, 2025
29a157e
feat: add styling for DFlowFunctionCard component to enhance visual p…
nicosammito Jul 20, 2025
bb2cc97
feat: extend DFlowEdge component to support additional props for enha…
nicosammito Jul 20, 2025
c0b8821
feat: enhance useFlowEdges hook with additional edge properties for i…
nicosammito Jul 20, 2025
e78e1e1
feat: add CSS classes to DFlowFunctionCard handles for improved styling
nicosammito Jul 20, 2025
742e882
feat: enhance useFlowEdges hook to support rainbow color coding for e…
nicosammito Jul 21, 2025
ca42b22
feat: refactor DFlow.nodes.hook to improve flow node traversal logic
nicosammito Jul 21, 2025
faf7a8a
feat: add button to DFlow story for adding new nodes dynamically
nicosammito Jul 21, 2025
b30f277
feat: add color prop to DFlowEdge for customizable edge styling
nicosammito Jul 21, 2025
e2866c2
feat: add styling for function card handles with customizable box pro…
nicosammito Jul 21, 2025
77e5ba7
feat: update function card handle styles for improved appearance
nicosammito Jul 21, 2025
6b8d90a
feat: enhance DFlowFunctionCard with viewport handling and dynamic pa…
nicosammito Jul 21, 2025
fcda31a
feat: remove console logs from DFlow story for cleaner output
nicosammito Jul 22, 2025
bfd8cb2
feat: update DFlowFunctionCard styles to use helper functions for bac…
nicosammito Jul 22, 2025
4c96540
feat: enhance DFlowFunctionCard with new layout elements and remove c…
nicosammito Jul 22, 2025
4c32710
feat: adding isParameter flag to edge calculation
nicosammito Jul 22, 2025
3e05252
feat: changing flow background style to match CodeZero styling
nicosammito Jul 22, 2025
97b90fa
feat: remove unnecessary edge position calculation and use parameter …
nicosammito Jul 22, 2025
16ec5d9
feat: use fix background
nicosammito Jul 22, 2025
605d3c5
feat: pre styling of function card
nicosammito Jul 22, 2025
5c5f321
feat: add inspection styling to function card
nicosammito Jul 28, 2025
17346ef
feat: enhance function card with action menu and inspection badges
nicosammito Jul 28, 2025
656b93e
feat: enhance DFlow example with reactive services and updated parame…
nicosammito Jul 30, 2025
e62115b
feat: enhance DFlowFunctionCard with validation feedback and inspecti…
nicosammito Jul 30, 2025
eca5841
feat: improve inspection display logic in DFlowFunctionCard for bette…
nicosammito Jul 31, 2025
45dcf27
feat: remove console logs and update Card borderColor based on valida…
nicosammito Aug 4, 2025
212a730
feat: enhance useFlowNodes hook with additional services for function…
nicosammito Aug 4, 2025
fca12e9
feat: remove unnecessary comment in DFlowFunctionCard.tsx for cleaner…
nicosammito Aug 4, 2025
30f88a2
feat: add group function card
nicosammito Aug 4, 2025
a26b0f1
feat: wrap nodes in groups for parameters and update function references
nicosammito Aug 4, 2025
6bbc12d
feat: enhance flow edge handling by grouping parameters and updating …
nicosammito Aug 4, 2025
dc32d68
feat: simplify DFlowFunctionGroupCard by removing unused props and ch…
nicosammito Aug 4, 2025
09dac1c
feat: update DFlowFunctionGroupCard to log data and rest props, adjus…
nicosammito Aug 4, 2025
e03df21
feat: update node data structure to use linkingId and add extent for …
nicosammito Aug 4, 2025
9ec9ee2
feat: update edge data structure to improve parameter handling and tr…
nicosammito Aug 5, 2025
597b5d6
feat: add label rendering to edges with Badge component in DFlowEdge
nicosammito Aug 5, 2025
2835b1c
feat: remove console log statement from DFlowFunctionGroupCard
nicosammito Aug 5, 2025
5ac9029
feat: remove hardcoded label from edge definition in DFlow edges hook
nicosammito Aug 7, 2025
8864526
feat: adjust parameter handle positioning based on data type in DFlow…
nicosammito Aug 7, 2025
08abec0
feat: wrap nodes in groups for parameters in DFlowFunctionGroupCard
nicosammito Aug 8, 2025
c58d244
feat: enhance edge traversal logic to support grouping of nodes for p…
nicosammito Aug 8, 2025
d8c0b89
fix: adjust edge path positioning for parameter nodes in DFlow
nicosammito Aug 8, 2025
a826c1b
fix: set background opacity to 0 for DFlow function card styling
nicosammito Aug 8, 2025
fab8e64
fix: adjust handle positioning for parameter nodes in DFlow function …
nicosammito Aug 8, 2025
b1aa1b3
feat: update DFlowFunctionGroupCard to support custom background styl…
nicosammito Aug 8, 2025
a9c5825
feat: enhance parameter handling by conditionally rendering dynamic i…
nicosammito Aug 8, 2025
7c4a22e
style: adjust background opacity and border color for DFlowFunctionGr…
nicosammito Aug 8, 2025
92e0a24
fix: improve edge handling logic by refining group checks and adding …
nicosammito Aug 11, 2025
a6a93a6
refactor: remove unused button and node function logic from DFlow sto…
nicosammito Aug 11, 2025
1c2032d
feat: add label to edge data for improved parameter identification in…
nicosammito Aug 11, 2025
2d34758
feat: add zIndex to edge label for improved visibility in DFlow
nicosammito Aug 11, 2025
69e4187
feat: enhance parameter validation to exclude node data types in DFlo…
nicosammito Aug 11, 2025
c08e4ef
feat: update Card color logic for improved error indication in DFlow …
nicosammito Aug 11, 2025
85a4074
feat: add key prop to Flex and DFolder components for improved rendering
nicosammito Aug 11, 2025
d87f9d7
feat: remove suggestions from this PR
nicosammito Aug 11, 2025
342153e
Revert "feat: remove suggestions from this PR"
nicosammito Aug 11, 2025
047efb5
feat: add value transformation to TextInput for enhanced display in D…
nicosammito Jul 17, 2025
f16a29e
feat: update value transformation in TextInput to use inline style fo…
nicosammito Jul 31, 2025
760957a
feat: initialize dataTypeService with dataTypes in DFlowSuggestionMenu
nicosammito Aug 11, 2025
391fcfb
feat: remove unnecessary line break in Example story for cleaner code
nicosammito Aug 11, 2025
a29635a
feat: add DFlowControls component to DFlow story for enhanced functio…
nicosammito Aug 11, 2025
ff522d9
feat: add DFlowControls component for viewport control and zoom funct…
nicosammito Aug 11, 2025
c8c496e
feat: add DFlowControls component for viewport control and zoom funct…
nicosammito Aug 11, 2025
5e5f493
feat: add console log for flow object and clean up edge creation logi…
nicosammito Aug 12, 2025
8893fe7
feat: enhance node traversal logic by passing instance and simplifyin…
nicosammito Aug 12, 2025
416764e
feat: enhance DFlowFunctionCard by adding instance handling and updat…
nicosammito Aug 12, 2025
f81eeed
refactor: remove console log for flow object in DFlow.edges.hook.ts
nicosammito Aug 12, 2025
bddb1cc
feat: update type checking for NodeFunction in DFlow.edges.hook.ts
nicosammito Aug 13, 2025
b5df177
feat: update node function handling to use instanceof for type checki…
nicosammito Aug 13, 2025
e5e305f
feat: enhance useSuggestions to handle undefined types and improve su…
nicosammito Aug 13, 2025
b27d86b
feat: refactor DFlow components to use viewport-specific implementati…
nicosammito Aug 13, 2025
9499f6e
feat: add DFlowViewportSuggestionCard to nodeTypes in DFlow stories
nicosammito Aug 13, 2025
9de712f
feat: rename DFlowSuggestionMenu story to DFlowSuggestionMenuWithInput
nicosammito Aug 13, 2025
e9abaa2
feat: add MiniMap component to DFlow story for enhanced visualization
nicosammito Aug 15, 2025
5e39138
feat: update useSuggestions call to include a specific parameter for …
nicosammito Aug 15, 2025
6b7bae7
feat: integrate FileTabs service into DFlow story for enhanced contex…
nicosammito Aug 15, 2025
47f02b9
feat: add DFlowViewportFileTabs component for enhanced file tab manag…
nicosammito Aug 15, 2025
d39fde9
feat: add DFlowViewportFileTabsContent component for dynamic file tab…
nicosammito Aug 15, 2025
e4f22ac
feat: remove DFlow.stories.tsx
nicosammito Aug 18, 2025
6cea37b
feat: add contextLevel and nodeLevel props to DFlowViewportFileTabsCo…
nicosammito Aug 18, 2025
eefcb04
feat: update DFlowViewportFileTabsContent props for improved depth an…
nicosammito Aug 25, 2025
bb8fd9d
feat: refactor DFlowSuggestionMenu to initialize dataTypeService with…
nicosammito Aug 27, 2025
fb7a464
feat: refactor DFlowViewportFileTabs to improve tab management and re…
nicosammito Aug 27, 2025
dd46447
feat: refactor DFlowSuggestionMenu stories to use useReactiveArraySer…
nicosammito Aug 27, 2025
4438677
feat: refactor DFlowViewportFileTabsContent to update scopeLevel type…
nicosammito Aug 27, 2025
76cdfd5
feat: refactor DFlowSuggestion hook to clean up TODO comments for imp…
nicosammito Aug 27, 2025
037f954
feat: enhance DFlowViewportFileTabsContent to integrate value handlin…
nicosammito Aug 27, 2025
3760233
refactor: improve readability in DFlowViewportFileTabs by removing un…
nicosammito Aug 28, 2025
0874ef8
feat: add delay to tab scrolling logic in DFlowViewportFileTabs for s…
nicosammito Aug 28, 2025
46db7c4
feat: enhance defaultValue handling in DFlowViewportFileTabsContent f…
nicosammito Aug 28, 2025
6a47218
feat: enhance parameter value display in DFlowViewportFileTabsContent…
nicosammito Aug 29, 2025
bf25e7f
feat: improve value submission handling in DFlowViewportFileTabsConte…
nicosammito Aug 29, 2025
7d96a82
feat: add disableOnValue logic to DFlowViewportFileTabsContent for co…
nicosammito Aug 29, 2025
f27fa4b
feat: add initial edge connection for first Function-Card in DFlowVie…
nicosammito Aug 29, 2025
9f2ef94
feat: rename DFlowViewportFileTabsContent to DFlowViewportDefaultTabC…
nicosammito Aug 29, 2025
85f86b5
feat: rename DFlowViewportFileTabs to DFlowViewportTabs for consistency
nicosammito Aug 29, 2025
d73af7c
feat: set modal prop to false for Menu in DFlowSuggestionMenu component
nicosammito Aug 31, 2025
36840b3
feat: remove modal prop from Menu component in DFlowSuggestionMenu
nicosammito Sep 1, 2025
69ddb36
feat: refactor DFlowDataType service to use DataTypeView for improved…
nicosammito Oct 8, 2025
0d0a643
feat: update DFlowSuggestion and related components to use NodeFuncti…
nicosammito Oct 8, 2025
618b3b6
feat: update DFlowSuggestion.test to use FunctionDefinitionView for i…
nicosammito Oct 9, 2025
47deb1f
feat: update DFlowSuggestionMenu to use FunctionDefinitionView for im…
nicosammito Oct 9, 2025
5e50344
remove: old test cases
nicosammito Oct 18, 2025
475f18b
feat: add @code0-tech/sagittarius-graphql-types dependency for enhanc…
nicosammito Oct 18, 2025
292db4a
feat: update SuggestionMenu to use structured data type for suggestions
nicosammito Oct 20, 2025
7de4450
feat: add DNamespaceRuntime.service.ts for namespace runtime management
nicosammito Oct 21, 2025
daa8fc8
feat: add DNamespaceRuntime.view.ts for namespace runtime visualization
nicosammito Oct 21, 2025
a9c05c6
feat: add DOrga.service.ts for organization management
nicosammito Oct 21, 2025
b98f7d8
feat: add DOrga.view.ts for organization management visualization
nicosammito Oct 21, 2025
26b9927
feat: init DProjectCard & DOrganizationCard
mvriu5 Oct 22, 2025
1b28863
feat: add DUserView class for user data representation
nicosammito Oct 22, 2025
0849e39
feat: implement DOrgaReactiveService for organization management
nicosammito Oct 22, 2025
1885d52
feat: add DOrgaView class for organization data representation
nicosammito Oct 22, 2025
162b3aa
feat: remove unused DUserViewQuery definition from DUser.view.ts
nicosammito Oct 22, 2025
585165f
feat: card content & stories
mvriu5 Oct 22, 2025
c24341e
feat: init menu for user/project/organization
mvriu5 Oct 23, 2025
7be224c
feat: contextStore for abstract and non abstract class
mvriu5 Oct 24, 2025
d724755
feat: project/organization cards new logic & style changes
mvriu5 Oct 24, 2025
fff6cda
feat: menu implementation for project/organization/user
mvriu5 Oct 24, 2025
a7caf22
feat: improved responsive styling for cards
mvriu5 Oct 25, 2025
af2da12
feat: menus now extends from menuprops instead of code0component
mvriu5 Oct 25, 2025
edf9ca2
feat: removed DFlowSuggestionMenu, added Username & Identifier to DUs…
mvriu5 Oct 27, 2025
5c64384
feat: changed DOrganizationCard project display to badge
mvriu5 Oct 27, 2025
913ec92
Merge branch 'feat/#395' of https://github.com/code0-tech/pictor into…
mvriu5 Oct 28, 2025
f4c9fbe
feat: update user session handling and enhance DUserMenu layout
nicosammito Oct 31, 2025
9d291fc
feat: add gap to Badge component for improved layout
nicosammito Nov 1, 2025
8def5dc
feat: enhance DOrganizationCard layout with new icons and buttons
nicosammito Nov 1, 2025
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
3,946 changes: 2,504 additions & 1,442 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,8 @@
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"date-fns": "^4.1.0"
}
}
54 changes: 54 additions & 0 deletions src/components/d-flow/suggestions/DFlowSuggestionMenu.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import {Meta} from "@storybook/react";
import React from "react";
import {DataTypeView} from "../data-type/DFlowDataType.view";
import {FunctionDefinitionView} from "../function/DFlowFunction.view";
import {FlowView} from "../DFlow.view";
import {ContextStoreProvider} from "../../../utils/contextStore";
import {useReactiveArrayService} from "../../../utils/reactiveArrayService";
import {DFlowDataTypeReactiveService} from "../data-type/DFlowDataType.service";
import {DFlowFunctionReactiveService} from "../function/DFlowFunction.service";
import {DFlowReactiveService} from "../DFlow.service";
import {DFlowReactiveSuggestionService} from "./DFlowSuggestion.service";
import {DFlowSuggestion} from "./DFlowSuggestion.view";
import {useSuggestions} from "./DFlowSuggestion.hook";
import TextInput from "../../form/TextInput";
import {DFlowSuggestionMenuFooter} from "./DFlowSuggestionMenuFooter";
import {toInputSuggestions} from "./DFlowSuggestionMenu.util";

export default {
title: "DFlowSuggestionMenuWithInput",
} as Meta

export const Example = () => {

const functionsData: FunctionDefinitionView[] = functionData.map((fd) => new FunctionDefinitionView(fd))

const [dataTypeStore, dataTypeService] = useReactiveArrayService<DataTypeView, DFlowDataTypeReactiveService>(DFlowDataTypeReactiveService)
const [functionStore, functionService] = useReactiveArrayService<FunctionDefinitionView, DFlowFunctionReactiveService>(DFlowFunctionReactiveService, functionsData);
const [flowStore, flowService] = useReactiveArrayService<FlowView, DFlowReactiveService>(DFlowReactiveService, [new FlowView(flow)]);
const [suggestionStore, suggestionService] = useReactiveArrayService<DFlowSuggestion, DFlowReactiveSuggestionService>(DFlowReactiveSuggestionService);

React.useEffect(() => {
dataTypes.forEach(dt => dataTypeService.add(new DataTypeView(dt, dataTypeService)));
}, [dataTypeService])

return <ContextStoreProvider
services={[[dataTypeStore, dataTypeService], [functionStore, functionService], [flowStore, flowService], [suggestionStore, suggestionService]]}>
{React.useMemo(() => <SuggestionMenu/>, [])}
</ContextStoreProvider>
}

const SuggestionMenu = () => {

const result = useSuggestions({dataType: {identifier: "NUMBER"}}, [], "some_database_id", 0, [0])

return <div>
<TextInput title={"Text"}
clearable
transformValue={(value) => <span style={{color: "red"}}>{value}</span>}
suggestionsFooter={<DFlowSuggestionMenuFooter/>}
suggestions={toInputSuggestions(result)}
description={"Type what ever text you like"}
placeholder={"code0.tech"}/>
</div>
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import {Meta, StoryObj} from "@storybook/react";
import React from "react";
import DNamespaceProjectCard from "./DNamespaceProjectCard"
import {ContextStoreProvider} from "../../../utils/contextStore"
import {useReactiveArrayService} from "../../../utils/reactiveArrayService"
import {DNamespaceProjectView} from "./DNamespaceProject.view"
import {DNamespaceProjectReactiveService} from "./DNamespaceProject.service"
import {
NamespacesProjectsAssignRuntimesInput,
NamespacesProjectsCreateInput, NamespacesProjectsDeleteInput
} from "@code0-tech/sagittarius-graphql-types"

const meta: Meta = {
title: "DNamespaceProjectCard",
component: DNamespaceProjectCard
}

export default meta

type DNamespaceProjectCardStory = StoryObj<typeof DNamespaceProjectCard>;

export class DNamespaceProjectReactiveServiceExtended extends DNamespaceProjectReactiveService {
projectAssignRuntimes(payload: NamespacesProjectsAssignRuntimesInput): DNamespaceProjectView | undefined {
throw new Error("Method not implemented.");
}
projectsCreate(payload: NamespacesProjectsCreateInput): DNamespaceProjectView | undefined {
throw new Error("Method not implemented.");
}
projectsDelete(payload: NamespacesProjectsDeleteInput): void {
throw new Error("Method not implemented.");
}

}

export const DNamespaceProjectCardExample: DNamespaceProjectCardStory = {
render: (props) => {

const [projectStore, projectService] = useReactiveArrayService<DNamespaceProjectView, DNamespaceProjectReactiveServiceExtended>(DNamespaceProjectReactiveServiceExtended, [{
id: "gid://sagittarius/NamespaceProject/1",
name: "Example Project",
description: "This is an example project description.",
createdAt: new Date().toString(),
updatedAt: new Date().toString(),
namespace: {
id: "gid://sagittarius/Namespace/1"
},
flow: undefined,
flows: undefined,
primaryRuntime: undefined,
runtimes: undefined
}])

return (
<ContextStoreProvider services={[[projectStore, projectService]]}>
{React.useMemo(() => {
return <DNamespaceProjectCard projectId={"gid://sagittarius/NamespaceProject/1"}/>
}, [])}
</ContextStoreProvider>
)
}
}
52 changes: 52 additions & 0 deletions src/components/d-namespace/project/DNamespaceProjectCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
"use client"

import React from "react"
import {Code0Component} from "../../../utils/types"
import {
NamespacesProjectsAssignRuntimesInput,
NamespacesProjectsCreateInput, NamespacesProjectsDeleteInput,
Scalars
} from "@code0-tech/sagittarius-graphql-types"
import {Card} from "../../../index"
import Text from "../../text/Text"
import {IconBox} from "@tabler/icons-react"
import Row from "../../row/Row"
import Col from "../../col/Col"
import {format} from "date-fns"
import {useService, useStore} from "../../../utils/contextStore"
import {DNamespaceProjectReactiveService} from "./DNamespaceProject.service"
import {DNamespaceProjectView} from "./DNamespaceProject.view"

export interface DNamespaceProjectCardProps extends Code0Component<HTMLDivElement> {
projectId: Scalars['NamespaceProjectID']['output']
}

const DNamespaceProjectCard: React.FC<DNamespaceProjectCardProps> = props => {
const projectStore = useStore(DNamespaceProjectReactiveService)
const projectService = useService(DNamespaceProjectReactiveService)

const project = projectService.findById(props.projectId)

return React.useMemo(() => {
return (
<Card style={{ padding: "16px"}} width={"100%"}>
<Row style={{ alignItems: "center" }}>
<IconBox size={52}/>
<Col style={{minWidth: 0, flex: 1}}>
<Text size={"lg"} hierarchy={"primary"} style={{overflow: "hidden", display: "block", marginBottom: ".25rem", textOverflow: "ellipsis", whiteSpace: "nowrap"}}>
{project?.name}
</Text>
<Text size={"md"} hierarchy={"secondary"} style={{overflow: "hidden", display: "block", marginBottom: ".25rem", textOverflow: "ellipsis", whiteSpace: "nowrap"}}>
{project?.description}
</Text>
<Text size={"sm"} hierarchy={"tertiary"} style={{display: "block", marginTop: ".75rem"}}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use our Badge component to display such information with an additional icon. We can also display to which organization this project belongs over the namespace

Copy link
Contributor Author

@mvriu5 mvriu5 Oct 28, 2025

Choose a reason for hiding this comment

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

Why should i use a Badge here? I'm not using any icon in the shown code lines. The other icon in the ProjectCard is centered in a row against the 3 texts.

Copy link
Contributor

Choose a reason for hiding this comment

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

My idea was to use Badges for information like the updatedAt infos etc. with icons.

{format(new Date(project?.updatedAt ?? ""), "dd/MM/yyyy HH:mm")}
</Text>
</Col>
</Row>
</Card>
)
}, [projectStore])
}

export default DNamespaceProjectCard
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
import {Meta, StoryObj} from "@storybook/react"
import DNamespaceProjectMenu from "./DNamespaceProjectMenu"
import {DNamespaceProjectReactiveService} from "./DNamespaceProject.service"
import {
NamespacesProjectsAssignRuntimesInput,
NamespacesProjectsCreateInput, NamespacesProjectsDeleteInput
} from "@code0-tech/sagittarius-graphql-types"
import {DNamespaceProjectView} from "./DNamespaceProject.view"
import {ContextStoreProvider} from "../../../utils/contextStore"
import React from "react"
import {useReactiveArrayService} from "../../../utils/reactiveArrayService"

const meta: Meta = {
title: "DNamespaceProjectMenu",
component: DNamespaceProjectMenu
}

export default meta

type DNamespaceProjectMenuStory = StoryObj<typeof DNamespaceProjectMenu>;

export class DNamespaceProjectReactiveServiceExtended extends DNamespaceProjectReactiveService {
projectAssignRuntimes(payload: NamespacesProjectsAssignRuntimesInput): DNamespaceProjectView | undefined {
throw new Error("Method not implemented.");
}
projectsCreate(payload: NamespacesProjectsCreateInput): DNamespaceProjectView | undefined {
throw new Error("Method not implemented.");
}
projectsDelete(payload: NamespacesProjectsDeleteInput): void {
throw new Error("Method not implemented.");
}

}

export const DProjectMenuExample: DNamespaceProjectMenuStory = {
render: (props) => {

const [projectStore, projectService] = useReactiveArrayService<DNamespaceProjectView, DNamespaceProjectReactiveServiceExtended>(DNamespaceProjectReactiveServiceExtended, [
{
id: "gid://sagittarius/NamespaceProject/1",
name: "Example Project",
description: "This is an example project description.",
createdAt: new Date().toString(),
updatedAt: new Date().toString(),
namespace: {
id: "gid://sagittarius/Namespace/1"
},
flow: undefined,
flows: undefined,
primaryRuntime: undefined,
runtimes: undefined
},
{
id: "gid://sagittarius/NamespaceProject/2",
name: "Another Project",
description: "This is another project description.",
createdAt: new Date().toString(),
updatedAt: new Date().toString(),
namespace: {
id: "gid://sagittarius/Namespace/1"
},
flow: undefined,
flows: undefined,
primaryRuntime: undefined,
runtimes: undefined
}])

return (
<ContextStoreProvider services={[[projectStore, projectService]]}>
{React.useMemo(() => {
return (
<DNamespaceProjectMenu
projectId={"gid://sagittarius/NamespaceProject/1"}
onProjectSelect={props.onProjectSelect}
/>
)
}, [])}
</ContextStoreProvider>
)
}
}
46 changes: 46 additions & 0 deletions src/components/d-namespace/project/DNamespaceProjectMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
"use client"

import React from "react"
import {Menu, MenuContent, MenuItem, MenuPortal, MenuProps, MenuTrigger} from "../../menu/Menu"
import {DNamespaceProjectView} from "./DNamespaceProject.view"
import {DNamespaceProjectReactiveService} from "./DNamespaceProject.service"
import {useService} from "../../../utils/contextStore"
import {Scalars} from "@code0-tech/sagittarius-graphql-types"
import Button from "../../button/Button"

export interface DNamespaceProjectMenuProps extends MenuProps {
projectId: Scalars['NamespaceProjectID']['output']
onProjectSelect: (payload: DNamespaceProjectView) => void
}

const DNamespaceProjectMenu: React.FC<DNamespaceProjectMenuProps> = props => {
const projectService = useService(DNamespaceProjectReactiveService)
const projectStore = useService(DNamespaceProjectReactiveService)
const currentProject = projectService.findById(props.projectId)

return React.useMemo(() => {
return (
<Menu {...props}>
<MenuTrigger asChild>
<Button variant={"none"} style={{background: "transparent"}}>
{currentProject?.name}
</Button>
</MenuTrigger>
<MenuPortal>
<MenuContent side={"bottom"} align={"start"} sideOffset={0}>
{projectService.values().map((project) => (
<MenuItem
key={project.id}
onSelect={() => props.onProjectSelect(project)}
>
{project.name}
</MenuItem>
))}
</MenuContent>
</MenuPortal>
</Menu>
)
}, [projectStore])
}

export default DNamespaceProjectMenu
Empty file.
Empty file.
56 changes: 56 additions & 0 deletions src/components/d-organization/DOrganizationCard.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import {Meta, StoryObj} from "@storybook/react"
import React from "react"
import DOrganizationCard from "./DOrganizationCard"
import {ContextStoreProvider} from "../../utils/contextStore"
import {useReactiveArrayService} from "../../utils/reactiveArrayService"
import {DOrganizationView} from "./DOrganizationView"
import {DOrganizationReactiveService} from "./DOrganizationService"
import { OrganizationsCreateInput, OrganizationsDeleteInput, OrganizationsUpdateInput } from "@code0-tech/sagittarius-graphql-types"

const meta: Meta = {
title: "DOrganizationCard",
component: DOrganizationCard
}

export default meta

type DOrganizationCardStory = StoryObj<typeof DOrganizationCard>;

class DOrganizationReactiveServiceExtended extends DOrganizationReactiveService {
organizationCreate(payload: OrganizationsCreateInput): DOrganizationView | undefined {
throw new Error("Method not implemented.");
}
organizationDelete(payload: OrganizationsDeleteInput): void {
throw new Error("Method not implemented.");
}
organizationUpdate(payload: OrganizationsUpdateInput): DOrganizationView | undefined {
throw new Error("Method not implemented.");
}

}

export const DOrganizationCardExample: DOrganizationCardStory = {
render: (props) => {

const [organizationStore, organizationService] = useReactiveArrayService<DOrganizationView, DOrganizationReactiveServiceExtended>(DOrganizationReactiveServiceExtended, [{
id: "gid://sagittarius/Organization/1",
name: "Example Organization",
namespace: {
id: "gid://sagittarius/Namespace/1",
projects: {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not valid here, because the project count is stored in the namespace and not here. You need to fetch the namespace over the NamespaceService

Copy link
Contributor Author

@mvriu5 mvriu5 Oct 28, 2025

Choose a reason for hiding this comment

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

What is the correct way? Im doing the same thing in the component where i get my projectcount like this: const projectCount = organization?.namespace?.projects?.count

count: 5
}
},
createdAt: new Date().toString(),
updatedAt: new Date().toString()
}])

return (
<ContextStoreProvider services={[[organizationStore, organizationService]]}>
{React.useMemo(() => {
return <DOrganizationCard organizationId={"gid://sagittarius/Organization/1"}/>
}, [])}
</ContextStoreProvider>
)
}
}
Loading