Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new major version: v24.0.0 #223

Merged
merged 208 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
ae5f472
Prepare release v24.0.0
haschek Jan 16, 2024
46e4973
Use memo on ExtendedCodeEditor in AutoSuggestion to keep it from rese…
andreas-schultz Jul 4, 2024
b1a6ec4
Upgrade to typescript 5.5.3
andreas-schultz Jul 17, 2024
dfda3c5
Update yarn.lock
andreas-schultz Jul 17, 2024
e402bd0
Merge remote-tracking branch 'origin/develop' into feature/supportPat…
haschek Jul 25, 2024
c239761
Merge remote-tracking branch 'origin/develop' into next
haschek Aug 15, 2024
97cb226
Merge branch 'next' into feature/upgradeTypescript
haschek Aug 15, 2024
548d860
Merge tag 'v23.8.0' into develop
haschek Aug 19, 2024
9bb9de5
Merge remote-tracking branch 'origin/develop' into next
haschek Aug 19, 2024
07dfcfb
Merge branch 'next' into feature/upgradeTypescript
haschek Aug 19, 2024
293a277
update changelog
haschek Aug 19, 2024
6ee10ad
Merge pull request #180 from eccenca/feature/upgradeTypescript
haschek Aug 20, 2024
87f0612
feature: added the custom search function for MultiSelect component
mariia-kovsharova Aug 20, 2024
d6aba5b
Merge pull request #186 from eccenca/feature/custom-search-function-C…
haschek Aug 22, 2024
5d846c1
update for next and legacy branch names and document rules
haschek Aug 22, 2024
dc8f5d4
test out new service to test branch names
haschek Aug 22, 2024
c0c2d16
fix worker config, and remove feature prefix for testing purposes
haschek Aug 22, 2024
a96b396
enable feature prefix again
haschek Aug 22, 2024
e3af59d
update actios for documentation tests
haschek Aug 22, 2024
2198d65
update used version of github actions
haschek Aug 22, 2024
89183e6
remove old test branch exception
haschek Aug 22, 2024
79e6c71
upgrade to storybook 8
haschek Aug 22, 2024
d657539
replace deprecated storybook objects
haschek Aug 22, 2024
1c4fc00
upgrade lint-staged
haschek Aug 22, 2024
a8cd460
update babel libs
haschek Aug 22, 2024
09c2493
upgrade jest related libs
haschek Aug 22, 2024
91def5e
upgrade eslint libs
haschek Aug 23, 2024
da81fc9
upgrade types libs
haschek Aug 23, 2024
4c5ee7c
upgrade more dev depenecies to build package
haschek Aug 23, 2024
ae97ed8
upgrade postcss resolution
haschek Aug 23, 2024
ba3d43a
forward blueprintjs libs
haschek Aug 23, 2024
d043903
upgrade dependencies
haschek Aug 23, 2024
00510ec
fix actions for Storybook 8, see https://github.com/storybookjs/story…
haschek Aug 26, 2024
1963cb1
upgrade jest related lib
haschek Aug 26, 2024
86ff250
make usage of compute-scroll-into-view explicit and upgrade usage of it
haschek Aug 26, 2024
bef30cd
update changelog
haschek Aug 26, 2024
9306a00
document new node minimum version
haschek Aug 26, 2024
2a7b379
enable dependabot to create automatic PRs for depenedency updates
haschek Aug 26, 2024
5190d79
fix dependabot config
haschek Aug 26, 2024
b7bd469
Bump chromaui/action from 1 to 11
dependabot[bot] Aug 26, 2024
f558adc
Merge pull request #188 from eccenca/dependabot/github_actions/chroma…
haschek Aug 26, 2024
3a5b979
run storybook deploayment only for PRs not by Dependabot because secr…
haschek Aug 26, 2024
4393d36
upgrade chromatic to v11, used to deploy storybook
haschek Aug 26, 2024
0f17618
upgrade eslint lib
haschek Aug 26, 2024
80494cd
fix documentation
haschek Aug 27, 2024
884ea42
Merge pull request #187 from eccenca/feature/maintainingDependencies-…
haschek Aug 27, 2024
cbba739
update currently used carbon dependencies
haschek Aug 27, 2024
d6343b5
upgrade react-syntax-highlighter and its types lib
haschek Aug 28, 2024
cefb507
replace @carbon/styles usage by using it indirectly via @carbon/react
haschek Aug 28, 2024
ca5a6c2
replace @carbon/icons-react usage by using it indirectly via @carbon/…
haschek Aug 28, 2024
c9fb36e
replace carbon-components-react dependeny by @carbon/react
haschek Sep 2, 2024
a9e22b3
fix style differences after carbon update
haschek Sep 3, 2024
ffdd636
remove leftovers from older carbon dependencies
haschek Sep 3, 2024
7e218f1
fix type differences after carbon upgrade
haschek Sep 3, 2024
99b5246
fix more type differences after carbon upgrade
haschek Sep 3, 2024
0e5c999
fix more styles
haschek Sep 5, 2024
a6f2b28
Merge pull request #195 from eccenca/feature/upgradeCarbonReact-CMEM-…
haschek Sep 9, 2024
c5c575c
Bump release version to next release candidate 24.0.0-rc.1
haschek Sep 9, 2024
8b4c5d3
all recent copied changes from previous branch
arausly Sep 11, 2024
0f1a610
removed uiw/codemirror pkg and changed extendedCodeeditor
arausly Sep 12, 2024
cfc8857
Add parameter noTogglerContentSuffix to StringPreviewContentBlobToggler
silkservice Sep 16, 2024
0c12379
added temporary flawed jest helpers for codemirror
arausly Sep 16, 2024
b308b04
fix bug with codeEditor onChange
arausly Sep 17, 2024
d8bd305
add basic storybook example and visual test for Applictaion* layout c…
haschek Sep 17, 2024
6b4f357
fix size and color of header action buttons
haschek Sep 17, 2024
8b1638e
add test for dynamic bg color of application header
haschek Sep 17, 2024
7c4867d
update changelog
haschek Sep 17, 2024
4b8e7f3
Merge pull request #202 from eccenca/bugfix/headerActionButtons-CMEM-…
haschek Sep 17, 2024
ebb49f2
Merge remote-tracking branch 'origin/next' into release/v24.0.0
haschek Sep 17, 2024
db300e7
Merge branch 'next' into change/upgradeCodemirrorLibraries
arausly Sep 17, 2024
5e3ee4e
Bump release version to next release candidate 24.0.0-rc.2
haschek Sep 17, 2024
3b66b79
fixed metadata
arausly Sep 19, 2024
719f473
Merge remote-tracking branch 'origin/next' into feature/inlineDocumen…
haschek Sep 23, 2024
8ae7f51
extracted jest inconsistencies from actual code
arausly Sep 23, 2024
f1dbbef
improve markdown rendered links
haschek Sep 24, 2024
3823956
add option to include shortly highlighted spots, e.g. in text blobs
haschek Sep 24, 2024
d1d3d0e
change depictions used for item-copy and item-clone icons
haschek Sep 25, 2024
7d275e8
Merge pull request #203 from eccenca/feature/improveCopyCloneIcons-CM…
andreas-schultz Sep 25, 2024
094e5e2
added lang types export and add story doc back
arausly Sep 25, 2024
5de2573
fixed extended code tests
arausly Sep 26, 2024
d1f1593
removed unused dep
arausly Sep 26, 2024
24f809d
fixed cm mount call test
arausly Sep 26, 2024
d6efc9b
refactors to address comments #1
Oct 2, 2024
df1c137
add flexible layout helper components
haschek Apr 2, 2024
4d4d8be
add user stories for FlexibleLayout* documentation
haschek Apr 9, 2024
4ffdc30
fix default layout and add property for space usage
haschek Apr 9, 2024
c98fa99
update changelog
haschek Oct 2, 2024
76d3624
add emphasis property for LAbel compoentent
haschek Oct 2, 2024
54be223
add singleColumn property to display label and value below each other
haschek Oct 2, 2024
9ef7315
refactored ExtendedCodeEditor to use base gui codemirror
Oct 2, 2024
2fe9927
Merge pull request #209 from eccenca/feature/improvePropertyPair
haschek Oct 7, 2024
ece7da4
Merge remote-tracking branch 'origin/next' into feature/flexibleLayou…
haschek Oct 7, 2024
4466325
change default behaviour for row/column direction and add simple gap …
haschek Oct 7, 2024
8a4ce72
Merge pull request #208 from eccenca/feature/flexibleLayoutHelper
haschek Oct 7, 2024
b08fe34
Merge branch 'next' into feature/inlineDocumentationPointers-CMEM-6044
arausly Oct 9, 2024
6bdcf18
Merge pull request #201 from eccenca/feature/inlineDocumentationPoint…
arausly Oct 9, 2024
b7b9b7c
fixed oultine
arausly Oct 9, 2024
a14d406
Merge remote-tracking branch 'origin/next' into release/v24.0.0
haschek Oct 9, 2024
9573ce8
Bump release version to next release candidate 24.0.0-rc.3
haschek Oct 9, 2024
71e3009
remove deprecated properties from extensions
haschek Oct 9, 2024
d3adade
merged latest next
arausly Oct 14, 2024
e1e3b21
fixed related breaking tests with silk
arausly Oct 21, 2024
4948403
compile error with unused imports resolve
arausly Oct 21, 2024
1b3de9c
fixed visual changes
arausly Oct 21, 2024
f62a048
minor changes
arausly Oct 23, 2024
9e880be
added custom var for code editor background
arausly Oct 23, 2024
c539bd9
fix for broken highlighting
arausly Oct 23, 2024
b9a17fd
removed unused import
arausly Oct 23, 2024
a999c07
remove deprecated properties from components
haschek Oct 23, 2024
2603153
update chnagelog
haschek Oct 23, 2024
260eef5
added fix to prevent ChangeSet Range error
arausly Oct 24, 2024
bfa203f
include overlay provider to prevent warnings in console
haschek Oct 24, 2024
535fde4
fix card header
haschek Oct 24, 2024
a5f39ee
fixed on mount precheck
Oct 25, 2024
bb0ab2a
moved codeeditor scss var to codemirror styles
Oct 25, 2024
ad91542
updated changelog to reflect property changes
Oct 28, 2024
4ef798a
Merge pull request #204 from eccenca/change/upgradeCodemirrorLibraries
haschek Oct 28, 2024
101614d
remove types and interface that have been set as deprecated before
haschek Oct 28, 2024
fc9b722
deprecate old SuggestField interfaces properly
haschek Oct 29, 2024
eef2574
remove derecated interfaces
haschek Oct 29, 2024
57c8332
set all legacy support components as deprecated, they are going to re…
haschek Oct 29, 2024
7285d4c
remove components and functions that have been deprecated before
haschek Oct 29, 2024
13fafdf
update changelog
haschek Oct 29, 2024
34b8941
small patch fix for markText util
arausly Oct 29, 2024
e72807e
minor refactor
arausly Oct 29, 2024
363fcb2
fix tests
haschek Oct 29, 2024
bad39f2
update dependencies
haschek Oct 30, 2024
92de6a6
allow scrollbars as cm6 now uses the default ones
haschek Oct 30, 2024
e67cd94
Merge pull request #213 from eccenca/hotfix/codemiror-markText-util
haschek Oct 30, 2024
70a200b
Merge remote-tracking branch 'origin/next' into feature/removeDepreca…
haschek Oct 30, 2024
be15f4f
Remove deprecated AutoSuggestion export
haschek Nov 4, 2024
05b19aa
update readme by using yalc add instead of yalc link example
haschek Nov 5, 2024
61f184d
Add custom property with default value for multisuggest dropdown max-…
emir89 Nov 5, 2024
07c16c5
Calculate the multisuggest dropdown max-height property when prop is …
emir89 Nov 5, 2024
33a5602
Merge pull request #210 from eccenca/feature/removeDeprecatedParts
haschek Nov 5, 2024
6d11d08
Merge branch 'next' into feature/multisuggest-maxheight-CMEM-5868
haschek Nov 5, 2024
bae20c1
Merge remote-tracking branch 'origin/next' into release/v24.0.0
haschek Nov 5, 2024
dc3bcae
Bump release version to next release candidate 24.0.0-rc.4
haschek Nov 5, 2024
a766e6f
Merge remote-tracking branch 'origin/next' into feature/supportPathAu…
haschek Nov 6, 2024
51c279e
fix code editor classes and styles
haschek Nov 6, 2024
6437534
remove unused imports
haschek Nov 6, 2024
7a87305
adjust color and separation char for breadcrumbs
haschek Nov 7, 2024
ae79a80
Merge pull request #217 from eccenca/feature/updateBreadcrumbsLayout-…
emir89 Nov 7, 2024
89f0e9d
Resolve comments
emir89 Nov 13, 2024
d260fc0
Add tests
emir89 Nov 13, 2024
e15f8d5
Update changelog
emir89 Nov 13, 2024
17a0e19
Merge branch 'next' into feature/multisuggest-maxheight-CMEM-5868
haschek Nov 13, 2024
80f09c9
rename property and improve its description
haschek Nov 13, 2024
048ef68
Merge branch 'next' into feature/supportPathAutoCompletionInEditorsUp…
haschek Nov 13, 2024
c4d974c
fix overlays provider in example story
haschek Nov 13, 2024
9885f99
Merge pull request #216 from eccenca/feature/supportPathAutoCompletio…
haschek Nov 13, 2024
3bf57a6
fix the calculation
haschek Nov 13, 2024
fc8d7f5
Merge branch 'next' into feature/multisuggest-maxheight-CMEM-5868
haschek Nov 13, 2024
abf1040
dix tests
haschek Nov 13, 2024
4edf55b
Merge pull request #215 from eccenca/feature/multisuggest-maxheight-C…
haschek Nov 14, 2024
ba9af96
Merge remote-tracking branch 'origin/next' into release/v24.0.0
haschek Nov 14, 2024
736afd1
upgrade libs related to the chromatic storybook
haschek Nov 14, 2024
61f0d20
improve style highlighted code blocks
haschek Nov 14, 2024
71eae53
upgrade minor libs
haschek Nov 14, 2024
6ffa9b8
Bump release version to next release candidate 24.0.0-rc.5
haschek Nov 14, 2024
c4868e8
Add custom icon for DeleteFilesOperator
robertisele Nov 14, 2024
06c9548
Merge remote-tracking branch 'origin/release/v24.0.0' into release/v2…
robertisele Nov 14, 2024
5643dc5
improve changelog
haschek Nov 14, 2024
0c264fb
add story for HtmlContentBlock
haschek Nov 18, 2024
f2d447c
add htmlContentBlockProps option to Markdown component, allow wrapper…
haschek Nov 18, 2024
5dfac83
add Depiction to reproduce FF apsect-ratio problem
haschek Nov 25, 2024
4b73e54
Add custom icon for "Download file" operator.
robertisele Nov 25, 2024
c6d1ae4
Merge remote-tracking branch 'origin/release/v24.0.0' into release/v2…
robertisele Nov 25, 2024
24bd325
fix type in description
haschek Nov 25, 2024
21f6fb4
fix overflow context in story
haschek Nov 25, 2024
138db0b
remove unnecessary import
haschek Nov 25, 2024
edbb7b6
fix process for opening and closing the handle tools
haschek Nov 26, 2024
16496c3
removed redundant effect
arausly Nov 26, 2024
f026675
remove unused variable
haschek Nov 26, 2024
854746e
update changelog re HandleTools fix
haschek Nov 26, 2024
c6e5710
handled unchanged file check annotations
arausly Nov 26, 2024
275a05f
Merge remote-tracking branch 'origin/release/v24.0.0' into bugfix/key…
haschek Nov 28, 2024
7e41ed7
Merge pull request #221 from eccenca/bugfix/keyStrokeMovingCursorToFi…
haschek Nov 28, 2024
655be78
Merge remote-tracking branch 'origin/release/v24.0.0' into change/rel…
haschek Nov 28, 2024
1401c01
Merge pull request #222 from eccenca/change/releaseBranch24Delta
andreas-schultz Nov 28, 2024
8b94ae5
fix typo
haschek Nov 28, 2024
462b05c
set version resolution for 2 packages to improve security issues
haschek Nov 28, 2024
bdc6063
Remove icon duplication for (custom) task icons
andreas-schultz Dec 2, 2024
d0e6f0f
Merge branch 'release/v24.0.0' into fix/downloadAndWriteZip-CMEM-6093…
andreas-schultz Dec 2, 2024
b93177b
Merge branch 'next' into fix/downloadAndWriteZip-CMEM-6093-CMEM-6108
haschek Dec 2, 2024
3804e08
Add changelog entry
andreas-schultz Dec 2, 2024
f516537
Merge branch 'fix/downloadAndWriteZip-CMEM-6093-CMEM-6108' of https:/…
andreas-schultz Dec 2, 2024
7f8c7e7
Merge pull request #226 from eccenca/fix/downloadAndWriteZip-CMEM-609…
haschek Dec 2, 2024
4ccb242
Merge remote-tracking branch 'origin/next' into release/v24.0.0
haschek Dec 2, 2024
4b08e9a
improve story, make it more explicit what happens
haschek Dec 4, 2024
a46fc3d
display images in overview item depiction fully
haschek Dec 4, 2024
f1ed3c1
add anoter story for a depiction in a averview item
haschek Dec 4, 2024
405caab
fix aspect-ration calculation bug that happens only in Firefox v132+
haschek Dec 4, 2024
521a85d
use same test case for the depiction like before
haschek Dec 4, 2024
72b4e89
Bump release version to next release candidate 24.0.0-rc.6
haschek Dec 4, 2024
9c33568
change text overflow to prevent early ellipsis in Firefox
haschek Dec 5, 2024
85a73b1
Allow to re-init the CodeAutocompleteField
andreas-schultz Dec 6, 2024
522523e
Switch to former solution for initialValue changes in CodeAutoComplet…
andreas-schultz Dec 12, 2024
efff26d
improve hook for dropzone monitoring, make it more stable by removing…
haschek Dec 12, 2024
eb4180e
Merge pull request #229 from eccenca/bugfix/stabilizeDropzoneMonitori…
andreas-schultz Dec 13, 2024
d14507b
pushed fix for breaking editor and rule operators
arausly Dec 14, 2024
2d3e978
removed unused import
arausly Dec 16, 2024
909fa93
Merge branch 'release/v24.0.0' into fix/reInitAutoCompleteField
arausly Dec 16, 2024
7c474eb
Merge pull request #230 from eccenca/bugfix/mt-fix104and98
haschek Dec 16, 2024
9151ffa
Merge branch 'release/v24.0.0' into fix/reInitAutoCompleteField
arausly Dec 16, 2024
e790c59
add code format operation icon
haschek Dec 16, 2024
807b216
improve info about new config var
haschek Dec 16, 2024
04983a7
Merge pull request #227 from eccenca/fix/reInitAutoCompleteField
andreas-schultz Dec 16, 2024
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
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 1 # set 0 to temporarily disable automatic update requests
pull-request-branch-name:
separator: "/"
assignees:
- "haschek"
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
versioning-strategy: increase
open-pull-requests-limit: 3 # set 0 to temporarily disable automatic update requests
pull-request-branch-name:
separator: "/"
assignees:
- "haschek"
9 changes: 5 additions & 4 deletions .github/workflows/deployment-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,20 @@ on:
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
- name: Install dependencies
run: yarn install
- name: Create jest results
run: yarn test:generate-output
- name: Publish to Chromatic
uses: chromaui/action@v1
uses: chromaui/action@v11
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_dispatch:
branches:
- "develop"
- "feature/prepareReleaseForDM-CMEM-4151" # TODO: only for testing, remove it later
inputs:
releasetype:
description: "Type of release"
Expand All @@ -20,10 +19,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@main
- uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
- name: Update package.json with new release candidate version
id: create-version
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
echo "You started it on '${{ steps.branch-name.outputs.current_branch }}'."
exit 1
fi
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Initialize mandatory git config
# @see https://github.community/t/how-do-i-get-gh-username-based-on-actions-events/17882
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- uses: actions/setup-node@v3
- uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
- name: Get version
id: package-version
run: echo "version=$(node -p -e "require('./package.json').version")" >> $GITHUB_OUTPUT
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
sha: ${{ steps.tag-revision.outputs.sha }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Initialize mandatory git config
# @see https://github.community/t/how-do-i-get-gh-username-based-on-actions-events/17882
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- uses: actions/setup-node@v3
- uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
- name: Get version
id: package-version
run: echo "version=$(node -p -e "require('./package.json').version.split('-').shift()")" >> $GITHUB_OUTPUT
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
needs: create-release-version
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
with:
ref: develop
- name: Initialize mandatory git config
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
echo ${{ inputs.ref }}
echo ${{ inputs.sha }}
echo ${{ inputs.sectionChangelog }}
- uses: actions/checkout@v3
- uses: actions/checkout@main
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
registry-url: "https://registry.npmjs.org"
- name: Set name vars
id: info-vars
Expand All @@ -56,7 +56,7 @@ jobs:
# @see https://github.com/chromaui/chromatic-cli/issues/551
if: inputs.sectionChangelog != 'Unreleased'
id: chromatic-upload
uses: chromaui/action@v1
uses: chromaui/action@v11
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.chromaticToken }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
test-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Test using Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@main
with:
node-version: "16"
node-version: "18"
- run: yarn install
- run: yarn compile
- run: yarn compile-scss
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ on:
branches-ignore:
- "develop"
- "main"
- "next"
- "legacy"
pull_request:

