profile
viewpoint
Shawn Allen shawnbot @SFDigitalServices San Francisco http://secularproducts.com/work/ Design systems, JS, (S)CSS, bicycles, synthesizers, data visualization, and maps. Previously: @github, @18F, @stamen

jonathantneal/svg4everybody 3166

Use external SVG spritemaps today

shawnbot/aight 757

JavaScript shims and shams for making IE8-9 behave reasonably

afiedler/sketch-node-parser 110

Parse files from Sketch using pure NodeJS

SFDigitalServices/sf-dahlia-web 20

DAHLIA is the affordable housing portal for the City and County of San Francisco.

shawnbot/concoct 13

Combine disparate geographic data sets to create motley visual concoctions.

shawnbot/ascii-state 10

Generate ASCII maps of your favorite United States! :us:

SFDigitalServices/formio-sfds 8

The form.io theme for sf.gov

shawnbot/bookmarklet-boilerplate 8

Bookmarklets 4 life.

shawnbot/coercive 6

Intuitive JavaScript type coercion and data cleanup

shawnbot/aria-tools 5

[WIP] A collection of low-level vanilla JS tools for building accessible UIs with ARIA

startedpascalgn/npm-publish-action

started time in an hour

PR opened SFDigitalServices/formio-sfds

Create Vercel URL alias for pushed version tags

This adds an "alias" workflow that creates a Vercel deployment URL alias whenever a tag beginning with v is created. For instance, when we tag the next major release with v7.0.0, the workflow should run and create an alias from formio-sfds-v7-0-0.vercel.app to the current production deployment.

The point of this is to make it easier to compare rendered examples in different versions of our theme.

In the future, these aliases could also power a dropdown on the site that allows you to see the examples and docs as of a specific version by changing the hostname of the current URL. I'm going to manually add aliases for a few recent versions by going down the production deployments list. I don't think there's any need to automate doing the retroactive aliases for versions earlier than, say, 6.3.0.

+48 -0

0 comment

2 changed files

pr created time in an hour

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 233c20eb844d7d264310000dbefbf55801b70b5d

add back dot-component for /api/strings

view details

push time in an hour

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 7af996cebc6646855aa55f81b5bc8f0d33a7fab2

also run alias workflow on main

view details

push time in an hour

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha e874b3eaa09c93f5e936c346331454c5c387dba5

simplify, nix workflow_dispatch

view details

push time in an hour

create barnchSFDigitalServices/formio-sfds

branch : vercel-alias-version

created branch time in 2 hours

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha ff479310ea0a8256ec4333183130473b7d2b51d3

clarify how we're using unpkg now, add Vercel link /cc @JimBrodbeck

view details

push time in 3 hours

PR opened SFDigitalServices/sfgov

Update formio-sfds to 6.4.3

This bumps us two patch versions:

  • 6.4.2 fixes state and zip inputs bumping up on smaller screens and the order of our CSS utilities in the output
  • 6.4.3 adds U.S. states to state input lists and removes a globalThis reference that was breaking IE and Edge ≤ 18

See the diff for the nitty gritty.

+1 -1

0 comment

1 changed file

pr created time in a day

create barnchSFDigitalServices/sfgov

branch : formio-sfds-6.4.3

created branch time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 0fa5957a85db8fb739623de7aab203eaa1052cdb

add htmlelement template tests

view details

Shawn Allen

commit sha 06789c112d5f512be1a0d058566dabd2e8f6b8e8

fix htmlelement missing content

view details

Shawn Allen

commit sha 18cacda6e0794ebabb1a505300e1fc676122b102

add template test for "content" component (rich text)

view details

Shawn Allen

commit sha c61c06e70a56ff5f0ae4708a80609bb16629ec8e

add assertion to fail "Unknown component:" in rendered HTML

view details

Shawn Allen

commit sha 669613aa47d0ce1b801d711559380e0f40fe1eca

fix "htmlelement" component example (was: "html"), add "content"

view details

Shawn Allen

commit sha 9b074d72d1924aef34412c5e6a799d7b28f187f5

update snapshots

view details

Shawn Allen

commit sha 4c9d45e849f21ffc00e56f6eac6503ffbf9bc9c9

bump: v6.4.1

view details

Shawn Allen

commit sha 22c67b708a55da49835b6c1468947f189145081a

tidy up content smoke tests

view details

Shawn Allen

commit sha cb51f51a7b4d843088652241df67a972182b21ab

fall back to defaultValue in tk() helper

view details

Shawn Allen

commit sha 01894abfe1ae432051dc09928c288c9b3eea1a12

Merge pull request #124 from SFDigitalServices/release-6.4.1 Release 6.4.1

view details

Shawn Allen

commit sha c74fe6783503b9202f4785887c7c11965eab69ee

bump: v6.4.2

view details

Shawn Allen

commit sha 58d1547920bd61f9adfc7eea59de775108b6233c

add mb-sm-2 class to address component state input

view details

Shawn Allen

commit sha fff262b3052f7cc5a0305e4ec5aa6fb74ab48c58

update snapshots

view details

Shawn Allen

commit sha 410ae58b72f0204cd8422662b1640f31ddc6080f

fix flex-wrap utilities (set flex-wrap, not flex-direction)

view details

Shawn Allen

commit sha 7f4393ff83216c8f3e700ebf19d56dd794ddf2ba

add builder schema JSON preview to portal view

view details

Shawn Allen

commit sha af0fed678be3132650aef6936234c896cbcf284d

fix output order of responsive spacing utilities

view details

Shawn Allen

commit sha b455eea2723c019d63486febd29fece6fe5f84d8

fix output order of responsive position utilities

view details

Shawn Allen

commit sha daa9d65de4217f452500db8f80f0dfbe1d8e8b2b

fix output order or responsive display utilities

view details

Shawn Allen

commit sha ef285c25ce88e46231eef1ee3ce698e937057a63

tweak address component state margin

view details

Shawn Allen

commit sha 0c9b7ac0e5cf428bd11d6766388343347cd9ba0c

Merge pull request #125 from SFDigitalServices/release-6.4.2 Release 6.4.2

view details

push time in a day

delete branch SFDigitalServices/formio-sfds

delete branch : v7-merge-6.4.3

delete time in a day

PR merged SFDigitalServices/formio-sfds

Merge v6.4.3 → v7

I first merged 6.4.3 to #73 from the CLI and pushed directly, but there were some follow-on items that need addressing. So I've force-pushed that branch back to 70df586 and am working on the remaining issues here.

+1308 -161

2 comments

18 changed files

shawnbot

pr closed time in a day

PR opened SFDigitalServices/formio-sfds

Merge v6.4.3 → v7

I first merged 6.4.3 to #73 from the CLI and pushed directly, but there were some follow-on items that need addressing. So I've force-pushed that branch back to 70df586 and am working on the remaining issues here.

+1308 -161

0 comment

18 changed files

pr created time in a day

push eventSFDigitalServices/formio-sfds

push time in a day

create barnchSFDigitalServices/formio-sfds

branch : v7-merge-6.4.3

created branch time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 4879f51de077edcf0501d582277453719032cf8d

bump: v6.4.3

view details

Shawn Allen

commit sha 1eaccdbc5393ec97e17db9d30a432d07212b032f

update google-spreadsheet

view details

Shawn Allen

commit sha a2fe42873ef59340eefa15cbab0c57b4c74dc674

add ungap/global-this polyfill

view details

Shawn Allen

commit sha 7a8f347d30199893f35cf7e656dc1d75b7919c06

remove ungap/global-this import

view details

Shawn Allen

commit sha 35ea79c2bceea88869b7c2166b67be6d1eca52b1

simplify process.env.NODE_ENV ref

view details

Shawn Allen

commit sha cb3d07fb59334c55018eb2c2edb0a00aa5585ad8

replace rollp-plugin-inject-process-env with rollup-plugin-define

view details

Shawn Allen

commit sha d64fa8f10cc07cb1f39ddc65c059d463c1ded734

Merge pull request #127 from SFDigitalServices/states-and-territories Include U.S. territories in "state" component

view details

Shawn Allen

commit sha 2ce0a62e7f2d5bf692abb69379b9b0394ca6c3a1

Merge pull request #130 from SFDigitalServices/release-6.4.3 Release 6.4.3

view details

Shawn Allen

commit sha f5b7c8e1692869d31cdd75b262d622db6e0e3a95

Merge remote-tracking branch 'origin/main' into release-7.0.0

view details

push time in a day

issue closedSFDigitalServices/formio-sfds

Script execution fails in IE, Edge < 78

The culprit? rollup-inject-process-env refers to globalThis, which is undefined in older browsers.

closed time in a day

shawnbot

issue commentSFDigitalServices/formio-sfds

Script execution fails in IE, Edge < 78

Fixed in #129.

shawnbot

comment created time in a day

release SFDigitalServices/formio-sfds

v6.4.3

released time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 0fa5957a85db8fb739623de7aab203eaa1052cdb

add htmlelement template tests

view details

Shawn Allen

commit sha 06789c112d5f512be1a0d058566dabd2e8f6b8e8

fix htmlelement missing content

view details

Shawn Allen

commit sha 18cacda6e0794ebabb1a505300e1fc676122b102

add template test for "content" component (rich text)

view details

Shawn Allen

commit sha c61c06e70a56ff5f0ae4708a80609bb16629ec8e

add assertion to fail "Unknown component:" in rendered HTML

view details

Shawn Allen

commit sha 669613aa47d0ce1b801d711559380e0f40fe1eca

fix "htmlelement" component example (was: "html"), add "content"

view details

Shawn Allen

commit sha 9b074d72d1924aef34412c5e6a799d7b28f187f5

update snapshots

view details

Shawn Allen

commit sha 4c9d45e849f21ffc00e56f6eac6503ffbf9bc9c9

bump: v6.4.1

view details

Shawn Allen

commit sha 22c67b708a55da49835b6c1468947f189145081a

tidy up content smoke tests

view details

Shawn Allen

commit sha cb51f51a7b4d843088652241df67a972182b21ab

fall back to defaultValue in tk() helper

view details

Shawn Allen

commit sha 01894abfe1ae432051dc09928c288c9b3eea1a12

Merge pull request #124 from SFDigitalServices/release-6.4.1 Release 6.4.1

view details

Shawn Allen

commit sha c74fe6783503b9202f4785887c7c11965eab69ee

bump: v6.4.2

view details

Shawn Allen

commit sha 58d1547920bd61f9adfc7eea59de775108b6233c

add mb-sm-2 class to address component state input

view details

Shawn Allen

commit sha fff262b3052f7cc5a0305e4ec5aa6fb74ab48c58

update snapshots

view details

Shawn Allen

commit sha 410ae58b72f0204cd8422662b1640f31ddc6080f

fix flex-wrap utilities (set flex-wrap, not flex-direction)

view details

Shawn Allen

commit sha 7f4393ff83216c8f3e700ebf19d56dd794ddf2ba

add builder schema JSON preview to portal view

view details

Shawn Allen

commit sha af0fed678be3132650aef6936234c896cbcf284d

fix output order of responsive spacing utilities

view details

Shawn Allen

commit sha b455eea2723c019d63486febd29fece6fe5f84d8

fix output order of responsive position utilities

view details

Shawn Allen

commit sha daa9d65de4217f452500db8f80f0dfbe1d8e8b2b

fix output order or responsive display utilities

view details

Shawn Allen

commit sha ef285c25ce88e46231eef1ee3ce698e937057a63

tweak address component state margin

view details

Shawn Allen

commit sha 0c9b7ac0e5cf428bd11d6766388343347cd9ba0c

Merge pull request #125 from SFDigitalServices/release-6.4.2 Release 6.4.2

view details

push time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha c522c98ef92ab1ae34d7504b343d96462c4e2445

add "state" and "zip" snapshots; force <select> elements to refresh

view details

Shawn Allen

commit sha 3a6609afd6e043b4f675c1797a1478b98afa5360

remote <span> from state select options

view details

Shawn Allen

commit sha 0691aed058ae299d27223d6f9c395fb83521e911

use "us" npm module for list of states + territories

view details

Shawn Allen

commit sha 4879f51de077edcf0501d582277453719032cf8d

bump: v6.4.3

view details

Shawn Allen

commit sha 1eaccdbc5393ec97e17db9d30a432d07212b032f

update google-spreadsheet

view details

Shawn Allen

commit sha a2fe42873ef59340eefa15cbab0c57b4c74dc674

add ungap/global-this polyfill

view details

Shawn Allen

commit sha 7a8f347d30199893f35cf7e656dc1d75b7919c06

remove ungap/global-this import

view details

Shawn Allen

commit sha 35ea79c2bceea88869b7c2166b67be6d1eca52b1

simplify process.env.NODE_ENV ref

view details

Shawn Allen

commit sha cb3d07fb59334c55018eb2c2edb0a00aa5585ad8

replace rollp-plugin-inject-process-env with rollup-plugin-define

view details

Shawn Allen

commit sha d64fa8f10cc07cb1f39ddc65c059d463c1ded734

Merge pull request #127 from SFDigitalServices/states-and-territories Include U.S. territories in "state" component

view details

Shawn Allen

commit sha 2ce0a62e7f2d5bf692abb69379b9b0394ca6c3a1

Merge pull request #130 from SFDigitalServices/release-6.4.3 Release 6.4.3

view details

push time in a day

delete branch SFDigitalServices/formio-sfds

delete branch : release-6.4.3

delete time in a day

PR merged SFDigitalServices/formio-sfds

Release 6.4.3

🐛 Bug fixes

  • Add U.S. territories to the state dropdown component list in #127
  • Remove unqualified reference to globalThis that was throwing errors in IE and Edge <= 18 in #128

🏠 Internal

  • Upgrade google-spreadsheet to 3.0.13 (security update)

Pull requests

  • [x] #127 Add U.S. territories to state component values
  • [x] #128 Fix globalThis reference
+1221 -181

1 comment

9 changed files

shawnbot

pr closed time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha c522c98ef92ab1ae34d7504b343d96462c4e2445

add "state" and "zip" snapshots; force <select> elements to refresh

view details

Shawn Allen

commit sha 3a6609afd6e043b4f675c1797a1478b98afa5360

remote <span> from state select options

view details

Shawn Allen

commit sha 0691aed058ae299d27223d6f9c395fb83521e911

use "us" npm module for list of states + territories

view details

Shawn Allen

commit sha d64fa8f10cc07cb1f39ddc65c059d463c1ded734

Merge pull request #127 from SFDigitalServices/states-and-territories Include U.S. territories in "state" component

view details

push time in a day

delete branch SFDigitalServices/formio-sfds

delete branch : states-and-territories

delete time in a day

PR merged SFDigitalServices/formio-sfds

Include U.S. territories in "state" component

