|
|
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 |
|
|
|
5fac29a07f
|
fix: add css targets for embeds
|
2025-02-13 19:45:54 +11:00 |
|
|
|
383b5f78f0
|
feat: migrate nextjs to rr7
|
2025-02-13 14:10:38 +11:00 |
|
|
|
b15e1d6c47
|
feat: support whitelabelling in the embedding (#1491)
## Description
Adds support for customising the theme and CSS for the embedding
components which is restricted to platform customers and above.
Additionally adds proper support for the platform plan which will let us
update our stripe products.
<img width="1040" alt="image"
src="https://github.com/user-attachments/assets/f694cd1e-ac93-4dc0-9f78-92fa813f6404">
<img width="1015" alt="image"
src="https://github.com/user-attachments/assets/4209972a-b2bd-40c9-9049-0367382a4de5">
<img width="1065" alt="image"
src="https://github.com/user-attachments/assets/fdbaaaa5-a028-4b1d-a58a-ea6224e21abe">
## Related Issue
N/A
## Changes Made
- Added support for using CSS Vars and CSS within the embedding route
- Added a guard for platform and enterprise plans to activate the custom
css
- Added support for the platform plan
## Testing Performed
Yes
|
2024-11-25 15:47:00 +11:00 |
|
|
|
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 |
|
|
|
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 |
|
|
|
6526377f1b
|
feat: add visible completed fields
|
2024-04-18 21:56:31 +07:00 |
|
|
|
1a34f9fa7a
|
fix: import updates and api route body sizes
|
2023-12-07 15:08:00 +11:00 |
|
|
|
d20ad4217c
|
feat: add uninserted field validation
|
2023-11-06 13:01:44 +11:00 |
|