Rename frontend directory (#472)

* Rename directory

* Cleanup

* Recover lost images

* remove lint
This commit is contained in:
Andrey Pokhilko
2023-09-26 10:04:44 +01:00
committed by GitHub
parent 133eef6745
commit dd7aca70ff
146 changed files with 595 additions and 309 deletions

3
.github/labeler.yml vendored
View File

@@ -44,9 +44,6 @@ docker:
helm-charts:
- charts/*
helm-dashboard-v2:
- dashboard/*
github-actions:
- .github/ISSUE_TEMPLATE/*
- .github/labeler.yml

View File

@@ -4,7 +4,6 @@ on:
push:
branches:
- main
- helm-dashboard-v2
pull_request:
branches:
- "*"
@@ -25,16 +24,13 @@ jobs:
uses: actions/setup-node@v2.5.2
with:
cache: 'npm'
cache-dependency-path: dashboard/package-lock.json
cache-dependency-path: frontend/package-lock.json
- name: NPM install
run: npm i
working-directory: ./dashboard
- name: lint project
run: npm run lint
working-directory: ./dashboard
working-directory: ./frontend
- name: NPM build
run: npm run build
working-directory: ./dashboard
working-directory: ./frontend
# Golang part
- name: Set up Go
@@ -124,13 +120,13 @@ jobs:
uses: actions/setup-node@v3
with:
cache: 'npm'
cache-dependency-path: ./dashboard/package-lock.json
cache-dependency-path: ./frontend/package-lock.json
- name: NPM install
run: npm i
working-directory: ./dashboard
working-directory: ./frontend
- name: NPM lint
run: npm run lint
working-directory: ./dashboard
working-directory: ./frontend
- name: Helm Template Check For Sanity
uses: igabaydulin/helm-check-action@0.1.4

View File

@@ -3,7 +3,7 @@ FROM node:latest as frontend
WORKDIR /build
COPY dashboard ./
COPY frontend ./
RUN npm i && npm run build

View File

@@ -21,7 +21,7 @@ build_go: $(BIN) ; $(info $(M) Building GO...) @ ## Build program binary
.PHONY: build_ui
build_ui: $(BIN) ; $(info $(M) Building UI...) @ ## Build program binary
cd dashboard && npm i && npm run build && cd ..
cd frontend && npm i && npm run build && cd ..
.PHONY: build
build: build_ui build_go ; $(info $(M) Building executable...) @ ## Build program binary

View File

@@ -1,8 +1,8 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="pkg/dashboard/static/logo-header-inverted.svg">
<source media="(prefers-color-scheme: light)" srcset="pkg/dashboard/static/logo-header.svg#gh-light-mode-only">
<img alt="Helm Dashboard" src="pkg/dashboard/static/logo-header.svg#gh-light-mode-only">
<source media="(prefers-color-scheme: dark)" srcset="images/logo-header-inverted.svg">
<source media="(prefers-color-scheme: light)" srcset="images/logo-header.svg#gh-light-mode-only">
<img alt="Helm Dashboard" src="images/logo-header.svg#gh-light-mode-only">
</picture>
</p>

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 731 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 827 B

After

Width:  |  Height:  |  Size: 827 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Some files were not shown because too many files have changed in this diff Show More