This updates our list of U.S. states in the state component to include territories (D.C., American Samoa, Guam, Puerto Rico, Virgin Islands. The list comes courtesy of the "us" npm module, and there's a script that regenerates the JSON for our state component from the list, should it ever need to change:

script/make-states

I've also removed the unnecessary <span> elements from the option templates; added snapshot tests for the state and zip components; and added a snippet to the snapshot test suite that triggers the redrawing of select component values, which are not added in the initial render, and which causes the <option> elements to be included in the HTML snapshots.

+1074 -109

1 comment

7 changed files

shawnbot

pr closed time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 1eaccdbc5393ec97e17db9d30a432d07212b032f

update google-spreadsheet

view details

Shawn Allen

commit sha a2fe42873ef59340eefa15cbab0c57b4c74dc674

add ungap/global-this polyfill

view details

Shawn Allen

commit sha 7a8f347d30199893f35cf7e656dc1d75b7919c06

remove ungap/global-this import

view details

Shawn Allen

commit sha 35ea79c2bceea88869b7c2166b67be6d1eca52b1

simplify process.env.NODE_ENV ref

view details

Shawn Allen

commit sha cb3d07fb59334c55018eb2c2edb0a00aa5585ad8

replace rollp-plugin-inject-process-env with rollup-plugin-define

view details

push time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha c522c98ef92ab1ae34d7504b343d96462c4e2445

add "state" and "zip" snapshots; force <select> elements to refresh

view details

Shawn Allen

commit sha 3a6609afd6e043b4f675c1797a1478b98afa5360

remote <span> from state select options

view details

Shawn Allen

commit sha 0691aed058ae299d27223d6f9c395fb83521e911

use "us" npm module for list of states + territories

view details

Shawn Allen

commit sha d40046c1e0338bb539eb6b4c7b3e79e30e927ebd

update google-spreadsheet

view details

Shawn Allen

commit sha b79c3a7091b3cd243bb06a73ea48748b58c6a676

add ungap/global-this polyfill

view details

Shawn Allen

commit sha 6c6f12a74e04e2eb19120fd46d72030d24a12a4d

remove ungap/global-this import

view details

Shawn Allen

commit sha dd7d0e43d1d2aef3c80db30f8f3a8e425daf0c67

simplify process.env.NODE_ENV ref

view details

Shawn Allen

commit sha 53e81abd39f0890c57fb64b5a717ae536602c491

replace rollp-plugin-inject-process-env with rollup-plugin-define

view details

Shawn Allen

commit sha c17cd15540bc087a409df19ba06cecad292b7f50

Merge pull request #129 from SFDigitalServices/global-this Fix unqualified globalThis reference

view details

push time in a day

delete branch SFDigitalServices/formio-sfds

delete branch : global-this

delete time in a day

PR opened SFDigitalServices/formio-sfds

Release 6.4.3

Pull requests

  • [ ] #127 Add U.S. territories to state component values
  • [ ] #128 Fix globalThis reference
+2 -2

0 comment

2 changed files

pr created time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 4879f51de077edcf0501d582277453719032cf8d

bump: v6.4.3

view details

push time in a day

create barnchSFDigitalServices/formio-sfds

branch : release-6.4.3

created branch time in a day

pull request commentSFDigitalServices/formio-sfds

Add globalThis polyfill

As of 53e81ab, this appears to work in Edge 18:

image

shawnbot

comment created time in a day

startedautomerge/automerge

started time in a day

startednotable/notable

started time in a day

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 6c6f12a74e04e2eb19120fd46d72030d24a12a4d

remove ungap/global-this import

view details

Shawn Allen

commit sha dd7d0e43d1d2aef3c80db30f8f3a8e425daf0c67

simplify process.env.NODE_ENV ref

view details

Shawn Allen

commit sha 53e81abd39f0890c57fb64b5a717ae536602c491

replace rollp-plugin-inject-process-env with rollup-plugin-define

view details

push time in a day

PR opened SFDigitalServices/formio-sfds

Add globalThis polyfill

Should fix #128

+1162 -166

0 comment

8 changed files

pr created time in a day

issue openedSFDigitalServices/formio-sfds

Script execution fails in IE, Edge < 78

The culprit? rollup-inject-process-env refers to globalThis, which is undefined in older browsers.

created time in a day

create barnchSFDigitalServices/formio-sfds

branch : global-this

created branch time in a day

PR opened SFDigitalServices/formio-sfds

Include U.S. territories in "state" component

This updates our list of U.S. states in the state component to include territories (D.C., American Samoa, Guam, Puerto Rico, Virgin Islands. The list comes courtesy of the "us" npm module, and there's a script that regenerates the JSON for our state component from the list, should it ever need to change:

script/make-states

I've also removed the unnecessary <span> elements from the option templates; added snapshot tests for the state and zip components; and added a snippet to the snapshot test suite that triggers the redrawing of select component values, which are not added in the initial render, and which causes the <option> elements to be included in the HTML snapshots.

+1074 -109

0 comment

7 changed files

pr created time in 4 days

create barnchSFDigitalServices/formio-sfds

branch : states-and-territories

created branch time in 4 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 906a101110e59ac573019c83a569aa4ece62cf36

add preview (proxy) endpoint

view details

Shawn Allen

commit sha be337c6e347b335ef8ad2fa45ac4a2ff3327e030

make path configurable, try reading standalone bundle w/o require.resolve()

view details

Shawn Allen

commit sha df8ce8ced0a0dd24a4f8b85802a582085e0feb62

move reading script source into conditional

view details

Shawn Allen

commit sha 53e5463252c802898c241d9629d2268039a9c436

fix injection logic, better debugging output

view details

Shawn Allen

commit sha 56c54b3dbd4489cd6c6f7c7df51ca4687cf0e034

fix protocol concatenation

view details

Shawn Allen

commit sha cfd9f9030b0d09d249b032553d7ca84268a848a9

fix where "env={env}" is output

view details

Shawn Allen

commit sha 77d9c6d6f0223e76c8c9e2b409cfd3857720a571

tidy up well template

view details

Shawn Allen

commit sha e940b578ac0d2104214204d8d58d898221839977

add address to list of components that render their own label

view details

Shawn Allen

commit sha feb1a737eb130689774417860fd114b175b5b8fb

wrap address in <fieldset>, tidy up

view details

Shawn Allen

commit sha c6a6c71da424eda2dbd846fde907d950565d1274

add integration test for weird invalid state case

view details

Shawn Allen

commit sha 89f685e3d674a76195f351359d3a7436f2be9491

document and get more specific on the weird test case

view details

Shawn Allen

commit sha 687deafb66236ed71dfd6a65f872aca4febe13a4

make the address component use the "address" template

view details

Shawn Allen

commit sha f59cb9357326ff9056ce20dca4de2438f9fc61cd

clean up fieldset scss

view details

Shawn Allen

commit sha 4060ebd423392562912cc61eba7352988f01da7a

add .formio-nested styles

view details

Shawn Allen

commit sha 335d7bb8509f7d667b3c5058c0a078f8a5b08c36

add formio-nested class to address template

view details

Shawn Allen

commit sha f058f1b1c1cd419121e6b09eabfc7bd0ea1f6411

normalize field description styles

view details

Shawn Allen

commit sha 019d725850176b9795a3999a2d4c1c25eb5c6475

move label (fieldset + legend) into radio template

view details

Shawn Allen

commit sha d5ec030bcc8c89da4241dbd1b6338da58c81d467

tidy up fieldset template

view details

Shawn Allen

commit sha bf041e7b0e5b1cc5d28d6b8738b7427c8566b36b

fix errant left margin on "Get started" wizard button

view details

Shawn Allen

commit sha 9d1b02e8e439948ea3cbd55cb265eaa2ba7b13d1

reset label margins, set font-size: 16px in nested components

view details

push time in 5 days

delete branch SFDigitalServices/formio-sfds

delete branch : v7-main-merge

delete time in 5 days

PR merged SFDigitalServices/formio-sfds

main → 7.0.0 release branch

This includes changes to catch up #73 with #122.

+10895 -4984

2 comments

18 changed files

shawnbot

pr closed time in 5 days

release SFDigitalServices/formio-sfds

v6.4.2

released time in 5 days

issue commentSFDigitalServices/formio-sfds

Address component schemas are difficult to control

Some todos from a chat with @sashax, @hshaosf, and @josh-chou:

  • [x] Make sure Hui and Josh are invited to the forms working group meeting
  • [ ] Update/rewrite this issue so that folks without experience in form.io/formio.js internals can understand it
  • [ ] Turn our address component (back) into a "schema template" rather than "component class"
  • [ ] Set up webhooks to keep our form.io schemas in git (read-only) so that we can audit address usage
shawnbot

comment created time in 6 days

issue commentSFDigitalServices/formio-sfds

Address component schemas are difficult to control

Okay, I've mulled this over and here are a couple of things that I think we (I) need to do, in approximately this order:

  1. Audit our existing forms for existing address components: both ones with the address type and the ones that our custom address component classes (via different versions of our theme) have generated. (Until recently, the component class was generating container components that the form.io portal doesn't treat as "address" types.)

  2. Bring the design (content, data, and visual) of our ideal address component to the forms working group and hammer out how it should really work: which fields it needs, which ones are required, and potential customizations that it might require for individual forms.

  3. Write a thorough test suite for address inputs that ensures it behaves as we expect it. We should consider integration tests with form.io that ensure the roundtrip from portal/builder → server → client/renderer doesn't change its behavior.

  4. Rebuild our custom address component to pass the tests and any additional QA.

  5. Update (some? all?) existing address fields to use our new component.

shawnbot

comment created time in 6 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha c74fe6783503b9202f4785887c7c11965eab69ee

bump: v6.4.2

view details

Shawn Allen

commit sha 58d1547920bd61f9adfc7eea59de775108b6233c

add mb-sm-2 class to address component state input

view details

Shawn Allen

commit sha fff262b3052f7cc5a0305e4ec5aa6fb74ab48c58

update snapshots

view details

Shawn Allen

commit sha 410ae58b72f0204cd8422662b1640f31ddc6080f

fix flex-wrap utilities (set flex-wrap, not flex-direction)

view details

Shawn Allen

commit sha 7f4393ff83216c8f3e700ebf19d56dd794ddf2ba

add builder schema JSON preview to portal view

view details

Shawn Allen

commit sha af0fed678be3132650aef6936234c896cbcf284d

fix output order of responsive spacing utilities

view details

Shawn Allen

commit sha b455eea2723c019d63486febd29fece6fe5f84d8

fix output order of responsive position utilities

view details

Shawn Allen

commit sha daa9d65de4217f452500db8f80f0dfbe1d8e8b2b

fix output order or responsive display utilities

view details

Shawn Allen

commit sha ef285c25ce88e46231eef1ee3ce698e937057a63

tweak address component state margin

view details

Shawn Allen

commit sha 0c9b7ac0e5cf428bd11d6766388343347cd9ba0c

Merge pull request #125 from SFDigitalServices/release-6.4.2 Release 6.4.2

view details

push time in 7 days

delete branch SFDigitalServices/formio-sfds

delete branch : release-6.4.2

delete time in 7 days

PR merged SFDigitalServices/formio-sfds

Release 6.4.2

🐛 Bug fixes

  • Fixes an issue with the state and ZIP code inputs being too close to one another on smaller screens, as reported by @nlsfds:

    image

  • Fixes the output order of many of our responsive CSS utility classes. Previously, each value was output sequentially, which gave precedence to classes with higher values. (For instance, mb-2 was output after mb-*-0, so it was impossible to use mb-2 mb-md-0.) Now, we output breakpoint media queries sequentially, then values, so that responsive utilities have precedence over non-responsive ones. This is what allows mb-2 mb-md-0 ("bottom margin 2 by default, 0 at the medium breakpoint and above") to work.

+24 -15

1 comment

9 changed files

shawnbot

pr closed time in 7 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha ef285c25ce88e46231eef1ee3ce698e937057a63

tweak address component state margin

view details

push time in 7 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 410ae58b72f0204cd8422662b1640f31ddc6080f

fix flex-wrap utilities (set flex-wrap, not flex-direction)

view details

Shawn Allen

commit sha 7f4393ff83216c8f3e700ebf19d56dd794ddf2ba

add builder schema JSON preview to portal view

view details

Shawn Allen

commit sha af0fed678be3132650aef6936234c896cbcf284d

fix output order of responsive spacing utilities

view details

Shawn Allen

commit sha b455eea2723c019d63486febd29fece6fe5f84d8

fix output order of responsive position utilities

view details

Shawn Allen

commit sha daa9d65de4217f452500db8f80f0dfbe1d8e8b2b

fix output order or responsive display utilities

view details

push time in 7 days

push eventSFDigitalServices/sfgov

Shawn Allen

commit sha 617a623abf316bacd32b0e32875b0a492d4ce9c0

6.4.2 → 6.4.1

view details

push time in 7 days

issue openedSFDigitalServices/formio-sfds

Address component schemas are difficult to control

So, we have a pretty hairy problem with the address component. It's complicated, and the behavior of the component differs pretty greatly depending on how the component was added to the form.

  • When you drag a component into the form in the portal, the "builder" gets the _ default schema_ of the component from its class definition. The important part of the schema to note is the components, or children, which might be:

    1. A list of input components defined by the formio.js Address component
    2. A list of input components defined by our custom Address component

    Whichever schema is read by the form builder gets saved to the form definition, and always overrides whatever we have in our theme. That's why, when the built-in Address component is used, our theme still renders the set of fields defined in formio.js (rather than our theme). And, even if we've added one of our custom components, updates to the schema in our theme will be ignored because the component's children on the server "win" when they're merged at runtime.

  • When we instantiate forms with components as {type: 'address'} and (basically) nothing else in the schema, as in examples.yml, the default schema is read from our component class at runtime and merged into the one defined in YAML. Because the schema we've provided doesn't have a components key, the one in our component class "wins". This is why our examples all render our address inputs.

So, here's how this is breaking right now:

  1. Forms that got address components from our custom schema on the form.io portal are "locked in" to whatever default schema was defined in the version of our theme that we told the portal to load (most recently, 6.1.0).
  2. Forms that use the built-in address component have a schema that includes a Country field between state and ZIP code, and none of the fields are required.

Neither of these is doing the right thing, because the schema that they were locked into doesn't include the right customClass fields that get the spacing right. #125 was intended to fix vertical spacing between the city and ZIP inputs on smaller screens, but only works for our example components; any form with the components locked in ignores the custom classes we've updated in the default schema.

There are a couple of different ways that we can fix this, but they all have positives and negatives. I'll enumerate those in a bit, but I wanted to get this down for now and reach out to the form.io folks for some advice before embarking on a solution.

created time in 7 days

PR opened SFDigitalServices/sfgov

Use formio-sfds@6.4.2

I'll open this for review once https://github.com/SFDigitalServices/formio-sfds/pull/125 is released.

+1 -1

0 comment

1 changed file

pr created time in 7 days

create barnchSFDigitalServices/sfgov

branch : formio-sfds-6.4.2

created branch time in 7 days

PR opened SFDigitalServices/formio-sfds

Release 6.4.2

This patch release fixes an issue with the state and ZIP code inputs being too close to one another on smaller screens, as reported by @hshaosf:

image

The fix is adding an mb-sm-2 utility to the state input, which adds a margin-bottom: 20px at/below the "small" viewport with breakpoint.

+5 -4

0 comment

4 changed files

pr created time in 7 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha fff262b3052f7cc5a0305e4ec5aa6fb74ab48c58

update snapshots

view details

push time in 7 days

create barnchSFDigitalServices/formio-sfds

branch : release-6.4.2

created branch time in 7 days

release SFDigitalServices/formio-sfds

v6.4.1

released time in 7 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 0fa5957a85db8fb739623de7aab203eaa1052cdb

add htmlelement template tests

view details

Shawn Allen

commit sha 06789c112d5f512be1a0d058566dabd2e8f6b8e8

fix htmlelement missing content

view details

Shawn Allen

commit sha 18cacda6e0794ebabb1a505300e1fc676122b102

add template test for "content" component (rich text)

view details

Shawn Allen

commit sha c61c06e70a56ff5f0ae4708a80609bb16629ec8e

add assertion to fail "Unknown component:" in rendered HTML

view details

Shawn Allen

commit sha 669613aa47d0ce1b801d711559380e0f40fe1eca

fix "htmlelement" component example (was: "html"), add "content"

view details

Shawn Allen

commit sha 9b074d72d1924aef34412c5e6a799d7b28f187f5

update snapshots

view details

Shawn Allen

commit sha 4c9d45e849f21ffc00e56f6eac6503ffbf9bc9c9

bump: v6.4.1

view details

Shawn Allen

commit sha 22c67b708a55da49835b6c1468947f189145081a

tidy up content smoke tests

view details

Shawn Allen

commit sha cb51f51a7b4d843088652241df67a972182b21ab

fall back to defaultValue in tk() helper

view details

Shawn Allen

commit sha 01894abfe1ae432051dc09928c288c9b3eea1a12

Merge pull request #124 from SFDigitalServices/release-6.4.1 Release 6.4.1

view details

push time in 8 days

delete branch SFDigitalServices/formio-sfds

delete branch : release-6.4.1

delete time in 8 days

PR merged SFDigitalServices/formio-sfds

Release 6.4.1

🐛 Bug fixes

  • Fixes missing content when rendering content components

🏠 Internal

  • Adds smoke tests for htmlelement and content components to ensure that content is rendered
  • Ensures that HTML snapshots do not contain the text content Unknown component:, which is what formio.js renders if it doesn't recognize the component type
+164 -19

1 comment

7 changed files

shawnbot

pr closed time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 22c67b708a55da49835b6c1468947f189145081a

tidy up content smoke tests

view details

Shawn Allen

commit sha cb51f51a7b4d843088652241df67a972182b21ab

fall back to defaultValue in tk() helper

view details

push time in 8 days

PR opened SFDigitalServices/formio-sfds

Release 6.4.1

🐛 Bug fixes

  • Fixes missing content when rendering content components

🏠 Internal

  • Adds smoke tests for htmlelement and content components to ensure that content is rendered
  • Ensures that HTML snapshots do not contain the text content Unknown component:, which is what formio.js renders if it doesn't recognize the component type
+161 -18

0 comment

6 changed files

pr created time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 4c9d45e849f21ffc00e56f6eac6503ffbf9bc9c9

bump: v6.4.1

view details

push time in 8 days

create barnchSFDigitalServices/formio-sfds

branch : release-6.4.1

created branch time in 8 days

PR opened SFDigitalServices/formio-sfds

main → 7.0.0 release branch

🚧 Documenting changes to catch up #73 with #122.

+10895 -4984

0 comment

18 changed files

pr created time in 8 days

create barnchSFDigitalServices/formio-sfds

branch : v7-main-merge

created branch time in 8 days

PR opened SFDigitalServices/sfgov

Update formio-sfds to 6.4.0

See https://github.com/SFDigitalServices/formio-sfds/releases/tag/v6.4.0 for more info.

@aekong This release has been tested more thoroughly and is ready to go. This supersedes #695.

+1 -1

0 comment

1 changed file

pr created time in 8 days

create barnchSFDigitalServices/sfgov

branch : formio-sfds-6.4.0

created branch time in 8 days

release SFDigitalServices/formio-sfds

v6.4.0

released time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 906a101110e59ac573019c83a569aa4ece62cf36

add preview (proxy) endpoint

view details

Shawn Allen

commit sha be337c6e347b335ef8ad2fa45ac4a2ff3327e030

make path configurable, try reading standalone bundle w/o require.resolve()

view details

Shawn Allen

commit sha df8ce8ced0a0dd24a4f8b85802a582085e0feb62

move reading script source into conditional

view details

Shawn Allen

commit sha 53e5463252c802898c241d9629d2268039a9c436

fix injection logic, better debugging output

view details

Shawn Allen

commit sha 56c54b3dbd4489cd6c6f7c7df51ca4687cf0e034

fix protocol concatenation

view details

Shawn Allen

commit sha cfd9f9030b0d09d249b032553d7ca84268a848a9

fix where "env={env}" is output

view details

Shawn Allen

commit sha 77d9c6d6f0223e76c8c9e2b409cfd3857720a571

tidy up well template

view details

Shawn Allen

commit sha e940b578ac0d2104214204d8d58d898221839977

add address to list of components that render their own label

view details

Shawn Allen

commit sha feb1a737eb130689774417860fd114b175b5b8fb

wrap address in <fieldset>, tidy up

view details

Shawn Allen

commit sha c6a6c71da424eda2dbd846fde907d950565d1274

add integration test for weird invalid state case

view details

Shawn Allen

commit sha 89f685e3d674a76195f351359d3a7436f2be9491

document and get more specific on the weird test case

view details

Shawn Allen

commit sha 687deafb66236ed71dfd6a65f872aca4febe13a4

make the address component use the "address" template

view details

Shawn Allen

commit sha f59cb9357326ff9056ce20dca4de2438f9fc61cd

clean up fieldset scss

view details

Shawn Allen

commit sha 4060ebd423392562912cc61eba7352988f01da7a

add .formio-nested styles

view details

Shawn Allen

commit sha 335d7bb8509f7d667b3c5058c0a078f8a5b08c36

add formio-nested class to address template

view details

Shawn Allen

commit sha f058f1b1c1cd419121e6b09eabfc7bd0ea1f6411

normalize field description styles

view details

Shawn Allen

commit sha 019d725850176b9795a3999a2d4c1c25eb5c6475

move label (fieldset + legend) into radio template

view details

Shawn Allen

commit sha d5ec030bcc8c89da4241dbd1b6338da58c81d467

tidy up fieldset template

view details

Shawn Allen

commit sha bf041e7b0e5b1cc5d28d6b8738b7427c8566b36b

fix errant left margin on "Get started" wizard button

view details

Shawn Allen

commit sha 9d1b02e8e439948ea3cbd55cb265eaa2ba7b13d1

reset label margins, set font-size: 16px in nested components

view details

push time in 8 days

delete branch SFDigitalServices/formio-sfds

delete branch : release-6.4.0

delete time in 8 days

PR merged SFDigitalServices/formio-sfds

Release 6.4.0

🚀 New features

  • Improved vertical spacing between components
  • Improved font styles for labels and fieldset legends
  • Improved spacing between nested (address, fieldset, and well) components
  • Improves direct nesting of <label> in <fieldset> elements

🐛 Bug fixes

  • adds a smoke test for a weird case of failed form validation
  • fixes address component "decoupling" issues in the form.io portal
  • improves

Pull requests

  • [x] #121
  • [x] #116 (cherry-picked on the command line)
+8048 -472

1 comment

19 changed files

shawnbot

pr closed time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha c6a6c71da424eda2dbd846fde907d950565d1274

add integration test for weird invalid state case

view details

Shawn Allen

commit sha 89f685e3d674a76195f351359d3a7436f2be9491

document and get more specific on the weird test case

view details

Shawn Allen

commit sha 687deafb66236ed71dfd6a65f872aca4febe13a4

make the address component use the "address" template

view details

Shawn Allen

commit sha f59cb9357326ff9056ce20dca4de2438f9fc61cd

clean up fieldset scss

view details

Shawn Allen

commit sha 4060ebd423392562912cc61eba7352988f01da7a

add .formio-nested styles

view details

Shawn Allen

commit sha 335d7bb8509f7d667b3c5058c0a078f8a5b08c36

add formio-nested class to address template

view details

Shawn Allen

commit sha f058f1b1c1cd419121e6b09eabfc7bd0ea1f6411

normalize field description styles

view details

Shawn Allen

commit sha 019d725850176b9795a3999a2d4c1c25eb5c6475

move label (fieldset + legend) into radio template

view details

Shawn Allen

commit sha d5ec030bcc8c89da4241dbd1b6338da58c81d467

tidy up fieldset template

view details

Shawn Allen

commit sha bf041e7b0e5b1cc5d28d6b8738b7427c8566b36b

fix errant left margin on "Get started" wizard button

view details

Shawn Allen

commit sha 9d1b02e8e439948ea3cbd55cb265eaa2ba7b13d1

reset label margins, set font-size: 16px in nested components

view details

Shawn Allen

commit sha 36c2619f5dcd2fc1b874a9d6336fe6910189d681

add well example

view details

Shawn Allen

commit sha 0a1290ee975f9a35326b49429391f90a309d2ad6

add empty default description to address schema

view details

Shawn Allen

commit sha 41337a30c0210e12a0b6ddb6f1d66ff74d5c8a9f

use <span> in <label> rather than <div> in checkbox template

view details

Shawn Allen

commit sha 16c18fc4fc9b431c09a48198f35d8427034ff5a9

conditionally add fg-light-slate to "visible" wells

view details

Shawn Allen

commit sha 09e90402e95031960c545293c11edc9a61ad49b7

tweak vertical spacing in nested, address components

view details

Shawn Allen

commit sha 0043259f74ef7691f53761cca3d25f03f8561ff5

remove address component city & state defaults

view details

Shawn Allen

commit sha 7ab7f37e522d7923d3db645597f7287e2ec97925

add well, fieldset, and fieldset-in-well examples

view details

Shawn Allen

commit sha 2c173d741db1e30ebff9d755fae1e7b8edaf8560

rework vertical component rhythm css again

view details

Shawn Allen

commit sha fd3d1724e88a021671c3fe4bc6b4310265c43e6a

improve spacing around fieldset legend + description

view details

push time in 8 days

delete branch SFDigitalServices/formio-sfds

delete branch : weird-test-case

delete time in 8 days

PR merged SFDigitalServices/formio-sfds

Reapply vertical spacing fixes to 6.2.x, add integration test case

This is a (manual) re-application the blue background and vertical spacing fixes originally introduced in #109, but without the weird regression documented in #119.

Current status

  • Something in the 6.3.0 release (#109) broke this form in such a way that it's impossible to move past the 3rd page
  • sf.gov is stuck on 6.2.1 until this issue is resolved
  • I was hoping to plow ahead to the 7.0 release (#73), but the issue persists in that branch as well

What this does

  1. Introduces an integration test that simulates the failure condition of the form linked above. I downloaded the JSON from form.io and turned that into a test fixture, then wrote a very basic test that jumps to the third page, simulates clicking the "next" button, and checks that all of the required fields are properly marked as invalid.

  2. Removes blue background from radio, checkbox, and fieldset components; preserves it in address and "well" components; and normalizes vertical spacing within nested components.

Review links

v6.3.0 This PR
The broken form Before After
Fieldset component Before After
Well component Before After
Radio component Before After
Selectboxes component Before After
Address component Before After
Kitchen sink example Before After

The plan moving forward

  1. Release this in #122
  2. Deprecate 6.32. Cherry-pick the integration test onto the 7.0 release branch (and make sure that the test fails as expected!)
  3. Get the tests passing again
  4. Release 7.0 #73
+7929 -464

2 comments

16 changed files

shawnbot

pr closed time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha a9c29ecd483f953b459ddc9e5dec70545a43e2a2

update snapshots

view details

push time in 8 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha e1971d055af438263890192e0b715e2abc00ef99

bump: v6.3.0

view details

Shawn Allen

commit sha 33208eafa12e04b34e0fef217c73ee34b0a131ba

add html snapshot serializer

view details

Shawn Allen

commit sha 8e4535261d5767e2c1648ef7c2cddcefbf2d8254

add component HTML snapshot tests

view details

Shawn Allen

commit sha 10c3fb28d5d0d44292923986b9c6f0de88707832

add more component snapshots

view details

Shawn Allen

commit sha ba71a568105fea246a802aa1d0a7fc4ac71f4f76

revert snapshots

view details

Shawn Allen

commit sha ce098d6815137ca57b17f3781ce08c22f3cb2ff7

bump jest

view details

Shawn Allen

commit sha dcd00920bdf827c33808737ab596396d8cce1863

Merge pull request #110 from SFDigitalServices/html-snapshots Add HTML snapshot tests

view details

Shawn Allen

commit sha cc8ec45887b17d7a2e2f70a582f31fc81d9b341f

nix .field-wrapper negative margins

view details

Shawn Allen

commit sha 5bad5d2461f3b6f36a4557ac229b46d018230ab8

use the "address" template in the Address component

view details

Shawn Allen

commit sha 504855e0cd0cd7d56af83058e8929165c8485897

add tk(field) template helper

view details

Shawn Allen

commit sha a2e17337b4d603ae6e25f975294ce7d355c3151d

add CSS fix for button:hover border-bottom

view details

Shawn Allen

commit sha 984144ba02dceb72ebff8094f2ed62fe5e51d867

fix phoneNumber type, more example descriptions

view details

Shawn Allen

commit sha 49a40dbbb11a99dccba3436d9245849795f0aa13

fix some bugs in tk() helper

view details

Shawn Allen

commit sha cbccac37277afcf2ccb350b11e02ef7a0b862a33

move button border-bottom patch out of .btn

view details

Shawn Allen

commit sha 6391031a0fc52ecc68fcfa3c7f3f4fed8cf29b64

simplify fieldset CSS reset

view details

Shawn Allen

commit sha a7f87dc67d6ee3d727d7ba0ae1de8a2ba9b6138f

promote <label> letter-spacing reset to hacks

view details

Shawn Allen

commit sha 5d055d909df00cb7174707afbe1012f7c3dff9e6

wrap address inputs in fieldset w/legend

view details

Shawn Allen

commit sha 4de617f45e45db3b4d8ea239fbaa1e9cee637ec5

tweak spacing in checkbox template

view details

Shawn Allen

commit sha ed258d6526d6856c525987d2ebaf464a5d9ffe48

add more "inner description" cases to field template, nix tooltip

view details

Shawn Allen

commit sha dcbbd3b0ce243dc18a5adde7e153da08feffa320

simplify fieldset component template

view details

push time in 11 days

PullRequestEvent

create barnchSFDigitalServices/formio-sfds

branch : weird-test-case

created branch time in 11 days

delete branch SFDigitalServices/formio-sfds

delete branch : release-6.2.2

delete time in 11 days

delete branch SFDigitalServices/formio-sfds

delete branch : weird-test-case

delete time in 11 days

delete branch SFDigitalServices/formio-sfds

delete branch : jsx-take-two

delete time in 11 days

PR closed SFDigitalServices/formio-sfds

JSX templates (take two)

🚧 proof of concept 🚧

This is a second take on the JSX template proof of concept in #107 that uses jsx-pragmatic's HTML renderer as the runtime, and improves the JSX linting situation a bit.

+985 -149

2 comments

12 changed files

shawnbot

pr closed time in 11 days

delete branch SFDigitalServices/formio-sfds

delete branch : jsx-templates

delete time in 11 days

PR closed SFDigitalServices/formio-sfds

JSX templates (proof of concept)

Nothing to see here... 😗

+523 -45

2 comments

11 changed files

shawnbot

pr closed time in 11 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 463f771d7bbbb52ae229c8f19828de05cc864bf1

add field label translation test

view details

Shawn Allen

commit sha d87d27970f3896270933c3fc383c5b4163be4dfc

move more i18n tests from patch -> i18n

view details

Shawn Allen

commit sha 4abc274500366a68d5ad6f9b9b2535aefe3bec6f

Merge pull request #102 from SFDigitalServices/more-i18n-tests More i18n/translation tests

view details

push time in 11 days

delete branch SFDigitalServices/formio-sfds

delete branch : more-i18n-tests

delete time in 11 days

PR merged SFDigitalServices/formio-sfds

More i18n/translation tests

This reorganizes the localization tests and adds a kind of smoke test for textfield label translations that we were missing. (The other "end" of this test suite is making sure that the localizations are loaded in the first place. The new test makes sure that i18next gets the localized strings and that they're output in the template.)

+143 -98

2 comments

3 changed files

shawnbot

pr closed time in 11 days

PR closed SFDigitalServices/formio-sfds

Reapply vertical spacing fixes to 6.2.x, add integration test case

This is a (manual) re-application the blue background and vertical spacing fixes originally introduced in #109, but without the weird regression documented in #119.

Current status

  • Something in the 6.3.0 release (#109) broke this form in such a way that it's impossible to move past the 3rd page
  • sf.gov is stuck on 6.2.1 until this issue is resolved
  • I was hoping to plow ahead to the 7.0 release (#73), but the issue persists in that branch as well

What this does

  1. Introduces an integration test that simulates the failure condition of the form linked above. I downloaded the JSON from form.io and turned that into a test fixture, then wrote a very basic test that jumps to the third page, simulates clicking the "next" button, and checks that all of the required fields are properly marked as invalid.

  2. Removes blue background from radio, checkbox, and fieldset components; preserves it in address and "well" components; and normalizes vertical spacing within nested components.

Review links

v6.3.0 This PR
The broken form Before After
Fieldset component Before After
Well component Before After
Radio component Before After
Selectboxes component Before After
Address component Before After
Kitchen sink example Before After

The plan moving forward

  1. Release this in a patch for 6.2.1 (6.2.2)
  2. Cherry-pick the integration test onto the 7.0 release branch (and make sure that the test fails as expected!)
  3. Get the tests passing again
  4. Release 7.0
  5. Deprecate 6.3
+7588 -115

2 comments

16 changed files

shawnbot

pr closed time in 11 days

pull request commentSFDigitalServices/formio-sfds

Reapply vertical spacing fixes to 6.2.x, add integration test case

Closing as I've merged this manually in #122.

shawnbot

comment created time in 11 days

PR opened SFDigitalServices/formio-sfds

Release 6.4.0

This PR is a mash-up of #116 and #121, which I merged and resolved conflicts from the command line. It turns out that the conflicts weren't too bad to make this work off of the main branch, which simplifies the release process quite a bit.

🚀 New features

  • Improved vertical spacing between components
  • Improved font styles for labels and fieldset legends
  • Improved spacing between nested (address, fieldset, and well) components
  • Improves direct nesting of <label> in <fieldset> elements

🐛 Bug fixes

  • adds a smoke test for a weird case of failed form validation
  • fixes address component "decoupling" issues in the form.io portal
  • improves

Pull requests

  • #121 (merged on the command line)
  • #116 (cherry-picked on the command line)
+139 -28

0 comment

6 changed files

pr created time in 11 days

create barnchSFDigitalServices/formio-sfds

branch : release-6.4.0

created branch time in 11 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 906a101110e59ac573019c83a569aa4ece62cf36

add preview (proxy) endpoint

view details

Shawn Allen

commit sha be337c6e347b335ef8ad2fa45ac4a2ff3327e030

make path configurable, try reading standalone bundle w/o require.resolve()

view details

Shawn Allen

commit sha df8ce8ced0a0dd24a4f8b85802a582085e0feb62

move reading script source into conditional

view details

Shawn Allen

commit sha 53e5463252c802898c241d9629d2268039a9c436

fix injection logic, better debugging output

view details

Shawn Allen

commit sha 56c54b3dbd4489cd6c6f7c7df51ca4687cf0e034

fix protocol concatenation

view details

Shawn Allen

commit sha cfd9f9030b0d09d249b032553d7ca84268a848a9

fix where "env={env}" is output

view details

Shawn Allen

commit sha 77d9c6d6f0223e76c8c9e2b409cfd3857720a571

tidy up well template

view details

Shawn Allen

commit sha e940b578ac0d2104214204d8d58d898221839977

add address to list of components that render their own label

view details

Shawn Allen

commit sha feb1a737eb130689774417860fd114b175b5b8fb

wrap address in <fieldset>, tidy up

view details

Shawn Allen

commit sha c2ef0d820e84bcf0d422263ac436e3877f2d990f

bump: v6.2.2

view details

push time in 11 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha 5e8947fa4c4472017299341dfda7abfb792317ce

tidy up wizardHeader template

view details

push time in 11 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha b2124f29fc41b2eefc97b4e8b960e23ec0018993

add blank option to state values

view details

push time in 11 days

push eventSFDigitalServices/formio-sfds

Shawn Allen

commit sha da1504419b4731cfb2783d1a7e852b05cd9e328f

prevent custom address component from "detaching" in builder view

view details

push time in 11 days

more