Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui v2 switch #635

Merged
merged 9 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from 5 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
27 changes: 4 additions & 23 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ permissions:
on:
workflow_dispatch:
inputs:
v1_ref:
required: true
description: The branch/tag for the v1 UI
default: master
v2_ref:
required: true
description: The branch/tag for the v2 UI
Expand Down Expand Up @@ -59,13 +55,9 @@ jobs:
- openevse_esp32-poe-iso
- openevse_esp32-heltec-wifi-lora-v2
gui:
- name: gui-v1
repo: OpenEVSE/openevse_wifi_gui
build_flags: ""
ref: ${{ inputs.v1_ref }}
- name: gui-v2
repo: KipK/openevse-gui-v2
build_flags: "-D DISABLE_WIFI_PORTAL -D WEB_SERVER_ROOT_PAGE_INDEX"
KipK marked this conversation as resolved.
Show resolved Hide resolved
repo: OpenEVSE/openevse-gui-v2
build_flags: ""
ref: ${{ inputs.v2_ref }}

steps:
Expand Down Expand Up @@ -129,7 +121,7 @@ jobs:
- name: Upload output to GitHub
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.env }}_${{ matrix.gui.name }}.bin
name: ${{ matrix.env }}.bin
path: .pio/build/${{ matrix.env }}/firmware.bin

release:
Expand Down Expand Up @@ -161,18 +153,7 @@ jobs:
prerelease: true
title: Development Build
files: |
*gui-v1.bin

- name: Upload assets to the v2 GUI release
if: github.ref_name == 'master'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: v2_gui
prerelease: true
title: V2 GUI pre-release
files: |
*gui-v2.bin
*.bin

- name: Upload assets to release
if: startsWith(github.ref_name, 'v')
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "gui"]
path = gui
url = https://github.com/openevse/openevse_wifi_gui
[submodule "gui-v2"]
path = gui-v2
url = https://github.com/OpenEVSE/openevse-gui-v2
branch = master
1 change: 0 additions & 1 deletion gui
Submodule gui deleted from 5d1d65
1 change: 1 addition & 0 deletions gui-v2
Submodule gui-v2 added at 10e989
2 changes: 1 addition & 1 deletion scripts/extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def process_html_app(source, dest, env):

gui_name = environ.get("GUI_NAME")
if gui_name in (None, ""):
gui_name = "gui"
gui_name = "gui-v2"

gui_dir = join(env.subst("$PROJECT_DIR"), gui_name)
dist_dir = join(gui_dir, "dist")
Expand Down
1,436 changes: 1,436 additions & 0 deletions src/web_static/web_server.assets_components_3dc157ab_js_gz.h

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions src/web_static/web_server.assets_components_a2a8801e_css_gz.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
static const char CONTENT_COMPONENTS_A2A8801E_CSS_GZ[] PROGMEM = {
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 0xc5, 0x56, 0xed, 0x6e, 0x9b, 0x30,
0x14, 0xfd, 0xbf, 0xa7, 0xa8, 0x34, 0x55, 0x6a, 0xa5, 0x82, 0x08, 0x0d, 0x09, 0x31, 0x0f, 0x33,
0x19, 0x30, 0xe0, 0xc6, 0xd8, 0xcc, 0x36, 0x84, 0x26, 0xca, 0xbb, 0xcf, 0x36, 0x06, 0x12, 0x43,
0x96, 0xfd, 0x9b, 0x22, 0x35, 0xe0, 0xdc, 0xcf, 0x73, 0xef, 0x39, 0xae, 0x5f, 0xb3, 0x1c, 0x12,
0x5f, 0x74, 0x88, 0x48, 0xe4, 0x6d, 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b7, 0x4d, 0x83, 0x78, 0x06,
0x85, 0xea, 0x98, 0x30, 0xb5, 0x44, 0xb4, 0x9c, 0x79, 0x71, 0x3c, 0x46, 0xfb, 0xf3, 0x65, 0x95,
0xb1, 0xa2, 0xa1, 0x7c, 0x69, 0xe8, 0x12, 0xc8, 0x90, 0xd0, 0xfb, 0x7c, 0x19, 0x30, 0x4a, 0x27,
0x87, 0x2f, 0xb4, 0x3f, 0xfd, 0xe6, 0xa0, 0x60, 0x59, 0x2b, 0x2e, 0xac, 0x95, 0x7a, 0x51, 0x4d,
0xe0, 0x35, 0x51, 0x8d, 0xf4, 0x67, 0xa8, 0x6e, 0x4a, 0x79, 0x2a, 0x2a, 0x12, 0xd4, 0x2b, 0xb4,
0xb1, 0xaa, 0x67, 0x33, 0xc7, 0x2e, 0x2b, 0x5d, 0xbf, 0x07, 0xac, 0x7c, 0x18, 0xfe, 0x9e, 0x95,
0x53, 0xa2, 0xe0, 0x8e, 0x92, 0x7f, 0x21, 0x60, 0x74, 0xc3, 0x98, 0x70, 0xfb, 0x9c, 0x80, 0x37,
0x78, 0x80, 0x53, 0xa5, 0x16, 0xd7, 0xe5, 0xfb, 0x3f, 0xfc, 0xb3, 0x72, 0x8f, 0x00, 0x93, 0x5f,
0x3d, 0x69, 0x9f, 0x22, 0xe0, 0x9a, 0xdd, 0x01, 0xfc, 0xbf, 0xd4, 0xe8, 0xc7, 0x1f, 0x80, 0x5f,
0x12, 0x38, 0x90, 0x0b, 0x00, 0x00, 0x00 };
static const char CONTENT_COMPONENTS_A2A8801E_CSS_GZ_ETAG[] PROGMEM = "06e4ac9078f29eac334f16cec80e03fe95037939797bcad3918d0e755afdfc1c";
Loading