Skip to content

docs: update REPL demo GIF with modern JS features#4835

Open
Saksham1o wants to merge 8 commits intoboa-dev:mainfrom
Saksham1o:update-repl-gif
Open

docs: update REPL demo GIF with modern JS features#4835
Saksham1o wants to merge 8 commits intoboa-dev:mainfrom
Saksham1o:update-repl-gif

Conversation

@Saksham1o
Copy link

Description

The existing latestDemo.gif was outdated. This PR replaces it with a new recording that demonstrates modern JavaScript capabilities now supported by the Boa engine, including:

  • Variable declarations (let/const)
  • Arrow functions
  • Function execution and expressions

The recording was made using the latest build to ensure the output reflects the current state of the project.

Changes

  • Updated docs/img/latestDemo.gif

Fixes #2703

@Saksham1o Saksham1o requested a review from a team as a code owner March 3, 2026 10:01
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Test262 conformance changes

Test result main count PR count difference
Total 52,963 52,963 0
Passed 49,713 49,713 0
Ignored 2,262 2,262 0
Failed 988 988 0
Panics 0 0 0
Conformance 93.86% 93.86% 0.00%

Tested main commit: 4b12d2aacb4a3f3a1038334505f736a06c8a22ac
Tested PR commit: c8938f17992f2b1e248e999c67f6f23c5b823d94
Compare commits: 4b12d2a...c8938f1

Copy link
Member

@nekevss nekevss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The size on the GIF should ideally be a bit higher.

Also, with the differing approach. I would recommend looking into something like charmbracelet's VHS

@nekevss nekevss added C-Documentation update documentation Waiting On Author Waiting on PR changes from the author labels Mar 4, 2026
@Saksham1o
Copy link
Author

Thanks for the feedback @nekevss I've re-recorded the demo using VHS with a higher resolution (1400 x 700) and updated the GIF to include modern JS features like arrow functions and array methods. Please take another look!

@Saksham1o Saksham1o requested a review from nekevss March 4, 2026 13:01
@nekevss
Copy link
Member

nekevss commented Mar 5, 2026

Hi! Thanks for looking into this. Could you include the .tape file for the GIF

@Saksham1o
Copy link
Author

Hi, I've also added the demo.tape file used to generate the GIF using VHS. This way the recording can be easily reproduced and updated in the future.

Please let me know if any changes are needed!

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.86%. Comparing base (6ddc2b4) to head (c8938f1).
⚠️ Report is 874 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4835       +/-   ##
===========================================
+ Coverage   47.24%   57.86%   +10.62%     
===========================================
  Files         476      557       +81     
  Lines       46892    61036    +14144     
===========================================
+ Hits        22154    35321    +13167     
- Misses      24738    25715      +977     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Saksham1o
Copy link
Author

Saksham1o commented Mar 8, 2026

Hi! @nekevss I've added the requested .tape file used to generate the GIF and updated the branch with the latest main.
Could you please take another look when you have time?

Thanks!

@jedel1043 jedel1043 added this to the v1.0.0 milestone Mar 16, 2026
@jedel1043 jedel1043 added the A-Enhancement New feature or request label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Enhancement New feature or request C-Documentation update documentation Waiting On Author Waiting on PR changes from the author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the example gif in the README.md file

3 participants