Skip to content
Merged
Show file tree
Hide file tree
Changes from 71 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
44fc51c
include shareMedium in analytics load event if available
00salmon Jul 12, 2024
5046eff
fiddling around with some potential improvements for widget loads
00salmon Nov 6, 2025
4da698d
add initial window height, preload key urls
00salmon Nov 17, 2025
9faa3ea
Merge branch 'master' into widget-load-improvements
00salmon Nov 18, 2025
656b109
Update embed widget to show loading state
zachharrison Nov 26, 2025
3b6bd8e
fix preload
00salmon Dec 3, 2025
82923b1
Merge branch 'widget-load-improvements' of https://github.com/saasqua…
00salmon Dec 3, 2025
b9556d3
Try to get children to load dynamically
zachharrison Dec 5, 2025
bec54b8
Update connected callback for both Popup & Embed widget classes
zachharrison Dec 6, 2025
f3e4bae
Dynamically add & remove html before widget loads and remove undefine…
zachharrison Dec 8, 2025
8f00ca3
Remove dead code
zachharrison Dec 8, 2025
4531e55
Use real loading state in widget
zachharrison Dec 9, 2025
18df64c
Update popup widget connectedCallback
zachharrison Dec 9, 2025
a28981c
Add new instant access loading skeleton type
zachharrison Dec 11, 2025
0de335c
Log widget types and clean up skeleton code
zachharrison Dec 15, 2025
bf4d0ce
Dynamically render different widget skeleton depending on widget type
zachharrison Dec 15, 2025
7d45212
Deploy new version
zachharrison Dec 19, 2025
43f7f4d
Update popup widget styles
zachharrison Dec 19, 2025
34bdb18
Add red background for testing
zachharrison Dec 19, 2025
06dba1a
add preconnects to popup widget, cloudinary preconnect
00salmon Mar 13, 2026
31b9f26
fix bug where autoPopup widgets didn't use brandingConfig
00salmon Mar 13, 2026
a729e57
cleanup + reducing bundle size further
00salmon Mar 16, 2026
80807bc
Potential fix for pull request finding
00salmon Mar 17, 2026
662f3e8
bunch of new specs for QA
00salmon Mar 17, 2026
cacc6e1
Merge branch 'widget-load-improvements' of https://github.com/saasqua…
00salmon Mar 17, 2026
1221a94
more tests
00salmon Mar 17, 2026
b12e987
fixing some old tests and making sure new ones pass
00salmon Mar 17, 2026
f3fd3c6
Merge branch 'master' into widget-load-improvements
00salmon Mar 17, 2026
f3acd7b
Update CHANGELOG.md
00salmon Mar 17, 2026
dfaab5e
ensure bedrock component contents are visible if mint-components is n…
00salmon Mar 17, 2026
2e91a0f
normalize default height
00salmon Mar 18, 2026
55a1646
Potential fix for pull request finding
00salmon Mar 18, 2026
3699398
added types
00salmon Mar 18, 2026
f011ef3
added skeleton to iframe as well to reduce time of blank screen shown…
00salmon Mar 19, 2026
6e67245
some cleanup
00salmon Mar 20, 2026
1840c70
fix popup height issues and bit of extra padding at bottom of popup w…
00salmon Mar 21, 2026
1456d4f
publish pre-release
00salmon Mar 21, 2026
d967eb2
Add a parse error response function to parse the error and correctly …
zachharrison Mar 25, 2026
327cec4
Publish pre release
zachharrison Mar 25, 2026
778f8b9
cleanup
00salmon Mar 26, 2026
ab6f0d1
Load error widget in progress
zachharrison Mar 26, 2026
ab09762
Merge branch 'widget-load-improvements' of github.com:saasquatch/squa…
zachharrison Mar 26, 2026
0da9f0d
fix FOUC on error template
00salmon Mar 26, 2026
acffaea
move css to html directly to prevent FOUC and replace old legacy assets
00salmon Mar 26, 2026
03eedee
clean up console logs
00salmon Mar 26, 2026
36933fe
cleanup large files and dynamically import some content to reduce bun…
00salmon Mar 26, 2026
7f4abbc
more bundle size optimization
00salmon Mar 26, 2026
6252624
address co-pilot review
00salmon Mar 26, 2026
0252547
update tests
00salmon Mar 26, 2026
79c5c58
Update error template an error logs
zachharrison Mar 27, 2026
1ce57ed
copilot review
00salmon Mar 27, 2026
fb9fa94
Update src/widgets/Widget.ts
00salmon Mar 27, 2026
94db4d3
replace console log with debug logger, fix security issue on error page
00salmon Mar 27, 2026
f214370
Merge branch 'widget-load-improvements' of https://github.com/saasqua…
00salmon Mar 27, 2026
b5cd22a
Fixup styling for error page
zachharrison Mar 28, 2026
5a2ef05
Merge branch 'widget-load-improvements' of github.com:saasquatch/squa…
zachharrison Mar 28, 2026
3028294
Update version and keep console.log
zachharrison Mar 28, 2026
99eeb5b
replace staging cloudinary link with a fast link
00salmon Mar 30, 2026
cd9d47b
more cleanup
00salmon Mar 30, 2026
c97c44a
escape background color just in case
00salmon Mar 30, 2026
f9f96de
more copilot review and performance optimization
00salmon Mar 30, 2026
95a411c
replace squatch-js jest with vitest
00salmon Mar 30, 2026
4c375ed
added performance testing tool, cleaning up loading skeleton a bit
00salmon Mar 31, 2026
a5fb76c
added vercel deploy process for the performance comparison
00salmon Mar 31, 2026
178b74a
Merge branch 'analytics-fix' into widget-load-improvements
00salmon Mar 31, 2026
ef97a8d
replace redundant time with network request time
00salmon Mar 31, 2026
1340957
bump changelog date, versions
00salmon Apr 1, 2026
d96735c
Update src/widgets/PopupWidget.ts
00salmon Apr 1, 2026
30fcb8e
Update src/widgets/EmbedWidget.ts
00salmon Apr 1, 2026
23d595a
fix background colour of error template
00salmon Apr 1, 2026
07e9fcb
fast-staging -> fast
00salmon Apr 1, 2026
3f69c73
last copilot update
00salmon Apr 1, 2026
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
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.8.3] - 2026-04-01

