Merge branch 'documenso:feat/refresh' into feat/refresh

This commit is contained in:
Aditya Deshlahre
2023-10-05 15:19:42 +05:30
committed by GitHub
3 changed files with 7 additions and 9 deletions

View File

@ -5,8 +5,8 @@ If you plan to contribute to Documenso, please take a moment to feel awesome ✨
## Before getting started ## Before getting started
- Before jumping into a PR be sure to search [existing PRs](https://github.com/documenso/documenso/pulls) or [issues](https://github.com/documenso/documenso/issues) for an open or closed item that relates to your submission. - Before jumping into a PR be sure to search [existing PRs](https://github.com/documenso/documenso/pulls) or [issues](https://github.com/documenso/documenso/issues) for an open or closed item that relates to your submission.
- Select and issue from [here](https://github.com/documenso/documenso/issues) or create a new one - Select an issue from [here](https://github.com/documenso/documenso/issues) or create a new one
- Consider the results from the discussion in the issue - Consider the results from the discussion on the issue
- Accept the [Contributor License Agreement](https://documen.so/cla) to ensure we can accept your contributions. - Accept the [Contributor License Agreement](https://documen.so/cla) to ensure we can accept your contributions.
## Taking issues ## Taking issues
@ -27,14 +27,14 @@ Always feel free to ask questions or seek clarification on the issue.
## Developing ## Developing
The development branch is <code>main</code>. All pull request should be made against this branch. If you need help getting started, [join us on Discord](https://documen.so/discord). The development branch is <code>main</code>. All pull requests should be made against this branch. If you need help getting started, [join us on Discord](https://documen.so/discord).
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your
own GitHub account and then own GitHub account and then
[clone](https://help.github.com/articles/cloning-a-repository/) it to your local device. [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
2. Create a new branch: 2. Create a new branch:
- Create a new branch (include the issue id and somthing readable): - Create a new branch (include the issue id and something readable):
```sh ```sh
git checkout -b doc-999-my-feature-or-fix git checkout -b doc-999-my-feature-or-fix
@ -45,7 +45,7 @@ The development branch is <code>main</code>. All pull request should be made aga
## Building ## Building
> **Note** > **Note**
> Please be sure that you can make a full production build before pushing code or creating PRs. > Please ensure you can make a full production build before pushing code or creating PRs.
You can build the project with: You can build the project with:

View File

@ -391,6 +391,7 @@ export const Widget = ({ className, children, ...props }: WidgetProps) => {
<SignaturePad <SignaturePad
className="aspect-video w-full rounded-md border" className="aspect-video w-full rounded-md border"
defaultValue={signatureDataUrl || ''}
onChange={setDraftSignatureDataUrl} onChange={setDraftSignatureDataUrl}
/> />

View File

@ -97,10 +97,7 @@ export const DocumentFlowFormContainerStep = ({
return ( return (
<div> <div>
<p className="text-muted-foreground text-sm"> <p className="text-muted-foreground text-sm">
{title}{' '} Step <span>{`${step} of ${maxStep}`}</span>
<span>
({step}/{maxStep})
</span>
</p> </p>
<div className="bg-muted relative mt-4 h-[2px] rounded-md"> <div className="bg-muted relative mt-4 h-[2px] rounded-md">