Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ca925b7
Refactor: format code
akhuoa Feb 2, 2026
8f6e886
Add new connectivity-ilst component
akhuoa Feb 23, 2026
c637862
Fix connectivity key combination
akhuoa Feb 23, 2026
23460e6
Separate different types of errors
akhuoa Feb 24, 2026
f6912be
Update connectivity list error logic
akhuoa Feb 24, 2026
01bb710
Update connectivity list error message logic
akhuoa Feb 24, 2026
87fd020
Fix connectivity error showing empty box in transition
akhuoa Feb 24, 2026
fc3928f
Fix showing search button for connectivities not on map
akhuoa Feb 24, 2026
50abab8
Update CQ query 27
akhuoa Mar 2, 2026
ba44a35
Add remove duplicate function for connectivity list query
akhuoa Mar 2, 2026
743d99b
Format code
akhuoa Mar 2, 2026
a41b71f
Parse connectivity list json
akhuoa Mar 2, 2026
23329df
Fix single connectivity query
akhuoa Mar 2, 2026
e33a892
Showw the map label as first item in the list
akhuoa Mar 4, 2026
a5d3204
Update connectivity combination list UI
akhuoa Mar 5, 2026
991f6df
Update tooltip message
akhuoa Mar 5, 2026
2f49276
Show same items from sckan in the combination
akhuoa Mar 5, 2026
be479bb
Fix missing unavailable item in the list
akhuoa Mar 5, 2026
8d10d3b
Update styles
akhuoa Mar 5, 2026
6f93e5c
Fix connectivity list popover position
akhuoa Mar 5, 2026
8529400
Add new connectivity graph component
akhuoa Mar 5, 2026
3147e1a
Fix connectivity graph new component export
akhuoa Mar 5, 2026
ca4960f
Update connectivity list table
akhuoa Mar 9, 2026
80f8192
Update connectivity listing style
akhuoa Mar 9, 2026
ec43335
Update background of connectivity list
akhuoa Mar 9, 2026
a2049fb
Update new connectivity list styles
akhuoa Mar 9, 2026
55dd654
Split reconciliation table as a spearate component
akhuoa Mar 9, 2026
e958cbc
Remove status column from connectivity list new table
akhuoa Mar 9, 2026
34a445d
Style unavailable column
akhuoa Mar 9, 2026
4d131b4
Style direct match scenario for connectivity table
akhuoa Mar 9, 2026
ac4f726
Group direct match terms of SCKAN and Map in same column
akhuoa Mar 9, 2026
c7a9f0e
Update hover on source column highlight target
akhuoa Mar 9, 2026
7ea85f2
Hover on target column highlight on map
akhuoa Mar 10, 2026
b9a882d
Update direct match style
akhuoa Mar 10, 2026
c25f3c5
Update mapped item style
akhuoa Mar 10, 2026
93f74ae
Update unavailable sckan item style
akhuoa Mar 10, 2026
2f618a9
Remove status icon from connectivity list
akhuoa Mar 10, 2026
41f4c04
Fix connectivity popover position
akhuoa Mar 10, 2026
eb30b75
Remove thead from the connectivity table
akhuoa Mar 10, 2026
c1d730b
Add legends to the connectivity list table
akhuoa Mar 10, 2026
a29d830
Update legends
akhuoa Mar 11, 2026
857729f
Rename new connectivity list component
akhuoa Mar 11, 2026
19b5176
Add comment for CQ27.
akhuoa Mar 11, 2026
ab005cb
Remove unused connectivity graph new compoennt
akhuoa Mar 13, 2026
c84ffdf
Update connectivity list legends
akhuoa Mar 13, 2026
331446f
Update connectivity list legends
akhuoa Mar 13, 2026
25ffd67
Remove legends and they will be in info popover
akhuoa Mar 13, 2026
092028e
Update background color of direct match list style
akhuoa Mar 16, 2026
40b8481
Fix connectivity reconciliation list sorting
akhuoa Mar 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ declare module 'vue' {
ConnectionDialog: typeof import('./components/DrawToolbar/ConnectionDialog.vue')['default']
ConnectivityGraph: typeof import('./components/ConnectivityGraph/ConnectivityGraph.vue')['default']
ConnectivityList: typeof import('./components/ConnectivityList/ConnectivityList.vue')['default']
ConnectivityReconciliationList: typeof import('./components/ConnectivityList/ConnectivityReconciliationList.vue')['default']
CopyToClipboard: typeof import('./components/CopyToClipboard/CopyToClipboard.vue')['default']
CreateTooltipContent: typeof import('./components/Tooltip/CreateTooltipContent.vue')['default']
DrawToolbar: typeof import('./components/DrawToolbar/DrawToolbar.vue')['default']
Expand Down Expand Up @@ -46,6 +47,7 @@ declare module 'vue' {
ExternalResourceCard: typeof import('./components/Tooltip/ExternalResourceCard.vue')['default']
HelpModeDialog: typeof import('./components/HelpModeDialog/HelpModeDialog.vue')['default']
ProvenancePopup: typeof import('./components/Tooltip/ProvenancePopup.vue')['default']
ReconciliationTable: typeof import('./components/ConnectivityList/ReconciliationTable.vue')['default']
RelatedConnectivitiesButton: typeof import('./components/Tooltip/RelatedConnectivitiesButton.vue')['default']
Tooltip: typeof import('./components/Tooltip/Tooltip.vue')['default']
TreeControls: typeof import('./components/TreeControls/TreeControls.vue')['default']
Expand Down
53 changes: 53 additions & 0 deletions src/components/CompetencyQueries/CompetencyQueries.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { removeDuplicates } from '../utilities';

/**
* @private
* Competency Queries
Expand Down Expand Up @@ -28,6 +30,56 @@ async function _postRequest(API_URL, payload) {
}
}

/**
* CQ query 27: Single Connectivity List
* This query is available for the new SCKAN knowledge source "sckan-2026-02-11".
* The legacy maps don't have node-mappings.
* @param {*} flatmapAPI
* @param {*} knowledgeSource mapuuid
* @param {*} pathId
* @returns combined connectivity list
*/
async function querySingleConnectivityList(flatmapAPI, knowledgeSource, pathId) {
const data = await competencyQuery({
flatmapAPI: flatmapAPI,
knowledgeSource: knowledgeSource,
queryId: 27,
parameters: [
{
column: 'path_id',
value: pathId
},
]
});

if (data?.results?.values) {
const connectivityList = data.results.values.map((value) => {
// value => [
// "sckan_id",
// "path_id",
// "sckan_node_id",
// "sckan_node_label",
// "source_id", // mapuuid
// "node_id", // map node id
// "node_label" // map node label
// ]
return {
sckanId: value[0],
mapUUID: value[4],
pathId: value[1],
sckanNodeId: value[2] ? JSON.parse(value[2]) : [],
sckanNodeLabel: value[3] || "",
mapNodeId: value[5] ? JSON.parse(value[5]) : [],
mapNodeLabel: value[6] || "",
};
});
// remove duplicates
return removeDuplicates(connectivityList);
}

return [];
}

/**
* Competency Query
* @public
Expand Down Expand Up @@ -392,4 +444,5 @@ export {
queryPathsByDestination,
queryPathsByRoute,
queryForwardBackwardConnections,
querySingleConnectivityList,
};
Loading