Repository navigation
feat(import): select rescan height by month and year (#638) - #1503
Open
abhayrajjais01 wants to merge 10 commits into
Open
abhayrajjais01 wants to merge 10 commits into
abhayrajjais01 wants to merge 10 commits into
Conversation
abhayrajjais01
force-pushed
the
feat/import-rescan-date-picker
branch
from
September 29, 2026 05:33
e404cae to
f5a8225
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This pull request implements Part 1 of Issue #638 based on the maintainer-approved plan and the bitcoin.design mockup:
Date-to-Blockheight Calculation (
src/lib/blockheight.ts):DEFAULT_SAFETY_BUFFER_MONTHS = 1, as approved by @theborakompanioni) to ensure transactions created early in the selected month are not skipped.0(Genesis).currentBlockHeightif available.Tabbed
RescanHeightSelectorComponent (src/components/import/RescanHeightSelector.tsx):forceMountwith hidden styling to preserve DOM presence and backward compatibility for existing tests and form validation.Form & Review Step Integration:
ImportDetailsForm.tsxusingControllerfromreact-hook-form.ImportStepConfirm.tsxto display"Block #0 (Genesis)"when blockheight is0.translation.json.Visual Demo
Image Demo: