Skip to content

Add option to control line spacing in STET output doc - #355

Draft
linearcombination wants to merge 3 commits into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:add-line-spacing-option-to-stet
Draft

linearcombination wants to merge 3 commits into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:add-line-spacing-option-to-stet

Conversation

@linearcombination

Copy link
Copy Markdown
Contributor

Some users want single line spacing, others double. Closes #353

Some users want single line spacing, others double
Some users want single line spacing, others double
@linearcombination

Copy link
Copy Markdown
Contributor Author

Flipping this to draft overnight while I add a few more tests. Will mark ready for review once they're pushed!

@linearcombination
linearcombination marked this pull request as draft September 17, 2026 05:34
Make sure the option is present and that its use causes appropriate
changes in dependent UI controls.
use_increased_line_spacing: bool,
) -> Json[str]:
logger.debug(
"passed args: lang0_code: %s, lang1_code: %s, email_adress: %s",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logging call now has a fourth parameter, but only three arguments to the logging string. Recommend you add: use_increased_line_spacing: %s

await expect(page.getByRole('main')).toContainText('Increase line spacing to')
await expect(page.getByRole('main')).toContainText('Generate File')
await page.getByRole('button', { name: 'Generate File' }).click()
await expect(page.getByRole('main')).toContainText('Download')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this generation could take a while; I recommend you add the timeout: 64_000 you have on other long calls.

})
})

test('test line spacing option', async ({ page }) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test appears to be outside the "Desktop Tests" block -- is that intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants