@lobb-js/lobb-ext-reports 0.1.30 → 0.1.32

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/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
3
3
 
4
4
  - - -
5
+ ## reports-ext-studio@0.1.32 - 2026-02-22
6
+ #### Bug Fixes
7
+ - adding a studio prefix for the studio app - (6607b5a) - malik ben
8
+ #### Miscellaneous Chores
9
+ - (**version**) 0.14.2 - (6ecdc1d) - Cocogitto Bot
10
+
11
+ - - -
12
+
13
+ ## reports-ext-studio@0.1.31 - 2026-02-21
14
+ #### Bug Fixes
15
+ - using default export instead of named export for extensions - (37dd485) - malik ben
16
+ #### Miscellaneous Chores
17
+ - (**version**) 0.14.0 - (7d2eb87) - Cocogitto Bot
18
+
19
+ - - -
20
+
5
21
  ## reports-ext-studio@0.1.30 - 2026-02-19
6
22
  #### Bug Fixes
7
23
  - fixing the issue of the reports extension - (5e8c2d2) - Malik Najjar
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobb-js/lobb-ext-reports",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,7 +15,7 @@
15
15
  "check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
16
16
  },
17
17
  "dependencies": {
18
- "@lobb-js/studio": "0.2.12",
18
+ "@lobb-js/studio": "0.3.2",
19
19
  "chart.js": "^4.4.8",
20
20
  "lodash-es": "^4.17.21"
21
21
  },
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ import type { Extension, ExtensionUtils } from "@lobb-js/studio";
2
2
  import Reports from "./lib/components/pages/reports/index.svelte";
3
3
  import QueryAiButton from "./lib/components/dv_fields_buttons/query_ai_button/index.svelte";
4
4
 
5
- export function extension(utils: ExtensionUtils): Extension {
5
+ export default function extension(utils: ExtensionUtils): Extension {
6
6
  return {
7
7
  name: "reports",
8
8
  components: {
@@ -12,7 +12,7 @@ export function extension(utils: ExtensionUtils): Extension {
12
12
  dashboardNavs: {
13
13
  middle: [
14
14
  {
15
- href: "/extensions/reports/analytics",
15
+ href: "/studio/extensions/reports/analytics",
16
16
  icon: utils.components.Icons.ChartNoAxesCombined,
17
17
  label: "Analytics",
18
18
  },
@@ -5,7 +5,7 @@
5
5
 
6
6
  const { utils, ...props }: ExtensionProps = $props();
7
7
 
8
- let extensionPagePath = "/extensions/reports/analytics";
8
+ let extensionPagePath = "/studio/extensions/reports/analytics";
9
9
  let reportId: string | null = $derived(getReportID(utils.location));
10
10
  let sideBarData: any = $state(null);
11
11
  const {
@@ -57,7 +57,7 @@
57
57
  }
58
58
 
59
59
  function getReportID(location: Location) {
60
- return location.url.pathname.split("/")[4];
60
+ return location.url.pathname.split("/")[5];
61
61
  }
62
62
  </script>
63
63