Skip to content

Started the "Ready to send" component - #11

Closed
Esther-Lita wants to merge 2 commits into
documenso:mainfrom
Esther-Lita:DOC-82-Make-"Ready-to-send"-dialog-a-component

Hidden character warning

The head ref may contain hidden characters: "DOC-82-Make-"Ready-to-send"-dialog-a-component"
Closed

Esther-Lita wants to merge 2 commits into
documenso:mainfrom
Esther-Lita:DOC-82-Make-"Ready-to-send"-dialog-a-component

Conversation

@Esther-Lita

Copy link
Copy Markdown
Contributor

testing the permissions for Documenso

@ElTimuro

Copy link
Copy Markdown
Member

closing until real code, thx for testing :)

@ElTimuro ElTimuro closed this Mar 19, 2023
Abzaek added a commit to Abzaek/documenso that referenced this pull request Jun 24, 2026
Apply fixes for the still-present bugs from the Faultmark scan:

- Bug #7: document-edit-form localStorage cleanup was skipping every other
  key because it removed items while forward-iterating the index. Collect
  keys first, then remove.
- Bug documenso#8: envelope signer page renderer was destroying the loading spinner
  in .finally() while the SIGNATURE field's re-auth dialog was still open
  (executeActionAuthProcedure resolves synchronously after opening). Move
  spinner teardown into onReauthFormSubmit and the non-auth branch so it
  only runs after the sign actually completes.
- Bug #9: security.sessions columns useMemo had empty deps but captured
  t, session, and refetch. Add them to the dependency array.
- Bug documenso#10: replace module-level UAParser instance (mutated across renders)
  with a per-cell `new UAParser(userAgent).getResult()` call.
- Bug documenso#11: sanitize site-banner HTML with isomorphic-dompurify before
  passing to dangerouslySetInnerHTML.
- Bug documenso#12/documenso#13: include signingOrder in the useCallback dep arrays for
  handleSigningOrderChange and onDragEnd so they don't close over a stale
  ordering mode.
- Bug documenso#14: field duplication now uses lastActiveField.signerEmail and
  recipientId unconditionally instead of preferring the currently selected
  recipient — duplicates were being re-assigned away from the field owner.
- Bug documenso#15: Math.max($page.offsetHeight, DEFAULT_HEIGHT_PX) and matching
  width; the previous single-arg Math.max calls dropped the page-size
  source entirely.
- Bug documenso#18: AppCommandMenu toggleOpen now computes newOpen once instead of
  passing the stale outer-scope isOpen to onOpenChange.
- Bug #19: goToDocuments/goToTemplates guard for empty link arrays so the
  shortcuts no longer throw when teamUrl is null.
- Bug documenso#20: public-profile-template-manage-dialog step calculation reads
  the freshly-derived newSelectedId rather than the (still-stale)
  selectedTemplateId state.
- Bug documenso#21: editor-field-radio-form computes the full final state and
  writes once instead of two sequential setValue calls that could briefly
  leave the previous option still checked.
- Bug documenso#22: team-delete-dialog forwards transferTeamId only when > 0, so
  the "Don't transfer" sentinel value of -1 is converted to undefined.
- Bug documenso#23: document-signing-number-field auto-sign effect adds onSign to
  its dep array so the captured closure stays in sync with the form state.
- Bug documenso#24: org teams settings effect now early-returns when the rebuilt
  URLSearchParams matches the current one, breaking the
  setSearchParams → searchParams change → effect re-runs loop.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
prom-star pushed a commit to prom-star/documenso that referenced this pull request Jul 22, 2026
…so#11)

Use fixed signer dialog titles instead of field labels.

Co-authored-by: Jhon Harry <[email protected]>
Co-authored-by: Cursor <[email protected]>
mprachar referenced this pull request in sovereign-ai-resources/documenso Nov 4, 2026
* feat(fork): add daily upstream sync and promote workflows

