Skip to content

Conversation

@BJTheCod3r
Copy link
Owner

This pull request introduces a new configuration option, showBackLink, allowing users to control the visibility of the footer back button in the document verification UI. The changes update the configuration, documentation, and component logic to support this toggle, with a default value of true for backward compatibility.

New configuration option:

  • Added showBackLink property to the DocumentVerificationConfig interface and all relevant config objects, defaulting to true. This allows users to show or hide the footer back button as needed.

Component and UI updates:

  • Modified DocumentFooter.vue to conditionally render the footer based on the showBackLink prop, and updated its props accordingly.
  • Updated DocumentVerification.vue to pass the new showBackLink prop and guard rendering of the footer.

Documentation improvements:

  • Added showBackLink to the configuration table and usage examples in the README.md, explaining its purpose and usage.

Playground and typescript config:

  • Updated the playground's nuxt.config.ts to demonstrate usage of showBackLink.
  • Added a tsconfig.json for the playground to ensure correct type resolution.

These changes make it easier to customize the navigation experience in the document verification flow by toggling the back button's visibility.

@BJTheCod3r BJTheCod3r merged commit 0d1c79c into main Nov 5, 2025
@BJTheCod3r BJTheCod3r deleted the chore/type-fixes branch November 5, 2025 14:17
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