fix: removed the pack reference in the verse reference during testing

feat: added a bug report link
This commit is contained in:
Richard Wong 2026-01-03 01:52:53 +08:00
parent b630b6f214
commit 97ebbb29b7
3 changed files with 20 additions and 2 deletions

View File

@ -24,6 +24,12 @@ const VersePrinter = ({ element: { pack, title, chapterTitle, reference, verse }
{/* This shows the difference between given and input answers*/} {/* This shows the difference between given and input answers*/}
<div className="diff-box"> <div className="diff-box">
<p></p>
<div>
<h3>Pack:</h3>
<p>{pack}</p>
</div>
<p></p> <p></p>
<div> <div>
<h3>Reference:</h3> <h3>Reference:</h3>

View File

@ -303,6 +303,11 @@ function Page() {
<hr /> <hr />
<p><x-small> Built on: {VITE_BUILD_DATE} </x-small></p> <p><x-small> Built on: {VITE_BUILD_DATE} </x-small></p>
<p>
<x-small>
<a href="https://github.com/RichFree/VerseChecker/issues">File a bug report</a>
</x-small>
</p>
</div> </div>
); );
} }

View File

@ -260,7 +260,7 @@ const VerseValidator = ({ element: { pack, title, chapterTitle, reference, verse
</div> </div>
) : ( ) : (
<h2> <h2>
{pack} - {reference} {reference}
</h2> </h2>
)} )}
@ -362,6 +362,12 @@ const VerseValidator = ({ element: { pack, title, chapterTitle, reference, verse
<div className="diff-box"> <div className="diff-box">
<h3>Differences</h3> <h3>Differences</h3>
<p></p>
<div>
Pack: <br></br>{pack}
</div>
<p></p> <p></p>
<div> <div>
Reference: Reference:
@ -371,10 +377,11 @@ const VerseValidator = ({ element: { pack, title, chapterTitle, reference, verse
/> />
</div> </div>
<p></p> <p></p>
{chapterTitle && ( {chapterTitle && (
<div> <div>
ChapterTitle: Chapter title:
<DiffViewerStrict <DiffViewerStrict
oldValue={chapterTitle} oldValue={chapterTitle}
newValue={inputChapterTitle} newValue={inputChapterTitle}