TheDataShed / leeds-digital-festival-app

1 stars 1 forks source link

Add share to the talk #14

Closed jordanfinners closed 4 years ago

jordanfinners commented 4 years ago

The talk overview should have the option to share it This should be in a share-talk element. It should take css variable --icon-size It should default this to 24px It should set this on the icon-button-toggle as --mdc-icon-size It should use https://mwc-demos.glitch.me/demos/icon-button-toggle.html https://github.com/material-components/material-components-web-components/tree/master/packages/icon-button-toggle It should use an appropriate icon It should trigger a share using https://capacitor.ionicframework.com/docs/apis/share It should track these using TrackMetric on App Insights, with metric name talk-shared and then the talk id in properties https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackevent