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:
committed by
Facebook GitHub Bot
parent
76b1673d15
commit
a8f8e081c5
@@ -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;
|
||||||
@@ -17,8 +17,9 @@ import {Tree} from './Tree';
|
|||||||
import {Visualization2D} from './Visualization2D';
|
import {Visualization2D} from './Visualization2D';
|
||||||
import {useKeyboardModifiers} from '../hooks/useKeyboardModifiers';
|
import {useKeyboardModifiers} from '../hooks/useKeyboardModifiers';
|
||||||
import {Inspector} from './sidebar/Inspector';
|
import {Inspector} from './sidebar/Inspector';
|
||||||
import {Spin} from 'antd';
|
|
||||||
import {Controls} from './Controls';
|
import {Controls} from './Controls';
|
||||||
|
import {Input, Spin} from 'antd';
|
||||||
|
import FeedbackRequest from './fb-stubs/feedback';
|
||||||
|
|
||||||
export function Component() {
|
export function Component() {
|
||||||
const instance = usePlugin(plugin);
|
const instance = usePlugin(plugin);
|
||||||
@@ -52,6 +53,7 @@ export function Component() {
|
|||||||
if (rootId) {
|
if (rootId) {
|
||||||
return (
|
return (
|
||||||
<Layout.Container grow padh="small" padv="medium">
|
<Layout.Container grow padh="small" padv="medium">
|
||||||
|
<FeedbackRequest />
|
||||||
<Controls />
|
<Controls />
|
||||||
<Layout.Horizontal grow pad="small" gap="small">
|
<Layout.Horizontal grow pad="small" gap="small">
|
||||||
<Layout.Container grow gap="small">
|
<Layout.Container grow gap="small">
|
||||||
|
|||||||
Reference in New Issue
Block a user