Coder Social home page Coder Social logo

grantcolley / headway Goto Github PK

View Code? Open in Web Editor NEW
34.0 8.0 7.0 11.13 MB

A .NET 7.0 Blazor framework for building configurable applications fast. Supporting both hosting models, Blazor WebAssembly and Blazor Server, a WebApi for accessing data and an Identity Provider for authentication.

License: MIT License

C# 66.80% HTML 7.05% PowerShell 0.64% CSS 1.00% SCSS 11.85% JavaScript 12.66%
blazor blazor-server blazor-webassembly headway webapi razor identityserver4 identity-provider mudblazor aspnetcore

headway's People

Contributors

grantcolley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

headway's Issues

Add Test projects to the solution

bUnit for testing Blazor components
AutoFixture for generating fake test data

// Install bUnit
dotnet new --install bunit.template

// Install the latest bUnit project template
dotnet new --install bunit.template::1.2.49

// Navigate to the solution folder and create a test project
dotnet new bunit -o ProjectName.Tests 

// Add the test project to the solution
dotnet sln add ProjectName.Tests/ProjectName.Tests.csproj

// Add a package reference for AutoFixture
<PackageReference Include="AutoFixture" Version="4.17.0" />

// Add using statements to the _Imports.razor file
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.Extensions.DependencyInjection
@using AutoFixture
@using Bunit.JSInterop.InvocationHandlers
@using MediatR

// Add a reference to the project containing the components to test

Create a configurable workflow

Create a workflow that can bind to models in the UI. Different steps in the workflow can be permissioned. For model fields to be editable they must be mapped to an active instance of a step in the workflow, and where the user has write permission to that step.

Update TreeView

  • Cannot drop a node if it is a decendent of the traget - check all the way back to the root
  • Remove edit button and provide the label with a pointer cursor for selecting the node for editing
  • Add + and - symbols for showing/hiding child nodes. If a node doesn't have children then hide the symbols retaining the space

Create a file upload service for uploading files to a file repository

  • Create a FileRepository class that inherits RepositoryBase in Headway.Repository project
  • Create a file controller in the Headway.WebApi
  • Create a FileService class that inherits ServiceBase in Headway.Services
  • Create a File component that uploads and downloads files to and from the file repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.