Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bedhost/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.12.2"
__version__ = "0.12.3"
3 changes: 2 additions & 1 deletion requirements/requirements-all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ psycopg[binary,pool]
python-multipart>=0.0.9
APScheduler>=3.11.0
cachetools>=4.2.4
bedboss>=0.8.5
bedboss>=0.8.6
#bedboss @ git+https://github.com/databio/bedboss.git@dev#egg=bedboss
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

This commented-out line should either be removed or uncommented with a clear explanation of why it exists. Leaving commented-out code in requirements files can cause confusion about which dependencies are actually being used, especially since line 15 already specifies the required bedboss version.

Suggested change
#bedboss @ git+https://github.com/databio/bedboss.git@dev#egg=bedboss

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bedhost-ui-2",
"private": true,
"version": "0.12.0",
"version": "0.12.2",
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

The UI package version is updated to 0.12.2, but the PR title and the backend version indicate this is release 0.12.3. This version mismatch creates confusion about what version is being released. The UI version should be updated to 0.12.3 to match the release version, or the versioning strategy should be clarified.

Suggested change
"version": "0.12.2",
"version": "0.12.3",

Copilot uses AI. Check for mistakes.
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
18 changes: 18 additions & 0 deletions ui/src/components/common/connection-banner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { useServiceInfo } from '../../queries/useServiceInfo';

export const ConnectionBanner = () => {
const { data, isLoading, isError } = useServiceInfo();

// Show banner only when there's an error or no data (and not loading)
const showBanner = !isLoading && (isError || !data);

if (!showBanner) {
return null;
}

return (
<div className="alert alert-warning text-center mb-0 rounded-0 py-2" role="alert">
🛠️ Sorry, the BEDbase team is performing maintenance. Some features may be unavailable. 🛠️
</div>
);
};
3 changes: 3 additions & 0 deletions ui/src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useServiceInfo } from '../queries/useServiceInfo';
import { StatusCircle } from './badges/status-circles';
import { SEO } from './seo';
import { Nav } from './nav/nav';
import { ConnectionBanner } from './common/connection-banner';

type LayoutProps = {
children: React.ReactNode;
Expand Down Expand Up @@ -78,6 +79,7 @@ export const Layout = (props: LayoutProps) => {
<header>
<Nav />
</header>
<ConnectionBanner />
<main className='flex-fill container-fluid' style={{ minHeight: 0 }}>
{children}
</main>
Expand All @@ -95,6 +97,7 @@ export const Layout = (props: LayoutProps) => {
<header>
<Nav />
</header>
<ConnectionBanner />
<main
className={`${fullHeight ? fluidContainer + ' min-h-screen flex-grow-1' : fluidContainer + ' flex-grow-1'}`}
>
Expand Down
Loading