• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thoughtspot / visual-embed-sdk
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: pre
DEFAULT BRANCH: main
Repo Added 15 Aug 2023 11:04PM UTC
Files 51
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH SCAL-313306-embedParams-declarative
branch: SCAL-313306-embedParams-declarative
CHANGE BRANCH
x
Reset
  • SCAL-313306-embedParams-declarative
  • 970ActionParam
  • Release-1.29.0
  • SCAL-116040
  • SCAL-116862
  • SCAL-171534
  • SCAL-175350
  • SCAL-178305
  • SCAL-183676-logout-pushkar
  • SCAL-190699-SCAL-197688
  • SCAL-193101
  • SCAL-197688-SCAL-190699-sage-embed
  • SCAL-199988
  • SCAL-201087
  • SCAL-202237
  • SCAL-202996
  • SCAL-204352
  • SCAL-204765
  • SCAL-204862
  • SCAL-205873
  • SCAL-205893
  • SCAL-209159
  • SCAL-209159-l
  • SCAL-209441
  • SCAL-209937
  • SCAL-214843
  • SCAL-214845
  • SCAL-215582
  • SCAL-218168
  • SCAL-218894-sage-split-fullAppEmbed
  • SCAL-221690
  • SCAL-222310
  • SCAL-222364
  • SCAL-223643
  • SCAL-226935
  • SCAL-227728
  • SCAL-227749
  • SCAL-228730
  • SCAL-230365
  • SCAL-232534
  • SCAL-233454-exp
  • SCAL-233969--optimise-info-call
  • SCAL-233969--optimise-info-call--v2
  • SCAL-236431
  • SCAL-237517
  • SCAL-237838
  • SCAL-237954
  • SCAL-239365
  • SCAL-239528
  • SCAL-241849
  • SCAL-244072
  • SCAL-245513
  • SCAL-246312
  • SCAL-249159
  • SCAL-251746
  • SCAL-252103
  • SCAL-252995
  • SCAL-253886
  • SCAL-255099
  • SCAL-256749
  • SCAL-256912
  • SCAL-258312
  • SCAL-258456--org-switcher--info-cache-fix
  • SCAL-259706-payload
  • SCAL-262299
  • SCAL-262671
  • SCAL-262923
  • SCAL-263562
  • SCAL-265064
  • SCAL-265458_vivek
  • SCAL-265809
  • SCAL-266892
  • SCAL-268538
  • SCAL-269016
  • SCAL-269747
  • SCAL-270176
  • SCAL-273450
  • SCAL-274111
  • SCAL-276944
  • SCAL-279300
  • SCAL-281665-css-var
  • SCAL-284088
  • SCAL-284563-fix
  • SCAL-284763
  • SCAL-286360-flag
  • SCAL-286757-2
  • SCAL-286984
  • SCAL-287502
  • SCAL-287664
  • SCAL-287671
  • SCAL-288229
  • SCAL-288254
  • SCAL-288528
  • SCAL-288626
  • SCAL-289371
  • SCAL-290216-1
  • SCAL-290924
  • SCAL-291671
  • SCAL-291789
  • SCAL-295746
  • SCAL-298120
  • SCAL-299515
  • SCAL-302303
  • SCAL-302340
  • SCAL-303326
  • SCAL-303837--enablePbVizDataCaching-flag-support
  • SCAL-306867
  • SCAL-307028
  • SCAL-313693
  • SCAL-314421
  • SCAL-314423
  • SCAL-315058
  • addFilter
  • aditya
  • ask-sage-embed-fix
  • ask-sage-tse
  • cbca
  • cbca-2
  • cbcafix
  • chatdata
  • enable-data-panel-v2-by-default
  • excludeRuntimeFilApp
  • feat/scal-307017-prerender-fullheight
  • feature-control-log
  • fixsql
  • he-fix
  • host-events2
  • jstnm
  • jstnm-fix
  • main
  • main-mourya
  • mcp
  • minor-v-1-40-1
  • param-override
  • param-override-extend
  • param-override-new
  • parameter-override
  • pre
  • preRenderApproach2-Component-2
  • prerender-bug
  • primaryActions
  • release
  • reload
  • remove-alert
  • snyk-fix-fd7496974fdf674aac88226f1704f1e3
  • spaces-in-queries
  • spotter-embed
  • sqlsql
  • token-caching-validation
  • token-coo
  • tokenFail
  • ui-passthrough-event
  • version-bump-1.33.4
  • version-bump-1.43.1
  • versionup
  • viewConfigChanges
  • visibleEmbedCoordinatesFix
  • vizHeight
  • window-undefined

02 Jun 2026 04:42AM UTC coverage: 94.224% (-0.09%) from 94.313%
#3956

Pull #547

yinstardev
SCAL-313306: refactor declarative embedParams building in V1Embed

Replace imperative embedParams construction with declarative pattern to eliminate
mutation chains and improve maintainability. Each embed type now declares
contributions separately, merged once in base class.

Changes:
- Create new embedParams-builder.ts with EmbedParamsContribution interface
- Add getEmbedParamsContributions() method to TsEmbed (returns empty by default)
- Update getDefaultAppInitData() to collect and merge contributions declaratively
- Refactor AppEmbed: replaces getAppInitData() with getEmbedParamsContributions()
- Refactor LiveboardEmbed: replaces getAppInitData() with getEmbedParamsContributions()
- Refactor SearchEmbed: adds getEmbedParamsContributions(), preserves searchOptions in getAppInitData()
- Refactor SpotterEmbed: replaces getAppInitData() with getEmbedParamsContributions()
- Add contribution builders to spotter-utils and spotter-viz-utils
- Keep old builder functions for backward compatibility

Benefits:
- Eliminates spread operator chains causing hidden mutations
- Type-safe embedParams with explicit interface
- Easier to test contributions in isolation
- Cleaner code with single responsibility
- Maintains 100% backward compatibility

Tests: all 1103 tests pass
Pull Request #547: SCAL-313306: refactor declarative embedParams building in V1Embed

2084 of 2337 branches covered (89.17%)

Branch coverage included in aggregate %.

36 of 37 new or added lines in 6 files covered. (97.3%)

54 existing lines in 3 files now uncovered.

3805 of 3913 relevant lines covered (97.24%)

140.98 hits per line

Relevant lines Covered
Build:
Build:
3913 RELEVANT LINES 3805 COVERED LINES
140.98 HITS PER LINE
Source Files on SCAL-313306-embedParams-declarative
  • Tree
  • List 51
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#3956 SCAL-313306-embedParams-declarative SCAL-313306: refactor declarative embedParams building in V1Embed Replace imperative embedParams construction with declarative pattern to eliminate mutation chains and improve maintainability. Each embed type now declares contributions separately... Pull #547 02 Jun 2026 05:14AM UTC yinstardev
94.22
See All Builds (3993)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc