Skip to content

Commit be6d9b1

Browse files
committed
feat(ui): Implement home dashboard
Replace the minimal index route with a lightweight home dashboard that reads favorites and recently started runs through the home data provider abstraction. Show favorites grouped by resource type, locally tracked recent runs, and a link to `/organizations`. Resolves #1598. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.io>
1 parent 3f640ef commit be6d9b1

5 files changed

Lines changed: 755 additions & 22 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (C) 2026 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* SPDX-License-Identifier: Apache-2.0
17+
* License-Filename: LICENSE
18+
*/
19+
20+
import type { ReactNode } from 'react';
21+
22+
export const HomeEmptyState = ({ children }: { children: ReactNode }) => (
23+
<div className='text-muted-foreground rounded-lg border border-dashed p-6 text-sm'>
24+
{children}
25+
</div>
26+
);

0 commit comments

Comments
 (0)