olav
2e367b3a04
feat: add trial expiration warning banner ( #985 )
...
* refactor: simplify useApiGetter cache keys
* refactor: simplify basePath helpers
* refactor: add UNLEASH_BASE_PATH frontend env var
* refactor: make sure AnnouncerElement does not affect the layout
* refactor: draw texture image above footer
* refactor: extract domain check helpers
* refactor: fix a few ts-expect-errors
* feat: add trial expiration warning banner
* refactor: fix IInstanceStatus interface prefix
* refactor: use ConditionallyRender in InstanceStatus
* refactor: simplify env helper functions
* refactor: use FC in InstanceStatus
* refactor: warn about expired trials
* refactor: fix eslint warnings
* refactor: disable banner outside of localhost
* refactor: use new instance state field name
2022-05-19 14:06:18 +02:00
andreas-unleash
1a27bffe4d
Complete open api schemas for project features controller ( #1563 )
...
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* bug fix
* bug fix
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* added emptyResponse, patch feature operation schemas and request
* added emptyResponse, patch feature operation schemas and request
* patch strategy
* patch strategy
* update strategy
* update strategy
* fix pr comment
* fix pr comments
* improvements
* added operationId to schema for better generation
* fix pr comment
* fix pr comment
* fix pr comment
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* Update response types to use inferred types
* Update addTag response status to 201
* refactor: move schema ref destructuring into createSchemaObject
* made serialize date handle deep objects
* made serialize date handle deep objects
* add `name` to IFeatureStrategy nad fix tests
* fix pr comments
* fix pr comments
* Add types to IAuthRequest
* Sync StrategySchema for FE and BE - into the rabbit hole
* Sync model with OAS spec
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* bug fix
* bug fix
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* added emptyResponse, patch feature operation schemas and request
* added emptyResponse, patch feature operation schemas and request
* patch strategy
* patch strategy
* update strategy
* update strategy
* fix pr comment
* fix pr comments
* improvements
* added operationId to schema for better generation
* fix pr comment
* fix pr comment
* fix pr comment
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* Update response types to use inferred types
* Update addTag response status to 201
* refactor: move schema ref destructuring into createSchemaObject
* made serialize date handle deep objects
* made serialize date handle deep objects
* add `name` to IFeatureStrategy nad fix tests
* fix pr comments
* fix pr comments
* Add types to IAuthRequest
* Sync StrategySchema for FE and BE - into the rabbit hole
* Sync model with OAS spec
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* bug fix
* bug fix
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* added emptyResponse, patch feature operation schemas and request
* added emptyResponse, patch feature operation schemas and request
* patch strategy
* patch strategy
* update strategy
* update strategy
* fix pr comment
* fix pr comments
* improvements
* added operationId to schema for better generation
* fix pr comment
* fix pr comment
* fix pr comment
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* Update response types to use inferred types
* Update addTag response status to 201
* refactor: move schema ref destructuring into createSchemaObject
* made serialize date handle deep objects
* made serialize date handle deep objects
* add `name` to IFeatureStrategy nad fix tests
* fix pr comments
* fix pr comments
* Add types to IAuthRequest
* Sync StrategySchema for FE and BE - into the rabbit hole
* Sync model with OAS spec
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* Completed OpenAPI Schemas for ProjectFeatures Controller
Completed OpenAPI Schemas for Feature Controller (tags)
* bug fix
* bug fix
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* fix merge conflicts, some refactoring
* added emptyResponse, patch feature operation schemas and request
* added emptyResponse, patch feature operation schemas and request
* patch strategy
* patch strategy
* update strategy
* update strategy
* fix pr comment
* fix pr comments
* improvements
* added operationId to schema for better generation
* fix pr comment
* fix pr comment
* fix pr comment
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* improvements to generated and dynamic types
* Update response types to use inferred types
* Update addTag response status to 201
* refactor: move schema ref destructuring into createSchemaObject
* made serialize date handle deep objects
* made serialize date handle deep objects
* add `name` to IFeatureStrategy nad fix tests
* fix pr comments
* fix pr comments
* Add types to IAuthRequest
* Sync StrategySchema for FE and BE - into the rabbit hole
* Sync model with OAS spec
* revert
* revert
* revert
* revert
* revert
* mapper
* revert
* revert
* revert
* remove serialize-dates.ts
* remove serialize-dates.ts
* remove serialize-dates.ts
* remove serialize-dates.ts
* remove serialize-dates.ts
* revert
* revert
* add mappers
* add mappers
* fix pr comments
* ignore report.json
* ignore report.json
* Route permission required
Co-authored-by: olav <mail@olav.io>
2022-05-18 16:17:09 +03:00
Thomas Heartman
7d1a5c2012
docs: add "how to run for development" to CONTRIBUTING.md ( #1600 )
...
* docs: add "how to run" to CONTRIBUTING.md
* docs: Refer to the how-to run section from getting started
* Update CONTRIBUTING.md
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-05-18 10:16:04 +00:00
Tymoteusz Czech
06b0a29ea8
Project features list update ( #991 )
...
* refactor: column icon position
* project overview horizontal scroll
* updated table headers styles
* fix: feature overview switch title
* refactor: cleanup of sortable header styles
* fix: z-index issue in test
* fix: html semantics after review
2022-05-18 11:56:55 +02:00
olav
98b6214c28
fix: avoid erasing previous environments data on refetch ( #990 )
...
* refactor: avoid duplicate useLoading call
* fix: avoid erasing previous environments data on refetch
* refactor: keep mutataion logic within useEnvironments
2022-05-18 11:26:38 +02:00
olav
159c54ed37
fix: resolve issues around changing a toggle's project ( #978 )
...
* refactor: show save button before using the dropdown
* refactor: simplify FeatureSettingsProject toast message
* refactor: fix FeatureProjectSelect filter prop type
* refactor: hide change project page for non-enterprise
* refactor: derive move targets from projects list instead of from permissions
* refactor: align frontend project compat check with backend
* refactor: fix useProject object stability
* refactor: disable the save button for the current project
* refactor: require equal environments when moving toggles
* refactor: improve arraysHaveSameItems name
2022-05-18 11:07:19 +02:00
olav
8c1d4838b8
fix: require equal environments when moving toggles ( #1595 )
...
* fix: apply query from checkProjectsCompatibility
* fix: require equal environments when moving toggles
* refactor: clean up project service tests
* refactor: add test for project compatibility check
* refactor: improve arraysHaveSameItems name
2022-05-18 11:07:01 +02:00
Renovate Bot
4aee33e189
chore(deps): update dependency msw to v0.40.0
2022-05-18 04:07:47 +00:00
Renovate Bot
00cc6c8258
chore(deps): update node.js to v14.19.3
2022-05-17 21:56:07 +00:00
Renovate Bot
da249a4c16
chore(deps): update typescript-eslint monorepo to v5.25.0
2022-05-17 19:53:31 +00:00
Renovate Bot
ac808d5849
chore(deps): update dependency react-table to v7.8.0
2022-05-17 17:11:43 +00:00
Renovate Bot
1fdf62dcaf
chore(deps): update material-ui monorepo
2022-05-17 14:32:14 +00:00
Renovate Bot
d68b304607
chore(deps): update dependency @babel/core to v7.17.12
2022-05-17 00:57:22 +00:00
Renovate Bot
ec47ff551e
chore(deps): update typescript-eslint monorepo to v5.24.0
2022-05-16 21:30:08 +00:00
Thomas Heartman
d384a76a28
docs: fix python sdk syntax highlighting, header levels ( #1596 )
...
* docs: fix python sdk syntax highlighting, header levels
* docs(fix): remove invalid toggle names
2022-05-16 10:30:28 +02:00
Renovate Bot
3c9563c7eb
chore(deps): update dependency vitest to v0.12.6
2022-05-13 19:18:32 +00:00
Tymoteusz Czech
b1166bb2f4
Project overview feature toggles list ( #971 )
...
* refactor: page container
* refactor: table page header
* feat: new feature toggles list in project overview
* feat: sortable enviromnents in project overview
* feat: project overview toggles search
* feat: project overview features column actions
* project overview table column sizing
* project overview feature actions permissions
* project overview archive feature action
* project overview toggle state strategy fallback
* remove previous project overview implementation
* fix: remove additional prop in sortable table
* fix: stale feature refetch
* improvements after review
* feat: manage visible columns in project overview
* improve project overview columns selection
* fix: simplify columns
* Revert "remove previous project overview implementation"
This reverts commit 98b051ff6a5a4fb8a9a0921b661514e15a00249a.
* restore legacy project overview table
2022-05-13 14:51:22 +02:00
olav
a66168a348
refactor: fix metrics chart series colors ( #987 )
2022-05-13 09:42:24 +02:00
Wilco Schoneveld
c30e92dc49
Added ability to set additional transport options to email service ( #1589 )
...
Co-authored-by: Wilco Schoneveld <wilco.schoneveld@politie.nl>
2022-05-13 09:06:10 +02:00
Renovate Bot
752885a0ac
chore(deps): update dependency @types/react-dom to v17.0.17
2022-05-12 22:57:32 +00:00
Renovate Bot
36ce99413d
chore(deps): update dependency @testing-library/user-event to v14.2.0
2022-05-12 20:50:44 +00:00
Ivar Conradi Østhus
6ffc492127
4.11.0-beta.2
2022-05-12 20:16:33 +02:00
Ivar Conradi Østhus
4cf0829c36
fix: bump unleash-frontend to v4.11.0-beta.2
2022-05-12 20:15:12 +02:00
Ivar Conradi Østhus
f245730366
4.11.0-beta.2
2022-05-12 20:10:27 +02:00
Renovate Bot
fd12d842a5
chore(deps): update dependency immer to v9.0.14
2022-05-12 16:06:33 +00:00
Nuno Góis
cdfb1f2452
fix: feature toggle list and UI adjustments ( #970 )
...
* fix: add highlight and hover colors, fix them
* misc ui adjustments
* test isGrow prop in table cols
* fix: revert typography changes, update snaps
* Update src/themes/themeTypes.ts
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* fix: misc ui adjustments
* fix: backButton color
* refactor: color not needed, can be inherited
* fix: project roles case, new borderRadius values
* fix: color green
* fix: feature form link
* update snaps
* fix: formatting
* update snap
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-12 15:34:04 +02:00
sighphyre
3f766995fb
Disable default env in project view ( #969 )
...
* fix: Block user from turning on default env in project view
* fix: Allow changing environment state for default in a project if using non OSS
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-05-12 09:41:36 +02:00
olav
d1e7a26763
refactor: fix missing eslint deps after CRA removal ( #976 )
...
* refactor: fix missing eslint deps after CRA removal
* refactor: fix eslint issues
2022-05-12 08:11:41 +02:00
Renovate Bot
6e401d9ebb
chore(deps): update dependency @types/jest to v27.5.1
2022-05-12 03:21:22 +00:00
Renovate Bot
945dc2bc90
chore(deps): update dependency @types/jest to v27.5.1
2022-05-12 03:16:42 +00:00
Renovate Bot
5e6f8db3dc
chore(deps): update dependency immer to v9.0.13
2022-05-11 22:20:37 +00:00
Renovate Bot
97fa9d8ae6
chore(deps): update dependency @types/react-table to v7.7.12
2022-05-11 19:27:44 +00:00
Renovate Bot
83d7c356b6
chore(deps): update dependency vite to v2.9.9
2022-05-11 14:27:56 +00:00
Ivar Conradi Østhus
7250a0574c
fix: correct patch for feature project id
2022-05-11 14:52:38 +02:00
sighphyre
37fa254ceb
fix: Repair feature strategies with broken project ids ( #1593 )
2022-05-11 13:41:35 +02:00
Thomas Heartman
70d334efd1
feat: add 'issue/pr to project' workflow
2022-05-11 12:02:00 +02:00
Thomas Heartman
119d958e7c
fix: add version information for reusable workflow
...
without this, the workflow won't run
2022-05-11 11:38:39 +02:00
Thomas Heartman
c260f90094
chore: Add workflow file to auto-add items to project board ( #1588 )
...
This change adds a workflow file that references the reusable workflow
in the unleash/.github repo. It should (if all goes well),
automatically add new issues and prs to the project board.
2022-05-11 11:10:16 +02:00
olav
52e25bd632
fix: correct type for variant stickiness dropdown
2022-05-11 10:35:34 +02:00
Renovate Bot
4c2ec052f6
chore(deps): update dependency vitest to v0.12.4
2022-05-11 03:18:09 +00:00
Renovate Bot
b0b5ddd7d3
chore(deps): update material-ui monorepo
2022-05-10 18:48:43 +00:00
Renovate Bot
2a77a9ef6d
chore(deps): update dependency vitest to v0.12.3
2022-05-10 16:37:39 +00:00
Ivar Conradi Østhus
2399f9a301
4.11.0-beta.1
2022-05-10 16:21:36 +02:00
olav
3bea8a9931
refactor: use static as the asset dir name ( #1586 )
...
* refactor: use static as the asset dir name
* chore: update unleash-frontend
* refactor: use the real index.html in tests
2022-05-10 15:47:54 +02:00
olav
7343c52e70
4.11.0-beta.1
2022-05-10 15:11:59 +02:00
olav
3b8eecbe88
refactor: use static as the asset dir name ( #975 )
2022-05-10 15:10:21 +02:00
olav
3b46bfb83a
refactor: fix CDN prefix rewrite ( #1585 )
...
* fix: change folder path
* refactor: revert cdnPrefix test config
* refactor: fix rewriteHTML test data
* refactor: add rewriteHTML cdnPrefix test
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-05-10 14:05:53 +02:00
Thomas Heartman
943af1e804
docs: Update the react client install instructions ( #1584 )
...
The install instructions didn't previously add the
`unleash-proxy-client` package (presuming it'd be implicitly installed
by `npm`). This doesn't seem to be the case, so we'll list it explicitly.
2022-05-10 13:26:52 +02:00
Thomas Heartman
7d477bf98c
Merge pull request #972 from Unleash/chore/update-feedback-target-url
...
chore: Update target URL for sending feedback input
2022-05-10 12:12:28 +02:00
Thomas Heartman
34d70ad895
chore: Update target URL for sending feedback input
2022-05-10 11:55:57 +02:00