Nuno Góis
2adfb7bd15
fix: error icon, add only relevant variants ( #5014 )
...
https://linear.app/unleash/issue/2-1508/fix-message-banner-error-variant-icon
After aligning with @nicolaesocaciu, we fixed the `error` variant icon
and removed irrelevant message variants for now.
Co-authored-by: Nicolae <nicolae@getunleash.ai>
2023-10-12 16:29:19 +01:00
Nuno Góis
5f6c17f4bd
fix: message banner zIndex ( #5015 )
...
After aligning with @nicolaesocaciu, this fixes the message banner
zIndex.
Co-authored-by: Nicolae <nicolae@getunleash.ai>
2023-10-12 15:45:33 +01:00
Nuno Góis
d30e059ffc
fix: message banner internal link assumption ( #5011 )
...
https://linear.app/unleash/issue/2-1504/fix-message-banner-internal-link-assumption
Fixes the internal link assumption in message banner to
`.startsWith('/')` - Any other links will be treated as external (normal
`href`).
2023-10-12 15:07:55 +01:00
Nuno Góis
2ab2aa1f6d
feat: dynamic icons by adding material symbols font ( #5008 )
...
https://linear.app/unleash/issue/2-1502/add-support-for-custom-dynamic-icons-mui-icon-component
Adds support for custom dynamic icons by adding the [Material Symbols
Outlined font](https://fonts.google.com/icons ) and setting the MUI Icon
component base class. See:
https://mui.com/material-ui/icons/#icon-font-icons
Message banner use case: This will not only enable us to set custom
icons for external message banners, but will also let users configure
their desired icon from the set of options in the font.
2023-10-12 11:22:23 +01:00
Nuno Góis
742abab41e
feat: multiple external message banners ( #4998 )
...
https://linear.app/unleash/issue/2-1495/adapt-existing-message-banner-component-to-be-more-reusablegeneric
https://linear.app/unleash/issue/2-1496/add-support-for-multiple-external-message-banners
This PR does 2 things:
- Refactors the `MessageBanner` component to be more generic and
reusable, by accepting the message info through props;
- Adds support for multiple external message banners;
2023-10-11 13:42:05 +01:00
Nuno Góis
7d9698fffa
fix: missing uiFlag newInviteLink ( #5000 )
...
Adds a missing uiFlag: `newInviteLink`
2023-10-11 12:10:08 +00:00
Nuno Góis
c3575c7727
refactor: make uiFlags typesafe ( #4996 )
...
This should add some typesafety to our usage of uiFlags.
2023-10-11 12:44:54 +01:00
Jaanus Sellin
69286339fc
feat: make invite link more visible ( #4984 )
2023-10-11 14:31:32 +03:00
Nuno Góis
65f424156c
feat: re-order message banners ( #4995 )
...
https://linear.app/unleash/issue/2-1494/re-order-message-banners
- Re-orders message banners to fit into this logic:
>1. Maintenance banner
>2. External message banner(s) - Most likely coming from Unleash
>3. Internal message banner(s)
- Renames the feature flag to better reflect the feature behavior;
- Lays a basic skeleton structure for this new feature;
2023-10-11 11:55:54 +01:00
Nuno Góis
2222c47d10
feat: add internalMessageBanner feature flag ( #4990 )
...
https://linear.app/unleash/issue/2-1487/feature-flag-add-a-new-internalmessagebanner-feature-flag-for-this
Adds a new `internalMessageBanner` feature flag.
2023-10-10 20:03:59 +01:00
Mateusz Kwasniewski
2f84ac88e6
feat: delete dependnecy button through change request ( #4983 )
2023-10-10 14:38:10 +02:00
Mateusz Kwasniewski
af50fc2fd3
feat: visualize dependencies managment in change requests ( #4978 )
2023-10-10 10:36:13 +02:00
Mateusz Kwasniewski
b4c8f92a26
feat: do not allow to manage dependencies directly with cr enabled ( #4971 )
2023-10-10 09:25:03 +02:00
Mateusz Kwasniewski
ab739eb6c3
feat: Change request dependency UI ( #4966 )
2023-10-09 14:06:00 +02:00
Mateusz Kwasniewski
6b29b6c317
feat: orval types with change request for dependencies ( #4961 )
2023-10-09 11:52:41 +02:00
Mateusz Kwasniewski
d61ccb1f6b
fix: local linter did not find formatting error ( #4954 )
2023-10-06 10:45:29 +02:00
andreas-unleash
cb034976b9
fix: change broken link to groups documentation ( #4941 )
...
Replaces the broken groups documentation link
CLoses: #
[SR-75](https://linear.app/unleash/issue/SR-75/groups-documentation-link-broken )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-06 10:29:27 +03:00
Mateusz Kwasniewski
80eb6e12c6
refactor: custom render should provide container ( #4938 )
2023-10-06 09:19:49 +02:00
Mateusz Kwasniewski
bed26a938c
test: playground with dependencies ( #4936 )
2023-10-06 09:19:25 +02:00
andreas-unleash
bf527cdbb0
fix: Remove the info from the variants page ( #4937 )
...
Remove the info from the variants page
Closes #
[UNL-231](https://linear.app/unleash/issue/UNL-231/remove-the-info-from-the-variants-page )
<img width="1408" alt="Screenshot 2023-10-05 at 15 11 33"
src="https://github.com/Unleash/unleash/assets/104830839/68bac945-af00-4c9b-ae6d-faeed92ec4bb ">
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 17:18:58 +03:00
andreas-unleash
bd008c821a
fix: remove console from FeatureToggleSwitch ( #4928 )
...
Removes missed console log from FeatureToggleSwitch
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 16:00:49 +03:00
Mateusz Kwasniewski
2c7587ba4b
feat: dependent features in playground ( #4930 )
2023-10-05 13:05:20 +02:00
andreas-unleash
630028acba
fix: linting ( #4925 )
...
Biome linting fix
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 15:59:39 +03:00
andreas-unleash
784d38c230
fix: ReportTable status column not updating ( #4924 )
...
Fixes a bug where the status and expiredAt columns where not updating
dynamically
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 12:27:11 +00:00
Mateusz Kwasniewski
257414424d
feat: copy feature with parent ( #4918 )
2023-10-04 12:20:27 +02:00
Mateusz Kwasniewski
5141d9db67
feat: change project with feature dependencies ( #4915 )
2023-10-04 12:16:52 +02:00
andreas-unleash
b07c032d56
fix: update potentially-stale status dynamically ( #4905 )
...
Fixes 2 bugs:
- project-health-service keeping the feature types as an instance
variable and only updating it once was preventing real calculation to
happen if the lifetime value changed for a feature toggle type
- the ui was reading from a predefined map for the lifetime values so
they would never reflect the BE change
Closes #
[SR-66](https://linear.app/unleash/issue/SR-66/slack-question-around-potentially-stale-and-its-uses )
<img width="1680" alt="Screenshot 2023-10-02 at 14 37 17"
src="https://github.com/Unleash/unleash/assets/104830839/7bee8d4a-9054-4214-a1a2-11ad8169c3d5 ">
<img width="1660" alt="Screenshot 2023-10-02 at 14 37 06"
src="https://github.com/Unleash/unleash/assets/104830839/23bf55c7-a380-4423-a732-205ad81d5c3c ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 12:47:16 +03:00
Gastón Fournier
bd8b54b5bd
fix: yarn lint:fix ( #4917 )
...
## About the changes
Running yarn lint:fix solves errors in frontend
2023-10-04 11:28:05 +02:00
andreas-unleash
c1f8929ddf
fix: separate project and project enterprise settings forms ( #4911 )
...
Separates ProjectForm and ProjectEnterpriseSettings forms
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-10-04 10:42:02 +03:00
Mateusz Kwasniewski
88305a6388
feat: prevent delete and archive on parent feature ( #4913 )
2023-10-04 09:27:53 +02:00
Mateusz Kwasniewski
296cc9a9f2
feat: update dependency permission ( #4910 )
2023-10-04 09:27:14 +02:00
Nuno Góis
280e21f073
refactor: bubble promise instead of return await ( #4906 )
...
Tiny refactor that bubbles promises instead of using `return await`.
Should be more consistent with the rest of the changes in
https://github.com/Unleash/unleash/pull/4903
2023-10-02 13:59:53 +01:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.
![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65 )
Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Mateusz Kwasniewski
751bc465d6
feat: generate orval types with dependent features ( #4902 )
2023-10-02 12:35:20 +02:00
Mateusz Kwasniewski
40dfb927e9
feat: parent and child info in feature overview header ( #4901 )
2023-10-02 11:47:48 +02:00
Nuno Góis
521cc24a22
feat: add more events in integrations ( #4815 )
...
https://linear.app/unleash/issue/2-1253/add-support-for-more-events-in-the-slack-app-integration
Adds support for a lot more events in our integrations. Here is how the
full list looks like:
- ADDON_CONFIG_CREATED
- ADDON_CONFIG_DELETED
- ADDON_CONFIG_UPDATED
- API_TOKEN_CREATED
- API_TOKEN_DELETED
- CHANGE_ADDED
- CHANGE_DISCARDED
- CHANGE_EDITED
- CHANGE_REQUEST_APPLIED
- CHANGE_REQUEST_APPROVAL_ADDED
- CHANGE_REQUEST_APPROVED
- CHANGE_REQUEST_CANCELLED
- CHANGE_REQUEST_CREATED
- CHANGE_REQUEST_DISCARDED
- CHANGE_REQUEST_REJECTED
- CHANGE_REQUEST_SENT_TO_REVIEW
- CONTEXT_FIELD_CREATED
- CONTEXT_FIELD_DELETED
- CONTEXT_FIELD_UPDATED
- FEATURE_ARCHIVED
- FEATURE_CREATED
- FEATURE_DELETED
- FEATURE_ENVIRONMENT_DISABLED
- FEATURE_ENVIRONMENT_ENABLED
- FEATURE_ENVIRONMENT_VARIANTS_UPDATED
- FEATURE_METADATA_UPDATED
- FEATURE_POTENTIALLY_STALE_ON
- FEATURE_PROJECT_CHANGE
- FEATURE_REVIVED
- FEATURE_STALE_OFF
- FEATURE_STALE_ON
- FEATURE_STRATEGY_ADD
- FEATURE_STRATEGY_REMOVE
- FEATURE_STRATEGY_UPDATE
- FEATURE_TAGGED
- FEATURE_UNTAGGED
- GROUP_CREATED
- GROUP_DELETED
- GROUP_UPDATED
- PROJECT_CREATED
- PROJECT_DELETED
- SEGMENT_CREATED
- SEGMENT_DELETED
- SEGMENT_UPDATED
- SERVICE_ACCOUNT_CREATED
- SERVICE_ACCOUNT_DELETED
- SERVICE_ACCOUNT_UPDATED
- USER_CREATED
- USER_DELETED
- USER_UPDATED
I added the events that I thought were relevant based on my own
discretion. Know of any event we should add? Let me know and I'll add it
🙂
For now I only added these events to the new Slack App integration, but
we can add them to the other integrations as well since they are now
supported.
The event formatter was refactored and changed quite a bit in order to
make it easier to maintain and add new events in the future. As a
result, events are now posted with different text. Do we consider this a
breaking change? If so, I can keep the old event formatter around,
create a new one and only use it for the new Slack App integration.
I noticed we don't have good 404 behaviors in the UI for things that are
deleted in the meantime, that's why I avoided some links to specific
resources (like feature strategies, integration configurations, etc),
but we could add them later if we improve this.
This PR also tries to add some consistency to the the way we log events.
2023-09-29 16:11:59 +01:00
Mateusz Kwasniewski
fbc571dffc
feat: events for dependencies ( #4864 )
2023-09-29 14:02:15 +02:00
Mateusz Kwasniewski
011aea226c
feat: edit and delete dependencies menu ( #4863 )
2023-09-29 10:03:17 +02:00
Nuno Góis
3cf8761364
fix: permissions in the role payload ( #4861 )
...
Fixes the role payload to include only the needed properties from
permissions. Fixes `400` (oneOf schema validation error) in project role
creation.
2023-09-28 15:55:46 +01:00
Mateusz Kwasniewski
72cca4f450
feat: display dependencies and parents in project details ( #4859 )
2023-09-28 13:37:52 +02:00
Fredrik Strand Oseberg
d3e01d84d9
fix: account for array length ( #4849 )
...
Small fix to account for array length in conditional check
2023-09-27 15:12:01 +02:00
Tymoteusz Czech
f82ae354eb
fix: project features table initial state ( #4843 )
...
When loading don't keep initial state, but recalculate if after proper
data is present. (issue 1-1432)
2023-09-27 08:37:25 +00:00
Mateusz Kwasniewski
6f4f6f049b
feat: inject project id to dependencies hooks ( #4839 )
2023-09-27 10:09:38 +02:00
Mateusz Kwasniewski
40b9c46018
fix: empty object playground ( #4842 )
2023-09-27 10:01:03 +02:00
Shreyans Gandhi
e6cdf5a540
feat: add json editor ( #4784 )
...
In this PR we are adding a JSON Editor that will be used for `json`
variant payload type. Its using `vanilla-jsoneditor` package
https://www.npmjs.com/package/vanilla-jsoneditor and is lazy loaded only
when the `json` payload type is selected in the dropdown UI.
2023-09-27 09:27:38 +02:00
Mateusz Kwasniewski
889377a246
feat: show available parent dependency options ( #4837 )
2023-09-27 08:10:15 +02:00
Fredrik Strand Oseberg
6d5eec2810
fix: change check for slider ( #4838 )
...
Change the check for when to display the variant preview
2023-09-26 19:12:32 +02:00
Mateusz Kwasniewski
45aca5b09e
feat: Connect add dependency api ( #4831 )
2023-09-26 11:18:42 +02:00
andreas-unleash
e7b1e7979e
Feat: add prod guard when toggling envs ( #4774 )
...
Adds the prod guard dialog when enabling/disabling production
environment
Closes # [1-1386]
(https://linear.app/unleash/issue/1-1386/production-guard-modal-for-enablingdisabling-environment-is-gone )
https://github.com/Unleash/unleash/assets/104830839/0041bfc8-872b-455c-b4fa-e03cc160c3e9
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-09-26 12:16:26 +03:00
Mateusz Kwasniewski
2b9678266c
feat: Add dependency dialogue ( #4828 )
2023-09-26 09:38:13 +02:00