From 59256d3a969eb429e4c641645e726d184ce508d2 Mon Sep 17 00:00:00 2001 From: Kudaligi Amoghavarsha Date: Sun, 24 Nov 2024 07:03:29 +0530 Subject: [PATCH] Feature: Add previous and next buttons for EE PA (#872) * Add next and previous button. * Fix bug * Fix condition. * Fix bubble showing. * Fix navigation using next and previous buttons. * Add disable buttons functions. * Use different variable for cancelling promise. * Fix animation problems and errors. * Fix condition for cursor. * Make the previous and next button invisible when and unclickable in interactive mode. * Add some performance improvements. * Fix page unresponsive * Add spacing. * Draw user icon. * Fix bugs in bubbles. * Use requestAnimationFrame instead of setTimeout. --- .../explorable-explanations/public/index.html | 14 ++ .../src/components/branches.js | 4 +- .../src/components/progressLine.js | 2 +- .../src/lib/ripple-effect.js | 2 +- .../explorable-explanations/src/lib/utils.js | 33 +++++ .../src/modules/auctions.js | 2 +- .../src/modules/bubbles.js | 33 +++-- .../src/modules/join-interest-group.js | 13 +- .../src/modules/timeline.js | 87 ++++++------ .../src/protectedAudience.js | 126 +++++++++++++----- 10 files changed, 216 insertions(+), 100 deletions(-) diff --git a/packages/explorable-explanations/public/index.html b/packages/explorable-explanations/public/index.html index f43598489..ba85bc082 100644 --- a/packages/explorable-explanations/public/index.html +++ b/packages/explorable-explanations/public/index.html @@ -13,6 +13,20 @@
+ +