@asd20/ui 3.2.888 → 3.2.889

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.888",
8
+ "version": "3.2.889",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -34,8 +34,13 @@ const wrapper = {
34
34
  default: () => [
35
35
  { displayName: 'Admin Group' },
36
36
  { displayName: 'Developers Group' },
37
+ { displayName: 'ea-Communication' },
37
38
  ],
38
39
  },
40
+ isInLeadershipGroup: {
41
+ type: Boolean,
42
+ default: true,
43
+ },
39
44
  },
40
45
 
41
46
  data: () => ({
@@ -70,7 +75,8 @@ stories.add(
70
75
  :menu-open.sync="menuOpen"
71
76
  :search-open.sync="searchOpen"
72
77
  :userProfile="userProfile"
73
- :userGroups="userGroups"
78
+ :userGroups="userGroups"
79
+ :isInLeadershipGroup="isInLeadershipGroup"
74
80
 
75
81
  @announcements-in-view="loadAnnouncements"
76
82
  @stories-in-view="loadStories"
@@ -172,12 +172,7 @@ export default {
172
172
  return this.$mq || 'sm'
173
173
  },
174
174
  hasProtectedContent() {
175
- return (
176
- Array.isArray(this.announcements) &&
177
- this.announcements.some(announcement =>
178
- announcement.categories.includes('Leadership')
179
- )
180
- )
175
+ return this.isInLeadershipGroup
181
176
  },
182
177
  },
183
178
 
@@ -50,7 +50,7 @@
50
50
  "bodyHtml": "<p>In such an unusual year, we understand our students, families, and teachers may not only feel excitement and anticipation, but also anxiety about next week. Once you move past the many new health and safety protocols or the new remote learning environment, there will still be that same, familiar buzz that accompanies a new school year.</p><p>This week, as I reconnected with teachers, I could feel their anticipation and nervous excitement. They are ready for this challenge, they are eager to welcome our students back in-person and remotely, and they are determined to make this an amazing year!&nbsp;</p>\n\n\n<h3 style=\"margin-top: 1rem;\">Safety Measures</h3><p>Although our middle and high school students and staff will start the year in a remote, synchronous environment, many of our elementary students and staff will start in person. For those returning to the classroom on Monday, we ask that you please remember to self-screen before entering our buildings.&nbsp;</p><p>We have provided a screening tool, \u201c<a href=\"https://asd20websitestorage.blob.core.windows.net/website-files/CDPHE%20Can%20I%20go%20to%20school%20today.pdf\">Can I Go to School Today?</a>\u201d from the Colorado Department of Public Health and Environment that provides guidance for students and staff alike. We have updated this document, so it only reflects the guidance for \u201cSafer at Home,\u201d which is the designation where we \u2013 El Paso County \u2013 currently reside.&nbsp;&nbsp;</p><p>In summary, screening should include a check for any of the following symptoms:</p>\n\n\n<ul style=\"list-style-position: inside;\"><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Feeling feverish, having chills, or temperature 100.4\u2109 or higher.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">New or unexplained persistent cough.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Shortness of breath.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Difficulty breathing.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Loss of taste or smell.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Fatigue.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Muscle aches.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Headache.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Sore throat.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Nausea or vomiting.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Diarrhea.</span></li><li><span style=\"font-family: var(--website-typography__font-family-body); font-size: 16px;\">Runny nose or congestion.</span></li><div><br></div></ul>\n\n\n<p>If any of the above symptoms are present, please stay home, inform the school of symptoms and reach out to a health care provider about COVID-19 testing and next steps for treatment.</p><p>Self-screening by students, staff and teachers, will not only help keep our schools and community safe, it will also help ensure our schools REMAIN open.</p>\n\n\n<h3 style=\"margin-top: 1rem;\">Student Meals</h3><p>We will provide an off-campus meal service for all students learning remotely. The meals cost the same as our in-school meal service and can be ordered online for pick-up. Please visit asd20.org for more information and to complete an order form. Please note, the deadline for this week\u2019s meal order is noon, Sunday, Aug. 23. But after this week, the deadline will shift.&nbsp;</p>\n\n\n<h3 style=\"margin-top: 1rem;\">Journey K8 (JK8)</h3><p>As the deadline for enrolling into JK8, our kindergarten \u2013 8th grade online learning option, neared our enrollment exploded. I would therefore like to thank everyone enrolled in JK8 for your patience as we finalize staffing, supplies and materials. You will continue to receive updates directly from the school.&nbsp;</p><p>It is hard to predict the trajectory of COVID-19 in the coming days, weeks and months. However, today, the news is good. The key indicators of the 14-day incidents per 100,000, the positivity rate for last 14 days, and hospitalizations are all trending in the right direction. You can read more about these indicators at: <a href=\"https://www.elpasocountyhealth.org/\">www.elpasocountyhealth.org</a>. If these positive trends continue, it seems promising we can transition to our <a href=\"https://www.asd20.org/return-to-school\">Return to School Plan</a> on Sept. 14.&nbsp;</p><div>&nbsp;</div>\n\n\n<p>Thank you for your support, partnership, flexibility and hopeful spirit as we embrace this new and unchartered landscape. Regardless of the decision you made for your student\u2019s return, we wish you a great start to the 2020-21 school year!</p><div><br></div><p>Be well and be safe.&nbsp;</p><div><br></div><p>Tom Gregory</p><p>Superintendent of Schools</p><p>Academy District 20</p>",
51
51
  "bodyJson": "",
52
52
  "tags": ["District Homepage"],
53
- "categories": ["Superintendent Newsletter"],
53
+ "categories": ["Leadership", "Superintendent Newsletter"],
54
54
  "destinations": [],
55
55
  "links": "[]",
56
56
  "channels": ["Announcements"],
@@ -23,6 +23,7 @@ export default {
23
23
  events: this.events,
24
24
  files: this.files,
25
25
  selectedLanguageCode: 'en',
26
+ isInLeadershipGroup: true,
26
27
  isAuthenticated: true,
27
28
  relatedLinks: [].concat(
28
29
  Array(6).fill({
@@ -17,8 +17,14 @@ const userGroupsMixin = globalPropMixinFactory('userGroups', {
17
17
  default: () => [],
18
18
  })
19
19
 
20
+ // Create a mixin to access leadership group
21
+ const leadershipMixin = globalPropMixinFactory('isInLeadershipGroup', {
22
+ type: Boolean,
23
+ default: false,
24
+ })
25
+
20
26
  export default {
21
- mixins: [userProfileMixin, userGroupsMixin],
27
+ mixins: [userProfileMixin, userGroupsMixin, leadershipMixin],
22
28
  computed: {
23
29
  userDisplayName() {
24
30
  return (this._userProfile && this._userProfile.displayName) || ''
@@ -37,6 +43,8 @@ export default {
37
43
  ? this._userGroups.map(group => group.displayName).join(', ')
38
44
  : 'No groups assigned'
39
45
  },
40
- }
41
-
46
+ leadershipGroup() {
47
+ return this._isInLeadershipGroup
48
+ },
49
+ },
42
50
  }
package/src/store.js CHANGED
@@ -40,8 +40,9 @@ const store = new Vuex.Store({
40
40
  files: [],
41
41
  groups: [],
42
42
  includeDistrictSearchResults: true,
43
- languageCode: 'es'
44
- },
43
+ languageCode: 'es',
44
+ isInLeadershipGroup: false,
45
+ },
45
46
  actions: {
46
47
  queryPages() {
47
48
  console.log('queried pages')