Skip to content

develop to master#26

Merged
zaewc merged 41 commits intomasterfrom
develop
Dec 26, 2025
Merged

develop to master#26
zaewc merged 41 commits intomasterfrom
develop

Conversation

@zaewc
Copy link
Copy Markdown
Owner

@zaewc zaewc commented Dec 26, 2025

No description provided.

junjuny0227 and others added 30 commits November 24, 2025 14:32
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
zaewc and others added 10 commits December 24, 2025 15:18
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Docs: vitepress로 docs 페이지 제작
@zaewc zaewc self-assigned this Dec 26, 2025
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @976520, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the scrolloop project by establishing a new, interactive documentation portal and integrating crucial Server-Side Rendering support for the React InfiniteList component. These changes aim to improve user experience, boost SEO, and provide a clearer understanding of the library's capabilities. The introduction of new testing frameworks ensures the stability and correctness of these new features and existing core logic.

Highlights

  • Documentation Site: A new documentation site has been set up using VitePress, providing comprehensive guides and interactive demos for the scrolloop library. This includes custom Vue components for hero sections, virtual list visualizations, and animated counters.
  • Server-Side Rendering (SSR) Support: The InfiniteList component in @scrolloop/react now features robust SSR capabilities. This allows for initial rendering of full lists on the server, improving SEO and perceived performance, with a smooth transition to virtualized rendering on the client-side.
  • Enhanced Testing Infrastructure: New Playwright E2E tests and updated Vitest configurations have been introduced to thoroughly test the SSR functionality and core virtualization logic, ensuring reliability and stability across different environments.
  • Core Library Refinements: Minor but important updates were made to the @scrolloop/core package, including optimized VirtualScrollSource notifications and comprehensive test coverage for plugins and the main Virtualizer class.
Ignored Files
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/cd.yml
    • .github/workflows/ci.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Copy Markdown

📊 Test Coverage Report (vitest)

Package Statements Branches Functions Lines
@scrolloop/core 188/188 (100%) 46/46 (100%) 23/23 (100%) 188/188 (100%)
@scrolloop/react 604/950 (63.57%) 112/133 (84.21%) 7/21 (33.33%) 604/950 (63.57%)
@scrolloop/react-native 0/237 (0%) 1/4 (25%) 1/4 (25%) 0/237 (0%)
@scrolloop/shared 0/119 (0%) 1/7 (14.28%) 1/7 (14.28%) 0/119 (0%)

@zaewc zaewc merged commit 99bb685 into master Dec 26, 2025
2 checks passed
@github-actions
Copy link
Copy Markdown

📊 Test Coverage Report (vitest)

Package Statements Branches Functions Lines
@scrolloop/core 188/188 (100%) 46/46 (100%) 23/23 (100%) 188/188 (100%)
@scrolloop/react 604/950 (63.57%) 112/133 (84.21%) 7/21 (33.33%) 604/950 (63.57%)
@scrolloop/react-native 0/237 (0%) 1/4 (25%) 1/4 (25%) 0/237 (0%)
@scrolloop/shared 0/119 (0%) 1/7 (14.28%) 1/7 (14.28%) 0/119 (0%)

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a significant number of changes, primarily focused on adding a documentation website using VitePress and enhancing the testing infrastructure with SSR and E2E tests via Playwright. The new documentation is comprehensive, with dedicated pages for concepts, API usage, and interactive demos. The testing additions are robust, ensuring the library's reliability in server-side rendering environments. Additionally, there are several minor but valuable refactorings and improvements across the core and React packages, such as improving configuration files and code readability. My feedback focuses on a few opportunities to improve code clarity and fix a minor configuration issue.

Comment on lines +43 to +53
animateCountUp(1048596, 2500, (value) => {
millionsCount.value = value;
if (value >= 1048596) {
if (!incrementStarted.value) {
incrementStarted.value = true;
timerId.value = setInterval(() => {
millionsCount.value += Math.floor(Math.random() * 8) + 2;
}, 100);
}
}
});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The logic for starting the setInterval after the animateCountUp animation completes could be made cleaner. Consider refactoring animateCountUp to return a Promise that resolves upon completion. This would allow you to chain the setInterval logic using .then(), improving the separation of concerns and avoiding the need to check the value within the animation callback.

For example:

// Refactored animateCountUp
const animateCountUp = (targetValue, duration, callback) => {
  return new Promise(resolve => {
    // ... animation logic
    if (progress < 1) {
      requestAnimationFrame(animate);
    } else {
      callback(targetValue);
      resolve();
    }
  });
};

// Then in startInitialAnimation
animateCountUp(1048596, 2500, (value) => {
  millionsCount.value = value;
}).then(() => {
  if (!incrementStarted.value) {
    incrementStarted.value = true;
    timerId.value = setInterval(() => {
      millionsCount.value += Math.floor(Math.random() * 8) + 2;
    }, 100);
  }
});

onPageLoad,
onError,
isSSR = false,
isServerSide = false,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The prop isSSR has been renamed to isServerSide. This is a great improvement for clarity and better reflects its purpose in handling server-side rendering scenarios. This change is consistently applied throughout the component and related files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants