Make it possible to export support form V2 with meta data
Summary: This diff enables a full roundtrip of exporting a bug report to file / link, and importing it again. Styling is not part of this story. Reviewed By: jknoxville Differential Revision: D18636418 fbshipit-source-id: ef9a8e3622bdac9361f612d51415a593f4268b80
This commit is contained in:
committed by
Facebook Github Bot
parent
f33666a4b9
commit
dd65ec6ed0
@@ -29,12 +29,6 @@ const Container = styled(FlexColumn)({
|
||||
width: 500,
|
||||
});
|
||||
|
||||
const Center = styled(FlexColumn)({
|
||||
alignItems: 'center',
|
||||
paddingTop: 50,
|
||||
paddingBottom: 50,
|
||||
});
|
||||
|
||||
const ErrorMessage = styled(Text)({
|
||||
display: 'block',
|
||||
marginTop: 6,
|
||||
|
||||
@@ -39,6 +39,7 @@ import CancellableExportStatus from './CancellableExportStatus';
|
||||
import {performance} from 'perf_hooks';
|
||||
import ShareSheetPendingDialog from './ShareSheetPendingDialog';
|
||||
import {getInstance as getLogger} from '../fb-stubs/Logger';
|
||||
import {resetSupportFormV2State} from '../reducers/supportForm';
|
||||
export const SHARE_FLIPPER_TRACE_EVENT = 'share-flipper-link';
|
||||
|
||||
const Container = styled(FlexColumn)({
|
||||
@@ -142,6 +143,7 @@ export default class ShareSheetExportUrl extends Component<Props, State> {
|
||||
requireInteraction: true,
|
||||
});
|
||||
}
|
||||
store.dispatch(resetSupportFormV2State());
|
||||
this.props.logger.trackTimeSince(mark, 'export:url-success');
|
||||
} catch (e) {
|
||||
if (!this.state.runInBackground) {
|
||||
|
||||
Reference in New Issue
Block a user