jobs:
test-branch-name:
runs-on: ubuntu-latest
steps:
- name: Test branch name
# https://github.com/marketplace/actions/branch-name-rules
uses: deepakputhraya/action-branch-name@master
# https://github.com/marketplace/actions/enforce-branch-name
uses: finleyfamily/action-enforce-branch-name@master
with:
regex: '([a-z])+\/([a-z]).([aA-zZ\.\-\d])+'
allowed_prefixes: "feature,release,fix,bugfix,hotfix,change,temp"
ignore: "main,develop"
min_length: 10
max_length: 100
allowed_prefixes: "feature,release,fix,bugfix,hotfix,change,temp,dependabot"
exclude: "main,develop,next,legacy"
test-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Test existence of important files
# https://github.com/marketplace/actions/file-existence
id: check_files
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@main
with:
files: "package.json, LICENSE, README.md, CHANGELOG.md"
- name: 'Test for "## [Unreleased]" section in changelog'
Expand Down
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
},
},
},
"@storybook/addon-webpack5-compiler-babel",
],
framework: {
name: "@storybook/react-webpack5",
Expand Down
122 changes: 117 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,118 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.

### Migration from v23 to v24

- upgrade Typescript to v5
- upgrade Node to at least v18, see **Changed** section for more info about it
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in **Deprecated** sections of the past changelogs
- `<GridColumn/>`
- `full`: was deprecated and now removed because it always uses full width if it is the only column and does not have any othe size config
- `<Notification/>`
- `fullWidth`: was deprecated and now removed, use `flexWidth` as replacement
- `iconName`: was deprecated and now removed, use `icon` property
- `<Table/>`
- `size`: use only "small", "medium" or "large" as value
- `<Tag/>`
- `emphasized`: was deprecated and now removed, use `minimal=false` plus `emphasis="stronger"` instead
- `IconSized` type: use `CarbonIconType`
- `TimeUnits` type: use `ElapsedDateTimeDisplayUnits`
- `MarkdownParserProps` interface: use `MarkdownProps`
- `elapsedTimeSegmented` function: use `elapsedDateTimeDisplayUtils.elapsedTimeSegmented`
- `simplifiedElapsedTime` function: use `elapsedDateTimeDisplayUtils.simplifiedElapsedTime`

### Added

- `<StringPreviewContentBlobToggler />`:
- `noTogglerContentSuffix`: Allows to add non-string elements at the end of the content if the full description is shown, i.e. no toggler is necessary. This allows to add non-string elements to both the full-view content and the pure string content.
- `<MultiSuggestField />`
- An optional custom search function property has been added, it defines how to filter elements.
- Added a prop `limitHeightOpened` to limit the height of the dropdown by automatically calculating the available height in vh.
- `<FlexibleLayoutContainer />` and `<FlexibleLayoutItem />`
- helper components to create flex layouts for positioning sub elements
- stop misusing `Toolbar*` components to do that (anti pattern)
- `<PropertyValueList />` and `<PropertyValuePair />`
- `singleColumn` property to display label and value below each other
- `<Label />`
- `emphasis` property to control visual appearance of the label text
- basic Storybook example for `<Application* />` components
- `<CodeEditor />`
- `setEditorView` option for compatibility to Codemirror v6
- `supportCodeFolding` optional property to fold code for the supported modes e.g: `xml`, `json`, etc.
- `shouldHighlightActiveLine` optional property to highlight active line where the cursor is currently in.
- `shouldHaveMinimalSetup` optional property that imports codemirror's base minimal configurations.
- `additionalExtensions` optional property for additional extensions to customize the editor further.
- `<Markdown />`
- `htmlContentBlockProps` can now be used to configure the wrapper around the Markdown content
- `$eccgui-selector-text-spot-highlight` SCSS config variable to specify selector that is used to create shortly highlighted spots
- it is highlighted when the selector is also active local anchor target or if it has the `.eccgui-typography--spothighlight` class attached to it

### Fixed

- toggling on/off the `<HandleTools/>` was corrected, they kept displayed after re-entering with the cursor
- `<Pagination/>`
- change text overflow for selectors to `clip` because Firefox rendered `ellipsis` a bit too early
- `<ApplicationContainer />`:
- `useDropzoneMonitor` helper hook process was improved so that less events are processed and the dropzone monitoring is more stable

### Changed

- GUI elements library needs node 18 or an higher version because dependencies were upgraded
- you may run into problems if you try it with Node v16 or v17, or Webpack v4, mainly because of a Node bugfix regarding the OpenSSL provider
- if you cannot upgrade your dependencies then you could workaround that by patching the `crypto` package or using Node with `--openssl-legacy-provider` option
- see https://github.com/webpack/webpack/issues/14532 and https://stackoverflow.com/questions/69692842/ for more info and possible solutions
- upgrade to `@carbon/react` package
- almost all Carbon related packages were replaced by using only `@carbon/react`
- some component interfaces partly lack documentation in our Storybook because their base interfaces from `@carbon/react` are currently not exported: `AccordionItemProps`, `ApplicationHeaderProps`, `ApplicationToolbarProps`, `ApplicationToolbarActionProps`, `ApplicationToolbarPanelProps`, `CarbonIconType`, `TableCellProps`, `TableExpandRowProps`, `TableProps`
- upgrade to Typescript v5
- your package should be compatible to Typescript 5 patterns
- upgrade to Storybook v8
- include a few patches for actions, see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function
- allow `next` and `legacy` as branch names
- `<CodeEditor />`
- `setInstance` interface changed to `setEditorView` for semantic compatibility to Codemirror v6
- `<BreadcrumbItem/>`
- link color and separation char were adjusted
- `<Markdown/>`
- align blocks for language specific code to default code blocks
- switch icons for `item-clone` and `item-copy` to Carbon's `<Replicate/>` and `<Copy/>`
- Remove duplicated icon names `artefact-customtask*` and only keep `artefact-task*` names.
- `<OverviewItemDepiction/>`
- improve examples in storybook
- improve display for images that are to large for the available space (fully show them)
- `<CodeAutocompleteField />`:
- Add parameter `reInitOnInitialValueChange`, to allow the field to re-initialize if the initial value changes.

### Deprecated

- `<Icon/>` and `<TestIcon/>`
- `description` and `iconTitle`: use `title` as replacement.
- `TableRowHeightSize` type: use `TableProps["size"]` directly
- `IRenderModifiers` interface: use `SuggestFieldItemRendererModifierProps`
- `IElementWidth` type: use `SuggestFieldItemRendererModifierProps["styleWidth"]`
- `MultiSelectSelectionProps` interface: use `MultiSuggestFieldSelectionProps`
- `MultiSelectProps` interface: use `MultiSuggestFieldProps`
- `nodeTypes` and `edgeTypes`
- will be removed without replacement, define it yourself or use `<ReactFlow/` with `configuration` option
- `AutoCompleteFieldProps` and `IAutoCompleteFieldProps` interfaces: use `SuggestFieldProps`
- `<CodeAutocompleteField/>`
- `AutoSuggestionProps`: use `CodeAutocompleteFieldProps` instead
- we renamed `ISuggestionBase`, `ISuggestionWithReplacementInfo`, `IReplacementResult`, `IPartialAutoCompleteResult`, `IValidationResult` to `CodeAutocompleteFieldSuggestionBase`, `CodeAutocompleteFieldSuggestionWithReplacementInfo`, `CodeAutocompleteFieldReplacementResult`, `CodeAutocompleteFieldPartialAutoCompleteResult`, `CodeAutocompleteFieldValidationResult`
- all legacy support components are going to be removed, you need to replace them by activily maintained components
- `<ButtonReplacement/>`: switch to `<Button />`
- `<AffirmativeButtonReplacement/>`: switch to `<Button affirmative />`
- `<DismissiveButtonReplacement/>`: switch to `<Button dismissive />`
- `<DisruptiveButtonReplacement/>`: switch to `<Button disruptive />`
- `<CheckboxReplacement/>`: switch to `<Checkbox />`
- `<RadioButtonReplacement/>`: switch to `<RadioButton />`
- `<TabsReplacement/>`: switch to `<Tabs />`
- `<TextFieldReplacement/>`: switch to `<TextField />`, `<TextArea />`, `<FieldItem />`
- `MultiSuggestField.ofType` method:
- instead of `MyMultiSuggest = MultiSuggestField.ofType<MyType>()` use directly `<MultiSuggestField<MyType> {...props} />`
- `MultiSuggestField.ofType` also returns the original BlueprintJS `MultiSelect` element, not our version!

## [23.8.0] - 2024-08-19

### Added
Expand Down Expand Up @@ -53,7 +165,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Element wraps the content that need to be displayed sticky.
- `utils`
- `getScrollParent`: method to find the scroll parent of an element
- `<AutoCompleteField />`
- `<SuggestField />`
- Support loading more results when scrolling to the end of the result list.
- `<TextArea />`
- `intent` property to set the state, formerly used `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties are now deprecated
Expand Down Expand Up @@ -188,7 +300,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `<ActivityControlWidget />`
- added extra line to show timer for execution period
- `<ExtendedCodeEditor />`
- replaces `<SingleLineCodeEditor />` to get used for the `<AutoSuggestion />` component
- replaces `<SingleLineCodeEditor />` to get used for the `<CodeAutocompleteField />` component
- new icons
- `data-string`, `data-url`, `data-date`, `data-time`, `data-datetime`, `data-number`

Expand Down Expand Up @@ -236,7 +348,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `loose`: can be set to `true` to prevent the box with border on the label component
- `<TableExpandHeader />`
- `toggleIcon`: optional icon that should be displayed instead of the default ones.
- `Utilities`
- `utils`
- `getGlobalVar` and `setGlobalVar`: can be used to manage global variables indepentently from component states. They are stored to the `window` object under a `eccgui` "namespace". Can be used for example to manage globally increased counters. Do not use them if you need to store user session properties or confidential data!
- canonical icons for `artefact-chatlog`, `entity-human`, `entity-robot` and `operation-magic`

Expand Down Expand Up @@ -366,7 +478,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `<WorkspaceHeader />`
- `IWorkspaceHeaderProps` interface is now deprecated, use `WorkspaceHeaderProps` instead
- `<NumericInput />`
- It will be remove because beside the special arrow buttons it does not add any special. Could be done also with `<TextField />` combined with correct `type`.
- It will be removed because beside the special arrow buttons it does not add any special. Could be done also with `<TextField />` combined with correct `type`.
- `<Highlighter />`
- `HighlighterFunctions` renamed to `highlighterUtils`
- `extractSearchWords` moved to `highlighterUtils.extractSearchWords`
Expand All @@ -381,7 +493,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `ReactFlow` extensions
- `NodeProps`: renamed to `NodeDefaultProps`
- `minimapNodeClassName`: moved to `miniMapUtils.nodeClassName`
- `minimapNodeColor`: moved to `miniMapUtils.nodeClassName`
- `minimapNodeColor`: moved to `miniMapUtils.nodeColor`
- `nodeUtils`: renamed to `nodeDefaultUtils`
- `IHandleProps`: renamed to `NodeContentHandleProps`
- `NodeDimensions`: use `NodeContentProps<any>['nodeDimensions']`
Expand Down
Loading
Loading