Skip to content

[stable32] fix: add able to sign getter#6706

Merged
vitormattos merged 2 commits intostable32from
backport/6705/stable32
Feb 3, 2026
Merged

[stable32] fix: add able to sign getter#6706
vitormattos merged 2 commits intostable32from
backport/6705/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6705

The ableToSign getter was missing from the sign store, causing the
Sign component to fall into the 'Unable to sign' state even when all
conditions were met.

The getter checks:
- Document status is ABLE_TO_SIGN or PARTIAL_SIGNED
- There is a signer with me: true
- Signer status is 1 (ABLE_TO_SIGN)

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Adds comprehensive test coverage for the ableToSign getter including:
- Document status validation
- Signer presence validation
- Signer status validation
- Edge cases (undefined document, empty signers array)

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Feb 3, 2026
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Feb 3, 2026
@vitormattos vitormattos merged commit cdbd4d4 into stable32 Feb 3, 2026
60 checks passed
@vitormattos vitormattos deleted the backport/6705/stable32 branch February 3, 2026 23:15
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant