diff --git a/.gitee/ISSUE_TEMPLATE/10_bug_report.yml b/.gitee/ISSUE_TEMPLATE/10_bug_report.yml new file mode 100644 index 0000000..e172a37 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/10_bug_report.yml @@ -0,0 +1,72 @@ +name: 🐞 Bug 反馈 +description: 当你在代码中发现了一个 Bug,导致应用崩溃或抛出异常,或者有一个组件存在问题,或者某些地方看起来不对劲。 +title: "bug: " +labels: [bug] +assignees: + - Argo +body: +- type: checkboxes + attributes: + label: 这个问题是否已经存在? + description: 请在问题列表中搜索,可能有人已经上报这个问题 ([BootstrapBlazor/issues](https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues)). + options: + - label: 我已经搜索过现在的问题 + required: true +- type: textarea + attributes: + label: 如何操作复现这个问题 + description: 请详细描述如何复现你遇到的问题 + placeholder: | + 1. 先点击什么 + 2. 再点击什么 + 3. 然后怎么样 + validations: + required: true +- type: textarea + attributes: + label: 预期结果 + description: 请描述你认为的正确结果是什么 + validations: + required: false +- type: textarea + attributes: + label: 实际结果 + description: 请描述实际结果是什么 + validations: + required: false +- type: textarea + attributes: + label: 截图或者视频 + description: 此问题相关截图或者视频,如果是截图请画框与箭头标注 + placeholder: | + [在这里上传图片或视频] + [图片截图后此处直接粘贴即可] + validations: + required: false +- type: textarea + attributes: + label: 复现工程或者仓库地址 + description: 最小代码示例 + placeholder: | + 1. 提供公开的仓库地址链接。 + 2. 以文件夹或者压缩包 (zip) 形式提交复现工程,请务必删除工程目录下的 bin 和 obj。 + + 声明:请勿以其他任何方式提供复现工程,不符合要求的提交,一律视为无效问题,不予处理。 + validations: + required: true +- type: textarea + id: version + attributes: + label: .NET Version + description: | + Run `dotnet --version` + placeholder: | + [这里粘贴执行结果] + validations: + required: false +- type: input + attributes: + label: Bootstrap Blazor Version + description: BootstrapBlazor 组件包版本号 + validations: + required: false diff --git a/.gitee/ISSUE_TEMPLATE/20_feature_request.yml b/.gitee/ISSUE_TEMPLATE/20_feature_request.yml new file mode 100644 index 0000000..c85439b --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/20_feature_request.yml @@ -0,0 +1,51 @@ +name: 💡 功能建议 +description: 对本项目提出一个功能建议 +title: "[功能建议]: " +labels: ["enhancement"] +body: + - type: input + attributes: + label: 相关组件名称 + placeholder: | + [现有组件填写组件名称,新组件请帮忙想一个组件名称。] + validations: + required: false + - type: textarea + id: related-problem + attributes: + label: 开发过程中我们现有组件或者组件功能无法实现的功能 + description: 请清晰的描述现有组件或者新组件的使用场景,以及开发中遇到的难处。 + placeholder: | + 如果是现有组件,请先仔细阅读文档与示例,确定想要的功能无法实现后再提交。 + validations: + required: false + - type: textarea + id: desired-solution + attributes: + label: 你希望看到什么解决方案? + description: 清晰并简洁地描述你希望发生的事情。 + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: 你考虑过哪些替代方案? + description: 清晰并简洁地描述你考虑过的任何替代解决方案或功能。 + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: 你有其他上下文或截图吗? + description: 在此处添加有关功能请求的任何其他上下文或截图。 + placeholder: | + [在这里上传图片或视频] + [图片截图后此处直接粘贴即可] + validations: + required: true + - type: checkboxes + attributes: + label: 意向参与贡献 + options: + - label: 我有意向参与具体功能的开发实现,并且提交 PR 到仓库 + required: false \ No newline at end of file diff --git a/.gitee/ISSUE_TEMPLATE/60_config.yml b/.gitee/ISSUE_TEMPLATE/60_config.yml new file mode 100644 index 0000000..ac8d9b2 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/60_config.yml @@ -0,0 +1,9 @@ +blank_issues_enabled: true + +contact_links: + - name: 🗨️ Discussions + url: https://github.com/dotnetcore/BootstrapBlazor/discussions + about: Please post any questions during use here + - name: 🚀 Quick start + url: https://github.com/dotnetcore/BootstrapBlazor/discussions/categories/quick-start + about: About BootstrapBlazor quick start please visit here diff --git a/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md b/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md new file mode 100644 index 0000000..1310acd --- /dev/null +++ b/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md @@ -0,0 +1,8 @@ +### 该 Pull Request 关联的 Issue + + + +### 修改描述 + + + diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml new file mode 100644 index 0000000..3d9d96c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml @@ -0,0 +1,88 @@ +name: 🐞 Bug Report +description: File a bug/issue +title: "bug(): title" +labels: [bug] +assignees: + - argozhang +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered ([BootstrapBlazor.Extensions/issues](https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/issues?q=is%3Aissue&wt.mc_id=DT-MVP-5004174)). + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true +- type: dropdown + attributes: + label: Interactive render mode + description: What render mode of our software are you running? + options: + - Static Server (Static server-side rendering (static SSR)) + - Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server) + - Interactive WebAssembly (Client-side rendering (CSR) using Blazor WebAssembly) + - Interactive Auto (Server, then client) + default: 1 + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: | + We ❤ code! Point us to a [minimalistic project which reproduces this issue (repro)](https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/blob/main/docs/repro.md) hosted in a public GitHub repo. + + We will close this issue if: + - The repro project you share with us is complex. We can't investigate custom projects, so don't point us to such, please. + - If we will not be able to repro the behavior you're reporting. + - If the repro project is attached as a `.zip` file. + - If the GitHub repro project is set to `Private`. + + 如果您选择此模板说明您是想提交一个组件的 `BUG` 而不是来描述一个您遇到的问题结果,所以必须提供复现步骤与复现工程。如果不提供我们将不予处理,机器人将于一段时间后自动关闭本 `Issue` + + 请在下方文本框内写清楚,运行后点击那个页面,或者点击那个按钮复现问题,文件上传拖动到下方文本框内即可。 + + **最小复现工程** + - 删除 `bin` `obj` 文件夹后打包成 `zip` 压缩包的文件 + - 公开 `github` 仓库地址 + - 私有 `github` 仓库地址(邀请 argo@live.ca) + + placeholder: "drop file in here. (此处写复现步骤,最小工程压缩包可拖拽到这里)" + validations: + required: true +- type: textarea + attributes: + label: Exceptions (if any) + description: Include the exception you get when facing this issue. + validations: + required: false +- type: input + attributes: + label: .NET Version + description: | + Run `dotnet --version` + validations: + required: true +- type: textarea + attributes: + label: Anything else? + description: | + - ASP.NET Core version: + - The IDE (VS / VS Code/ VS4Mac) you're running on, and its version: + - Include the output of `dotnet --info`: + + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/20_feature_request.yml b/.github/ISSUE_TEMPLATE/20_feature_request.yml new file mode 100644 index 0000000..e56da27 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/20_feature_request.yml @@ -0,0 +1,35 @@ +name: 💡 Feature Request +description: Suggest an idea for this project +title: "feat(): title" +labels: [enhancement] +assignees: + - argozhang +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the feature you are requesting. (https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/issues?wt.mc_id=DT-MVP-5004174). + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Is your feature request related to a problem? Please describe the problem. + description: A clear and concise description of what the problem is. + placeholder: I am trying to do [...] but [...] + validations: + required: false +- type: textarea + attributes: + label: Describe the solution you'd like + description: | + A clear and concise description of what you want to happen. Include any alternative solutions you've considered. + validations: + required: true +- type: textarea + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/30_documentation.yml b/.github/ISSUE_TEMPLATE/30_documentation.yml new file mode 100644 index 0000000..1607713 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/30_documentation.yml @@ -0,0 +1,14 @@ +name: 📖 Documentation +description: Add or update the project document or sample code +title: "doc(): title" +labels: [documentation] +assignees: + - argozhang +body: +- type: textarea + attributes: + label: Document describing which component + description: | + Detailed description of the document update or sample code that the submission code is about the function of that component + value: | + Add sample code for {Component} diff --git a/.github/ISSUE_TEMPLATE/40_unit_test.yml b/.github/ISSUE_TEMPLATE/40_unit_test.yml new file mode 100644 index 0000000..f12da08 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/40_unit_test.yml @@ -0,0 +1,14 @@ +name: 🧪 Test +description: Unit test for this project +title: "test(): title" +labels: [test] +assignees: + - argozhang +body: +- type: textarea + attributes: + label: Which class is this unit test associated with? + description: Add unit test for code coverage. + value: Improve code coverage + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/50_other.yml b/.github/ISSUE_TEMPLATE/50_other.yml new file mode 100644 index 0000000..07a47c2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/50_other.yml @@ -0,0 +1,13 @@ +name: 👩🏻‍💻 Other +description: I don't know how to classify +title: "chore(): title" +labels: [chore] +assignees: + - argozhang +body: +- type: textarea + attributes: + label: Which class is this unit test associated with? + description: Triage this issue later. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/60_config.yml b/.github/ISSUE_TEMPLATE/60_config.yml new file mode 100644 index 0000000..fe1c958 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/60_config.yml @@ -0,0 +1,9 @@ +blank_issues_enabled: true + +contact_links: + - name: 🗨️ Discussions + url: https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/discussions + about: Please post any questions during use here + - name: 🚀 Quick start + url: https://github.com/BootstrapBlazor/BootstrapBlazor.Extensions/discussions/categories/quick-start + about: About BootstrapBlazor quick start please visit here diff --git a/.github/bb-auto-config.yml b/.github/bb-auto-config.yml new file mode 100644 index 0000000..bc91a2e --- /dev/null +++ b/.github/bb-auto-config.yml @@ -0,0 +1 @@ +repo_owner: ArgoZhang diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..4bd4632 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,39 @@ +# {PR title} + +Summary of the changes (Less than 80 chars) + +## Description + +{Detail} + +Fixes #{bug number} (in this specific format) + +## Customer Impact + +{Justification} + +## Regression? + +- [ ] Yes +- [ ] No + +[If yes, specify the version the behavior has regressed from] + +## Risk + +- [ ] High +- [ ] Medium +- [ ] Low + +[Justify the selection above] + +## Verification + +- [ ] Manual (required) +- [ ] Automated + +## Packaging changes reviewed? + +- [ ] Yes +- [ ] No +- [ ] N/A diff --git a/.github/workflows/auto-pull-request-checks.yml b/.github/workflows/auto-pull-request-checks.yml new file mode 100644 index 0000000..7f67849 --- /dev/null +++ b/.github/workflows/auto-pull-request-checks.yml @@ -0,0 +1,30 @@ +name: Auto PR test(bot) + +on: + pull_request: + branches: + - master + - main + - dev + +jobs: + run_test: + name: run test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Test + run: | + dotnet test test/UniTestEditor --collect:"XPlat Code Coverage" + + - name: Upload to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d93ae14 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,37 @@ +name: Build project + +on: + push: + branches: + - master + - main + - dev + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Build + env: + NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} + Bundle: True + run: | + dotnet restore src/BootstrapBlazor --no-cache + dotnet build src/BootstrapBlazor + + - name: Test + run: | + dotnet test test/UnitTest --collect:"XPlat Code Coverage" + + - name: Upload to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c3668db --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: Deploy to Huawei VM + +on: + push: + branches: + - master-off + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Sync Huawei Clound VM + uses: appleboy/ssh-action@master + env: + BRANCH_NAME: ${{ env.GITHUB_REF }} + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USERNAME }} + key: ${{ secrets.SSH_KEY }} + port: 22 + script: | + cd ~/BootstrapBlazor + git checkout dev + sh ~/deploy-blazor.sh diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..deccce6 --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,25 @@ +name: Build docker image + +on: + push: + branches: + - dev-dockerfile + +jobs: + docker: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and push Docker images + uses: docker/build-push-action@v2.7.0 + with: + file: src/BootstrapBlazor.Server/Dockerfile + push: true + tags: argozhang/blazor:latest diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 0000000..0f8d48c --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,29 @@ +name: Package to Nuget + +on: + push: + branches: + - pack + - hotfix + +jobs: + pack: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Publish to Nuget + env: + NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} + Bundle: True + + run: | + dotnet build src/BootstrapBlazor + dotnet pack src/BootstrapBlazor -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..391e9a1 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,38 @@ +name: Deploy to Github Pages + +on: + push: + branches: + - publish + +jobs: + publish: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Publish wasm + run: | + dotnet publish -c Release -o deploy src/Wasm/BootstrapBlazor.WebAssembly.ClientHost + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@3 + with: + GITHUB_TOKEN: ${{ secrets.GH_PUSH_TOKEN }} + BRANCH: gh-pages + FOLDER: deploy/wwwroot + CLEAN: true + + - name: Deploy to Github.io + uses: peaceiris/actions-gh-pages@v3 + with: + personal_token: ${{ secrets.GH_PUSH_TOKEN }} + external_repository: ArgoZhang/ArgoZhang.github.io + publish_branch: master + publish_dir: ./deploy/wwwroot diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..28c5671 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,104 @@ +name: Package extensions to Nuget + +on: + push: + branches: + - release + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Publish to Nuget + env: + NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} + Bundle: True + run: | + dotnet pack src/Extensions/Components/BootstrapBlazor.AzureOpenAI -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.AzureOpenAI.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.AzureSpeech -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.AzureSpeech.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.BaiduOcr -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.BaiduOcr.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.BaiduSpeech -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.BaiduSpeech.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.BarCode -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.BarCode.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Chart -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Chart.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.CherryMarkdown -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.CherryMarkdown.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.CodeEditor -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.CodeEditor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Dock -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Dock.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.FloatingUI -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.FloatingUI.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.FontAwesome -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.FontAwesome.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Gantt -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Gantt.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Html2Pdf -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Html2Pdf.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Live2DDisplay -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Live2DDisplay.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Markdown -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Markdown.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.MaterialDesign -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.MaterialDesign.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.MaterialDesign.Extensions -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.MaterialDesign.Extensions.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.MouseFollower -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.MouseFollower.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Splitting -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Splitting.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.SummerNote -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.SummerNote.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.TableExport -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.TableExport.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/Components/BootstrapBlazor.Topology -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Topology.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAccess.PetaPoco -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.DataAccess.PetaPoco.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAccess.EntityFrameworkCore -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.DataAccess.EntityFrameworkCore.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAccess.FreeSql -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.DataAccess.FreeSql.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Extensions/BootstrapBlazor.TagHelper -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.TagHelper.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate + + dotnet pack src/Middleware/BootstrapBlazor.Middleware -c Release -o publish + dotnet nuget push publish/BootstrapBlazor.Middleware.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate diff --git a/Directory.Build.props b/Directory.Build.props index 486e949..ed6ec28 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ BootstrapBlazor - Argo Zhang(argo@live.ca);Alex Chow(zhouchuanglin@gmail.com) + Argo(argo@live.ca);BootstrapBlazor(a@blazor.zone) BootstrapBlazor true $(MSBuildThisFileDirectory)\keys\Longbow.Utility.snk diff --git a/docs/repro.md b/docs/repro.md new file mode 100644 index 0000000..8bc4f7d --- /dev/null +++ b/docs/repro.md @@ -0,0 +1,26 @@ +# Bug Report Reproduction Guide + +When customers plan to report an issue with BootstrapBlazor, we will most likely ask them to provide a so called `minimal reproduction project (repro)`. +This serves two purposes: +- It helps issue reporters validate their assumptions by trying to recreate the behavior in a new project. +- It helps eliminate ambiguity and speeds up investigations. We may also be able to provide workarounds in certain scenarios. + +This document describes what a minimal repro project is, and why it's important to us. + +## What is a minimal repro project? +A repro (or a reproduction) is a project, which can be used to reproduce the reported behavior with minimal effort from a product team, which has the minimum code required to demonstrate the concerning behavior. + +There are two ways you can provide a minimal repro project. The first and simpler option is to use some type of public web-hosted REPL-based environment which supports ASP.NET Core. The other option is to provide a project hosted in GitHub as described below: +- Create a new project, based on one of the Blazor Server/WebAssembly project templates. + - **Please use the `Empty*` project templates** if they're available for that project type. +- Add the minimum amount of code necessary to reproduce the behavior you are reporting on this newly created project. +- Make sure you **do not** add any dependencies that are irrelevant to the behavior. +- Host the project as a **public** repository on GitHub. +- Make sure you haven't included any binaries in your project (this is usually about the `bin` and `obj` folders in your project) + Note: that this step is important and we won't be able to open zip attachments in your issues. + Zip files are potential attack vectors that we try to avoid at all cost. + +## Important considerations +- **Never** include any sensitive information in your reproduction project. +- **Never** include any code that is not intended to be public in a repro. +- **Do not** reference any external services or data sources. \ No newline at end of file diff --git a/src/components/BootstrapBlazor.OnScreenKeyboard/KeyboardOption.cs b/src/components/BootstrapBlazor.OnScreenKeyboard/KeyboardOption.cs index 88914ea..ee38e7f 100644 --- a/src/components/BootstrapBlazor.OnScreenKeyboard/KeyboardOption.cs +++ b/src/components/BootstrapBlazor.OnScreenKeyboard/KeyboardOption.cs @@ -151,10 +151,29 @@ public enum KeyboardTheme /// public enum KeyboardCssAnimationsStyle { + /// + /// + /// slide, + + /// + /// + /// fade, + + /// + /// + /// flat, + + /// + /// + /// material, + + /// + /// + /// oldschool }