99b0ad574e
feat: bulk add fields ( #1683 )
...
## Demo

---------
Co-authored-by: Lucas Smith <me@lucasjamessmith.me >
2025-05-14 19:35:32 +00:00
193325717d
fix: rework fields ( #1697 )
...
Rework:
- Field styling to improve visibility
- Field insertions, better alignment, centering and overflows
## Changes
General changes:
- Set default text alignment to left if no meta found
- Reduce borders and rings around fields to allow smaller fields
- Removed lots of redundant duplicated code surrounding field rendering
- Make fields more consistent across viewing, editing and signing
- Add more transparency to fields to allow users to see under fields
- No more optional/required/etc colors when signing, required fields
will be highlighted as orange when form is "validating"
Highlighted internal changes:
- Utilize native PDF fields to insert text, instead of drawing text
- Change font auto scaling to only apply to when the height overflows
AND no custom font is set
⚠️ Multiline changes:
Multi line is enabled for a field under these conditions
1. Field content exceeds field width
2. Field includes a new line
3. Field type is TEXT
## [BEFORE] Field UI Signing

## [AFTER] Field UI Signing

## [BEFORE] Signing a checkbox


## [AFTER] Signing a checkbox


## [BEFORE] What a 2nd recipient sees once someone else signed a
document

## [AFTER] What a 2nd recipient sees once someone else signed a document

## **[BEFORE]** Inserting fields

## **[AFTER]** Inserting fields

## Overflows, multilines and field alignments testing
Debugging borders:
- Red border = The original field placement without any modifications
- Blue border = The available space to overflow
### Single line overflows and field alignments
This is left aligned fields, overflow will always go to the end of the
page and will not wrap

This is center aligned fields, the max width is the closest edge to the
page * 2

This is right aligned text, the width will extend all the way to the
left hand side of the page

### Multiline line overflows and field alignments
These are text fields that can be overflowed

Another example of left aligned text overflows with more text

2025-04-23 21:40:42 +10:00
063fd32f18
feat: add signature configurations ( #1710 )
...
Add ability to enable or disable allowed signature types:
- Drawn
- Typed
- Uploaded
**Tabbed style signature dialog**

**Document settings**

**Team preferences**

- Add multiselect to select allowed signatures in document and templates
settings tab
- Add multiselect to select allowed signatures in teams preferences
- Removed "Enable typed signatures" from document/template edit page
- Refactored signature pad to use tabs instead of an all in one
signature pad
Added E2E tests to check settings are applied correctly for documents
and templates
2025-03-24 17:13:11 +11:00
c0ae68c28b
feat: assistant role ( #1588 )
...
Introduces the ability for users with the **Assistant** role to prefill
fields on behalf of other signers. Assistants can fill in various field
types such as text, checkboxes, dates, and more, streamlining the
document preparation process before it reaches the final signers.
2025-02-13 19:37:34 +11:00
383b5f78f0
feat: migrate nextjs to rr7
2025-02-13 14:10:38 +11:00
42d24fd1a1
feat: copy, paste, duplicate template fields ( #1594 )
2025-01-23 14:28:26 +11:00
9d83bda12c
fix: standardise checkboxes
...
Checkboxes were previously styled super wonky due to
the usage of checkboxClassName which styled the checkbox
trigger.
This change reverts all that and leaves it with sensible defaults
across dark and light mode.
2024-12-31 11:55:49 +11:00
c960a48b4f
fix: z-index of field settings ( #1469 )
2024-12-17 17:09:58 +11:00
ab654a63d8
chore: enable typed signature by default ( #1436 )
...
Enable typed signature by default and also add the option to set a typed
signature in the profile page.
2024-11-26 21:03:44 +11:00
83e7a3c222
fix: improve field sizing ( #1486 )
...
## Description
Allows for smaller field sizing in addition to improving our styling
when displaying labels on smaller fields.
This is the minimum currently supported field size until we perform a
more extensive refactor of our current drag and drop system.
## Related Issue
Reported via support channels
## Changes Made
- Updated our minimum size constraints
- Attempted to add a general autosizing component for text and failed
- Updated styling in a bunch of places to use the css `clamp()` method
for dynamic sizing.
2024-11-20 22:49:30 +11:00
9b769e7e33
fix: email translations ( #1454 )
2024-11-08 00:33:48 +09:00
f199183c78
feat: improve translation coverage ( #1427 )
...
Improves translation coverage across the app.
2024-11-01 10:57:32 +11:00
7644c0d855
feat: support smaller field bounds ( #1344 )
...
Currently this won't always display super well since
our insertion solution isn't amazing but our current
minimum bounds within the UI are a bit large and can be
smaller.
This change makes it smaller and uses container queries to
support dynamically displaying labels based on the container
size.
2024-09-17 00:29:42 +10:00
77da7847d9
fix: template with empty advanced fields ( #1339 )
...
Templates can be created and sent with advanced fields that have empty
values. That will cause an error when the user tries to sign the
document.
For example, you can create a template with a checkbox field and save
it. Then, you can click the "Use template" button and send the document
by clicking "Send document." However, this shouldn't be possible if the
advanced field doesn't have any values.
2024-09-10 16:23:16 +10:00
ad4cff937d
fix: show the existing field meta when editing a template fields ( #1323 )
...
Fixes #1259 . I literally just used the exact same line of code than from
the document page so it is consistent.
The bug is extremely frustrating because if you make change to the
fields meta on the template and refresh the page, you can't see field
meta (label, default value, required), and neither do your co-workers.
Of course, I tested the change and it now displays correctly the
existing field meta on the template page.
2024-09-05 14:10:17 +10:00
75c8772a02
feat: web i18n ( #1286 )
2024-08-27 20:34:39 +09:00
29910ab2a7
feat: add initials field type ( #1279 )
...
Adds a new field type that enables document recipients to add
their `initials` on the document.
2024-08-12 23:29:32 +10:00
7b5c57e8af
chore: add more field types ( #1141 )
...
Adds a number of new field types and capabilities to existing fields.
A massive change with far too many moving pieces to document in a single commit.
2024-07-18 23:45:44 +10:00
a5e51e63a1
Merge branch 'main' into custom-text-field
2024-02-24 22:23:17 +11:00
11299d3f92
feat: add custom text to singleplayer
2024-02-17 11:24:47 +00:00
769eaa0ed9
feat: add roles to templates recipients
2024-02-15 07:01:41 +00:00
82da337a56
fix: remove templateToken
2023-12-15 22:07:27 +11:00
1eeb5fb103
fix: tidy code and base on main
2023-12-14 15:28:27 +11:00
31a9127c9e
feat: templates
2023-12-14 12:24:56 +11:00