Skip to content

Conversation

@rossjones
Copy link
Contributor

@rossjones rossjones commented May 12, 2025

When starting the process, we want to be able to provide a secondary alternative route to the route lookup in template, so that we can skip to the next page should configuration allow it.

This PR adds a 'sheetSelection' configuration property that can be set to 'manual' or 'automatic'. When set to automatic, and only a single sheet is found in the upload, the sheet selection step is skipped.

TODO

  • Configuration page option
  • Document the new feature
  • Test prototype
  • Test plugin

Resolves #197

Currently blocked wanting to test end-to-end as testing with playwright does not give us the option to mock a file on the server, and the prototype kit has the path to the config file hard-coded. Have added multi-project tests in the hope that we can start multiple copies of the server after replacing the app/config.json although this seems risky/flaky.

rossjones added 3 commits May 12, 2025 17:01
When starting the process, we want to be able to provide a secondary
alternative route to the route lookup in template, so that we can skip
to the next page should configuration allow it.

This PR adds a 'sheetSelection' configuration property that can be set
to 'manual' or 'automatic'.  When set to automatic, and only a single
sheet is found in the upload, the sheet selection step is skipped.
Unused function parameters (in some tests) result in a lint failure,
which is a little extreme as now the function signature looks wrong for
those tests.
@rossjones rossjones changed the title Support secondary route for url mappers WIP: Support auto-sheet selection with single sheet May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Add configuration option to automatically select sheets

2 participants