Skip to content

Kanban basic implementation#1

Merged
artemkuzmindevexpress merged 19 commits into
25.1.3+from
25.1.3-feature
Nov 12, 2025
Merged

Kanban basic implementation#1
artemkuzmindevexpress merged 19 commits into
25.1.3+from
25.1.3-feature

Conversation

@artemkuzmindevexpress
Copy link
Copy Markdown
Collaborator

Added a DxKanban component based on the DxGrid functionality

DevExpressExampleBot and others added 7 commits November 4, 2025 18:01
Replaced DxKanbanColumnContent with DxKanbanColumnGrid for improved column rendering and drag-drop handling. Moved all Kanban-related styles to a new kanban.css file and updated component references accordingly. Simplified DxKanban and DxKanbanColumn logic, removed unused event args and utility methods, and updated drag-drop event handling to use GridItemsDroppedEventArgs directly. This refactor streamlines the Kanban implementation and centralizes styling.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the complete file structure and assets for a new Blazor Kanban application, including all necessary static resources, images, fonts, CSS files, JSON data, and configuration files.

  • Adds comprehensive UI assets (SVG icons, favicon, fonts) for both Bootstrap and Fluent themes
  • Adds kanban data JSON file with 182 task items
  • Adds CSS files for theming and icon support
  • Removes version badge from README

Reviewed Changes

Copilot reviewed 31 out of 83 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Removes version range badge
wwwroot/images/*.svg Adds icon SVG files for both theme variants
wwwroot/images/account/*.svg Adds user account related icons
wwwroot/images/account/providers/*.svg Adds social provider logo icons
wwwroot/favicon.ico Adds application favicon
wwwroot/data/kanban.json Adds kanban board data with task items
wwwroot/css/*.css Adds theme-specific and site-wide styles
wwwroot/css/open-iconic/ Adds open-iconic icon font library
appsettings.json Adds application configuration file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CS/BlazorKanban/Components/DxKanban/DxKanban.razor.cs
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor.cs Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor.cs Outdated
Comment thread CS/BlazorKanban/Components/DxKanban/DxKanban.razor.cs
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor.cs Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor.cs Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanban.razor.js Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanbanColumnGrid.razor Outdated
Comment thread CS/blazor_kanban/blazor_kanban/Components/DxKanban/DxKanbanColumnGrid.razor.cs Outdated
Comment thread CS/blazor_kanban/blazor_kanban/wwwroot/css/kanban.css Outdated
Comment thread CS/BlazorKanban/Components/DxKanban/DxKanbanColumnGrid.razor
Comment thread CS/BlazorKanban/Components/Pages/Index.razor
Moved the grid CSS class logic from the .razor markup to a new GetGridCssClass() method in the code-behind for better maintainability and separation of concerns.
Refactored variable and binding names in DxKanban component from fakeDataToDrawSingleCell to sampleSingleCellData for improved clarity and consistency.
Replaced multiple if statements with switch statements in ApplyCssClassesToHeaderAndDataCells and ApplyCssClassesToDragAnchorsAndHints methods for improved readability and maintainability.
Renamed the JavaScript function MoveGridDataCellContentToAnchors to moveGridDataCellContentToAnchors for consistency with JavaScript naming conventions and updated its usage in the C# code. Also corrected the ShowAllRows attribute binding in DxKanbanColumnGrid.razor to use explicit quotes.
Replaces 'var' with 'const' in the moveGridDataCellContentToAnchors function for improved readability and modern JavaScript practices.
Standardized the formatting of for loop declarations by removing extra spaces after 'for' in moveGridDataCellContentToAnchors function for improved code consistency.
Replaced fixed pixel values with rem units for widths, heights, and spacing in kanban.css. This improves scalability and responsiveness of the Kanban board layout.
Changed the import path for the JavaScript module in DxKanban.razor.cs from a relative path to an absolute path to ensure correct module loading.
Prevents out-of-range errors by ensuring targetCardIndex is within valid bounds before swapping elements in KanbanData.
Replaced 'dx-card' with 'card' class in Index.razor and updated related CSS. Moved .dx-card styles from card-styles.css to kanban.css, and adjusted styling for card elements to improve consistency and maintainability.
Renamed the project directory and files from 'blazor_kanban' to 'BlazorKanban' for consistency with .NET naming conventions. Updated namespaces and using directives throughout the codebase to reflect the new project name.
Updated the BlazorKanban project path in the solution file from 'blazor_kanban/BlazorKanban.csproj' to 'BlazorKanban/BlazorKanban.csproj' to correct the directory reference.
@artemkuzmindevexpress artemkuzmindevexpress merged commit 5b06858 into 25.1.3+ Nov 12, 2025
1 check failed
@artemkuzmindevexpress artemkuzmindevexpress deleted the 25.1.3-feature branch December 19, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants