diff --git a/desktop/app/src/chrome/ShareSheetExportFile.tsx b/desktop/app/src/chrome/ShareSheetExportFile.tsx index 15e362cbe..e6fdeb38d 100644 --- a/desktop/app/src/chrome/ShareSheetExportFile.tsx +++ b/desktop/app/src/chrome/ShareSheetExportFile.tsx @@ -127,8 +127,8 @@ export default class ShareSheetExportFile extends Component { ); this.store.dispatch(unsetShare()); if (this.state.runInBackground) { - new Notification('Sharable Flipper trace created', { - body: `Flipper trace exported to the ${this.props.file}`, + new Notification('Shareable Flipper Export created', { + body: `Saved to ${this.props.file}`, requireInteraction: true, }); return; @@ -215,7 +215,7 @@ export default class ShareSheetExportFile extends Component { this.cancelAndHide(store)} onRunInBackground={() => { this.setState({runInBackground: true}); diff --git a/desktop/app/src/chrome/ShareSheetExportUrl.tsx b/desktop/app/src/chrome/ShareSheetExportUrl.tsx index 1c25e6807..45e31f3df 100644 --- a/desktop/app/src/chrome/ShareSheetExportUrl.tsx +++ b/desktop/app/src/chrome/ShareSheetExportUrl.tsx @@ -139,7 +139,7 @@ export default class ShareSheetExportUrl extends Component { ); const uploadMarker = `${EXPORT_FLIPPER_TRACE_EVENT}:upload`; performance.mark(uploadMarker); - statusUpdate('Uploading Flipper Trace...'); + statusUpdate('Uploading Flipper Export...'); const result = await reportPlatformFailures( shareFlipperData(serializedString), `${SHARE_FLIPPER_TRACE_EVENT}`, @@ -159,7 +159,7 @@ export default class ShareSheetExportUrl extends Component { if (flipperUrl) { clipboard.writeText(String(flipperUrl)); this.store.dispatch(setExportURL(flipperUrl)); - new Notification('Sharable Flipper trace created', { + new Notification('Shareable Flipper Export created', { body: 'URL copied to clipboard', requireInteraction: true, }); @@ -216,7 +216,7 @@ export default class ShareSheetExportUrl extends Component { { this.setState({runInBackground: true}); @@ -250,7 +250,7 @@ export default class ShareSheetExportUrl extends Component { Flipper's data was successfully uploaded. This URL can be used to share with other Flipper users. Opening it will - import the data from your trace. + import the data from your export. { init() { if (!this.props.persistedState) { - // If the selected plugin from the previous session was layout, then while importing the flipper trace, the redux store doesn't get updated in the first render, due to which the plugin crashes, as it has no persisted state + // If the selected plugin from the previous session was layout, then while importing the flipper export, the redux store doesn't get updated in the first render, due to which the plugin crashes, as it has no persisted state this.props.setPersistedState(this.constructor.defaultPersistedState); } // persist searchActive state when moving between plugins to prevent multiple