From 09c8be131dc799c304bd5313c66c39e0d5bfb4d6 Mon Sep 17 00:00:00 2001 From: "rothwell.andy@gmail.com" Date: Thu, 6 Feb 2025 15:11:00 -0500 Subject: [PATCH] starts to add links from LI, Zoning, and Nearby Topics --- .github/workflows/dev_push_to_s3_dev.yml | 2 +- src/components/topics/LI.vue | 101 ++++++++++++++++++ src/components/topics/Zoning.vue | 2 + .../topics/nearbyActivity/Nearby311.vue | 1 + .../nearbyActivity/NearbyCrimeIncidents.vue | 1 + .../NearbyVacantIndicatorPoints.vue | 1 + .../nearbyActivity/NearbyZoningAppeals.vue | 7 ++ src/stores/LiStore.js | 58 +++++++++- src/stores/NearbyActivityStore.js | 2 + 9 files changed, 173 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev_push_to_s3_dev.yml b/.github/workflows/dev_push_to_s3_dev.yml index 95c3cc5..8e8b9d3 100644 --- a/.github/workflows/dev_push_to_s3_dev.yml +++ b/.github/workflows/dev_push_to_s3_dev.yml @@ -6,7 +6,7 @@ name: dev Push to S3 dev bucket on: push: branches: - - main + - feature/add-links jobs: build: diff --git a/src/components/topics/LI.vue b/src/components/topics/LI.vue index d7cf251..70db3ac 100644 --- a/src/components/topics/LI.vue +++ b/src/components/topics/LI.vue @@ -107,6 +107,11 @@ const businessLicensesCompareFn = (a, b) => new Date(b.initialissuedate) - new D const businessLicenses = computed(() => { if (LiStore.liBusinessLicenses.rows) return [ ...LiStore.liBusinessLicenses.rows ].sort(businessLicensesCompareFn) }); const businessLicensesLength = computed(() => businessLicenses.value && businessLicenses.value.length ? businessLicenses.value.length : 0); +// LIRB and BBS Appeals +const lirbAppealsCompareFn = (a, b) => new Date(b.createddate) - new Date(a.createddate); +const lirbAppeals = computed(() => { if (LiStore.liLirbAppeals.rows) return [ ...LiStore.liLirbAppeals.rows ].sort(lirbAppealsCompareFn) }); +const lirbAppealsLength = computed(() => lirbAppeals.value && lirbAppeals.value.length ? lirbAppeals.value.length : 0); + // TABLES const buildingData = computed(() => { @@ -310,6 +315,38 @@ const businessLicensesTableData = computed(() => { } }); +const lirbAppealsTableData = computed(() => { + return { + columns: [ + { + label: 'Date', + field: 'createddate', + type: 'date', + dateInputFormat: "yyyy-MM-dd'T'HH:mm:ssX", + dateOutputFormat: 'MM/dd/yyyy', + }, + { + label: 'License Number', + field: 'link', + html: true, + }, + { + label: 'Appeal Grounds', + field: 'appealgrounds', + }, + { + label: 'Type', + field: 'appealtype', + }, + { + label: 'Status', + field: 'appealstatus', + } + ], + rows: lirbAppeals.value || [], + } +}); + @@ -760,6 +849,18 @@ only screen and (max-width: 768px), td:nth-of-type(5):before { content: "Status"; } } + #lirb-appeals { + td:nth-of-type(2) { + min-height: 60px; + } + + td:nth-of-type(1):before { content: "Date"; } + td:nth-of-type(2):before { content: "Appeal Number"; } + td:nth-of-type(3):before { content: "Appeal Grounds"; } + td:nth-of-type(4):before { content: "Type"; } + td:nth-of-type(5):before { content: "Status"; } + } + } diff --git a/src/components/topics/Zoning.vue b/src/components/topics/Zoning.vue index 8bff680..e541aac 100644 --- a/src/components/topics/Zoning.vue +++ b/src/components/topics/Zoning.vue @@ -185,6 +185,8 @@ const rcosTableData = computed(() => { class="topic-info" > Base district zoning maps, associated zoning overlays, and Registered Community Organizations applicable to your search address. If you notice a discrepancy, please contact planning@phila.gov. Source: Department of Planning and Development +

+ A fuller summary of zoning for this address can be found on the Zoning Summary Generator. {