1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/utils
Nuno Góis 7093b49962 feat: add billing page to admin (#993)
* feat: add billing page to admin

* some adjustments to billing page

* add BillingHistory, remove invoices, misc improvements

* refactor based on instanceStatus logic, add dialog

* fix: cleanup

* some refactoring and alignment with figma

* add extend, isBilling, refactoring and misc improvements

* fix: update tests

* refactor: reorganize billing into smaller components, misc improvements

* add STRIPE flag, some refactoring and adapting to comments and discussion

* adapt BillingHistory slightly, refactor TextCell

* Update src/hooks/api/getters/useInstanceStatus/useInstanceStatus.ts

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* refactor: address PR comments

* fix: adjust divider color

* fix: update snaps

* refactor: address PR comments

* fix: update snaps

* fix: amountFormatted typo

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-05-25 23:26:05 +02:00
..
apiUtils.ts Refactor: convert jsx files to typescript (#881) 2022-05-02 12:52:33 +02:00
arraysHaveSameItems.test.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
arraysHaveSameItems.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
billing.ts feat: add billing page to admin (#993) 2022-05-25 23:26:05 +02:00
calculatePercentage.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
cleanConstraint.test.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
cleanConstraint.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
env.test.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
env.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
formatAccessText.test.ts refactor: improve icon labels and tooltips (#884) 2022-04-21 08:26:49 +02:00
formatAccessText.ts refactor: improve icon labels and tooltips (#884) 2022-04-21 08:26:49 +02:00
formatConstraintValue.ts feat: expand constraint operator descriptions (2) (#858) 2022-04-07 10:31:06 +02:00
formatDate.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
formatPath.test.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
formatPath.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
formatUnknownError.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
formatUnknownError.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
getFeatureMetrics.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
getFeatureTypeIcons.ts Feature list table (#908) 2022-05-05 15:34:46 +02:00
getStrategyObject.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
nonEmptyArray.ts fix: ignore empty legal values arrays (#893) 2022-04-20 15:57:01 +02:00
objectId.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
objectId.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
oneOf.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
openapiClient.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
operatorsForContext.ts feat: expand constraint operator descriptions (2) (#858) 2022-04-07 10:31:06 +02:00
paginate.test.ts Feat/group by projects (#308) 2021-07-07 11:04:36 +02:00
paginate.ts Feat/group by projects (#308) 2021-07-07 11:04:36 +02:00
parseParameter.test.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
parseParameter.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
projectFilterGenerator.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
removeEmptyStringFields.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
removeEmptyStringFields.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
resolveDefaultParamValue.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
routePathHelpers.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
segmentLimits.ts refactor: add segment limit warnings (#851) 2022-04-07 14:47:24 +02:00
sortTypes.ts Project overview feature toggles list (#971) 2022-05-13 14:51:22 +02:00
storage.ts refactor: port FeatureToggleList to TS/SWR (#663) 2022-02-08 12:06:25 +01:00
strategyNames.ts chore: update MUI to v5 (#923) 2022-05-02 15:52:41 +02:00
testIds.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
testRenderer.tsx chore: update react-router to v6 (#946) 2022-05-05 13:42:18 +02:00
testServer.ts refactor: convert auth tests from Cypress to Jest (#864) 2022-04-08 13:13:45 +02:00