Skip to content
Merged
Show file tree
Hide file tree
Changes from 51 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f5fde81
set up next.js app and static build
DaltheCow May 9, 2025
fa5db74
convert to .eslintrc to match current state of project
DaltheCow May 9, 2025
8b16db5
update .eslintrc, tsconfig.json
DaltheCow May 9, 2025
15e867d
update eslint, tsconfig, husky, and dependencies
DaltheCow May 12, 2025
f7837ca
update file type
DaltheCow May 12, 2025
59ff861
merge
DaltheCow May 12, 2025
834cc1a
remove .eslintrc
DaltheCow May 12, 2025
3ae85e2
final updates
DaltheCow May 12, 2025
50a39ec
sort eslintrc
DaltheCow May 13, 2025
e1fd9ed
merge base
DaltheCow May 13, 2025
119f05a
sort extensions
DaltheCow May 13, 2025
56f89e2
merge base
DaltheCow May 13, 2025
d923f4a
sort
DaltheCow May 13, 2025
a515e12
resort
DaltheCow May 13, 2025
ded66cd
add extension
DaltheCow May 13, 2025
fe4d91a
merge base
DaltheCow May 13, 2025
544899a
add dev workflow
DaltheCow May 13, 2025
026a13f
remove testing pieces
DaltheCow May 13, 2025
fca89c5
navigate to ui directory for operations
DaltheCow May 13, 2025
b276f17
navigate to directory
DaltheCow May 13, 2025
32e95e9
add makefile
DaltheCow May 13, 2025
9faebcf
upgrade eslint-plugin-prettier, run make style
DaltheCow May 13, 2025
d69dc95
add unit/integration/e2e testing
DaltheCow May 13, 2025
f876edb
get testing set up fully functional
DaltheCow May 14, 2025
472141b
get things working
DaltheCow May 14, 2025
d98b411
remove e2e testing from dev workflow since it is confirmed to work
DaltheCow May 14, 2025
23ce95f
clean readme, add developing doc
DaltheCow May 15, 2025
35a0726
Merge branch 'main' into implement-base-ui-app
DaltheCow May 20, 2025
8413655
run linting
DaltheCow May 20, 2025
c23c674
replace speculators with GuideLLM
DaltheCow May 21, 2025
1d5bd73
remove speculators from docs
DaltheCow May 21, 2025
43fdeb0
update tox.ini to exclude github view files (blobs) that break the li…
DaltheCow May 21, 2025
1e29968
not to ignore more than markdown for rich display mode
DaltheCow May 21, 2025
d09f685
Merge branch 'update-docs' into implement-base-ui-app
DaltheCow May 21, 2025
328b872
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 21, 2025
1fc4d40
merge core-framework-setup
DaltheCow May 21, 2025
4b8b65a
run precommit
DaltheCow May 22, 2025
8d10bd5
precommit check
DaltheCow May 22, 2025
247d1cf
undo alteration of link checks, instead remove from workflows tempora…
DaltheCow May 22, 2025
4de602a
Merge branch 'update-docs' into implement-base-ui-app
DaltheCow May 22, 2025
bf52aa0
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 22, 2025
20fba13
merge core-framework-setup
DaltheCow May 22, 2025
57e5c0a
Merge branch 'main' into implement-base-ui-app
DaltheCow May 27, 2025
aece79d
Merge branch 'main' into implement-base-ui-app
markurtz May 29, 2025
fd473fb
Merge branch 'implement-base-ui-app' into core-framework-setup
DaltheCow May 29, 2025
af1a0eb
Merge branch 'core-framework-setup' into testing-tooling
DaltheCow May 29, 2025
cde932f
merge main
DaltheCow Jun 2, 2025
c7d115d
fix all the configs and get things working again
DaltheCow Jun 3, 2025
9441f7f
update workflow, DEVELOPING.md, add cypress to scripts
DaltheCow Jun 3, 2025
798c37d
remove .eslintignore
DaltheCow Jun 3, 2025
bdef8dc
correct script usage in workflow
DaltheCow Jun 3, 2025
a90b430
get everything working
DaltheCow Jun 5, 2025
aaa6aeb
change working directory for ui workflows
DaltheCow Jun 5, 2025
83d6f44
add test coverage setup
DaltheCow Jun 5, 2025
1f27e59
Merge branch 'main' into testing-tooling
DaltheCow Jun 5, 2025
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
32 changes: 32 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@ jobs:
- name: Run unit tests
run: tox -e test-unit -- -m "smoke or sanity"

ui-unit-tests:
permissions:
contents: "read"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install dependencies
run: npm ci
working-directory: src/ui

- name: Run unit tests
run: npm run test:unit
working-directory: src/ui

integration-tests:
runs-on: ubuntu-latest
strategy:
Expand All @@ -133,6 +149,22 @@ jobs:
- name: Run integration tests
run: tox -e test-integration -- -m smoke

ui-integration-tests:
permissions:
contents: "read"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install dependencies
run: npm ci
working-directory: src/ui

- name: Run integration tests
run: npm run test:integration
working-directory: src/ui

build:
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,4 @@ src/ui/next-env.d.ts
!package.json
!package-lock.json
!.eslintrc.json
!tsconfig.json
!tsconfig.*.json
62 changes: 62 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,68 @@ Review the coverage report to confirm that your new code is adequately tested.

3. **Address Feedback**: Respond to any feedback from reviewers and make necessary changes.

## Developing the Web UI

The GuideLLM project includes a frontend UI located in `src/ui`, built using [Next.js](https://nextjs.org/). This section provides instructions for working on the UI.

### Getting Started

To start the local development server:

```bash
npm run dev
```

Then open [http://localhost:3000](http://localhost:3000) in your browser.

### Building for Production

To build the app for production (output in the `out` directory):

```bash
npm run build
```

### Running UI Tests

- **Unit tests**:

```bash
npm run test:unit
```

- **Integration tests**:

```bash
npm run test:integration
```

- **End-to-end tests** (using Cypress, ensure live dev server):

```bash
npm run test:e2e
```

### Code Quality and Styling

- **Fix styling issues**:

```bash
npm run format
```

- **Run ESLint checks**:

```bash
npm run lint
```

- **Run TS type checks**:

```bash
npm run type-checks
```

## Additional Resources

- [CONTRIBUTING.md](https://github.com/neuralmagic/guidellm/blob/main/CONTRIBUTING.md): Guidelines for contributing to the project.
Expand Down
Loading