Skip to content

Change/upgraded to react18 CMEM-6639#335

Open
arausly wants to merge 45 commits intodevelopfrom
change/upgradedToReact18-CMEM-6639
Open

Change/upgraded to react18 CMEM-6639#335
arausly wants to merge 45 commits intodevelopfrom
change/upgradedToReact18-CMEM-6639

Conversation

@arausly
Copy link
Copy Markdown
Contributor

@arausly arausly commented Sep 30, 2025

Made refactors to adapt for version 18 and even version 19.

@haschek haschek marked this pull request as draft October 1, 2025 11:47
@haschek haschek changed the base branch from next to develop December 1, 2025 13:03
Comment thread src/cmem/react-flow/configuration/graph.ts
Comment thread src/cmem/react-flow/configuration/linking.ts
Comment thread src/cmem/react-flow/configuration/workflow.ts
Comment thread src/components/Application/ApplicationSidebarNavigation.tsx
: depiction instanceof HTMLElement
? <>{depiction.outerHTML}</>
: depiction}
</span>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why should land a HTMLElement here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is how the depiction parameter has been defined years ago. With the React upgrade this turned into a type error. Can the ImgDepiction and SvgDepiction types be removed?

Comment thread src/components/PropertyValuePair/PropertyValueList.tsx Outdated
Comment thread src/components/PropertyValuePair/PropertyValuePair.tsx Outdated
Comment thread src/extensions/react-flow/edges/EdgeLabel.tsx Outdated
Comment thread src/extensions/react-flow/nodes/NodeContent.tsx Outdated
@haschek haschek marked this pull request as ready for review February 5, 2026 12:30
@haschek haschek closed this Feb 10, 2026
@haschek haschek reopened this Feb 10, 2026
haschek and others added 21 commits February 12, 2026 11:02
    -   `searchListPredicate` property: Allows to filter the complete list of search options at once.
    -   Following optional BlueprintJs properties are forwarded now to override default behaviour: `noResults`, `createNewItemRenderer` and `itemRenderer`
    -   by default, if no searchPredicate or searchListPredicate is defined, the filtering is done via case-insensitive multi-word filtering.
    -   `searchPreficate`: replaced by the, in some cases, more efficient `searchListPredicate`
# Conflicts:
#	src/extensions/codemirror/CodeMirror.tsx
…eDeprecatedGuiComponents-CMEM-4905

# Conflicts:
#	CHANGELOG.md
#	src/cmem/ActivityControl/ActivityControlWidget.tsx
#	src/components/MultiSelect/MultiSelect.tsx
…onents-CMEM-4905

Replace deprecated gui components (CMEM-4905)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants