Skip to content

feat: Added Open in new tab option and updated release pipeline.#1

Merged
javaChip56 merged 3 commits intomainfrom
enhancements
Apr 26, 2026
Merged

feat: Added Open in new tab option and updated release pipeline.#1
javaChip56 merged 3 commits intomainfrom
enhancements

Conversation

@javaChip56
Copy link
Copy Markdown
Owner

@javaChip56 javaChip56 commented Apr 26, 2026

Summary

This PR starts the release packaging work for the first two deployment targets:

  • Windows IIS host
  • Linux Docker host
  • It updates the release pipeline so the published ASP.NET app becomes the single deployable base, with the built frontend copied into wwwroot during dotnet publish.

What Changed

  • Updated release.yml to produce:
    a Windows IIS release zip: CALMdotNetViewer.Web-IIS-.zip
    a Linux Docker image archive: CALMdotNetViewer.Web-linux-docker-.tar.gz
  • Updated CALMdotNetViewer.Web.csproj so the frontend dist output is copied into the published app’s wwwroot folder after publish.
  • Added a Linux container image definition at packaging/docker/linux/Dockerfile.

Why

Previously, the release workflow published the backend and frontend as separate artifacts. That meant neither IIS nor Docker would get a single ready-to-deploy hosted application. This change makes the release output behave like a hosted web app package rather than two disconnected build outputs.

- Added support for preview mode in ArchitectureWorkspace, allowing users to view different panes (architecture, flow, interface).
- Updated routing to accommodate view and preview pane parameters in architecture and linked architecture routes.
- Implemented logic to resolve the appropriate preview pane based on the selected focus element.
- Modified DiagramViewer to handle preview mode and conditionally render diagrams based on the selected preview pane.
- Updated appRoutes to include view and preview pane in route parsing and building.
- Enhanced tests to cover new routing scenarios for preview mode.
- Adjusted styles to support new layout requirements for preview mode.
- Added fallback route in Program.cs to serve the main application file.
- Created runtime configuration for .NET 9.0 in CALMdotNetViewer.Web.runtimeconfig.json.
- Added static web assets endpoints configuration in CALMdotNetViewer.Web.staticwebassets.endpoints.json.
- Introduced sample data for payment services in payment-service-details.json and payments-architecture.json.
- Configured logging and architecture source settings in appsettings.Development.json and appsettings.json.
- Added web.config for ASP.NET Core hosting configuration.
- Created initial HTML landing page in wwwroot/index.html with available endpoints.
- Included compressed versions of the HTML page in .br and .gz formats.
- Added Dockerfile for building the application in a Linux container.
@javaChip56 javaChip56 changed the title feat: Added new tab optionUpdated release pipeline. feat: Added Open in new tab option and updated release pipeline. Apr 26, 2026
Copy link
Copy Markdown
Owner Author

@javaChip56 javaChip56 left a comment

Choose a reason for hiding this comment

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

Approved.

Copy link
Copy Markdown
Owner Author

@javaChip56 javaChip56 left a comment

Choose a reason for hiding this comment

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

Looks good.

@javaChip56 javaChip56 merged commit 05c27f4 into main Apr 26, 2026
4 checks passed
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.

1 participant