[PR #171] [MERGED] Feature/badge component #2050

Open
opened 2026-01-29 18:16:55 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/171
Author: @MPapst
Created: 7/13/2021
Status: Merged
Merged: 7/14/2021
Merged by: @akorchev

Base: masterHead: feature/badge-component


📝 Commits (10+)

  • 57730bd fix button unit test
  • e8c2e40 add RadzenBadge Component
  • d505977 add RadzenBadge Component tests
  • 4288f43 use scss & rz- classes instead of bootstrap
  • caacd75 add missing newline
  • 40ad295 add badge scss to components
  • 03d0d70 remove underlined text from badge link
  • 7fb7696 cleanup badge page
  • 970a51f remove badge as link
  • eccf5a3 Add the inherited attributes from RadzenComponent.

📊 Changes

8 files changed (+217 additions, -13 deletions)

View changed files

Radzen.Blazor.Tests/BadgeTests.cs (+47 -0)
📝 Radzen.Blazor.Tests/ButtonTests.cs (+1 -1)
📝 Radzen.Blazor/Common.cs (+18 -8)
Radzen.Blazor/RadzenBadge.razor (+41 -0)
📝 Radzen.Blazor/themes/_components.scss (+1 -0)
Radzen.Blazor/themes/components/blazor/_badge.scss (+57 -0)
RadzenBlazorDemos/Pages/BadgePage.razor (+42 -0)
📝 RadzenBlazorDemos/Services/ExampleService.cs (+10 -4)

📄 Description

fixes #66

Introduces a RadzenBadge component using the Bootstrap Badge classes.
Using a more generic case than only displaying numbers as shown in #66.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/171 **Author:** [@MPapst](https://github.com/MPapst) **Created:** 7/13/2021 **Status:** ✅ Merged **Merged:** 7/14/2021 **Merged by:** [@akorchev](https://github.com/akorchev) **Base:** `master` ← **Head:** `feature/badge-component` --- ### 📝 Commits (10+) - [`57730bd`](https://github.com/radzenhq/radzen-blazor/commit/57730bde25c891108dc2627838cd2e1c196ed688) fix button unit test - [`e8c2e40`](https://github.com/radzenhq/radzen-blazor/commit/e8c2e40751d6bced913ab443e1aacdf685bf79c2) add RadzenBadge Component - [`d505977`](https://github.com/radzenhq/radzen-blazor/commit/d505977c2f73caf6e634b8f5570c22d95d6118b6) add RadzenBadge Component tests - [`4288f43`](https://github.com/radzenhq/radzen-blazor/commit/4288f437670e6eb32b5fad04b676fc31a7735ba3) use scss & rz- classes instead of bootstrap - [`caacd75`](https://github.com/radzenhq/radzen-blazor/commit/caacd75b2a12b21b8b7fd52e402a04cede63b035) add missing newline - [`40ad295`](https://github.com/radzenhq/radzen-blazor/commit/40ad295bae3177ef4070accdb054be2445bd2a3a) add badge scss to components - [`03d0d70`](https://github.com/radzenhq/radzen-blazor/commit/03d0d70fa99abd7b818ff4a09ce576665eacf18b) remove underlined text from badge link - [`7fb7696`](https://github.com/radzenhq/radzen-blazor/commit/7fb7696ff5fcd7f47f4f2cddb6f08da39ec84f9d) cleanup badge page - [`970a51f`](https://github.com/radzenhq/radzen-blazor/commit/970a51fee5b36a6fea27d103557bc250dcd8abb7) remove badge as link - [`eccf5a3`](https://github.com/radzenhq/radzen-blazor/commit/eccf5a3344a4981dde4ecd8381a6334eb58f3624) Add the inherited attributes from RadzenComponent. ### 📊 Changes **8 files changed** (+217 additions, -13 deletions) <details> <summary>View changed files</summary> ➕ `Radzen.Blazor.Tests/BadgeTests.cs` (+47 -0) 📝 `Radzen.Blazor.Tests/ButtonTests.cs` (+1 -1) 📝 `Radzen.Blazor/Common.cs` (+18 -8) ➕ `Radzen.Blazor/RadzenBadge.razor` (+41 -0) 📝 `Radzen.Blazor/themes/_components.scss` (+1 -0) ➕ `Radzen.Blazor/themes/components/blazor/_badge.scss` (+57 -0) ➕ `RadzenBlazorDemos/Pages/BadgePage.razor` (+42 -0) 📝 `RadzenBlazorDemos/Services/ExampleService.cs` (+10 -4) </details> ### 📄 Description fixes #66 Introduces a RadzenBadge component using the Bootstrap Badge classes. Using a more generic case than only displaying numbers as shown in #66. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:16:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2050