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

merging files #2

Open
wants to merge 1,017 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1017 commits
Select commit Hold shift + click to select a range
b76a546
scal-155884 and custom style update (#879)
ShashiSubramanya May 12, 2023
45b660e
Create Contributing.md
ashubham May 12, 2023
4bdc577
Typedoc update for 9.2 (#876)
Nirmay15 May 17, 2023
9a63236
SCAL-157042 : Update reload function (#880)
Nirmay15 May 23, 2023
b4f6779
SCAL-135526: Added blockNonEmbedFullAppAccess flag in init (#846)
girish-thoughtspot Jun 1, 2023
ac7c06c
SCAL-159448 : unhide action.DrillDown (#885)
Nirmay15 Jun 8, 2023
c722233
SCAL-158218 : Receive runtime filter params from init event instead o…
Nirmay15 Jun 9, 2023
b220b16
SCAL-151356 Added ExecuteTML as a global method (#884)
adityamittal3107 Jun 13, 2023
b6c7741
export react types
ashubham Jun 15, 2023
097998d
Version bump
ashubham Jun 15, 2023
973a885
fix lint
ashubham Jun 15, 2023
75a119d
Add Global Nav flags for Embed (#890)
utsavkapoor Jun 15, 2023
e0ea6dd
Started passing HostConfig inside embed config (#893)
rishantTS Jun 20, 2023
540a48e
Update Contributing.md (#894)
ashubham Jun 20, 2023
e3326b6
Throw error when browser is offline, and reload when browser comes ba…
Nirmay15 Jun 21, 2023
a98bbfb
dev version for rishant (#895)
Nirmay15 Jun 21, 2023
07b0a17
Added ignore flag for no_cookie_access (#899)
girish-thoughtspot Jun 21, 2023
3917827
Bump loader-utils from 1.4.0 to 1.4.2 (#874)
dependabot[bot] Jun 22, 2023
1851abd
Fix react paths (#900)
ashubham Jun 22, 2023
462e825
Add CSS Vars types (#901)
ashubham Jun 22, 2023
b67d178
block publish (#902)
ashubham Jun 22, 2023
c213387
[1.22.0-alpha.0] Version bump
ashubham Jun 22, 2023
319e84b
add comments to custom css variables
ashubham Jun 22, 2023
8280d80
Export variables
ashubham Jun 22, 2023
487c59b
Add tslib
ashubham Jun 22, 2023
5ca99ce
Fix lint
ashubham Jun 22, 2023
0717077
Add Sage embed (#909)
mouryab Jun 23, 2023
a5e8075
Bump version (#910)
ashubham Jun 23, 2023
014dc1d
Sage component fixes (#912)
ashubham Jun 23, 2023
50d6e14
version bump
ashubham Jun 23, 2023
d1f68d7
Fix autocorrect not working in playground and intermitten issues of 5…
adityamittal3107 Jun 24, 2023
99cf838
SCAL-88353 : Add SetActiveTab Host event (#886)
Nirmay15 Jun 26, 2023
1e9f63f
9 3 0 docs (#872)
ShashiSubramanya Jun 27, 2023
8d73c71
clickable links in left nav (#916)
ShashiSubramanya Jun 27, 2023
da78d7d
update react docs
ashubham Jun 28, 2023
b562a00
SCAL-158980 Added support to show liveboard name and description and …
adityamittal3107 Jul 5, 2023
e46d0af
dev version bump (#922)
Nirmay15 Jul 6, 2023
2a93939
Events and Params added in 9.6 (#921)
Nirmay15 Jul 17, 2023
9964594
SCAL-144867: Liveboard filter events support update (#862)
girish-thoughtspot Jul 21, 2023
ce72335
Update typedocs (#930)
Nirmay15 Jul 24, 2023
14d26d8
updated typedoc changes (#931)
girish-thoughtspot Jul 26, 2023
f24f56e
updated doc (#932)
RijadR Jul 26, 2023
83b081a
SCAL-165297 : Updated css var name (#929)
sastaachar Aug 1, 2023
84b609a
9 4 0 docs (#925)
ShashiSubramanya Aug 2, 2023
24ea290
Added version for sageEmbed (#933)
girish-thoughtspot Aug 2, 2023
53c2e59
Typedoc test (#917)
ShashiSubramanya Aug 2, 2023
5266589
1.23 type doc and version changes (#934)
girish-thoughtspot Aug 2, 2023
f06f432
Added NLS embed events (#937)
adityamittal3107 Aug 3, 2023
1a5d4b6
Sage embed actions and events update (#938)
girish-thoughtspot Aug 3, 2023
276f59c
SCAL-167076 : update static docs (#939)
Nirmay15 Aug 4, 2023
4adf605
Fix spotiq page value (#942)
ashubham Aug 15, 2023
3b4d468
Update .coveralls.yml (#943)
ashubham Aug 15, 2023
3298dc9
Update README.md
ashubham Aug 15, 2023
3a53485
SCAL-166769 : Add datapanelV2 flag (#941)
Nirmay15 Aug 16, 2023
6da5af2
Sage embed enums update (#940)
girish-thoughtspot Aug 16, 2023
0f919b2
Update help text (#944)
adityamittal3107 Aug 16, 2023
c9eb703
Update auth.ts (#946)
ashubham Aug 18, 2023
e78998e
update help text of TML global methods (#945)
adityamittal3107 Aug 21, 2023
d1e7f21
Add check for bundle size in precommit (#947)
Nirmay15 Aug 25, 2023
6a3ecbd
SCAL-169878 SDK tracking (#948)
ashubham Aug 25, 2023
de17015
SCAL-167550 Added new SDK flag for new homepage (#949)
ubaid-ahmed-ts Aug 29, 2023
8ff95de
Bump word-wrap from 1.2.3 to 1.2.5 (#935)
dependabot[bot] Aug 30, 2023
a62ab8f
Bump word-wrap from 1.2.3 to 1.2.4 in /examples/app-with-custom-actio…
dependabot[bot] Aug 30, 2023
e2f2cf0
Bump semver from 6.3.0 to 6.3.1 in /examples/app-with-custom-actions …
dependabot[bot] Aug 30, 2023
c2962f2
Bump tough-cookie in /examples/app-with-custom-actions (#923)
dependabot[bot] Aug 30, 2023
6829a23
Add iframe width to mixpanel event (#950)
ashubham Aug 30, 2023
f5fc91e
Update docs
ashubham Aug 31, 2023
0192a38
update path jsdoc
ashubham Aug 31, 2023
e0bdd4b
SCAL-171601 Expose useLastSelectedSources SDK flag (#952)
Nirmay15 Sep 5, 2023
2f25e2b
SCAL-171892: added missin enum for livebaord actions (#956)
girish-thoughtspot Sep 6, 2023
8c46ff3
SCAL-170725: added embedevent enum for update connection (#957)
girish-thoughtspot Sep 6, 2023
1d1a972
SCAL-171739 TSE custome CSS support for new modular homepage (#955)
ubaid-ahmed-ts Sep 7, 2023
be23b8e
SCAL-171296 Added New SDK flag to control homepageLeftnav (#951)
deepakkumar-thoughtspot Sep 7, 2023
1c4285d
SCAL-153007 Provide Support for hiding leftnav item for TSE (#958)
deepakkumar-thoughtspot Sep 11, 2023
c980a9c
SCAL-171534 Hide homepage modules from TSE (#959)
NVinayK Sep 11, 2023
d5396f8
dev version for growth team bug hunt (#961)
Nirmay15 Sep 11, 2023
5e1a0de
SCAL-173173 Support enum for homepage left nav and homepage modules f…
deepakkumar-thoughtspot Sep 12, 2023
f39ca08
SCAL-173256 fixed pageId for new modular home page (#964)
ubaid-ahmed-ts Sep 12, 2023
a6ef548
SCAL-173284 Support hiding query builder from homepage left nav (#965)
deepakkumar-thoughtspot Sep 12, 2023
0fc5280
SCAL-173226 additional pendo key support (#963)
ashubham Sep 13, 2023
1731cce
dev version bump (#968)
Nirmay15 Sep 13, 2023
695190d
dev version alpha 6 (#970)
Nirmay15 Sep 13, 2023
c67581a
Added embedevent enum for createWorksheet (#969)
girish-thoughtspot Sep 13, 2023
078f7b7
hidden filter events (#967)
girish-thoughtspot Sep 14, 2023
2f59029
SCAL-173118 : Support for PersonalisedViews (#971)
sastaachar Sep 14, 2023
1c05b01
Run parameter override (#973)
RijadR Sep 14, 2023
458d1e8
SCAL-173805 : runtime filters should not be sent when excludeRuntimeF…
Nirmay15 Sep 15, 2023
aa97465
adding run time parameter override (#972)
RijadR Sep 15, 2023
0dcc64b
Updated version and typedocs (#975)
girish-thoughtspot Sep 15, 2023
5dffa19
Create CODEOWNERS
ashubham Sep 21, 2023
9ff6f5b
SCAL-162327 Support re-ordering of the home page modules through TSE …
NVinayK Oct 3, 2023
56e9209
Send host app url with sdk events (#984)
ashubham Oct 3, 2023
bee86b9
SCAL-174380 Show Underlying data (#983)
ashubham Oct 3, 2023
788dfb4
Version bump
ashubham Oct 3, 2023
5271571
adding pipeline to automate deployment (#982)
RijadR Oct 4, 2023
cf4f4d1
npm version dump (#986)
Nirmay15 Oct 4, 2023
0c126e4
SCAL-176217 Encoded URL params of runtime Filter (#987)
adityamittal3107 Oct 9, 2023
a0214e3
Restricted Lbv2 flags for Liveboard and full app only (#977)
adityamittal3107 Oct 9, 2023
b9adc6a
Encode columnName of runtime Filter (#988)
adityamittal3107 Oct 10, 2023
7f20a83
SCAL-176474 : Added params, tests, action (#991)
Nirmay15 Oct 10, 2023
62ea7e2
SCAL-175644: Remove branding for Sage in Sage embed (#993)
mouryab Oct 11, 2023
bed5a24
scal-175618-fix (#994)
ShashiSubramanya Oct 12, 2023
a687118
version label fixes (#995)
ShashiSubramanya Oct 12, 2023
e0f14fd
hideCsvHeader fetchCSVBlob (#998)
ashubham Oct 23, 2023
143da47
Update README.md
ashubham Oct 23, 2023
5392049
updated runtime param (#999)
RijadR Oct 25, 2023
10853a1
PreRender Full Support
sastaachar Oct 29, 2023
8fb06e6
SCAL-175350 : Adding validation for token for cookieless (#1000)
sastaachar Oct 31, 2023
7a3134a
Fix custom calendar for underlying data (#1006)
ashubham Nov 1, 2023
1759714
Update package.json
ashubham Nov 1, 2023
139fb21
Update jsdoc
ashubham Nov 1, 2023
7d48fd1
SCAL-179571 Add TSE Action to hide the Verified Liveboard banner (#1002)
tsayyappa Nov 2, 2023
fcfcd3c
SCAL-173330 getAnswerService method on all embed types. (#1007)
ashubham Nov 3, 2023
ad56933
SCAL-179975 Added Examples of executeTML and exportTML (#1009)
adityamittal3107 Nov 6, 2023
fc49e74
Bump alpha version
ashubham Nov 6, 2023
e444d13
updated static docs (#1015)
sastaachar Nov 9, 2023
da65fc3
expose getter for fetchCSV blob url (#1019)
ashubham Nov 14, 2023
5f41c63
Bump alpha
ashubham Nov 14, 2023
328dfa8
Added CreateConnection Embed Event (#1020)
adityamittal3107 Nov 15, 2023
d31e488
SDK doc fixes (#1024)
ShashiSubramanya Nov 23, 2023
68af3dc
Draft release (#1026)
tse-developer Nov 29, 2023
1399949
update drill host event docs (#1030)
ashubham Dec 1, 2023
61d17c7
Bump @adobe/css-tools from 4.0.1 to 4.3.2 (#1031)
dependabot[bot] Dec 1, 2023
c7df67a
ISSUE-1022: Updating eslint-plugin-jsdoc dep to ^46.9.0 (#1032)
pushkar100 Dec 1, 2023
51e12a2
Token caching and validation (#1023)
sastaachar Dec 5, 2023
bb2288b
SDK doc updates (#1027)
ShashiSubramanya Dec 7, 2023
99f393a
Add reactShellEnabled Config to Visual Embed SDK (#1035)
utsavkapoor Dec 13, 2023
b9c53ed
SCAL-183676 SCAL-186974 Remove embedded content when token fetch fail…
Nirmay15 Jan 8, 2024
e8eead1
Bump follow-redirects from 1.15.2 to 1.15.4 (#1037)
dependabot[bot] Jan 11, 2024
d1268ff
Bump follow-redirects in /examples/app-with-custom-actions (#1038)
dependabot[bot] Jan 11, 2024
98634a8
SCAL-191317 public iframe src method (#1039)
ashubham Jan 29, 2024
b135bdb
Track embed type (#1041)
ashubham Feb 8, 2024
7a5260a
Update README.md (#1043)
ashubham Feb 12, 2024
3268455
SCAL-193101:address spaces in sage queries (#1044)
mouryab Feb 14, 2024
a53cc7b
Fetch data support in Answers (#1047)
ashubham Feb 14, 2024
ba4dbdd
Ask Sage TSE Support (#1049)
kumar935 Feb 16, 2024
a0586ea
SCAL-188111 : Console log control (#1040)
sastaachar Feb 16, 2024
2033f5b
Added Rename Embed Event (#1052)
adityamittal3107 Feb 19, 2024
d631d19
Rename EmbedEvent (#1053)
adityamittal3107 Feb 19, 2024
af23c5f
Updated docs 1.26.6 (#1054)
sastaachar Feb 19, 2024
a1e4c04
Updated loglevel documentation : 1.26.7 (#1056)
sastaachar Feb 20, 2024
793f41c
Update drilldown doc
ashubham Feb 20, 2024
6380698
Allow full embed to use enableAskSage as well (#1058)
kumar935 Feb 21, 2024
754b2b3
Bump version to 1.27.0-alpha.5 to include ask sage fix (#1059)
kumar935 Feb 22, 2024
2889b86
Update Answer service Docs
ashubham Feb 22, 2024
473f338
Bump ip from 2.0.0 to 2.0.1 (#1057)
dependabot[bot] Feb 23, 2024
c8106bc
Added MixPanel Event for Vercel Integration Completion (#1051)
adityamittal3107 Mar 7, 2024
3a60359
Version Bump (#1064)
adityamittal3107 Mar 11, 2024
886979d
typedoc update
ShashiSubramanya Mar 15, 2024
06e4c14
SCAL-199988 Visual embed SDK changes to add new actions for watchlist…
Mar 20, 2024
488b274
SCAL-200363 SCAL-200365 Disable Mixpanel tracking flag (#1074)
ashubham Mar 21, 2024
d400941
fix version tag
ashubham Mar 21, 2024
3bda7d1
Update embed event doc (#1077)
sastaachar Mar 22, 2024
112c1a1
SCAL-181093 SCAL-200074 : remove enableReactShell, make username opti…
Nirmay15 Mar 26, 2024
bfaf9f1
Exposed tokenized Fetch (#1081)
ashubham Mar 27, 2024
64f77ae
update version info
ashubham Mar 27, 2024
c0d8720
Version bump
ashubham Mar 27, 2024
4472020
Add AI Highlight to Embed Actions (#1087)
loner24x7 Mar 28, 2024
f765c1b
SCAL-178305 : make excludeRuntimeFiltersfromURL true by default, unhi…
Nirmay15 Mar 28, 2024
076bae5
SCAL-200132 : Fix scrolled x and y for preRender (#1073)
sastaachar Mar 28, 2024
ff48693
SCAL-199294 Update the homepage left nav enums & version (#1069)
deepakkumar-thoughtspot Apr 2, 2024
4bb0e61
SCAL-199491 and SCAL-198371 (#1080)
ShashiSubramanya Apr 3, 2024
6988149
SCAL-201773 Render method should return a promise (#1089)
ashubham Apr 4, 2024
6aa3679
Bump express from 4.18.1 to 4.19.2 (#1084)
dependabot[bot] Apr 4, 2024
9bcfaa4
Bump express from 4.18.2 to 4.19.2 in /examples/app-with-custom-actio…
dependabot[bot] Apr 4, 2024
df50f51
Bump webpack-dev-middleware in /examples/app-with-custom-actions (#1078)
dependabot[bot] Apr 4, 2024
7c8ddcb
Bump follow-redirects in /examples/app-with-custom-actions (#1067)
dependabot[bot] Apr 4, 2024
b0078fb
SCAL-202206 Add ResetLiveboardPersonalisedView host event in EmbedSDK…
mnalways Apr 9, 2024
a0a7986
SCAL-202205 Add UpdateCrossFilter host event in EmbedSDK (#1090)
mnalways Apr 9, 2024
51a792b
Update types.ts
ashubham Apr 16, 2024
159cb80
Added missing examples and versions (#1092)
suhel-spot Apr 18, 2024
d13dac4
version update (#1096)
ShashiSubramanya Apr 19, 2024
64e2266
typo fixes
ShashiSubramanya Apr 19, 2024
37f4de0
SCAL-204352 OrganiseFavourites as TSE Action (#1106)
deepakkumar-thoughtspot Apr 23, 2024
1d92910
SCAL-202996 : reset auth token on init (#1103)
sastaachar Apr 23, 2024
082a8ab
SCAL-204765 : excludeRuntimeFiltersfromURL default as false (#1108)
sastaachar Apr 23, 2024
77fdc70
[SCAL-203328] Add action controls for data panel object creation butt…
bishalts2019 Apr 29, 2024
d2fde4e
[SCAL-202237] Add action controls for column and query sets (#1094)
bishalts2019 Apr 30, 2024
f426594
[SCAL-203325] Add collapseSearchBarInitially flag (#1097)
bishalts2019 Apr 30, 2024
5292361
Create a custom action to disable 1) Sync to Slack and 2) Sync to Tea…
jainSanyamTS Apr 30, 2024
e60ac47
Reset cache doc (#1115)
sastaachar May 2, 2024
a65439a
SCAL-181665 : Add parent action for TML (#1105)
Namyalg May 6, 2024
5641012
SCAL-200657 add support for date ,number and currency formatting (#1085)
abey-thomas May 9, 2024
b554481
SCAL-198317 Renaming in SDK (#1095)
yinstardev May 14, 2024
1523be2
Bump up alpha version package.json (#1121)
sastaachar May 16, 2024
96c7b2f
Fixed the full height but in liveboard in multitab (#1119)
suhel-spot May 17, 2024
94a8ff3
SCAL-197688 SCAL-190699: Sage Embed: show pin and save buttons by def…
mouryabalabhadra May 20, 2024
b7d76d8
SCAL-196825 Error Banner Playground for Empty LB value (#1125)
yinstardev May 24, 2024
13534f8
SCAL-209181 Update the Visual Embed SDK to remove the CopyKpiLink act…
May 28, 2024
02fd122
SCAL-209441 added isFullAppEmbed variable to check whether app is ful…
chinmay-ts May 29, 2024
bdf7c4b
Add TSE flag for liveboard breakpoint (#1129)
goutham-sidhardha May 30, 2024
7b2c7ca
[SCAL-206787] Add flag to enable/disable column custom groups (#1123)
bishalts2019 May 30, 2024
8e32ee4
[SCAL-206789] Add option to set default accordion state of defined cu…
bishalts2019 Jun 3, 2024
e2898b8
SDK changes for apple (#1132)
adityamittal3107 Jun 3, 2024
59550ac
Update SDK changes (#1135)
adityamittal3107 Jun 4, 2024
64ae91e
Sdk doc update (#1136)
ShashiSubramanya Jun 6, 2024
2b6bb68
[SCAL-175304] Add CreateLiveboard Action (#1134)
utsavkapoor Jun 6, 2024
f1ffaef
example and description update (#1138)
ShashiSubramanya Jun 7, 2024
b8ca0fd
Update flag to have a better name (#1137)
adityamittal3107 Jun 8, 2024
9b409ea
SCAL-211197, SCAL-208504, and SCAL-210654 fix (#1139)
ShashiSubramanya Jun 12, 2024
0976b79
SCAL-209937 : Adding flag to disable token verification (#1140)
sastaachar Jun 13, 2024
6f95947
Add support for bigInt in runtime filters (#1142)
adityamittal3107 Jun 13, 2024
5248731
Render method should return a promise
ashubham Apr 2, 2024
926fa78
update example in answer service
ashubham Jun 18, 2024
8b3d31f
addfilter in answer service (#1146)
ashubham Jun 21, 2024
2118e01
ver bump
ashubham Jun 21, 2024
a8e5bcd
SCAL-209997 Added Runtime Parameters Host Event and Embed Events (#1149)
adityamittal3107 Jun 25, 2024
256a387
Change HostEvent name from UpdateRuntimeParameters to UpdateParameter…
adityamittal3107 Jun 26, 2024
f544693
Hostevent doc fixes (#1148)
ShashiSubramanya Jun 28, 2024
582c60c
SCAL-213691: Fixed Links in the autogenerated SDK docs that didn’t sh…
tanmypani Jul 3, 2024
25cf51f
example update (#1145)
ShashiSubramanya Jul 3, 2024
de2da8a
hostevent download pdf and get filters text update (#1152)
ShashiSubramanya Jul 3, 2024
6eaafba
Fix prefetch iframe classname (#1154)
ashubham Jul 3, 2024
258ea0c
Add NOT_IN in RuntimeFilterOperation (#1156)
adityamittal3107 Jul 9, 2024
ffc9af8
name+desc to answerService (#1157)
ashubham Jul 10, 2024
de069c7
remove stray console logs
ashubham Jul 10, 2024
359e90f
Use tokenized fetch in answerservice + lint auto fix (#1159)
ashubham Jul 12, 2024
9863b8a
version bump
ashubham Jul 12, 2024
f318283
doc-fixes (#1160)
ShashiSubramanya Jul 12, 2024
5ebdb66
ver bump
ashubham Jul 17, 2024
89450e7
Update tokenizedFetch.ts
ashubham Jul 17, 2024
02a1554
SCAL-205893 : Refactor postlogin services and Session Info (#1118)
sastaachar Jul 22, 2024
6cbb3df
Move Create Liveboard to Actions (#1162)
utsavkapoor Jul 22, 2024
37f8892
SCAL-216850 Update Docs (#1164)
adityamittal3107 Jul 23, 2024
3ec625b
enable v2 shell flag (#1169)
ashubham Jul 23, 2024
b6c0e21
Fix CreateLiveboard (#1170)
utsavkapoor Jul 24, 2024
230ada7
Show preview loader image (#1171)
ashubham Jul 25, 2024
ddc0c9e
Bump ejs from 3.1.8 to 3.1.10 in /examples/app-with-custom-actions (#…
dependabot[bot] Jul 25, 2024
80dcda6
Unhide dataPanelV2 from embed View Config (#1172)
utsavkapoor Jul 25, 2024
f1d0a39
Update README.md
ashubham Jul 25, 2024
4967099
SCAL-216965 Change enum representation to camelCase (#1173)
RohitEdathilTSP Jul 25, 2024
31bb411
Removed FiltersChanged (#1174)
sastaachar Jul 26, 2024
0e1f81c
SCAL-218244 expose isDiscoverable (#1177)
ashubham Jul 31, 2024
49c9970
SCAL-217574 Add flag for removing focus from search bar on init (#1181)
adityamittal3107 Aug 2, 2024
71bf44b
SCAL-168310 : Support for reporting observers (#1163)
sastaachar Aug 8, 2024
91466bf
Example blocks (#1161)
ShashiSubramanya Aug 9, 2024
29d4827
SCAL-219895 - Schedule on Home - Flags (#1185)
goutham-sidhardha Aug 13, 2024
8bb9982
Add fullscreen in allow (#1186)
utsavkapoor Aug 13, 2024
cacfad4
[SCAL-218382] Add collapseDataPanel config same as collapseDataSource…
bishalts2019 Aug 14, 2024
3c5fc44
[SCAL-218381] Change the config name from collapseSearchBarInitially …
bishalts2019 Aug 14, 2024
4f7fc8f
SCAL-219895 - Schedule on Home - update comments (#1187)
goutham-sidhardha Aug 14, 2024
174e938
SCAL-220132 Visual Embed SDK change to add a new Action KPIAnalysisCT…
Aug 14, 2024
3fe2ab5
SCAL-213275 : disableRedirectionLinksInNewTab flag (#1190)
sastaachar Aug 16, 2024
a089795
[SCAL-207141] Enable data panel v2 by default for embed (#1193)
bishalts2019 Aug 17, 2024
97a91bf
SCAL-219625: sage and object search split changes to support TSE full…
mouryabalabhadra Aug 19, 2024
82f3ce9
Update package version (#1194)
bishalts2019 Aug 19, 2024
ffa4d11
Update main.yml to add pkg-pr-new publish (#1195)
sastaachar Aug 19, 2024
574e856
remove mixp from docs (#1201)
adityamittal3107 Aug 22, 2024
1a033df
SCAL-219382 Manage Tag TSE Action Enum (#1200)
deepakkumar-thoughtspot Aug 23, 2024
b9c6631
[SCAL-215364] Add config to enable data panel v2 when only liveboard …
bishalts2019 Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: ajmTWjgPlMcmueSxBUkdlLinSXOre9XdK
4 changes: 4 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GATSBY_ALGOLIA_APP_ID=
GATSBY_ALGOLIA_SEARCH_KEY=
ALGOLIA_ADMIN_KEY=
BUILD_ENV=LOCAL
28 changes: 22 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ module.exports = {
ignorePatterns: ['*.scss', '*.md'],
extends: [
'airbnb-base',
'plugin:prettier/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'plugin:comment-length/recommended',
'plugin:jsdoc/recommended',
],
globals: {
Atomics: 'readonly',
Expand All @@ -28,7 +30,7 @@ module.exports = {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint', 'jsdoc'],
settings: {
'import/extensions': ['.js', '.ts'],
'import/parsers': {
Expand All @@ -44,20 +46,23 @@ module.exports = {
},
},
rules: {
indent: [1, 4, { SwitchCase: 1 }], // Conflict with Prettier
quotes: [2, "single", { "avoidEscape": true }],
'jsx-quotes': [2, 'prefer-single'],
indent: [2, 4, { SwitchCase: 1 }], // Conflict with Prettier
quotes: [2, 'single', { avoidEscape: true }],
'no-tabs': ['error', { allowIndentationTabs: true }],
'jsx-quotes': [2, 'prefer-double'],
'@typescript-eslint/explicit-function-return-type': [0],
'@typescript-eslint/no-explicit-any': [0],
'@typescript-eslint/no-unused-vars': [0],
'import/prefer-default-export': 0,
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['off'],
// do not complain when importing js related files without extension,
// Typescript should handle this.
'import/extensions': [0],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/*.spec.ts'],
devDependencies: ['**/*.spec.{ts,tsx}'],
},
],
'import/no-absolute-path': [0],
Expand All @@ -68,5 +73,16 @@ module.exports = {
'no-continue': 0,
'max-classes-per-file': 0,
'class-methods-use-this': 0,
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-param-reassign': 0,
'comment-length/limit-multi-line-comments': [
'warn',
{
maxLength: 90,
ignoreUrls: true,
},
],
'jsdoc/check-tag-names': 0,
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
static/* linguist-documentation
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '26 1 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
102 changes: 102 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@

name: DeployDocs

# Controls when the action will run. Triggers the workflow on push to main branch
# events but only for the main branch
on:
push:
branches:
# Push events on `main` branch
- main
- '[0-9]+.[0-9]+.[0-9]+'

paths:
- 'static/typedoc/**'
- 'docs/src/**'
- 'gatsby-config.js'

# For manually triggering the build
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "deploy"
deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# ENV variables that will be used
env:
GH_TOKEN: ${{ secrets.GATSBY_PUBLISH_SECRET_KEY }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# extract branch name
- name: Extract branch name
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
id: extract_branch

# Add build env for Prod
- name: Add build Env for Prod
if: ${{ env.BRANCH_NAME == 'release' }}
run: echo "BUILD_ENV=PROD" >> $GITHUB_ENV

# Add build env for Dev/Staging
- name: Add build Env for Dev/Staging
if: ${{ env.BRANCH_NAME == 'main' }}
run: echo "BUILD_ENV=DEV" >> $GITHUB_ENV

# Check the branch is new release versions
- name: Check branch name for release versions
id: check-release-brnch-version
run: |
if [[ ${{ env.BRANCH_NAME }} =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then
echo ::set-output name=match::true
fi

# extract destination dir
- name: Extract destination dir name
id: extract-destination-dir
uses: actions/github-script@v4
env:
BRANCH_NAME: '${{env.BRANCH_NAME}}'
with:
result-encoding: string
script: |
const branch = process.env.BRANCH_NAME
if (branch === 'release') {
return 'release'
}
if (branch === 'main') {
return 'dev'
}
return branch.match(/[0-9]+.[0-9]+/) ? branch.match(/[0-9]+.[0-9]+/).toString() : branch

# Add build env for release versions
- name: Add build Env for Prod
if: steps.check-release-brnch-version.outputs.match == 'true'
run: |
echo "BUILD_ENV=PROD_VERSIONING" >> $GITHUB_ENV
echo "BUILD_DIR=${{steps.extract-destination-dir.outputs.result}}" >> $GITHUB_ENV

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Use NodeJS v12.18.3
- uses: actions/setup-node@v2
with:
node-version: '12.18.3'

# Run npm install
- name: Run npm install
run: npm install

# Deploy on github pages
- name: build
run: npm run build:gatsby

# Deploy on github pages
- name: publish-release-version
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
destination_dir: ./${{ steps.extract-destination-dir.outputs.result }}
103 changes: 56 additions & 47 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,62 @@ name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
push:
branches: [main, release]
pull_request:
branches: [main, release]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Use NodeJS v12.18.3
- uses: actions/setup-node@v2
with:
node-version: '12.18.3'

# Run npm install
- name: Run npm install
run: npm install

# Runs linter
- name: Run linter
run: npm run lint

# Runs tests
- name: Run tests
run: npm test

# Collect coverage report
- uses: 5monkeys/cobertura-action@master
with:
path: coverage/cobertura-coverage.xml
repo_token: ${{ secrets.GITHUB_TOKEN }}
minimum_coverage: 0

# Runs TypeScript compiler
- name: Run TypeScript compiler
run: npm run tsc

# Collect artifacts
- uses: actions/upload-artifact@v2
with:
name: test-coverage
path: coverage/
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Use NodeJS v14.19.0
- uses: actions/setup-node@v2
with:
node-version: '20.16.0'

# Run npm install
- name: Run npm install
run: npm install --legacy-peer-deps

# Runs linter
- name: Run linter
run: npm run lint

# Runs tests
- name: Run tests
run: npm test

# Collect coverage report
- uses: 5monkeys/cobertura-action@master
continue-on-error: true
with:
path: coverage/sdk/cobertura-coverage.xml
repo_token: ${{ secrets.GITHUB_TOKEN }}
minimum_coverage: 0

# Runs TypeScript compiler
- name: Run TypeScript compiler
run: npm run tsc

# Run size check
- name: Run npm check-size
run: npm run check-size

# Collect artifacts
- uses: actions/upload-artifact@v2
with:
name: test-coverage
path: coverage/

# Create new package release
- name: Publish dev package
run: npx pkg-pr-new publish
Loading