New key bindings! Added ability to search by tag and by date. Though there is still a bug in by date. Lots of DB code updates. Adding electron if casses. Some of these features are electrong spesific so it is checking that it is electron. Changing how tagging control works so I could have multiple on the same page. Added some error tracking code so I would get notified of internal errors if online. New preload script (special feature in electron)
23 lines
725 B
JavaScript
23 lines
725 B
JavaScript
// Preload
|
|
const Sentry = require('@sentry/browser')
|
|
// const { BrowserTracing } require( '@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
|
|
})
|
|
|
|
window.Sentry = Sentry
|
|
window.Timechain_isElectron = true
|
|
window.Timechain_dbModule = 'sqlite-client'
|
|
window.Timechain_canChooseDbLocation = true
|