@things-factory/worklist 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
1
  import '@operato/data-grist'
2
2
  import './activity-thread-importer.js'
3
3
 
4
- import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato/styles'
5
- import { PageView, store } from '@operato/shell'
4
+ import gql from 'graphql-tag'
6
5
  import { css, html } from 'lit'
7
- import { i18next, localize } from '@operato/i18n'
8
- import { notify, openPopup } from '@operato/layout'
6
+ import { connect } from 'pwa-helpers/connect-mixin'
9
7
 
10
8
  import { client } from '@operato/graphql'
11
- import { connect } from 'pwa-helpers/connect-mixin'
12
- import gql from 'graphql-tag'
9
+ import { i18next, localize } from '@operato/i18n'
10
+ import { notify, openPopup } from '@operato/layout'
11
+ import { PageView, store } from '@operato/shell'
12
+ import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato/styles'
13
13
  import { isMobileDevice } from '@operato/utils'
14
14
 
15
15
  export class ActivityThreadListPage extends connect(store)(localize(i18next)(PageView)) {
@@ -67,14 +67,10 @@ export class ActivityThreadListPage extends connect(store)(localize(i18next)(Pag
67
67
  const mode = this.mode || (isMobileDevice() ? 'LIST' : 'GRID')
68
68
 
69
69
  return html`
70
- <ox-grist
71
- .mode=${mode}
72
- .config=${this.gristConfig}
73
- .fetchHandler=${this.fetchHandler.bind(this)}
74
- >
70
+ <ox-grist .mode=${mode} .config=${this.gristConfig} .fetchHandler=${this.fetchHandler.bind(this)}>
75
71
  <div slot="headroom">
76
72
  <div id="filters">
77
- <ox-filters-form></ox-filters-form>
73
+ <ox-filters-form autofocus></ox-filters-form>
78
74
  </div>
79
75
 
80
76
  <div id="sorters">
@@ -283,12 +279,7 @@ export class ActivityThreadListPage extends connect(store)(localize(i18next)(Pag
283
279
 
284
280
  async exportHandler() {
285
281
  const exportTargets = this.grist.selected.length ? this.grist.selected : this.grist.dirtyData.records
286
- const targetFieldSet = new Set([
287
- 'id',
288
- 'name',
289
- 'description',
290
- 'active'
291
- ])
282
+ const targetFieldSet = new Set(['id', 'name', 'description', 'active'])
292
283
 
293
284
  return exportTargets.map(activityThread => {
294
285
  let tempObj = {}
@@ -317,7 +308,7 @@ export class ActivityThreadListPage extends connect(store)(localize(i18next)(Pag
317
308
  title: i18next.t('title.import activity-thread')
318
309
  }
319
310
  )
320
-
311
+
321
312
  popup.onclosed = () => {
322
313
  this.grist.fetch()
323
314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/worklist",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -26,10 +26,10 @@
26
26
  "dependencies": {
27
27
  "@operato/graphql": "^1.0.0",
28
28
  "@operato/grist-editor": "^1.0.0",
29
- "@things-factory/attachment-base": "^5.0.0",
30
- "@things-factory/auth-base": "^5.0.0",
31
- "@things-factory/board-service": "^5.0.0",
32
- "@things-factory/shell": "^5.0.0"
29
+ "@things-factory/attachment-base": "^5.0.1",
30
+ "@things-factory/auth-base": "^5.0.1",
31
+ "@things-factory/board-service": "^5.0.1",
32
+ "@things-factory/shell": "^5.0.1"
33
33
  },
34
- "gitHead": "32cb91663e38de9ab1bb7a72af923c3bf8ac187b"
34
+ "gitHead": "47225f76058999bb8bb075ac960cfb24f058093f"
35
35
  }