Thomas Heartman
9448461aaa
docs: prep to add OpenAPI spec to Unleash docs ( #1907 )
...
* Docs: start experimenting with OpenAPI and docusaurus
* Docs: add docusaurus-theme-openapi-docs pkg
* Wip: current status
* Docs: Add 'docusaurus-plugin-api-docs'
* Move openapi into own sidebar; generate from localhost
* Chore: Update docusaurus plugin for OpenAPI
* Add website/yarn.lock to git
* Fix: fix CSS warning by using flex-end instead of end
* docs: make openapi generated code work again
* docs: make tags work properly with openapi sidebar
* Docs/chore: update OpenAPI tag scheme.
Add a whole bunch of new tags to make it easier to understand
available tags in OpenAPI.
* docs: point to new openapi docs from old api docs
* docs: typo
* Docs: link restructure
* docs: add operation indicators to openapi docs
* docs: change badge color for operations
* docs: update openapi-docs package
It now sorts tags the same as the schema
* docs: pluralize APIs in slug
* docs: update links to generated api docs
* docs: update openapi snapshot tests with new tags
* docs: conditionally load spec from localhost or from file
* docs: Remove changes relating to immediate switchover
* refactor: rename types; extract into separate file
* docs: fix api doc links
2022-08-12 11:37:57 +02:00
Thomas Heartman
18c16b3040
fix: make sure customer type is included in the payload.
...
Because it previously set it via a reducer and submitted the form in
the same step, the customer type wouldn't be set correctly before the
form was submitted, causing it to show up as "undefined".
We're doing double the work now, but I think that's an acceptable
trade-off for now.
2022-03-10 10:12:10 +01:00
Thomas Heartman
027eac47ac
feat: add data: "was the form opened manually" and "current page"
2022-03-10 09:48:58 +01:00
Thomas Heartman
22c4752c53
fix: remove empty ruleset
2022-03-10 09:40:28 +01:00
Thomas Heartman
f49fde0923
fix: make buttons visually align in Chrome and Firefox
2022-03-02 15:47:45 +01:00
Thomas Heartman
756204c529
feat: type feedback component.
2022-03-02 12:05:29 +01:00
Thomas Heartman
4871f178a1
chore: convert feedback component to typescript
2022-03-02 10:50:46 +01:00
Thomas Heartman
c520e11892
fix: retranspose transposed words
2022-03-01 17:22:58 +01:00
Thomas Heartman
9c0a5b4c12
fix: use position: fixed to set UI components of feedback.
2022-03-01 17:21:28 +01:00
Thomas Heartman
d0132ef61d
docs: integrate unleash to show feedback
2022-03-01 17:21:14 +01:00
Thomas Heartman
553b8020fd
docs: fix styling issues on narrow screens
2022-03-01 08:44:57 +01:00
Thomas Heartman
e12aa94695
feat: set completion flag upon submitting form
2022-02-28 23:59:59 +01:00
Thomas Heartman
44cac1e7d2
chore: remove debug logs
2022-02-28 23:50:10 +01:00
Thomas Heartman
98298dc42b
feat: implement saving and loading from localStorage
2022-02-28 23:41:42 +01:00
Thomas Heartman
f9561c3661
feat: clear form on manual closing.
2022-02-28 23:33:48 +01:00
Thomas Heartman
74a3c27b06
clear form after submission and re-opening
2022-02-28 23:18:53 +01:00
Thomas Heartman
0e96a39ecf
fix: remove pointer events from hidden content.
2022-02-28 23:18:36 +01:00
Thomas Heartman
b2a1628ff5
feat: set up request execution on form submission
2022-02-28 23:13:07 +01:00
Thomas Heartman
0e4d2cf102
step forward after submitting response
2022-02-28 22:29:27 +01:00
Thomas Heartman
5c35ea84b7
fix: don't reset radio group values to undefined
2022-02-28 22:14:53 +01:00
Thomas Heartman
a2a7499e95
chore: minor cleanup and simplification
2022-02-28 22:11:55 +01:00
Thomas Heartman
05d8cfe10c
feat: fix keyboard focus between screens
2022-02-28 22:09:18 +01:00
Thomas Heartman
f215980d6c
feat: overlay form sections
2022-02-28 15:36:46 +01:00
Thomas Heartman
355b516dae
feat: render all steps at the same time, add thank you; first anims
2022-02-28 15:19:15 +01:00
Thomas Heartman
5456b093be
feat: style open-feedback-button.
2022-02-28 14:35:02 +01:00
Thomas Heartman
911f65856f
feat: further styling and hooking up of open feedback-button
2022-02-28 12:27:10 +01:00
Thomas Heartman
56d9335162
docs: set customer type correctly
2022-02-28 10:25:16 +01:00
Thomas Heartman
6916873ec7
docs: style input text area
2022-02-28 10:19:02 +01:00
Thomas Heartman
9b1f9b764b
feat: start hooking up open/close logic
2022-02-27 19:59:30 +01:00
Thomas Heartman
a629c36fe7
feat: hide 'very unsatisfied'/'very satisfied' on smaller sreens
2022-02-27 19:40:14 +01:00
Thomas Heartman
e007123c59
fix: make close button visible again
2022-02-27 16:27:28 +01:00
Thomas Heartman
1534fd1674
feat: style page 3
2022-02-27 16:15:46 +01:00
Thomas Heartman
5bc48076a2
feat: reverse source order of form control buttons.
...
this makes 'submit' or 'next' the first button you reach when tabbing
out of the control
2022-02-27 16:02:00 +01:00
Thomas Heartman
19e03e94e0
style page 2
2022-02-27 15:57:30 +01:00
Thomas Heartman
da38a419ed
feat: create step 1 and set up step 2
2022-02-27 15:16:51 +01:00
Thomas Heartman
5340ca28fc
move subcomponent into wrapper
2022-02-27 14:59:33 +01:00
Thomas Heartman
35a939b895
feat: start splitting component up into multiple pieces.
2022-02-27 14:37:44 +01:00
Thomas Heartman
211b18c4a3
feat: start adding state logic to component.
2022-02-26 21:38:07 +01:00
Thomas Heartman
6e2072bca4
chore: first feedback page
2022-02-25 17:10:29 +01:00
Thomas Heartman
a6191f5ab8
feat: rough style first question page of feedback component.
2022-02-25 12:57:13 +01:00
Thomas Heartman
aa3fb6c4e2
chore: rename styles to module, add more focus styles
2022-02-24 18:00:03 +01:00
Thomas Heartman
39f4d73d59
feat: add basic (sorta styled) first feedback screen
2022-02-24 17:42:53 +01:00
Thomas Heartman
0160eb8ef3
docs: swizzle root and add feedback component
2022-02-24 16:28:05 +01:00
Thomas Heartman
105f3bac21
chore: use standard css file name
2022-02-23 10:37:52 +01:00
Thomas Heartman
9bcb489d8c
docs: add data-theme attribute to storybook html
2022-02-17 13:47:04 +01:00