Skip to content

Commit e9b53ff

Browse files
Initial open-source commit
0 parents  commit e9b53ff

File tree

134 files changed

+15532
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+15532
-0
lines changed

.dockerignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
.env
27+
28+
notes.md

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = false
9+
max_line_length = 120
10+
11+
[*.md]
12+
max_line_length = 0
13+
14+
[COMMIT_EDITMSG]
15+
max_line_length = 0

.eslintrc.cjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
],
9+
ignorePatterns: ['dist', '.eslintrc.cjs'],
10+
parser: '@typescript-eslint/parser',
11+
plugins: ['react-refresh'],
12+
rules: {
13+
'react-refresh/only-export-components': [
14+
'warn',
15+
{ allowConstantExport: true },
16+
],
17+
},
18+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug
4+
labels: kind/bug
5+
6+
---
7+
8+
**What happened**:
9+
10+
**What you expected to happen**:
11+
12+
**How to reproduce it (as minimally and precisely as possible)**:
13+
14+
**Anything else we need to know**:
15+
16+
**Environment**:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Enhancement Request
3+
about: Suggest an enhancement
4+
labels: kind/enhancement
5+
6+
---
7+
8+
**What would you like to be added**:
9+
10+
**Why is this needed**:

.github/pull_request_template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**What this PR does / why we need it**:
2+
3+
**Which issue(s) this PR fixes**:
4+
Fixes #
5+
6+
**Special notes for your reviewer**:
7+

.github/workflows/build.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- "*"
8+
9+
pull_request:
10+
branches:
11+
- main
12+
13+
env:
14+
DOCKER_IMAGE: ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_REF }}
15+
16+
jobs:
17+
build:
18+
runs-on: self-hosted
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Docker meta
23+
id: meta
24+
uses: docker/metadata-action@v5
25+
with:
26+
# list of Docker images to use as base name for tags
27+
images: |
28+
${{ env.DOCKER_IMAGE }}
29+
# generate Docker tags based on the following events/attributes
30+
tags: |
31+
type=schedule
32+
type=ref,event=branch
33+
type=ref,event=pr
34+
type=semver,pattern={{version}}
35+
type=semver,pattern={{major}}.{{minor}}
36+
type=semver,pattern={{major}}
37+
type=sha
38+
type=raw,value=latest,enable={{is_default_branch}}
39+
40+
- name: Login to Docker Registry
41+
if: github.event_name != 'pull_request'
42+
uses: docker/login-action@v3
43+
with:
44+
registry: ${{ vars.DOCKER_REGISTRY }}
45+
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
46+
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
47+
48+
- name: Set up QEMU
49+
uses: docker/setup-qemu-action@v3
50+
51+
- name: Set up Docker Buildx
52+
uses: docker/setup-buildx-action@v3
53+
54+
- name: Build and push
55+
uses: docker/build-push-action@v6
56+
with:
57+
context: .
58+
platforms: linux/amd64,linux/arm64
59+
push: ${{ github.event_name != 'pull_request' }}
60+
tags: ${{ steps.meta.outputs.tags }}
61+
labels: ${{ steps.meta.outputs.labels }}
62+
cache-from: type=gha
63+
cache-to: type=gha,mode=max

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
.env
27+
28+
notes.md
29+
30+
tmp/
31+
32+
public/frontend-config.json

.reuse/dep5

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: ui-frontend
3+
Upstream-Contact: [email protected]
4+
Source: https://github.com/openmcp-project/ui-frontend
5+
Disclaimer: The code in this project may include calls to APIs ("API Calls") of
6+
SAP or third-party products or services developed outside of this project
7+
("External Products").
8+
"APIs" means application programming interfaces, as well as their respective
9+
specifications and implementing code that allows software to communicate with
10+
other software.
11+
API Calls to External Products are not licensed under the open source license
12+
that governs this project. The use of such API Calls and related External
13+
Products are subject to applicable additional agreements with the relevant
14+
provider of the External Products. In no event shall the open source license
15+
that governs this project grant any rights in or to any External Products,or
16+
alter, expand or supersede any terms of the applicable additional agreements.
17+
If you have a valid license agreement with SAP for the use of a particular SAP
18+
External Product, then you may make use of any API Calls included in this
19+
project's code for that SAP External Product, subject to the terms of such
20+
license agreement. If you do not have a valid license agreement for the use of
21+
a particular SAP External Product, then you may only make use of any API Calls
22+
in this project for that SAP External Product for your internal, non-productive
23+
and non-commercial test and evaluation of such API Calls. Nothing herein grants
24+
you any rights to use or access any SAP External Product, or provide any third
25+
parties the right to use of access any SAP External Product, through API Calls.
26+
27+
Files: *
28+
Copyright: 2025 SAP SE or an SAP affiliate company and ui-frontend contributors
29+
License: Apache-2.0

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Contributing
2+
3+
## Code of Conduct
4+
5+
All members of the project community must abide by the [SAP Open Source Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md).
6+
Only by respecting each other we can develop a productive, collaborative community.
7+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [a project maintainer](.reuse/dep5).
8+
9+
## Engaging in Our Project
10+
11+
We use GitHub to manage reviews of pull requests.
12+
13+
* If you are a new contributor, see: [Steps to Contribute](#steps-to-contribute)
14+
15+
* Before implementing your change, create an issue that describes the problem you would like to solve or the code that should be enhanced. Please note that you are willing to work on that issue.
16+
17+
* The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to you. If the team decides against picking up the issue, the team will post a comment with an explanation.
18+
19+
## Steps to Contribute
20+
21+
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on. This is to prevent duplicated efforts from other contributors on the same issue.
22+
23+
If you have questions about one of the issues, please comment on them, and one of the maintainers will clarify.
24+
25+
## Contributing Code or Documentation
26+
27+
You are welcome to contribute code in order to fix a bug or to implement a new feature that is logged as an issue.
28+
29+
The following rule governs code contributions:
30+
31+
* Contributions must be licensed under the [Apache 2.0 License](./LICENSE).
32+
* Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
33+
* Contributions must follow our [guidelines on AI-generated code](https://github.com/SAP/.github/blob/main/CONTRIBUTING_USING_GENAI.md) in case you are using such tools.
34+
35+
## Issues and Planning
36+
37+
* We use GitHub issues to track bugs and enhancement requests.
38+
39+
* Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to reproduce that issue for the assignee.

0 commit comments

Comments
 (0)