Skip to content

Comments

Front-end improvements for the Gateway#257

Merged
lucaspar merged 18 commits intomasterfrom
lp/branding
Feb 19, 2026
Merged

Front-end improvements for the Gateway#257
lucaspar merged 18 commits intomasterfrom
lp/branding

Conversation

@lucaspar
Copy link
Member

@lucaspar lucaspar commented Feb 13, 2026

  • Fixes
  • Styling
    • Captures and dataset listings are more visually coherent.
    • Hiding authenticated URLs from navbar if user is not authenticated.
    • Vertical dividers in navbar.
    • When running a capture search, the loading spinner is now in the button and it's visible for slightly longer if the request finishes too fast.
  • Docs
    • Adds deployment instructions for operators, in Gateway changelog.
  • Config
    • New .env variables to help distinguishing SDS deployments.
  • Cleanup
    • Removed unused "about" page and its main CSS rules.

@lucaspar lucaspar self-assigned this Feb 13, 2026
Copilot AI review requested due to automatic review settings February 13, 2026 18:39
@lucaspar lucaspar added bug Something isn't working gateway Gateway component styling Special focus on styling of front-end components javascript Pull requests that update non-trivial javascript code labels Feb 13, 2026
@semanticdiff-com
Copy link

semanticdiff-com bot commented Feb 13, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  gateway/sds_gateway/static/css/spectrumx_theme.css  73% smaller
  gateway/sds_gateway/templates/users/file_list.html  56% smaller
  gateway/sds_gateway/templates/base.html  51% smaller
  gateway/sds_gateway/static/css/custom.css  39% smaller
  gateway/sds_gateway/static/js/components.js  9% smaller
  gateway/sds_gateway/static/js/file-list.js  5% smaller
  .github/workflows/sdk-code-quality.yaml  1% smaller
  .github/workflows/gwy-code-quality.yaml  0% smaller
  .github/workflows/sdk-build-and-publish.yaml  0% smaller
  .github/workflows/sdk-cross-platform-tests.yaml  0% smaller
  .pre-commit-config.yaml  0% smaller
  gateway/.envs/example/django.env Unsupported file format
  gateway/.envs/example/django.prod-example.env Unsupported file format
  gateway/config/settings/base.py  0% smaller
  gateway/config/settings/local.py  0% smaller
  gateway/config/settings/production.py  0% smaller
  gateway/docs/changelog.md Unsupported file format
  gateway/scripts/deploy.sh Unsupported file format
  gateway/sds_gateway/context_processors.py  0% smaller
  gateway/sds_gateway/static/css/components.css  0% smaller
  gateway/sds_gateway/static/css/variables.css  0% smaller
  gateway/sds_gateway/static/images/brand/nd-dome.svg  0% smaller
  gateway/sds_gateway/static/js/__tests__/file-list.test.js  0% smaller
  gateway/sds_gateway/templates/pages/about.html  0% smaller
  gateway/sds_gateway/templates/pages/home.html Unsupported file format
  gateway/sds_gateway/templates/users/dataset_list.html  0% smaller
  gateway/sds_gateway/templates/users/partials/captures_page_table.html Unsupported file format
  gateway/sds_gateway/templates/users/partials/my_datasets_tab.html Unsupported file format
  gateway/sds_gateway/templates/users/user_api_key.html Unsupported file format
  gateway/sds_gateway/test_context_processors.py  0% smaller
  gateway/sds_gateway/test_settings.py  0% smaller
  gateway/tests/__init__.py  0% smaller
  gateway/tests/test_brand_image_url.py  0% smaller
  sdk/docs/mkdocs/index.md Unsupported file format

@lucaspar lucaspar added the documentation Improvements or additions to documentation label Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

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 adds customizable branding to the SDS Gateway to distinguish different deployment instances, along with front-end improvements and a critical debouncing fix for capture search. The branding system allows operators to configure institution names, site identifiers, and optional branding images through environment variables, which are then displayed in the navbar, page titles, and homepage.

Changes:

  • Fixed search debouncing using AbortController to cancel stale requests and prevent race conditions
  • Added branding system with configurable site names, institution names, and optional branding images
  • Improved UI consistency across captures and datasets pages with better visual hierarchy
  • Added vertical dividers in navbar and restricted authenticated-only links to authenticated users

Reviewed changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
gateway/sds_gateway/context_processors.py Added branding context processor to expose branding settings to all templates
gateway/sds_gateway/test_context_processors.py Added tests for the new branding context processor
gateway/config/settings/base.py Defined branding settings and helper function to resolve brand image paths
gateway/config/settings/production.py Added SDS_SITE_FQDN to ALLOWED_HOSTS
gateway/config/settings/local.py Added SDS_SITE_FQDN to ALLOWED_HOSTS
gateway/.envs/example/django.env Added example branding environment variables for development
gateway/.envs/example/django.prod-example.env Added example branding environment variables for production
gateway/sds_gateway/templates/base.html Updated navbar with branding, added vertical dividers, restricted links to authenticated users
gateway/sds_gateway/templates/pages/home.html Added branding display with institution names and optional brand image banner
gateway/sds_gateway/templates/pages/about.html Added optional brand image background to description section
gateway/sds_gateway/templates/users/dataset_list.html Changed title from "My Datasets" to "Datasets" for consistency
gateway/sds_gateway/templates/users/partials/my_datasets_tab.html Updated comments for consistency
gateway/sds_gateway/templates/users/file_list.html Restructured layout, added date auto-fill logic, improved search UI
gateway/sds_gateway/static/js/components.js Implemented AbortController pattern for request cancellation in SearchManager
gateway/sds_gateway/static/js/file-list.js Updated to use AbortController signal, added minimum loading time, improved button state management
gateway/sds_gateway/static/css/variables.css Added homepage color variable for institution highlighting
gateway/sds_gateway/static/css/spectrumx_theme.css Added styles for brand images, navbar branding, and institution highlighting
gateway/docs/changelog.md Added comprehensive deployment instructions for operators
.pre-commit-config.yaml Increased max file size check from default to 1MB

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lucaspar lucaspar marked this pull request as draft February 16, 2026 14:33
@lucaspar lucaspar changed the title Gateway branding and other front-end improvements Front-end improvements for the Gateway Feb 17, 2026
@lucaspar lucaspar marked this pull request as ready for review February 18, 2026 14:50
@lucaspar lucaspar requested a review from srucker01 February 18, 2026 14:51
@lucaspar lucaspar merged commit 97b4024 into master Feb 19, 2026
5 checks passed
@lucaspar lucaspar deleted the lp/branding branch February 19, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation gateway Gateway component javascript Pull requests that update non-trivial javascript code styling Special focus on styling of front-end components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants