Skip to content

Conversation

@xBlaz3kx
Copy link
Collaborator

@xBlaz3kx xBlaz3kx commented Jul 12, 2025

Proposed changes

  • Implemented a demo web ui for charging station management

TODO:

  • Add GH actions for linting, building and testing the UI
  • Connect the UI with API
  • Add dashboard components
  • Fix settings widget grid

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Further comments

This was generated with cursor and needs to be refined and connected with an actual API.

@xBlaz3kx xBlaz3kx self-assigned this Jul 12, 2025
@xBlaz3kx xBlaz3kx added enhancement New feature or request ui labels Jul 12, 2025
@github-actions
Copy link

github-actions bot commented Jul 12, 2025

The latest Buf updates on your PR. Results from workflow Lint / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed❌ failed (1)✅ passedAug 10, 2025, 9:01 AM

Comment on lines 24 to 44
name: "Lint"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.11.0
run_install: 'true'

- name: Run ESLint
run: pnpm lint

# Test job - runs on PR and push
test:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines 45 to 78
name: "Test"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.11.0
run_install: 'true'

- name: Run tests
run: |
if pnpm run test --if-present; then
echo "Tests completed successfully"
else
echo "No tests found or tests failed, but continuing..."
fi
continue-on-error: true

- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: ui-test-results
path: ui/coverage/
if-no-files-found: ignore

# Build job - runs on PR and push
build:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines 79 to 106
name: "Build UI"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.11.0
run_install: 'true'

- name: Build application
run: pnpm run build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ui-build
path: ui/dist/
retention-days: 7

# Type check job - runs on PR and push
type-check:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines 107 to 127
name: "Type Check"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.11.0
run_install: 'true'

- name: Run TypeScript type check
run: pnpm tsc

# Test coverage report - runs only on PR
test-coverage:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@xBlaz3kx xBlaz3kx force-pushed the feat/ui-rework branch 5 times, most recently from 2a99500 to 47363bc Compare August 3, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ui

Projects

None yet

2 participants