1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
Fredrik Strand Oseberg 2c1353d0ea Feat/new constraints (#718)
* fix: add initial interface

* feat: create separate components

* feat: implement constraints for existing strategies

* feat: add searchfield

* fix: reset values on context change

* fix: key issue with duplicate values

* fix: increase auto hide duration of errors

* fix: types

* feat: resolve inputs

* fix: add date input

* fix: add filter

* fix: create strategy

* fix: remove unused deps

* feat: validation

* fix: type setError

* feat: handle currentTime based on client spec

* fix: date field

* feat: api validation

* fix: refactor

* fix: refactor

* feat: add compact

* fix: remove unused code

* feat: mobile optimisations

* fix: remove coalescing operator for constraint

* fix: clone deep

* fix: move parseDate

* fix: lift state up for value setting on dates

* fix: rename values

* fix: change type to interface

* fix: lazy initialise values

* fix: create operator type

* fix: update naming

* fix: naming

* fix: aria hidden

* fix: remove optional operator

* fix: rename new constraints

* fix: setup flag

* fix: refactor date check to date-fns

* fix: use date-fns for validation

* fix: detach validators from state

* refactor: move resolve input to it's own component

* fix: remove unused imports

* fix: change values container to overflow auto

* fix: update placeholder

* fix: update import

* fix: backwards compatability

* fix: hide paragraphs if not active

* fix: update path

* fix: update strategy text
2022-03-04 17:29:51 +01:00
..
.github/workflows chore(deps): update actions/checkout action to v2 (#589) 2022-02-28 09:28:01 +01:00
cypress refactor: fix flaky Cypress tests (#746) 2022-02-25 10:21:28 +01:00
public fix: revert favicon path in index.html 2022-01-05 13:54:29 +01:00
src Feat/new constraints (#718) 2022-03-04 17:29:51 +01:00
.editorconfig add editorconfig 2016-12-05 23:08:32 +01:00
.gitignore
.nvmrc Set .nvmrc to 14 to reflect new requirement of node 2021-05-06 09:35:02 +02:00
.prettierignore
.prettierrc refactor: format files (#719) 2022-02-18 09:51:10 +01:00
CHANGELOG.md
cypress.json refactor: fix flaky Cypress tests (#746) 2022-02-25 10:21:28 +01:00
index.js
LICENSE
package.json Feat/new constraints (#718) 2022-03-04 17:29:51 +01:00
README.md refactor: remove craco and wdyr (#753) 2022-03-01 10:56:38 +01:00
renovate.json
tsconfig.json feat: add baseUrl to tsconfig and update imports 2022-02-20 21:08:02 +01:00
typings.json
vercel.json
yarn.lock Feat/new constraints (#718) 2022-03-04 17:29:51 +01:00

unleash-frontend

Run with a local instance of the unleash-api:

You need to first start the unleash-api on port 4242 before you can start working on unleash-frontend. Start webpack-dev-server with hot-reload:

cd ~/unleash-frontend
yarn install
yarn run start

Run with a heroku-hosted unleash-api:

cd ~/unleash-frontend
yarn install
yarn run start:heroku

UI Framework

We are using material-ui.

Happy coding!