### Added

- Preconnect and dns-prefetch resource hints for Cloudinary and Google Fonts to improve widget load performance
- Initial height support from `brandingConfig.loadingHeight` for both embed and popup widgets
- Loading skeleton displayed in declarative widgets while widget content loads

### Changed

- Replaced `debug` npm package with lightweight custom logger (~4-5KB bundle savings)
- Switched from `resize-observer-polyfill` to native `ResizeObserver`
Comment thread
00salmon marked this conversation as resolved.
Resolved
- Enabled esbuild minification in Vite build config

Comment thread
00salmon marked this conversation as resolved.
Resolved
### Fixed

- Fixed `brandingConfig` being undefined for passwordless widgets in `Widgets.render()`
- Fixed popup widget `_createPopupDialog` to accept brandingConfig as parameter

## [2.8.2] - 2026-03-16

### Fixed
Expand Down Expand Up @@ -393,9 +412,10 @@ No release notes.

No release notes.

[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.2...HEAD
[2.8.2]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.2
[2.8.1]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.1
[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.3...HEAD
[2.8.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.2...@saasquatch%2Fsquatch-js@2.8.3
Comment thread
00salmon marked this conversation as resolved.
Resolved
[2.8.2]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.1...@saasquatch%2Fsquatch-js@2.8.2
[2.8.1]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.0...@saasquatch%2Fsquatch-js@2.8.1
Comment on lines +415 to +418
Comment thread
00salmon marked this conversation as resolved.
Resolved
[2.8.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.0
[2.7.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.3...@saasquatch%2Fsquatch-js@2.7.0
[2.6.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.2...@saasquatch%2Fsquatch-js@2.6.3
Expand Down
8 changes: 0 additions & 8 deletions babel.config.js

This file was deleted.

1 change: 0 additions & 1 deletion babelregister.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ require("@babel/register")({
corejs: 2,
},
],
"@babel/plugin-proposal-class-properties",
],
});
3 changes: 2 additions & 1 deletion demo/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
.cache
.cache
perf-deploy/*.html
Loading
Loading