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: December 2021 #1308

Merged
merged 270 commits into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
53a6d0e
Feature: History items ttl (#677)
thewahome Sep 14, 2020
4419110
Fix: add fallback texts to placeholder text (#690)
thewahome Sep 14, 2020
7ed34a4
Merge branch 'dev' into task/ui-polish
ElinorW Sep 14, 2020
6673abb
Localize tooltip message
ElinorW Sep 14, 2020
8e74a2e
add render details header function
ElinorW Sep 14, 2020
eee72a4
add tooltip on 'admin consent required' header
ElinorW Sep 14, 2020
44ca29c
remove unnecessary white space
ElinorW Sep 14, 2020
fb53cae
add translate message function
ElinorW Sep 14, 2020
72fee85
add tooltip on permissions panel
ElinorW Sep 14, 2020
e5ae6b2
Task: Add tooltip to 'admin consent required' header(#692)
ElinorW Sep 14, 2020
7aca4fc
Fix: remove unnecessary code snippets tab (#695)
thewahome Sep 16, 2020
01dd5e9
Task: update azure pipeline (#691)
thewahome Sep 16, 2020
76597e3
Task: HandBack of localized GE.jsons (#698)
OfficeGlobal Sep 16, 2020
a4dac37
Task: Reduce padding/spacing on request header (#696)
ElinorW Sep 16, 2020
e9ae01e
Release: sept 2020 (#701)
thewahome Sep 17, 2020
02060e7
Task: removes depracated setConsent method (#703)
thewahome Sep 18, 2020
a597572
Merge branch 'dev' of https://github.com/microsoftgraph/microsoft-gra…
jobala Sep 21, 2020
4fa4734
Merge branch 'master' into dev
thewahome Sep 29, 2020
956ae37
Task: Change adaptive cards message (#704)
ElinorW Oct 5, 2020
61e761f
Telemetry for Graph Explorer usage (#672)
millicentachieng Oct 8, 2020
ca4027c
HB of localized GE.jsons (#727)
OfficeGlobal Oct 8, 2020
c8e998c
Task: display history items ttl message (#733)
thewahome Oct 13, 2020
e3a6474
Fix: create onenote page (#708)
thewahome Oct 13, 2020
4551bd0
Merge branch 'dev' of https://github.com/microsoftgraph/microsoft-gra…
jobala Oct 15, 2020
65bed59
Format code on save and paste
jobala Oct 15, 2020
571ef64
Merge pull request #741 from microsoftgraph/task/code-formatting
jobala Oct 15, 2020
059acb3
Fix: breaking change with the adaptive cards templating library (#735)
ElinorW Oct 15, 2020
9ab8a05
HB of localized GE.jsons (#742)
OfficeGlobal Oct 15, 2020
51cf90f
Release: October 2020 (#748)
thewahome Oct 22, 2020
1a70245
Fix: duplicate aria labels (#752)
ElinorW Nov 9, 2020
105ea48
HB of localized GE.jsons (#757)
OfficeGlobal Nov 11, 2020
b7a82dc
Adding JWT.ms support in the Access Token view (#754)
sebastienlevert Nov 12, 2020
15e79ab
descriptive message after pop-up blocked in browser (#762)
ezkemboi Nov 17, 2020
938d1ac
Fix: focus order (#763)
ElinorW Nov 17, 2020
e0c349a
fix unformatted response preview safari
ezkemboi Nov 17, 2020
aa2028c
Merge branch 'dev' into issue-620
ezkemboi Nov 17, 2020
627c748
HB of localized GE.jsons (#767)
OfficeGlobal Nov 20, 2020
d1be4a1
chore(release): 4.1.11 (#769)
thewahome Nov 20, 2020
49e5e7f
Telemetry: Normalize Query URL and Redact PII (#734)
millicentachieng Nov 24, 2020
6e6c9b5
Merge branch 'dev' into issue-620
ezkemboi Nov 24, 2020
0648f1e
Feature: autocomplete (#480)
thewahome Nov 30, 2020
dd543f9
Localized GE.jsons HB (#776)
OfficeGlobal Dec 3, 2020
3cb2781
Prevent remote dependency and trace information telemetry types from …
millicentachieng Dec 3, 2020
b64a110
Fix: sample query sample body (#775)
thewahome Dec 4, 2020
4aad40d
Fix: stop display of options when fetching suggestions (#778)
thewahome Dec 7, 2020
9b5f5c2
add aria-label (#780)
ElinorW Dec 9, 2020
e0afab3
- adds security policy
baywet Dec 29, 2020
674b0c9
- adds code of conduct
baywet Dec 29, 2020
bc3aaee
Release: December 2020 (#782)
ElinorW Jan 8, 2021
4ea148e
Fix - replaces content-type header by accept to match HTTP and avoid …
baywet Jan 8, 2021
3d78f14
Merge branch 'dev' into feature/security-and-conduct
baywet Jan 11, 2021
2eec3b3
feature: security and conduct (#784)
thewahome Jan 11, 2021
dcefa4b
Fix: modify permissions tab UI (#790)
ElinorW Jan 12, 2021
40964df
Merge branch 'dev' into issue-620
ezkemboi Jan 12, 2021
89121d6
Track errors (#777)
millicentachieng Jan 13, 2021
2cafd8a
HB of localized GE.jsons (#792)
OfficeGlobal Jan 13, 2021
acfbba9
Fix: sanitize url when fetching permissions (#794)
thewahome Jan 14, 2021
07db101
Fix: remove wrongly placed working (#795)
ElinorW Jan 14, 2021
ed6815a
Fix: all permissions show as required (#797)
thewahome Jan 15, 2021
bafdee4
clean up
ezkemboi Jan 15, 2021
61ab5ab
Merge branch 'dev' into issue-620
ezkemboi Jan 15, 2021
9ea1200
Tells user they need to be signed in to use PUT/POST/DELETE/PATCH
jobala Jan 16, 2021
4270349
Use exact package version
jobala Jan 16, 2021
108b727
HB of localized GE.jsons (#799)
OfficeGlobal Jan 18, 2021
8af1165
Merge branch 'dev' into feat/login-to-enable
jobala Jan 18, 2021
388705f
Merge pull request #800 from microsoftgraph/feat/login-to-enable
jobala Jan 18, 2021
d24397a
Merge branch 'dev' into issue-620
jobala Jan 18, 2021
d526e94
Task: autocomplete hover styling (#801)
thewahome Jan 18, 2021
a66e724
Merge branch 'dev' into issue-620
jobala Jan 18, 2021
2f9f0bb
Merge pull request #765 from ezkemboi/issue-620
jobala Jan 18, 2021
dc7e1fd
HB of Localized GE.jsons (#803)
OfficeGlobal Jan 20, 2021
5bf4550
Fix: Enable screen reader confirmation feedback (#802)
ElinorW Jan 20, 2021
18b5106
Migrate to eslint (#627)
Kachulio1 Jan 20, 2021
392b517
Feature: resizable components (#766)
thewahome Jan 20, 2021
0498d39
Fix: add onItemInvoked action (#806)
ElinorW Jan 25, 2021
4dcd85e
Stop using look behind regex
jobala Jan 25, 2021
7c995ca
Merge branch 'dev' into fix/load-ge-safari
jobala Jan 25, 2021
743a0df
fix: permissions consent (#807)
thewahome Jan 25, 2021
1b5bfb8
HB of localized GE.jsons (#804)
OfficeGlobal Jan 25, 2021
b797c71
Merge branch 'dev' into fix/load-ge-safari
jobala Jan 26, 2021
0770800
Merge pull request #808 from microsoftgraph/fix/load-ge-safari
jobala Jan 26, 2021
b8b0807
Task/accessibility ci (#358)
jobala Jan 26, 2021
6f1234f
Fix: prevent resize when view expanded (#816)
thewahome Jan 27, 2021
24f597c
Feature/additional telemetry (#813)
millicentachieng Jan 28, 2021
a2098b9
Fix: permissions tab UI (#815)
ElinorW Jan 29, 2021
13074a4
Fix: shrink request section (#822)
thewahome Jan 29, 2021
dd5468a
Merge branch 'master' into dev
thewahome Feb 1, 2021
4542cbe
HB of localized GE.jsons (#825)
OfficeGlobal Feb 2, 2021
ccd8702
Fix: support different content types (#814)
thewahome Feb 3, 2021
ad0d2e4
Feature: Add Adaptive cards JSON Schema code (#828)
ElinorW Feb 5, 2021
60d8fa1
Feature: samples testing (#833)
MaggieKimani1 Feb 9, 2021
b83a09c
Feature: Adds 'Report an Issue' menu option (#834)
ElinorW Feb 10, 2021
4ab6fe9
Feature: clickable links on message bar (#835)
thewahome Feb 10, 2021
9b102b5
fix: intermittent create page error (#837)
thewahome Feb 10, 2021
5724995
HB of localized GE.jsons (#830)
thewahome Feb 10, 2021
4e14352
Fix: Add 'Maximize sidebar' aria-label (#842)
ElinorW Feb 11, 2021
5f5246e
Task: upgrade technologies (#844)
thewahome Feb 12, 2021
74d0401
Fix: expand maxWidth allow more humanName chars (#764)
ezkemboi Feb 12, 2021
100ddf1
Fix: autocomplete options not displaying (#847)
MaggieKimani1 Feb 12, 2021
933e9bb
fix: adaptive cards destroy (#848)
thewahome Feb 15, 2021
ededbe1
Fix: Graph Explorer link colors (#846)
ElinorW Feb 15, 2021
4022373
Fix: Adaptive cards instrumentation (#849)
ElinorW Feb 16, 2021
d054f35
Fix: adjust column width (#850)
ElinorW Feb 16, 2021
e95bbf1
Task: prevent storing access token (#851)
thewahome Feb 16, 2021
6b576f4
HB of localized GE.jsons (#854)
OfficeGlobal Feb 18, 2021
e43bf41
chore(release): 4.3.0 (#857)
ElinorW Feb 19, 2021
e31cc2c
Fix: rename component name (#859)
ElinorW Feb 19, 2021
e80af0b
Fix: autocomplete-onfocusout (#855)
thewahome Feb 23, 2021
20f6724
Feature: make paging easier (#861)
thewahome Feb 24, 2021
9d705d6
Fix: metadata syntax highlighting (#864)
thewahome Mar 1, 2021
23f08dd
chore(release): 4.4.0 (#874)
thewahome Mar 3, 2021
f225fe4
Fix: Adaptive cards changes (#873)
ElinorW Mar 3, 2021
b5c99a8
Fix: snippets not available (#877)
thewahome Mar 3, 2021
a49bde5
HB of localized GE jsons (#872)
OfficeGlobal Mar 3, 2021
d3b8f67
fix broken json Ge_de-DE file
thewahome Mar 3, 2021
697c2a4
HB of localized GE.jsons (#880)
OfficeGlobal Mar 10, 2021
cb9aeb1
Hotfix: march 2021 (#916)
thewahome Mar 31, 2021
6dffb02
Chore(deps): Bump elliptic from 6.5.3 to 6.5.4 (#917)
dependabot[bot] Mar 31, 2021
c941d8d
Chore(deps): Bump y18n from 3.2.1 to 3.2.2 (#919)
dependabot[bot] Mar 31, 2021
76cefec
Chore(deps): Bump react-dev-utils from 7.0.3 to 11.0.4 (#918)
dependabot[bot] Mar 31, 2021
fe5c842
Fix: Undo 'react-dev-utils' package update (#920)
ElinorW Mar 31, 2021
3fb99df
Track time it takes to get a response from DevX API (#875)
millicentachieng Apr 1, 2021
94bf808
Fix: javascript injection (#925)
thewahome Apr 13, 2021
6f26727
Task: state typings (#921)
thewahome Apr 13, 2021
305ae86
Feature: Enhance 'More actions' icon appearance (#907)
ElinorW Apr 14, 2021
7e42892
Feature: msal upgrade (#883)
thewahome Apr 22, 2021
593e7f6
HB of localized GE.jsons (#936)
OfficeGlobal Apr 29, 2021
5ecaeb5
Task: Add Cred Scan (#937)
ElinorW May 6, 2021
c0fd88b
Merge v4.6.1 (#952)
millicentachieng May 19, 2021
a080b37
Task/telemetry capture English theme names only (#958)
millicentachieng May 20, 2021
916f243
Feature/add telemetry middleware (#961)
millicentachieng May 21, 2021
81a57ae
Capture deployed version of application for all telemetry data collec…
millicentachieng May 24, 2021
81b0bab
Enable autocollection of unhandled exceptions (#963)
millicentachieng May 24, 2021
37a7372
Fix: prevent running empty requests (#972)
thewahome May 31, 2021
59d27a6
HB of Localized GE.jsons (#971)
OfficeGlobal May 31, 2021
c2b2f58
Task: add code-owners (#969)
thewahome Jun 2, 2021
3ae1470
Task: send notification when release is created (#967)
thewahome Jun 2, 2021
e5eca49
Fix: interaction in progress (#976)
thewahome Jun 3, 2021
a7e715e
Feature: Display Graph Explorer Version (#977)
ElinorW Jun 7, 2021
267cf08
HB of Localized GE.json (#980)
OfficeGlobal Jun 7, 2021
df6425b
show delta links when property is present (#978)
thewahome Jun 7, 2021
c57dde6
Fix: mgt story links (#981)
nmetulev Jun 8, 2021
1704e9e
Task: Update README.md for Azure auth steps (#982)
acchiang Jun 8, 2021
dd23224
deactivate version number
thewahome Jun 10, 2021
d9b5b6b
chore(release): 4.9.0
thewahome Jun 16, 2021
d1fb75a
HB of Localized GE.json (#990)
OfficeGlobal Jun 16, 2021
e2f7c37
Fix: Accessibility bugs - June (#991)
ElinorW Jun 16, 2021
1b323b8
Fix: Clear the user's profile on sign out (#1000)
thewahome Jun 17, 2021
f3732f8
Fix: repopulate modify permissions when panel closed (#999)
thewahome Jun 17, 2021
b1eee93
Fix: Accessibility bugs (Jul-Sep) (#1010)
ElinorW Jul 5, 2021
f5d799f
Task: Collect telemetry data for fetching adaptive card templates (#1…
millicentachieng Jul 6, 2021
d0a1e41
Task: Capture telemetry for response headers copy action (#1003)
millicentachieng Jul 6, 2021
678e45e
Task: Add telemetry for Report an Issue Link (#1011)
ElinorW Jul 6, 2021
f50c6f9
Fix: url truncation (#1012)
thewahome Jul 6, 2021
1ce5923
Task: refine url truncation (#1013)
thewahome Jul 6, 2021
d734ae0
Fix: improve themes MessageBar colors (#1015)
acchiang Jul 8, 2021
109491d
Fix: Response Preview truncation (#1017)
ElinorW Jul 9, 2021
88a2018
Feature: Have permissions be filtered (DelegatedWork or DelegatedPers…
lhao03 Jul 12, 2021
adbbc9f
Fix: terminate process on entering multiple slash (#824)
ezkemboi Jul 12, 2021
054f0c5
Task: change sandbox url (#992)
thewahome Jul 15, 2021
b2559a7
chore(release): 4.10.0 (#1022)
thewahome Jul 15, 2021
4cff88c
chore(release): 4.11.0 (#1037)
thewahome Jul 23, 2021
cb12239
Add chat-id & membership-id (#1024)
ayubun Jul 23, 2021
7ffc6b2
Fix query link parsing with trailing '.' (#1033)
ayubun Jul 23, 2021
0db743e
Feature: DetailsList scrollbars only appear onHover (#1023)
acchiang Jul 23, 2021
0dbcdf4
Feature: automatic dark light mode (#1019)
Onokaev Aug 2, 2021
c04c0b5
Task: add translated aria labels (#1040)
acchiang Aug 2, 2021
8538412
Task: remove sandbox api test (#1042)
thewahome Aug 2, 2021
a030a20
Fix: change hover scroll behaviour (#1043)
thewahome Aug 3, 2021
bac480f
Fix: Accessibility bugs - Aug (#1041)
ElinorW Aug 3, 2021
667a68d
Feature: Add Expanding Query Input Field (#1020)
ayubun Aug 3, 2021
c15e248
chore(release): 4.12.0 (#1048)
thewahome Aug 9, 2021
7e51662
HB of localized GE.jsons (#1016)
OfficeGlobal Aug 9, 2021
05070b1
Feature: Highlights the previously selected query (#1006)
gracet9182 Aug 10, 2021
cd33b2c
Task: upgrade packages flagged by dependabot (#1054)
thewahome Aug 12, 2021
eba0f14
Task: Fluent upgrade (#1056)
thewahome Aug 13, 2021
fe79593
HB of localized GE.jsons (#1059)
OfficeGlobal Aug 16, 2021
da30d67
Fix: ProfileType persistence (#1074)
thewahome Aug 27, 2021
ce8439a
Enhancement: error hints (#1060)
Onokaev Aug 27, 2021
4c4c9ff
Bug: Persisting request body (#1055)
gracet9182 Aug 30, 2021
6efe772
Fix: Sample queries UI bugs (#1084)
ElinorW Aug 30, 2021
d708619
Fix: Disable aria-required children rule (#1080)
ElinorW Aug 30, 2021
70179ca
Task: Fix failing profile test (#1086)
thewahome Aug 30, 2021
78aab92
Enhancement: permissions radio buttons change (#1087)
Onokaev Aug 31, 2021
f07a8f1
Task: add English file transfer automation (#1075)
thewahome Aug 31, 2021
4a7b881
chore(release): 4.13.0 (#1101)
thewahome Sep 8, 2021
acaa326
HB of localized GE.jsons (#1094)
OfficeGlobal Sep 8, 2021
9ae78fd
Capture telemetry for Graph Proxy API calls (#1098)
millicentachieng Sep 8, 2021
0920ab5
Capture GE mode for all telemetry items (#1105)
millicentachieng Sep 15, 2021
d617524
Update how we are sanitizing track trace to include more info (#1122)
millicentachieng Sep 16, 2021
5063716
Capture telemetry for graph toolkit example link (#1125)
millicentachieng Sep 16, 2021
9eaa972
chore: handover-translations (#1107)
thewahome Sep 18, 2021
0013d01
Feature: input hints (#1104)
thewahome Sep 21, 2021
23db0db
Enhancement: Make pivots headers responsive (#1121)
Onokaev Sep 21, 2021
4c2eac6
Chore: add linter workflow (#1132)
thewahome Sep 23, 2021
710b65b
Fix: linting errors (#1133)
Onokaev Sep 23, 2021
0acf6fc
Fix: Request headers textfield bug (#1137)
ElinorW Sep 29, 2021
b92a6a0
Fix: Update packages (#1138)
ElinorW Sep 30, 2021
ec1e6a1
Fix: makes query color in the text area black (#1152)
Onokaev Oct 1, 2021
078242c
Fix: CORS workaround to enable downloading of content (#1032)
millicentachieng Oct 12, 2021
0e580e6
Fix: Accessibility error for 'button-name' (#1164)
thewahome Oct 14, 2021
e8f55aa
Fix: move documentation links to the first column (#1158)
Onokaev Oct 18, 2021
36ca6c2
Fix: Add focus on button (#1153)
ElinorW Oct 18, 2021
14e0b2f
Fix: Create user when emailAddress is unavailable (#1165)
Onokaev Oct 25, 2021
476a0ef
Update from https://github.com/microsoftgraph/microsoft-graph-devx-co…
thewahome Oct 26, 2021
a2079f0
Chore: add dependabot configuration (#1188)
baywet Nov 5, 2021
9343088
Fix: try it interaction (#1185)
thewahome Nov 8, 2021
25a3080
Fix: failing nextlink call (#1184)
thewahome Nov 8, 2021
c7b01e9
Fix: request and response height (#1201)
Onokaev Nov 9, 2021
7454b85
Fix: Remove hover functions on history tab (#1204)
ElinorW Nov 11, 2021
1fbd7e0
Feature: Add feedback button and pop-up (#1183)
ElinorW Nov 11, 2021
fd594f7
Task: add description to documentation link (#1203)
thewahome Nov 12, 2021
403b6ed
Chore: translate to German (#1208)
thewahome Nov 12, 2021
97d4a1c
validate index of selected query (#1210)
Onokaev Nov 15, 2021
bb54ebf
Translate to portuguese (#1212)
thewahome Nov 16, 2021
88cce00
Chore: Handover translations (#1213)
thewahome Nov 16, 2021
c633f57
Chore(deps): Bump @babel/eslint-parser from 7.12.13 to 7.16.3 (#1207)
dependabot[bot] Nov 17, 2021
4fa3639
Feature: adds go to the snippet tabs (#1189)
baywet Nov 17, 2021
9dac769
Chore: (Dependabot) Update packages (#1220)
ElinorW Nov 17, 2021
673932e
Fix: Linting errors in snippets (#1233)
thewahome Nov 18, 2021
733239b
Fix: Failure to load on Safari (Mac) (#1222)
thewahome Nov 18, 2021
23dd4cd
Chore(deps): Bump @azure/msal-browser from 2.12.0 to 2.19.0 (#1229)
dependabot[bot] Nov 22, 2021
829e4a7
Revert "Chore(deps): Bump @azure/msal-browser from 2.12.0 to 2.19.0 (…
ElinorW Nov 22, 2021
67c1c8c
chore: handover-translations-202111220430 (#1250)
thewahome Nov 23, 2021
1e2c88c
chore: handover translations 202111211331 (#1249)
thewahome Nov 23, 2021
bc9e9b1
Release: November 2021 (#1254)
ElinorW Nov 23, 2021
40ac5dc
chore: handover translations 202111211330 (#1248)
thewahome Nov 23, 2021
d28ae78
chore: handover translations 202111191330 (#1242)
thewahome Nov 23, 2021
b27e35b
chore: handover translations 202111201030 (#1246)
thewahome Nov 23, 2021
0043012
chore: handover translations 202111202230 (#1247)
thewahome Nov 23, 2021
48e32a9
chore: change the frequency of dependabot updates (#1259)
thewahome Nov 23, 2021
700bc00
Task: add build step to linter workflow (#1267)
thewahome Nov 24, 2021
9858f1a
Task/sonar cloud analysis (#1270)
Onokaev Nov 30, 2021
bbe0449
Fix: November Dependabot updates (#1274)
ElinorW Nov 30, 2021
f2e587d
Fix: Dropdown Accessibility issue (#1275)
ElinorW Nov 30, 2021
c79d4ab
Feature: resource explorer (#1128)
thewahome Nov 30, 2021
a5f36bf
Task: add status message for anonymous queries (#1278)
Onokaev Dec 1, 2021
5e62bd2
fix failing coverage information collection (#1279)
Onokaev Dec 2, 2021
2ddf9c4
Task: Export selected resources to postman collection (#1277)
thewahome Dec 2, 2021
65209d8
fix: restore request section behavior (#1292)
Onokaev Dec 3, 2021
85f8eac
Chore: Handover translations 202112061052 (#1299)
thewahome Dec 6, 2021
cce7df2
Enhancement: Add copy button confirmation (#1291)
ElinorW Dec 6, 2021
79a7b72
Fix selecting query option in autocomplete dropdown causing crash (#…
millicentachieng Dec 7, 2021
d592df8
Fix: return blue dots on supported tabs (#1303)
thewahome Dec 9, 2021
52830c5
Task: Remove resources tab (#1304)
thewahome Dec 9, 2021
aa37578
Fix: Add validation for whitespaces included in a query Url (#1305)
ElinorW Dec 9, 2021
6839e61
Merge branch 'dev' into release/12-2021
Onokaev Dec 9, 2021
9d73453
add augloop file package
Onokaev Dec 9, 2021
70e2ba0
fix augloop package
Onokaev Dec 9, 2021
f12d5a1
chore(release): 4.15.0
Onokaev Dec 9, 2021
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 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ module.exports = {
'no-multiple-empty-lines': 'error',
'no-new-wrappers': 'error',
'quotes': ['error', 'single'],
'no-shadow': [
'no-shadow': 'off',
'@typescript-eslint/no-shadow': [
'warn',
{
hoist: 'all',
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
interval: monthly
open-pull-requests-limit: 10
33 changes: 32 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
name: Lint and Build

on:
push
workflow_dispatch:
push:
branches:
- master
- dev
pull_request:
types: [opened, synchronize, reopened]

env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

jobs:
code-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of results

- name: Install Nodejs
uses: actions/setup-node@v2
Expand All @@ -19,3 +30,23 @@ jobs:

- name: Run linter
run: npm run lint

- name: Run the tests
run: npm test

- name: Build
run: npm run build

- name: Generate test coverage report
run: npm run test -- --coverage --watchAll=false --testResultsProcessor=jest-sonar-reporter

- name: Fix code coverage paths
run: |
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/lcov.info
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' reports/test-report.xml

- name: Run sonar cloud analysis
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# testing
/coverage
/reports

# misc
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"singleQuote": true,
"semi": true,
"jsxSingleQuote":true
"jsxSingleQuote": true,
"trailingComma": "none"
}
21 changes: 11 additions & 10 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
module.exports = {
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.d.ts'],
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
'!**/node_modules/**',
'!build/**',
'!src/**/*.d.ts'
],
resolver: 'jest-pnp-resolver',
setupFiles: ['react-app-polyfill/jsdom'],
setupTestFrameworkScriptFile: '<rootDir>/src/setupTests.ts',
testMatch: [
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}'
],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
globals: {
crypto: require('crypto')
},
testEnvironment: 'jsdom',
testURL: 'http://localhost',
transform: {
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/ts-jest/preprocessor.js',
'^.+\\.(js|jsx|ts|tsx)$': 'ts-jest',
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)':
'<rootDir>/node_modules/ts-jest/preprocessor.js'
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)':'ts-jest'
},
transformIgnorePatterns: [
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$',
Expand All @@ -42,5 +43,5 @@ module.exports = {
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname'
],
testResultsProcessor: './node_modules/jest-junit-reporter'
testResultsProcessor: 'jest-sonar-reporter'
};
Loading