Skip to content

Improve VS project creation UX with job list refresh and spinners#43

Merged
ADefWebserver merged 1 commit into
mainfrom
fix/vs-project-creation-ux-improvements
Jun 29, 2026
Merged

Improve VS project creation UX with job list refresh and spinners#43
ADefWebserver merged 1 commit into
mainfrom
fix/vs-project-creation-ux-improvements

Conversation

@imsaadawais

Copy link
Copy Markdown
Contributor

This pull request introduces several user experience improvements and backend integration enhancements to the job creation workflow in the Blazor Data Orchestrator application. The main changes focus on providing better visual feedback during save and execute operations, ensuring jobs are properly registered in the database, and improving project organization.

User Experience Improvements:

  • Added a modal overlay that appears during the save and compile process, displaying a spinner and status messages to inform users that saving and validation are in progress (Home.razor).
  • Ensured the UI updates immediately when saving begins by introducing a short delay after setting isSaving, allowing the overlay to render before the save operation proceeds (Home.razor).
  • The "Run" button now shows a busy indicator (IsBusy) while code execution is in progress, preventing duplicate submissions and clarifying status for users (Home.razor).

Backend Integration:

  • After successfully creating a project, the system now attempts to create a corresponding job in the database so it appears on the dashboard. If job registration fails, a warning notification is displayed. The job list is also refreshed after creation (Home.razor).

Project Structure:

  • Updated the solution file (JobCreatorTemplate.slnx.template) to organize dependencies into a /Dependencies/ folder, improving project structure clarity.

Copilot AI review requested due to automatic review settings June 29, 2026 08:27

Copilot AI left a comment

Copy link
Copy Markdown

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 improves the job/project creation experience by adding clearer in-progress UI feedback (busy indicators/overlays) and by attempting to register newly created VS projects as jobs so they appear on the dashboard, along with a small solution-template organization tweak.

Changes:

  • After project creation, attempt to create a corresponding job and refresh the job list (BlazorOrchestrator.Web Home page).
  • Add a saving overlay and mark the “Run” split button as busy during execution (JobCreatorTemplate Home page).
  • Group core dependency projects under a /Dependencies/ solution folder in the job-creator solution template.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/BlazorOrchestrator.Web/JobTemplate/JobCreatorTemplate.slnx.template Organizes the Core project under a /Dependencies/ solution folder in the template.
src/BlazorOrchestrator.Web/Components/Pages/Home.razor Registers a newly created project as a job (with warning on failure) and refreshes the job list.
src/BlazorDataOrchestrator.JobCreatorTemplate/Components/Pages/Home.razor Adds saving overlay and busy indicator on Run to prevent duplicate submissions / improve feedback.

Comment on lines +899 to +903
var org = await JobService.GetDefaultOrganizationAsync();
if (org != null)
{
await JobService.CreateJobAsync(projectName, org.Id);
}
}
catch (Exception jobEx)
{
NotificationService.Notify(NotificationSeverity.Warning, "Warning", $"Project created but failed to register job: {jobEx.Message}");
Comment on lines +211 to +212
<RadzenText TextStyle="TextStyle.H5" Style="margin: 0; color: #333; font-weight: 600;">Saving & Compiling…</RadzenText>
<RadzenText TextStyle="TextStyle.Body2" Style="margin: 0; color: #666;">Please wait while your code is being saved and validated</RadzenText>
@ADefWebserver ADefWebserver merged commit e51b224 into main Jun 29, 2026
1 check passed
@imsaadawais imsaadawais deleted the fix/vs-project-creation-ux-improvements branch July 2, 2026 18:25
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.

3 participants