import $ from 'browser/menus/expressions';

import eventCategories from 'common/analytics/categories';
import eventActions from 'common/analytics/actions';
import eventNames from 'common/analytics/names';

export default {
  label: '&Help',
  role: 'help',
  submenu: [{
    label: 'Frequently Asked &Questions',
    click: $.all(
      $.openUrl('https://whatsie.chat/#faq'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['FAQ Link']
      )
    )
  }, {
    label: '&Chat on Gitter',
    click: $.all(
      $.openUrl('https://gitter.im/Aluxian/Whatsie'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Gitter Chat Link']
      )
    )
  }, {
    type: 'separator'
  }, {
    label: '&Write a Review',
    click: $.all(
      $.openUrl('https://aluxian.typeform.com/to/s0wi5P'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Write Review Link']
      )
    )
  }, {
    label: '&Suggest a Feature',
    click: $.all(
      $.openUrl('https://aluxian.typeform.com/to/adWvdX'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Suggest Feature Link']
      )
    )
  }, {
    label: '&Report an Issue',
    click: $.all(
      $.openUrl('https://aluxian.typeform.com/to/A30zq7'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Report Issue Link']
      )
    )
  }, {
    type: 'separator'
  }, {
    label: '&Email Developer',
    click: $.all(
      $.openUrl('mailto:me@aluxian.com'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Contact Developer Email Link']
      )
    )
  }, {
    label: '&Tweet Developer',
    click: $.all(
      $.openUrl('https://twitter.com/Aluxian'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Contact Developer Twitter Link']
      )
    )
  }, {
    type: 'separator'
  }, {
    label: 'Donate &PayPal',
    click: $.all(
      $.openUrl('https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4YVCUBK2QJKBL'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Donate PayPal Link']
      )
    )
  }, {
    label: 'Donate &Bitcoin',
    click: $.all(
      $.openUrl('https://www.coinbase.com/Aluxian'),
      $.analytics.trackEvent(
        eventCategories['Menu'],
        eventActions['Open Link'],
        eventNames['Donate Bitcoin Link']
      )
    )
  }]
};

@@ -2278,82 +2278,45 @@
 s://
-www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4YVCUBK2QJKBL
+short.aluxian.com/donatewhatsiepaypal
 '),%0A
@@ -2552,31 +2552,45 @@
 s://
-www.coinbase.com/Aluxia
+short.aluxian.com/donatewhatsiebitcoi
 n'),

Update donation links