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

source-academy / frontend / 24028587983
41%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 10:37AM UTC
Jobs 1
Files 457
Run time 1min
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

06 Apr 2026 10:35AM UTC coverage: 41.162% (-0.7%) from 41.862%
24028587983

push

github

web-flow
Animation for Clear Dead Frames button (#3726)

* Added the removeDeadFrames feature
Only dead frames disappear as of right now, for function objects and the rest, work to be done

Animations : will be done by Keying!

* Added the functionality for toggle of dead vs ONLY live for
	function closure objects
	Generic Arrow
	Text (recursively automated)
	Arrays and hence pairs as well

* Fix : Removed gaps
Finally processed the logic by recomputing the envTree for the specific step when the toggle is on

* Fix : CI format errors and made it from checkbox -> onClick button!

* Fix : Toggle -> One time cleanup

* Changed from Hide -> Clear and the icon

* WIP logic for Clear Dead Frames animation

Currently, the animations do not play.

Putting these changes into a branch because I want to save these changes so that I can fully rewrite playClearDeadFramesAnim() while having a backup in case my new idea does not work.

* Frames have a shifting animation now

After clicking Clear Dead Frames, frames that get shifted (to close gaps) now have an animation moving from their old position to their new position.

To do:
- animate other objects, not just frames
- possibly cover up the "new frames" before the animation finishes

* "New frames" are covered up

Now you cannot see the new frames before the frame shifting animation finishes.

Test code (for my own easy access):
function foo() {
    function f(x) {
        return y => x + 3;
    }
    return f;
}
foo()(4);
foo()(5);

To do:
- Make frame text (from bindings) move with the frame. This should be implemented with AnimatedTextComponent rather than AnimatedTextbox because there are multiple bindings per frame and the texts are linked to each binding rather than its frame.
- Consider whether the frame's name (text) should move along with the frame.
- Consider whether arrows should be animated (likely not, as the arrows can change shape so it might look weird / be hard to implement).
- Move function objects and a... (continued)

2301 of 6627 branches covered (34.72%)

Branch coverage included in aggregate %.

11 of 235 new or added lines in 10 files covered. (4.68%)

2 existing lines in 2 files now uncovered.

5847 of 13168 relevant lines covered (44.4%)

28.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
148
0.0
src/features/cseMachine/animationComponents/ClearDeadFramesAnimation.tsx
31
0.0
src/features/cseMachine/animationComponents/base/AnimatedFnObject.tsx
21
72.08
-3.69% src/features/cseMachine/CseMachineUtils.ts
11
41.07
-2.0% src/commons/sideContent/content/SideContentCseMachine.tsx
4
76.6
-1.51% src/features/cseMachine/animationComponents/base/AnimationComponents.tsx
3
49.4
-0.3% src/features/cseMachine/CseMachine.tsx
3
15.43
1.61% src/features/cseMachine/CseMachineAnimation.tsx
1
57.73
-0.16% src/features/cseMachine/CseMachineLayout.tsx
1
81.66
-0.77% src/features/cseMachine/components/Frame.tsx
1
45.99
0.09% src/features/cseMachine/components/arrows/GenericArrow.tsx

Coverage Regressions

Lines Coverage ∆ File
1
41.07
-2.0% src/commons/sideContent/content/SideContentCseMachine.tsx
1
49.4
-0.3% src/features/cseMachine/CseMachine.tsx
Jobs
ID Job ID Ran Files Coverage
1 24028587983.1 06 Apr 2026 10:37AM UTC 457
41.16
GitHub Action Run
Source Files on build 24028587983
  • Tree
  • List 457
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ee770d20 on github
  • Prev Build on master (#24028399739)
  • Next Build on master (#24054928265)
  • Delete
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