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

#8 Add test coverage for Sonar #2092

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
9108aff
Add test coverage for Sonar
matthoward366 Aug 5, 2024
587bc77
#1872 Use React Testing Library for Toolbar Tests (#1873)
srikant-ch5 Apr 15, 2024
b76f387
More docs changes (#1871)
tomlyn Apr 15, 2024
57b74b7
#1867 Fixed left nav subtabs CSS in tearsheet (#1875)
nmgokhale Apr 16, 2024
811438d
1878 Don't createRoot every time node data changes in SvgCanvasExtern…
tomlyn Apr 17, 2024
90a0156
#1876 'Cannot read properties of null' errors in console using contex…
tomlyn Apr 17, 2024
5dd3935
#1881 Added Layer component at control level (#1882)
nmgokhale Apr 18, 2024
cd23279
#1883 Fix Tooltips Test Harness Top Toolbar icons in v13 (#1885)
srikant-ch5 Apr 18, 2024
d2e2269
#1886 Don't run jest tests while deploying test harness (#1887)
nmgokhale Apr 18, 2024
d4c814d
#1635 use Carbon RadioButtonGroup in RadiosetControl instead of custo…
veenas1 Apr 19, 2024
08ba338
#1888 Enable HTML in Markdown (#1889)
JesusGuerrero Apr 19, 2024
4110337
#1646 Panel accordions are not using the carbon standards (#1648)
srikant-ch5 Apr 22, 2024
13189ca
#1828 Resolve Cypress Test Issues (#1843)
srikant-ch5 Apr 22, 2024
50f9aae
#1891 Enable multiple undo/redo button and panel (#1892)
tomlyn Apr 22, 2024
67592a5
#1893 New common-canvas documentation required (#1894)
tomlyn Apr 22, 2024
358c507
Fix image URLs in docs (#1898)
tomlyn Apr 23, 2024
2b261d0
#1902 Comment text truncated in sample apps and canvas test files (#1…
tomlyn Apr 24, 2024
903b457
#1891 Enable multiple undo/redo button and panel (#1904)
tomlyn Apr 24, 2024
8a0055c
#1912 Fix unit tests after @carbon/react 1.56.0 upgrade (#1913)
nmgokhale Apr 26, 2024
c5e2e66
#1909 New common-canvas documentation required (part 2) (#1910)
tomlyn Apr 26, 2024
007c838
#1915 When publish 12.x versions add a tag to avoid defaulting to `la…
Paul-Kawalkowski Apr 29, 2024
9a8d9a8
#1911 Add a Docs button to the test harness (#1914)
tomlyn Apr 29, 2024
8356bdc
#1893 New common-canvas documentation required - toolbar (#1917)
tomlyn Apr 29, 2024
58a805e
#1900 Use RTL in notification-panel tests (#1901)
srikant-ch5 May 2, 2024
e9e9037
#1893 New common-canvas documentation required - node & comment custo…
tomlyn May 7, 2024
5b7d17a
#1923 Palette node tooltips not working in Tiny App (#1926)
tomlyn May 7, 2024
9de71d6
#1893 New common-canvas documentation required - tidy up, new footer,…
tomlyn May 7, 2024
da85023
#1893 New common-canvas documentation required - supernodes change (#…
tomlyn May 8, 2024
316775c
#1925 Delta Translations (#1924)
Paul-Kawalkowski May 8, 2024
d0593a4
#1893 New common-canvas documentation required - final cleanup (#1934)
tomlyn May 8, 2024
c5b6f97
#1935 Show/Hide password label is not translated in Passwordfield v13…
srikant-ch5 May 9, 2024
8513703
#1945 Fixed multiselect infinite loop after after Carbon v11.57.0 upd…
nmgokhale May 15, 2024
a017fb4
#1919 Scroll Alert into view in Common Properties when clicked on an …
srikant-ch5 May 15, 2024
3fde8b5
#1938 Add GIFs to docs for different selection gestures (#1939)
tomlyn May 15, 2024
90f80e7
#1951 Miscellaneous documentation improvements (#1952)
tomlyn May 15, 2024
2b72f7e
#1941 Fix warning in console in harness right flyout (#1942)
srikant-ch5 May 15, 2024
8253439
#1943 Feature request: Allow categories[0].node_types[0].app_data.ui_…
tomlyn May 15, 2024
1adb2a0
#1943 Feature request: Allow categories[0].node_types[0].app_data.ui_…
tomlyn May 15, 2024
a05b555
1954 Documentation for JSX Icons (#1955)
tomlyn May 16, 2024
7d70d78
#1954 Documentation for JSX Icons - part 2 (#1956)
tomlyn May 16, 2024
d03db1c
#1961 Ensure common-canvas uses for focus color (#1962)
tomlyn May 16, 2024
90a8f4d
#1963 In Elyra Canvas v13.0.0 node labels and decoration labels have …
tomlyn May 17, 2024
d7af40e
#1959 Cascade chevron in context toolbar overflow menu is low for Edi…
tomlyn May 17, 2024
8661802
#1957 Notification Center becomes hidden when zooming with side panel…
tomlyn May 17, 2024
940309d
#1965 The tip config checkboxes in the test harness don't work on v13…
tomlyn May 17, 2024
b735388
#1970 Replace light prop with Layer component in Carbon components (#…
nmgokhale May 21, 2024
cfb0de9
#1968 Canvas background context toolbar should disappear when mouse c…
tomlyn May 21, 2024
d952757
#1949 Code-mirror-replacement text and highlighting doesn't look corr…
veenas1 May 21, 2024
f781581
#1947 Test Harness should support Light and Dark Mode. (#1948)
srikant-ch5 May 21, 2024
212b537
#1974 Errors appear when editing Cypress files (#1975)
tomlyn May 21, 2024
6f475f2
#1977 Select appropriate color tokens for vertical nodes in test harn…
tomlyn May 22, 2024
234580d
#1908 Added table toolbar for properties tables (#1922)
nmgokhale May 23, 2024
64e3776
#1972 Resolve Error message during validations in Common Properties …
srikant-ch5 May 23, 2024
472cb11
#1979 In Safari, error occurs when moving mouse over open edit area (…
tomlyn May 23, 2024
6cc9cf7
#1976 Miscellaneous docs changes (#1983)
tomlyn May 23, 2024
3a29221
#1981 Fixed unable to see tooltip for table headers having checkbox (…
nmgokhale May 23, 2024
1ad7048
#1984 Update readme for @elyra/canvas for NPM documentation (#1985)
nmgokhale May 24, 2024
c5146c7
#1976 Miscellaneous docs changes (#1986)
tomlyn May 25, 2024
d840f4c
#1989 Fix Typo in Elyra docs. (#1990)
srikant-ch5 May 28, 2024
2bec96b
#1991 Cabon React Nodes sample app -- cannot reconnect links from/to …
tomlyn May 28, 2024
60310dd
#1995 deprecation findDOMNode in React.StrictMode prevents edit (#1996)
tomlyn May 29, 2024
1dba1a5
#1993 Removed deprecated formData and inputDataModel code from common…
nmgokhale May 30, 2024
15c6e41
#1997 Apply class to objects being moved by dragging (#1998)
tomlyn May 31, 2024
1dce68d
#1987 Enable option to allow link lines to be drawn over nodes using …
srikant-ch5 Jun 4, 2024
6abd4fd
#1932 Publish v13 Docs using mike (#1967)
srikant-ch5 Jun 5, 2024
6cea728
#2006 Use React Testing Library for icons tests (#2002)
mikieyx Jun 5, 2024
3dca40e
#2003 Open Link in Tooltip in Safari browser. (#2004)
srikant-ch5 Jun 6, 2024
abe64bd
#2008 Node's overflow menu items are unclickable if the page is scrol…
tomlyn Jun 7, 2024
ec36ae2
#2005 Use React Testing Library for context-menu test (#2007)
mikieyx Jun 7, 2024
3e5abda
#2010 Deploy-docs run fails after commit is merged in main branch (#2…
srikant-ch5 Jun 7, 2024
c14be24
#2018 Additional common-properties updates for Carbon 11 (#2019)
caritaou Jun 13, 2024
9468cf1
#2016 Expression Builder Dropdown should change label when switched b…
srikant-ch5 Jun 13, 2024
f5d923c
#2012 Add support for helperText in all Common Properties controls. (…
srikant-ch5 Jun 14, 2024
df90703
#2024 Translations June (#2026)
Paul-Kawalkowski Jun 18, 2024
a360853
#2028 default_value condition not run when setting property values (#…
caritaou Jun 20, 2024
1ea9587
#2033 Support new link line types (#2034)
tomlyn Jun 27, 2024
1fefe04
#2040 Deploy docs without versioning (#2041)
srikant-ch5 Jun 28, 2024
e0b8572
#2014 Use React Testing Library for common-properties tests - pt1 Act…
mikieyx Jun 28, 2024
6ed9134
#2038 Add docs for node port customization (#2039)
tomlyn Jun 29, 2024
58b920c
#2033 Support new link line types (part 2) (#2042)
tomlyn Jun 29, 2024
ba5df2d
#2033 Support new link line types (part 3) (#2043)
tomlyn Jun 29, 2024
a67bb17
#2044 Miscellaneous changes to docs and sample apps (#2045)
tomlyn Jun 30, 2024
c06fb79
#2046 Miscellaneous improvements to sample apps (#2047)
tomlyn Jul 1, 2024
0616984
#2022 Arrange Horizontal does not work when we have a detached link (…
tomlyn Jul 2, 2024
8e387bd
#2051 With Ports link method new links are being drawn like freeform …
tomlyn Jul 3, 2024
c707800
#2057 Downgrade Carbon (#2059)
caritaou Jul 16, 2024
de45c47
#2053 Refactor display comments code to be like display nodes code (#…
tomlyn Jul 17, 2024
21ef41f
#2055 enableStraightLinksAsFreeform set to false by default - should …
tomlyn Jul 17, 2024
0bdf578
Improved visibility of sample apps (#2037)
PRINCESANCHEZ Jul 17, 2024
5c3ccf0
#2030 Add readOnly control in Common Properties (#2032)
srikant-ch5 Jul 18, 2024
df5ea23
#2066 RangeError when editing after validating incorrect expression (…
veenas1 Jul 24, 2024
6eed500
#2062 Checkboxset in Common Properties should support helperText (#2063)
srikant-ch5 Jul 24, 2024
c8050e8
#2064 Enable new Comment type which supports a WYSIWYG editor (#2065)
tomlyn Jul 26, 2024
4147463
#2070 Chevron positioned incorrectly in context menu with icon (#2071)
tomlyn Jul 26, 2024
cada69a
2072 Use of createRoot causing errors with React 17 (#2073)
tomlyn Jul 29, 2024
554f37a
#2068 Change background Color for Dropdown and Table Search in Tearsh…
srikant-ch5 Jul 29, 2024
f84ce5f
#2049 Use React Testing Library for common-properties tests - Part 1 …
mikieyx Jul 29, 2024
5f83ae5
#2060 Open Expression Editor in a Tearsheet. (#2061)
srikant-ch5 Jul 29, 2024
be3409d
#2074 Text toolbar dropdown menus not fully displayed when toolbar ne…
tomlyn Jul 29, 2024
de2d3d0
#2076 Document that a ibm plex scss should be included when building …
tomlyn Jul 30, 2024
f6a53f8
#2064 Fix outline-solid (#2078)
tomlyn Jul 30, 2024
fea54d7
#2079 Add ability to adjust position of context toolbar for links (#2…
tomlyn Jul 31, 2024
abd4be5
#2083 With WYSIWYG comments IBM Plex Condensed font display incorrect…
tomlyn Jul 31, 2024
c1b1de0
#2085 Page crashes when mousing over node while submenu toolbaritem i…
tomlyn Aug 1, 2024
237f8ac
Fix secret
matthoward366 Aug 5, 2024
87a1546
Merge branch 'main' into mhoward-sonar-coverage
matthoward366 Aug 5, 2024
1d64e42
Debugging
matthoward366 Aug 5, 2024
e296bef
Minor fix
matthoward366 Aug 5, 2024
26abc9e
More testing
matthoward366 Aug 5, 2024
1e267e9
Test
matthoward366 Aug 6, 2024
205fb09
More testing
matthoward366 Aug 6, 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
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: Elyra Canvas build
on:
push:
branches: '*'
pull_request:
pull_request_target:
branches: '*'

# Ensure build jobs for a PR are cancelled when a new commit is pushed to the PR
Expand All @@ -39,6 +39,10 @@ jobs:
- run: ./canvas_modules/common-canvas/build.sh
- run: ./canvas_modules/harness/build.sh test
- run: ./canvas_modules/harness/functional_test.sh
- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_VALUE }}

tag:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectKey=elyra-ai_canvas

# relative paths to source directories. More details and properties are described
# in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/
sonar.sources=canvas_modules/common-canvas/src,canvas_modules/common-canvas/utils
sonar.tests=canvas_modules/common-canvas/__tests__
sonar.javascript.lcov.reportPaths=canvas_modules/common-canvas/coverage/lcov.info
sonar.verbose=true