mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
5832fc7d81
https://linear.app/unleash/issue/2-2354/new-in-unleash-section-in-sidebar Add a "New in Unleash" section in the side bar and use it to announce signals and actions. ![image](https://github.com/Unleash/unleash/assets/14320932/b2b5b65a-1812-4fc9-addf-c47c3cc90af3) Inside signals page we're also including a feedback button to try to collect some insights. ![image](https://github.com/Unleash/unleash/assets/14320932/a2edb355-55e8-4939-b29d-2ba4e1f68001) --------- Co-authored-by: Nuno Góis <github@nunogois.com>
14 lines
438 B
TypeScript
14 lines
438 B
TypeScript
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
|
|
import { PremiumFeature } from 'component/common/PremiumFeature/PremiumFeature';
|
|
import { SignalEndpointsTable } from './SignalEndpointsTable/SignalEndpointsTable';
|
|
|
|
export const Signals = () => {
|
|
const { isEnterprise } = useUiConfig();
|
|
|
|
if (!isEnterprise()) {
|
|
return <PremiumFeature feature='signals' />;
|
|
}
|
|
|
|
return <SignalEndpointsTable />;
|
|
};
|