Added sass (css) to parcel transformers so I could modify the tagigy control style easy. removed buttons from paste input. Added keybinding for keyboard control. Fixed bug with bad tags in paste list control. Timestamp control can now show unix time by double clicking it. Added sentry error reporter so errors can be recorded. Added new font for minimalist style look.
35 lines
933 B
JavaScript
35 lines
933 B
JavaScript
import './src/less/main.less';
|
|
import './src/css/tagify.scss';
|
|
|
|
import * as Sentry from "@sentry/browser";
|
|
import { BrowserTracing } from "@sentry/tracing";
|
|
|
|
Sentry.init({
|
|
dsn: "http://a12d5c5f800b406f8d1c0c5d2ed63a78@216.128.138.128:8000/1",
|
|
|
|
// Alternatively, use `process.env.npm_package_version` for a dynamic release version
|
|
// if your build tool supports it.
|
|
release: "timechain@1.0.0",
|
|
integrations: [new BrowserTracing()],
|
|
|
|
// Set tracesSampleRate to 1.0 to capture 100%
|
|
// of transactions for performance monitoring.
|
|
// We recommend adjusting this value in production
|
|
tracesSampleRate: 1.0,
|
|
});
|
|
|
|
|
|
import App from './src/ui/app.riot'
|
|
|
|
import { component } from 'riot'
|
|
|
|
window.debugging = true;
|
|
|
|
setTimeout(()=>{
|
|
document.getElementById('main-loading')?.remove();
|
|
component(App)(document.getElementById('timechain'));
|
|
Sentry.captureMessage('Application Started');
|
|
},0)
|
|
|
|
|