Feedback request banner

Summary:
This change adds a small feedback alert banner. It will have a link to our workplace feedback group.

Additionally, it asks engineers to record their sessions.

Reviewed By: LukeDefeo

Differential Revision: D41531851

fbshipit-source-id: 7ec8ca79350e7a84ab0532065bc57187ef0055ba
This commit is contained in:
Lorenzo Blasa
2022-11-28 11:21:24 -08:00
committed by Facebook GitHub Bot
parent 76b1673d15
commit a8f8e081c5
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import React from 'react';
const FeedbackRequest: React.FC<{}> = () => {
return <></>;
};
export default FeedbackRequest;

View File

@@ -17,8 +17,9 @@ import {Tree} from './Tree';
import {Visualization2D} from './Visualization2D';
import {useKeyboardModifiers} from '../hooks/useKeyboardModifiers';
import {Inspector} from './sidebar/Inspector';
import {Spin} from 'antd';
import {Controls} from './Controls';
import {Input, Spin} from 'antd';
import FeedbackRequest from './fb-stubs/feedback';
export function Component() {
const instance = usePlugin(plugin);
@@ -52,6 +53,7 @@ export function Component() {
if (rootId) {
return (
<Layout.Container grow padh="small" padv="medium">
<FeedbackRequest />
<Controls />
<Layout.Horizontal grow pad="small" gap="small">
<Layout.Container grow gap="small">