Skip to content

Commit

Permalink
feat: add data tracker for app detail modal (#25)
Browse files Browse the repository at this point in the history
访问应用详情时支持发送浏览数据到 Halo 应用市场服务端。

TODO:

- [x] 添加隐私政策说明

/kind feature

```release-note
支持浏览数据统计,添加服务条款和隐私政策。
```
  • Loading branch information
ruibaby authored Sep 15, 2023
1 parent 570982e commit 4aaa776
Show file tree
Hide file tree
Showing 18 changed files with 601 additions and 102 deletions.
1 change: 1 addition & 0 deletions console/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ module.exports = {
},
rules: {
"vue/no-v-html": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
};
12 changes: 12 additions & 0 deletions console/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ declare module "axios" {
mute?: boolean;
}
}

declare module "*.vue" {
import type { ComponentOptions } from "vue";
const Component: ComponentOptions;
export default Component;
}

declare module "*.md" {
import type { ComponentOptions } from "vue";
const Component: ComponentOptions;
export default Component;
}
1 change: 1 addition & 0 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"tailwindcss": "^3.3.3",
"typescript": "~5.0.4",
"unplugin-icons": "^0.15.3",
"unplugin-vue-markdown": "^0.24.3",
"vite": "^4.4.9",
"vitest": "^0.24.5",
"vue-tsc": "^1.8.8"
Expand Down
170 changes: 170 additions & 0 deletions console/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4aaa776

Please sign in to comment.