Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task][OSPP] HertzBeat Official Template Marketplace #2641

Merged
merged 66 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
a14dcfe
first
All-The-Best-for Aug 29, 2024
c588304
Merge branch 'master' into ospp
Calvin979 Aug 30, 2024
3b2b14d
first
All-The-Best-for Aug 30, 2024
9a2e26b
Merge remote-tracking branch 'origin/ospp' into ospp
All-The-Best-for Aug 30, 2024
fd7bfb3
Merge branch 'master' into ospp
Aias00 Aug 31, 2024
d571455
Merge branch 'master' into ospp
yuluo-yx Aug 31, 2024
d761f21
Merge branch 'master' into ospp
Aias00 Aug 31, 2024
db47b2b
Merge branch 'master' into ospp
Aias00 Sep 2, 2024
e3fccde
Merge branch 'master' into ospp
Aias00 Sep 3, 2024
4257d57
Merge branch 'master' into ospp
Aias00 Sep 3, 2024
e746db8
Merge branch 'master' into ospp
Aias00 Sep 3, 2024
f5c6bcb
Merge branch 'master' into ospp
Aias00 Sep 4, 2024
735cfbc
Merge branch 'master' into ospp
Aias00 Sep 4, 2024
95414a0
Merge branch 'master' into ospp
Aias00 Sep 4, 2024
d4b58f7
Merge branch 'master' into ospp
Aias00 Sep 5, 2024
f719f36
Merge branch 'master' into ospp
Aias00 Sep 6, 2024
6e2d593
Merge branch 'master' into ospp
yuluo-yx Sep 7, 2024
95c0079
Merge branch 'master' into ospp
Aias00 Sep 7, 2024
713a78c
Merge branch 'master' into ospp
Aias00 Sep 8, 2024
2d3e0fa
Merge branch 'master' into ospp
Aias00 Sep 8, 2024
76b87c6
Merge branch 'master' into ospp
Aias00 Sep 9, 2024
bd9385d
Merge branch 'master' into ospp
Aias00 Sep 9, 2024
6980a61
Merge branch 'master' into ospp
Aias00 Sep 10, 2024
87c4ecb
Merge branch 'master' into ospp
Aias00 Sep 12, 2024
fb5cd14
Merge branch 'master' into ospp
Aias00 Sep 13, 2024
b8790a7
Merge branch 'master' into ospp
Aias00 Sep 13, 2024
a4b08eb
Merge branch 'master' into ospp
Aias00 Sep 14, 2024
b31ae6e
Merge branch 'master' into ospp
Aias00 Sep 15, 2024
2031ceb
Merge branch 'master' into ospp
Aias00 Sep 15, 2024
9968433
Merge branch 'master' into ospp
Aias00 Sep 17, 2024
9c2ddb9
Merge branch 'master' into ospp
Aias00 Sep 19, 2024
9fc22eb
Merge branch 'master' into ospp
Aias00 Sep 21, 2024
0369f58
Merge branch 'master' into ospp
Aias00 Sep 24, 2024
0d6ce3c
Merge branch 'master' into ospp
Aias00 Sep 25, 2024
e8f1ffa
Merge branch 'apache:master' into ospp
All-The-Best-for Sep 26, 2024
b7441f5
基本功能完善备份
All-The-Best-for Sep 26, 2024
5c5bcf0
Merge branch 'apache:master' into ospp
All-The-Best-for Sep 29, 2024
62f4bec
clear
All-The-Best-for Sep 29, 2024
cbd1123
[Task][OSPP] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Sep 29, 2024
21c89a8
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Sep 29, 2024
24595fb
Merge remote-tracking branch 'origin/ospp' into ospp
All-The-Best-for Sep 29, 2024
e89c881
Merge branch 'master' into ospp
Aias00 Oct 8, 2024
b88d5ef
Merge branch 'master' into ospp
Aias00 Oct 16, 2024
76bb28c
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 19, 2024
c4d5cb1
Merge remote-tracking branch 'origin/ospp' into ospp
All-The-Best-for Oct 19, 2024
0c7feb0
Merge branch 'master' into ospp
tomsun28 Oct 22, 2024
a0eb413
Merge branch 'apache:master' into ospp
All-The-Best-for Oct 24, 2024
cafc426
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 24, 2024
679e019
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 24, 2024
b8f69c1
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 24, 2024
5e36b73
Merge branch 'master' into ospp
Aias00 Oct 26, 2024
eceb67f
Merge branch 'master' into ospp
Aias00 Oct 26, 2024
7e1901c
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 26, 2024
a2b1f3f
Merge remote-tracking branch 'origin/ospp' into ospp
All-The-Best-for Oct 26, 2024
fdf5e1f
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 26, 2024
db78666
Merge branch 'master' into ospp
Aias00 Oct 27, 2024
54c487a
Merge branch 'master' into ospp
Aias00 Oct 29, 2024
89f1ba1
Merge branch 'master' into ospp
Aias00 Oct 29, 2024
ae89c06
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 29, 2024
4017ddf
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 29, 2024
5e2d409
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 29, 2024
a420b3d
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 30, 2024
a4554a8
[feat] HertzBeat Official Template Marketplace [#1792]
All-The-Best-for Oct 30, 2024
01cc49b
Merge branch 'master' into ospp
zqr10159 Oct 30, 2024
84657b1
Merge branch 'master' into ospp
All-The-Best-for Oct 30, 2024
e566495
Merge branch 'master' into ospp
zqr10159 Oct 30, 2024
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
16 changes: 16 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
42 changes: 42 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
13 changes: 13 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
singleQuote: true,
useTabs: false,
printWidth: 140,
tabWidth: 2,
semi: true,
htmlWhitespaceSensitivity: 'strict',
arrowParens: 'avoid',
bracketSpacing: true,
proseWrap: 'preserve',
trailingComma: 'none',
endOfLine: 'lf'
};
40 changes: 40 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# HertzbeatTemplateHubWebApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.5.

## 已完成工作
- 工程搭建
- 首页
- 搜索页面:名称模糊查询+类别查询+排序功能
- 详情页面:模版信息展示、版本信息展示、下载功能、分享功能
- 上传页面:上传模版

## 待完成工作
- 登录注册页面
- 详情页面:收藏功能
- 用户中心页面:资产管理
- 管理员页面

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
186 changes: 186 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"hertzbeat-template-hub-web-app": {
"projectType": "application",
"root": "",
"sourceRoot": "src",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"style": "css"
},
"@schematics/angular:application": {
"strict": true
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"polyfills": [
"zone.js"
],
"assets": [
"src/assets",
"src/favicon.ico",
{
"glob": "**/*",
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
"output": "/assets/"
},
{
"glob": "**/*",
"input": "node_modules/monaco-editor/min/vs",
"output": "/assets/vs/"
}
],
"styles": [
"src/styles.css",
"node_modules/ng-zorro-antd/ng-zorro-antd.min.css",
"node_modules/slick-carousel/slick/slick.scss",
"node_modules/slick-carousel/slick/slick-theme.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/slick-carousel/slick/slick.min.js"
],
"allowedCommonJsDependencies": [
"ajv",
"ajv-formats",
"mockjs",
"date-fns",
"file-saver",
"extend"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
]
}
},
"configurations": {
"production": {
"extractLicenses": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "6mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"proxyConfig": "proxy.conf.json",
"buildTarget": "hertzbeat-template-hub-web-app:build"
},
"configurations": {
"production": {
"buildTarget": "hertzbeat-template-hub-web-app:build:production"
},
"development": {
"buildTarget": "hertzbeat-template-hub-web-app:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "hertzbeat-template-hub-web-app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"assets": [
"src/assets",
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.css"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "hertzbeat-template-hub-web-app:serve"
},
"configurations": {
"production": {
"devServerTarget": "hertzbeat-template-hub-web-app:serve:production"
}
}
}
}
}
},
"cli": {
"packageManager": "yarn",
"schematicCollections": [
"@schematics/angular",
"hertzbeat-template-hub-web-app"
],
"analytics": false
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}
13 changes: 13 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/ng-alain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "./node_modules/ng-alain/schema.json",
"theme": {
"list": [
{
"theme": "dark"
},
{
"theme": "compact"
}
]
}
}
64 changes: 64 additions & 0 deletions template-marketplace/hertzbeat-template-hub-web-app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"name": "hertzbeat-template-hub-web-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "^18.2.5",
"@angular/common": "^18.2.0",
"@angular/compiler": "^18.2.0",
"@angular/core": "^18.2.5",
"@angular/forms": "^18.2.0",
"@angular/platform-browser": "^18.2.0",
"@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0",
"@delon/abc": "^18.1.0",
"@delon/cache": "^18.1.0",
"@delon/form": "^18.1.0",
"@delon/theme": "^18.1.0",
"@delon/util": "^18.1.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"angular-tag-cloud-module": "^17.0.1",
"echarts": "^5.5.1",
"file-saver": "^2.0.5",
"jquery": "^3.7.1",
"ng-zorro-antd": "^18.1.1",
"ngx-color-picker": "^17.0.0",
"ngx-echarts": "^18.0.0",
"rxjs": "~7.8.0",
"screenfull": "^6.0.2",
"slick-carousel": "^1.8.1",
"tslib": "^2.7.0",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.2.5",
"@angular/cli": "^18.2.5",
"@angular/compiler-cli": "^18.2.0",
"@types/file-saver": "^2.0.7",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.2.0",
"jasmine-spec-reporter": "^7.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"ng-alain": "^18.1.0",
"node-fetch": "^3.3.2",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "~5.5.2"
},
"description": "This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.5.",
"main": "index.js",
"author": "",
"license": "ISC"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"/api/*": {
"target": "http://localhost:8080/api",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
}
Binary file not shown.
Loading
Loading