@byu-oit/vue-decision-processing-components 8.28.0 → 8.28.3
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.
- package/CHANGELOG.md +16 -0
- package/DetailsFilenoteList.vue +9 -4
- package/NoteDialog.vue +3 -0
- package/ReportList.vue +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [8.28.3](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.28.2...v8.28.3) (2022-08-01)
|
|
6
|
+
|
|
7
|
+
### [8.28.2](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.28.1...v8.28.2) (2022-07-26)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* add message regarding note length ([f41ecd1](https://github.com/byu-oit/vue-decision-processing-components/commit/f41ecd10ce03fdf8564a851bc7c4ff5ac0ee8589))
|
|
13
|
+
|
|
14
|
+
### [8.28.1](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.28.0...v8.28.1) (2022-07-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* assign the filter/map chain to use later ([2818502](https://github.com/byu-oit/vue-decision-processing-components/commit/2818502414017f8a53dd11c804ffc0e38a2155e6))
|
|
20
|
+
|
|
5
21
|
## [8.28.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.27.4...v8.28.0) (2022-07-20)
|
|
6
22
|
|
|
7
23
|
|
package/DetailsFilenoteList.vue
CHANGED
|
@@ -71,16 +71,21 @@ export default {
|
|
|
71
71
|
}
|
|
72
72
|
try {
|
|
73
73
|
const q = new URLSearchParams()
|
|
74
|
-
q.append('
|
|
75
|
-
q.append('
|
|
76
|
-
q.append('
|
|
74
|
+
q.append('incidents', 'false')
|
|
75
|
+
q.append('tasks', 'false')
|
|
76
|
+
q.append('messages', 'false')
|
|
77
|
+
q.append('appointments', 'false')
|
|
77
78
|
q.append('page', '0')
|
|
79
|
+
q.append('categoryId', 'CESADM')
|
|
80
|
+
q.append('sortAscending', 'true')
|
|
78
81
|
q.append('results', '100')
|
|
79
|
-
const url = `https://api.byu.edu:443/domains/ymessage/
|
|
82
|
+
const url = `https://api.byu.edu:443/domains/ymessage-archive/1.0/student-overview/${person_id}?${q.toString()}`
|
|
83
|
+
|
|
80
84
|
const headers = {
|
|
81
85
|
'accept': 'application/json'
|
|
82
86
|
}
|
|
83
87
|
const { body, status } = await window.byu.auth.request({ url, headers })
|
|
88
|
+
|
|
84
89
|
if (status >= 400) {
|
|
85
90
|
console.error(Error(`Unable to load filenotes! Error code ${status}`))
|
|
86
91
|
this.error = true
|
package/NoteDialog.vue
CHANGED
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
<span>Next Action:</span>
|
|
34
34
|
<input type="date" v-model="nextAction">
|
|
35
35
|
</template>
|
|
36
|
+
<template v-if="note.length>=400">
|
|
37
|
+
<div class="p-1 text-uppercase">Note length greater than 400 characters. Note will be split into 2 or more smaller notes.</div>
|
|
38
|
+
</template>
|
|
36
39
|
<button class="btn btn-outline-primary" @click="saveNote" :disabled="note.length<1">Save</button>
|
|
37
40
|
<button class="btn btn-outline-secondary" @click="close">Cancel</button>
|
|
38
41
|
</span>
|
package/ReportList.vue
CHANGED
|
@@ -57,9 +57,8 @@ export default {
|
|
|
57
57
|
institution: state => state.ui.institution
|
|
58
58
|
}),
|
|
59
59
|
categories () {
|
|
60
|
-
let reports = this.reports
|
|
61
60
|
// Filters reports to have reports specefic to dp institution
|
|
62
|
-
reports.filter(ins => ins.institution.includes(state.institution)).map(ins => ins.institution)
|
|
61
|
+
const reports = this.reports.filter(ins => ins.institution.includes(state.institution)).map(ins => ins.institution)
|
|
63
62
|
const allObjectCategories = reports.map(o => o.category)
|
|
64
63
|
let uniqueCategories = new Set()
|
|
65
64
|
allObjectCategories.forEach((category) => uniqueCategories.add(category))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byu-oit/vue-decision-processing-components",
|
|
3
|
-
"version": "8.28.
|
|
3
|
+
"version": "8.28.3",
|
|
4
4
|
"description": "Vue components shared between decision processing systems for the CES schools.",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@fortawesome/fontawesome-free": "^5.15.4",
|