@industry-theme/alexandria-panels 0.1.27 → 0.1.28
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/WorkspaceRepositoriesPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/WorkspaceRepositoriesPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,8CAA8C,CAAC;AAmftD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAEpE,CAAC;AAGF,YAAY,EACV,SAAS,EACT,iCAAiC,EACjC,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -1643,10 +1643,9 @@ const WorkspaceRepositoriesPanelContent = ({
|
|
|
1643
1643
|
}, [sortedRepositories, repositoryLocations]);
|
|
1644
1644
|
const handleSelectRepository = useCallback(
|
|
1645
1645
|
(repository) => {
|
|
1646
|
-
var _a;
|
|
1647
1646
|
events.emit(
|
|
1648
1647
|
createPanelEvent$5("repository:selected", {
|
|
1649
|
-
repositoryId:
|
|
1648
|
+
repositoryId: repository.name,
|
|
1650
1649
|
repository,
|
|
1651
1650
|
repositoryPath: repository.path
|
|
1652
1651
|
})
|
|
@@ -1656,10 +1655,9 @@ const WorkspaceRepositoriesPanelContent = ({
|
|
|
1656
1655
|
);
|
|
1657
1656
|
const handleOpenRepository = useCallback(
|
|
1658
1657
|
(repository) => {
|
|
1659
|
-
var _a;
|
|
1660
1658
|
events.emit(
|
|
1661
1659
|
createPanelEvent$5("repository:opened", {
|
|
1662
|
-
repositoryId:
|
|
1660
|
+
repositoryId: repository.name,
|
|
1663
1661
|
repository
|
|
1664
1662
|
})
|
|
1665
1663
|
);
|
|
@@ -1668,11 +1666,9 @@ const WorkspaceRepositoriesPanelContent = ({
|
|
|
1668
1666
|
);
|
|
1669
1667
|
const handleRemoveFromWorkspace = useCallback(
|
|
1670
1668
|
async (repository) => {
|
|
1671
|
-
var _a;
|
|
1672
1669
|
if (!(workspace == null ? void 0 : workspace.id) || !panelActions.removeRepositoryFromWorkspace) return;
|
|
1673
1670
|
try {
|
|
1674
|
-
|
|
1675
|
-
await panelActions.removeRepositoryFromWorkspace(repositoryId, workspace.id);
|
|
1671
|
+
await panelActions.removeRepositoryFromWorkspace(repository.name, workspace.id);
|
|
1676
1672
|
} catch (error) {
|
|
1677
1673
|
console.error("Failed to remove repository from workspace:", error);
|
|
1678
1674
|
alert(
|