1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

91 Commits

Author SHA1 Message Date
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
65da8a845a feat: update ApiRequest to accept POST w/o payloads 2022-04-27 10:55:33 +02:00
Thomas Heartman
ecbae418d4 feat: allow ApiRequest component to create proxy requests 2022-04-13 15:15:08 +02:00
Thomas Heartman
c0228a0ca3 chore: remove unused code 2022-04-02 16:39:16 +02:00
Thomas Heartman
3846ad8252 fix: re-add the groupId prop for the API request tabs component. 2022-04-02 16:27:20 +02:00
Thomas Heartman
cfbe04272a feat: make API request component work without payloads
There's been no previous need for GET or DELETE requests, but now that
we do need them, the payload shouldn't show up as `undefined`
2022-04-01 15:47:00 +02:00
Thomas Heartman
d167de76d8 docs: add stories file for API request component 2022-04-01 15:47:00 +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
6b624081fa chore: remove node-fetch, don't do Unleash server-side 2022-03-02 15:57:16 +01:00
Thomas Heartman
f49fde0923 fix: make buttons visually align in Chrome and Firefox 2022-03-02 15:47:45 +01:00
Thomas Heartman
fd0b5fd6e4 Revert "fix: remove node-fetch and SSR to fix the build"
This reverts commit e106943e4b.
2022-03-02 13:56:54 +01:00
Thomas Heartman
e106943e4b fix: remove node-fetch and SSR to fix the build 2022-03-02 13:50:08 +01:00
Thomas Heartman
756204c529 feat: type feedback component. 2022-03-02 12:05:29 +01:00
Thomas Heartman
1054f74141 fix: correct the check for fetch to use SSR config in SSR situations 2022-03-02 11:43:12 +01:00
Thomas Heartman
d210fcb05c fix: make the build not die if window.fetch isn't available. 2022-03-02 11:43:12 +01:00
Thomas Heartman
4871f178a1 chore: convert feedback component to typescript 2022-03-02 10:50:46 +01:00
Thomas Heartman
67269d9530 fix: change refresh interval from 1 to 0.
At the moment, we only need to check the features once. There's no
need to have things suddenly appear for users who have it loaded already.
2022-03-02 08:40:36 +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