Skip to content

Commit c9236d2

Browse files
kfleminCopilotCopilot
authored
Implement Groups Functionality (#67)
* initial groups functionality * lint * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: unwrap inventory group API responses Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/cca1a734-0ec0-4fd1-b61a-5e77446aaa4c Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: correct group create error message Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/cca1a734-0ec0-4fd1-b61a-5e77446aaa4c Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: use explicit error handlers in system/service dialogs and add org filter to dashboard Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/8689fb73-1d01-4af9-b641-d5799b1b7597 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: improve org_id filter to handle falsy numeric IDs Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/8689fb73-1d01-4af9-b641-d5799b1b7597 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: improve inventoryType derivation and add proper typing for service detail Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/e129cbf8-e725-4027-aeaa-40b98f7c4c1d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: preserve first-found behavior in pathFromRoot loop Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/e129cbf8-e725-4027-aeaa-40b98f7c4c1d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * lint * fix inventory groups * fix import data mapping table * fixes for applying and deleting column list profiles * make sure omitted column mapping profile headers are marked as omitted in the data mapping grid * dark theme fixes * update meters page to view individual meters * add properties grid to group pages * adding sankey diagram on group dashboard * map fixes * fix(map): select columns stream by inventory type Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/b35108c2-9851-4c77-b69c-b48ad7177736 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: guard undefined map layer in click handler Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/4750c67e-b2d1-4121-aef6-08ea771f257d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * chore: remove unintended package-lock commit Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/4750c67e-b2d1-4121-aef6-08ea771f257d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix(groups): unwrap inventory group list responses consistently Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/8e8f6f4c-f377-491f-a764-c8e0e858b949 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix(map): guard popup overlay creation when popup element is missing Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/2f5f236a-ef85-4966-973a-035fc1394a0d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * refactor: type guard layer z-index access in map click Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/4750c67e-b2d1-4121-aef6-08ea771f257d Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: guard undefined layer zIndex in map click handler Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/ddaed03f-3c67-47c8-ae16-74424b4ba219 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix: unsubscribe inventory list streams on destroy Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/d3f7a1d5-59b4-4b91-9382-6c04752246f2 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * fix upload dialog success state Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/933f81c7-0848-40cc-9912-3d6e886800a6 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * clarify failed upload dialog result Agent-Logs-Url: https://github.com/SEED-platform/seed-angular/sessions/933f81c7-0848-40cc-9912-3d6e886800a6 Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com> * update translations * fix dev proxy issue * lint * lint --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 0fd03b9 commit c9236d2

55 files changed

Lines changed: 3866 additions & 225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.spelling.dic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ unrs
7878
unsubscription
7979
xmark
8080
csrftoken
81+
sankey
82+
evse

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"ag-grid-angular": "^35.2.0",
5353
"ag-grid-community": "^35.2.0",
5454
"chart.js": "^4.5.1",
55+
"chartjs-chart-sankey": "^0.14.0",
5556
"chartjs-plugin-annotation": "^3.1.0",
5657
"chartjs-plugin-zoom": "^2.2.0",
5758
"crypto-es": "^3.1.3",

pnpm-lock.yaml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proxy.conf.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ export default {
1313
proxyReq.setHeader('origin', target)
1414
proxyReq.setHeader('referer', `${target}/`)
1515
},
16+
onProxyRes: (proxyRes) => {
17+
// Fix http-proxy mangling 204 No Content responses
18+
if (proxyRes.statusCode === 204) {
19+
proxyRes.headers['content-length'] = '0'
20+
}
21+
},
1622
},
1723
'/media/': {
1824
target: process.env.SEED_HOST ?? 'http://127.0.0.1:8000',

public/i18n/en_US.json

Lines changed: 89 additions & 0 deletions
Large diffs are not rendered by default.

public/i18n/es.json

Lines changed: 89 additions & 0 deletions
Large diffs are not rendered by default.

public/i18n/fr_CA.json

Lines changed: 89 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)