Lucas Smith
3c646d9475
feat: remove email requirement for recipients ( #2040 )
2025-09-23 17:13:52 +10:00
Lucas Smith
512e3555b4
feat: horizontal checkboxes ( #1911 )
...
Adds the ability to have checkboxes align horizontally, wrapping when
they would go off the PDF
2025-07-19 22:06:50 +10:00
Ephraim Duncan
d27f0ee0ef
fix: duplicate field bugs ( #1685 )
2025-06-11 13:26:19 +10:00
Catalin Pit
d11ec8fa2a
feat: show field coordinates in devmode ( #1802 )
...
Show the fields coordinates when the `devmode` search param is present.
It's meant to help API users understand where to position the fields.
2025-06-11 12:28:39 +10:00
Ephraim Duncan
99b0ad574e
feat: bulk add fields ( #1683 )
...
## Demo

---------
Co-authored-by: Lucas Smith <me@lucasjamessmith.me >
2025-05-14 19:35:32 +00:00
David Nguyen
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
David Nguyen
25bb6ffe77
fix: imports
2025-03-03 14:49:28 +11:00
Catalin Pit
e79d762710
chore: add label for checkbox and radio fields ( #1607 )
2025-03-03 13:46:29 +11:00
David Nguyen
383b5f78f0
feat: migrate nextjs to rr7
2025-02-13 14:10:38 +11:00
Catalin Pit
32857bbfeb
fix: make small fields draggable ( #1551 )
2024-12-27 15:22:56 +11:00
Ephraim Duncan
c960a48b4f
fix: z-index of field settings ( #1469 )
2024-12-17 17:09:58 +11:00
Lucas Smith
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
Ephraim Duncan
e0c948c2ac
feat: add custom font sizes to fields ( #1376 )
...
Adds custom font sizes to fields
https://github.com/user-attachments/assets/1473a4d7-8dc6-4ead-acf5-dd78be7782a0
2024-10-16 16:05:41 +11:00
Catalin Pit
d40ed94b74
feat: highlight problematic fields ( #1330 )
2024-10-08 21:55:20 +11:00
David Nguyen
ddee8a8272
feat: allow editing pending documents ( #1346 )
...
## Description
Adds the ability for the document owner to edit recipients and their
fields after the document has been sent.
A recipient can only be updated or deleted if:
- The recipient has not inserted any fields
- Has not completed the document
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
- **New Features**
- Added new localization messages to clarify user actions regarding
document signing.
- Enhanced French translations for improved user interaction.
- **Improvements**
- Updated localization strings in German and English for clearer
feedback on signer and recipient statuses.
- Improved overall structure of localization files for better
maintainability.
- **Dependency Updates**
- Upgraded `next-axiom` and `remeda` libraries to their latest versions,
potentially enhancing performance and stability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Mythie <me@lucasjamessmith.me >
2024-09-20 13:58:21 +10:00
Lucas Smith
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
Ephraim Duncan
06c0a50401
feat: copy and paste fields ( #1193 )
...
Adds keyboard shortcuts for copying and pasting fields, additionally adds the ability
to duplicate a field via the UI.
2024-08-20 13:32:53 +10:00
Catalin Pit
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
Lucas Smith
5bef2fba91
fix: follow figma design
2024-02-25 13:02:09 +00:00
Ephraim Atta-Duncan
d598677dc5
feat: add transparent background to fields
2024-02-02 08:36:54 +00:00
Ashraf Chowdury
a71078cbd5
fix: fixed the deleting signature block issue on touchscreens
2024-01-08 13:17:30 +08:00
Mythie
1a34f9fa7a
fix: import updates and api route body sizes
2023-12-07 15:08:00 +11:00
Mythie
60ae674984
feat: darker dark theme
2023-11-06 13:01:15 +11:00
David Nguyen
97c7bd9792
refactor: remove whitespace
2023-11-06 13:01:10 +11:00
David Nguyen
215eaebc1a
feat: update document flow
...
- Fixed z-index when dragging pre-existing fields
- Refactored document flow
- Added button spinner
- Added animation for document flow slider
- Updated drag and drop fields
- Updated document flow so it adjusts to the height of the PDF
- Updated claim plan dialog
2023-11-06 13:01:10 +11:00
David Nguyen
a0abf56833
refactor: extract common components into UI package
2023-11-06 13:01:10 +11:00