mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
fix(msg-ctrls): reorder hidden options to reduce accidental error reports
This commit is contained in:
parent
6d43c9623c
commit
eaf831efb4
1 changed files with 5 additions and 5 deletions
|
@ -80,12 +80,12 @@ class MessageControls extends React.Component
|
||||||
# Todo: refactor this so that message actions are provided
|
# Todo: refactor this so that message actions are provided
|
||||||
# dynamically. Waiting to see if this will be used often.
|
# dynamically. Waiting to see if this will be used often.
|
||||||
menu = new SystemMenu()
|
menu = new SystemMenu()
|
||||||
menu.append(new SystemMenuItem({ label: 'Report Issue: Quoted Text', click: => @_onReport('Quoted Text')}))
|
menu.append(new SystemMenuItem({ label: 'Log Data', click: => @_onLogData()}))
|
||||||
menu.append(new SystemMenuItem({ label: 'Report Issue: Rendering', click: => @_onReport('Rendering')}))
|
|
||||||
menu.append(new SystemMenuItem({ type: 'separator'}))
|
|
||||||
menu.append(new SystemMenuItem({ label: 'Show Original', click: => @_onShowOriginal()}))
|
menu.append(new SystemMenuItem({ label: 'Show Original', click: => @_onShowOriginal()}))
|
||||||
menu.append(new SystemMenuItem({ label: 'Copy Debug Info to Clipboard', click: => @_onCopyToClipboard()}))
|
menu.append(new SystemMenuItem({ label: 'Copy Debug Info to Clipboard', click: => @_onCopyToClipboard()}))
|
||||||
menu.append(new SystemMenuItem({ label: 'Log Data', click: => @_onLogData()}))
|
menu.append(new SystemMenuItem({ type: 'separator'}))
|
||||||
|
menu.append(new SystemMenuItem({ label: 'Report Issue: Quoted Text', click: => @_onReport('Quoted Text')}))
|
||||||
|
menu.append(new SystemMenuItem({ label: 'Report Issue: Rendering', click: => @_onReport('Rendering')}))
|
||||||
menu.popup(remote.getCurrentWindow())
|
menu.popup(remote.getCurrentWindow())
|
||||||
|
|
||||||
_onReport: (issueType) =>
|
_onReport: (issueType) =>
|
||||||
|
@ -110,7 +110,7 @@ class MessageControls extends React.Component
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
buttons: ['OK'],
|
buttons: ['OK'],
|
||||||
message: "Thank you."
|
message: "Thank you."
|
||||||
detail: "The contents of this message have been sent to the N1 team and we added to a test suite."
|
detail: "The contents of this message have been sent to the N1 team and will be added to a test suite."
|
||||||
}
|
}
|
||||||
|
|
||||||
_onShowOriginal: =>
|
_onShowOriginal: =>
|
||||||
|
|
Loading…
Add table
Reference in a new issue