A daily job detects new upstream releases, replays the fork's commit
stack with rebase --onto, auto-resolves lockfile-only conflicts, runs
the guardrails and the upstream build and e2e suite, and opens a
review-only PR. Real conflicts open an issue naming the commit and
files. Approval triggers a promote workflow that archives the old
branch, force-moves soar, and moves the soar-base tag in one atomic
push. SOAR-FORK.md documents the GitHub App and branch protection the
workflows need.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

* refactor(fork): simplify the sync workflows

- soar-promote: move the concurrency group to the promote job, so review
  events the job skips never queue in it and cannot cancel a pending
  promotion.
- soar-guardrails: drop five copies of a comment the header already states.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

* fix(review): apply findings #1 #2 #4 #5 #6 #7 #8 #10 #11

- #1 guardrails: drop the job-level skip for PRs from sync/ branches. A
  sync/ PR is now checked against its upstream release, and a sync/ branch
  not named sync/vX.Y.Z fails instead of passing the required checks.
- #2 promote: the sync PR names the soar commit it was replayed from;
  promote.sh takes it as an optional third argument and refuses when soar
  has moved since, so a fork change merged after the replay is never
  dropped. The promote workflow requires and passes it. Tests added.
- #4 the failure issue says to delete an orphaned sync branch before the
  daily run can retry.
- #5 the close step comments, closes and deletes the branch independently,
  so a PR GitHub already marked merged does not fail a successful promote.
- #6 the release-notes lookup fails loudly when the list cannot be read or
  the target release has no published notes.
- #7 only issues the workflow itself filed suppress the daily sync.
- #8 a "Fork script tests" job runs test-guardrails.sh and test-sync.sh.
- #10 #11 SOAR-FORK.md: keep the existing soar ruleset (four guard checks,
  squash-only, no force push or deletion, admin bypass) and add the sync App
  as a bypass actor once it exists; protect sync/* and the soar-base and
  soar-archive/* tags; soar is the default branch; disable upstream's
  deploy.yml and publish.yml.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
mprachar referenced this pull request in sovereign-ai-resources/documenso Nov 26, 2026
* feat(fork): add daily upstream sync and promote workflows

A daily job detects new upstream releases, replays the fork's commit
stack with rebase --onto, auto-resolves lockfile-only conflicts, runs
the guardrails and the upstream build and e2e suite, and opens a
review-only PR. Real conflicts open an issue naming the commit and
files. Approval triggers a promote workflow that archives the old
branch, force-moves soar, and moves the soar-base tag in one atomic
push. SOAR-FORK.md documents the GitHub App and branch protection the
workflows need.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

* refactor(fork): simplify the sync workflows

- soar-promote: move the concurrency group to the promote job, so review
  events the job skips never queue in it and cannot cancel a pending
  promotion.
- soar-guardrails: drop five copies of a comment the header already states.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

* fix(review): apply findings #1 #2 #4 #5 #6 #7 #8 #10 #11

- #1 guardrails: drop the job-level skip for PRs from sync/ branches. A
  sync/ PR is now checked against its upstream release, and a sync/ branch
  not named sync/vX.Y.Z fails instead of passing the required checks.
- #2 promote: the sync PR names the soar commit it was replayed from;
  promote.sh takes it as an optional third argument and refuses when soar
  has moved since, so a fork change merged after the replay is never
  dropped. The promote workflow requires and passes it. Tests added.
- #4 the failure issue says to delete an orphaned sync branch before the
  daily run can retry.
- #5 the close step comments, closes and deletes the branch independently,
  so a PR GitHub already marked merged does not fail a successful promote.
- #6 the release-notes lookup fails loudly when the list cannot be read or
  the target release has no published notes.
- #7 only issues the workflow itself filed suppress the daily sync.
- #8 a "Fork script tests" job runs test-guardrails.sh and test-sync.sh.
- #10 #11 SOAR-FORK.md: keep the existing soar ruleset (four guard checks,
  squash-only, no force push or deletion, admin bypass) and add the sync App
  as a bypass actor once it exists; protect sync/* and the soar-base and
  soar-archive/* tags; soar is the default branch; disable upstream's
  deploy.yml and publish.yml.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SxA54CVG8ZqBkLDM7kmsrq

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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