Skip to content

chore: replace leptos-use crate with leptos-use-interval-fn crate - #535

Merged
LesnyRumcajs merged 1 commit into
mainfrom
akaladarshi/update-leptos
Nov 19, 2026
Merged

LesnyRumcajs merged 1 commit into
mainfrom
akaladarshi/update-leptos

Conversation

@akaladarshi

@akaladarshi akaladarshi commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

Changes introduced in this pull request:

  • In the latest leptos-use release the leptos-use crate is divided into different crate i.e. leptos-use-interval-fn, so we don't need leptose-use anymore.

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code
    adheres to the team's
    documentation standards,
  • I have added tests that prove my fix is effective or that my feature works
    (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes
    should be reflected in this document.

Summary by CodeRabbit

  • Chores
    • Updated an internal dependency. No changes to faucet polling behavior or other user-facing functionality.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project replaces the leptos-use dependency with leptos-use-interval-fn and updates the faucet polling imports. Polling behavior is otherwise unchanged.

Changes: Interval polling dependency update

Layer / File(s) Summary
Update interval polling dependency and imports
Cargo.toml, src/faucet/views/faucets/mod.rs
Cargo.toml now declares leptos-use-interval-fn version 0.20.1. The faucet polling function imports Pausable and use_interval_fn from that crate.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: sudo-shashank

Merge Risk: Minimal · up to 10eee

This updates the interval polling dependency and its imports without changing polling behavior. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the leptos-use dependency is replaced with leptos-use-interval-fn. The raw summary confirms the Cargo.toml swap and the import path update in src/faucet/views/fauc…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the leptos-use dependency is replaced with leptos-use-interval-fn. The raw summary confirms the Cargo.toml swap and the import path update in src/faucet/views/faucets/mod.rs. The title uses the conventional commit prefix chore:, which fits a dependency change. The title is specific and matches the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

Clippy (1.99.1)

Clippy execution failed
Clippy (1.99.1) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 836ca386-af07-482d-b75c-3f0ed04a90e9
Commits

Reviewing files that changed from the base of the PR and between e6da94d and 10eee26.

Files ignored due to path filters: 1

  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 2

  • Cargo.toml
  • src/faucet/views/faucets/mod.rs
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.32%. Comparing base (e6da94d) to head (10eee26).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #535   +/-   ##
=======================================
  Coverage   45.32%   45.32%           
=======================================
  Files          42       42           
  Lines        3038     3038           
=======================================
  Hits         1377     1377           
  Misses       1661     1661           

☔ View full report in Codecov by Harness.
📢 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.

@LesnyRumcajs
LesnyRumcajs added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 03cd19f Nov 19, 2026
7 checks passed
@LesnyRumcajs
LesnyRumcajs deleted the akaladarshi/update-leptos branch November 19, 2026 12:47
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.

3 participants