Skip to content

Update styling to be consistent with other apps. - #284

Merged
barnstee merged 3 commits into
mainfrom
styling-updates
Jul 22, 2026
Merged

Update styling to be consistent with other apps.#284
barnstee merged 3 commits into
mainfrom
styling-updates

Conversation

@opcfoundation-org

@opcfoundation-org opcfoundation-org commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Changed colors and fonts choices to match other OPC-F apps;
Add favicon
Migrated to West Europe data center.
Added link to new ToU
Switched the ConnectionString based configuration for DB connections.

See https://opcua-cloudlibrary.azurewebsites.net/

@barnstee
barnstee requested a review from Copilot July 2, 2026 10:31
@barnstee barnstee added the enhancement New feature or request label Jul 2, 2026

@barnstee barnstee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just change the ignore case and we are good

Comment thread UACloudLibraryServer/Authentication/UserService.cs Outdated
Comment thread UACloudLibraryServer/Authentication/UserService.cs Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Updates UA Cloud Library’s UI styling and deployment/db configuration to align with other OPCF apps, including new favicon support and PostgreSQL connectivity changes.

Changes:

  • Standardized branding (fonts/colors), updated header/footer layout, and added favicon links/assets.
  • Switched DB configuration to a single ConnectionStrings__CloudLibraryPostgreSQL value and updated docs accordingly.
  • Added database utility scripts (backup/restore/init) and updated multiple NuGet/tooling dependencies.

Reviewed changes

Copilot reviewed 21 out of 23 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
docker-compose.yml Switches container DB config to a single connection string env var.
db/restore_db.ps1 Adds restore workflow for Azure/local Postgres plus grants application.
db/initialize_db.ps1 Adds initialization/reset workflow for databases prior to running EF schema/migrations.
db/grant_webapp.sql Adds a repeatable grant/ownership script for the runtime app role + EF migrations.
db/backup_db.ps1 Adds a pg_dump helper for creating a SQL backup.
UACloudLibraryServer/wwwroot/favicon.svg Adds SVG favicon asset.
UACloudLibraryServer/wwwroot/css/site.css Updates fonts, palette variables, header/footer styling to match other OPCF apps.
UACloudLibraryServer/dotnet-tools.json Pins dotnet-ef tool version at repo root for consistent migrations tooling.
UACloudLibraryServer/Views/Shared/_LoginPartial.cshtml Adjusts auth link colors for new dark navbar styling.
UACloudLibraryServer/Views/Shared/_Layout.cshtml Adds favicon links; reworks header/footer markup and footer links/ToU.
UACloudLibraryServer/UA-CloudLibrary.csproj Updates ASP.NET/EF/Npgsql/OPC/Swagger and build tooling package versions.
UACloudLibraryServer/Authentication/UserService.cs Makes admin username configurable via ServiceUsername (env/config) instead of hardcoding admin.
UACloudLibraryServer/AppDbContext.cs Removes legacy env-var-based connection string construction; throws if not configured.
UA-CloudLibrary.sln Adds db scripts as solution items for discoverability.
Tests/UACloudLibraryServer.UnitTests/UACloudLibraryServer.UnitTests.csproj Updates test SDK, coverage collector, SourceLink, and GitVersioning.
Tests/CloudLibClientTests/CloudLibClient.Tests.csproj Updates test dependencies and OPC UA complex types package version.
SampleConsoleClient/SampleConsoleClient.csproj Updates SourceLink/GitVersioning versions.
README.md Updates documented env var contract and admin credential documentation.
Opc.Ua.CloudLib.Client/Opc.Ua.Cloud.Library.Client.csproj Updates SourceLink/GitVersioning versions.
CloudLibSyncAzureFunction/CloudLibSyncAzureFunction.csproj Updates SourceLink/GitVersioning versions.
CloudLibSync/CloudLibSync.csproj Updates ASP.NET testing package and System.CommandLine version plus SourceLink/GitVersioning.
BlobToPGTable/BlobToPGTable.csproj Updates cloud SDKs and Npgsql plus SourceLink/GitVersioning versions.

Comment thread docker-compose.yml
Comment thread db/restore_db.ps1
Comment thread db/restore_db.ps1 Outdated
Comment thread db/initialize_db.ps1 Outdated
Comment thread db/backup_db.ps1
Comment thread db/backup_db.ps1
Comment thread UACloudLibraryServer/wwwroot/css/site.css
Comment thread UACloudLibraryServer/AppDbContext.cs Outdated
Comment thread UACloudLibraryServer/Authentication/UserService.cs Outdated
@barnstee
barnstee merged commit 4b572e0 into main Jul 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants