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

Blazor UI: create ViewBase class and code behind #324

Closed
ekolis opened this issue Oct 20, 2024 · 0 comments · Fixed by #325
Closed

Blazor UI: create ViewBase class and code behind #324

ekolis opened this issue Oct 20, 2024 · 0 comments · Fixed by #325
Labels
technical debt Things that would make the code cleaner but deliver little to no value to users.
Milestone

Comments

@ekolis
Copy link
Owner

ekolis commented Oct 20, 2024

What needs to be cleaned up?

The various Blazor views have a lot of duplicate code. Move it into a ViewBase class, and also move any C# code possible from the razor file to a razor.cs file for each view.

How will this benefit us?

Better organization, less duplicate code

What potential drawbacks are there to making this change?

Splitting code into multiple files could potentially make things a bit harder to find

Related issues

Parent of this is #309

@ekolis ekolis added the technical debt Things that would make the code cleaner but deliver little to no value to users. label Oct 20, 2024
@ekolis ekolis added this to the alpha-10 milestone Oct 20, 2024
@ekolis ekolis linked a pull request Oct 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical debt Things that would make the code cleaner but deliver little to no value to users.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant