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

New types and state management #38

Merged
merged 20 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
36 changes: 36 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run tests and upload coverage

on: push

jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm install

- name: Run tests
run: npx vitest run --coverage --reporter=junit --outputFile=junit.xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Workforce Planning demo

[![codecov](https://codecov.io/gh/gskorokhod/workforce/branch/main/graph/badge.svg?token=4WGQAVRVI9)](https://codecov.io/gh/gskorokhod/workforce)

Frontend for a workforce planning tool using the Conjure constraints modelling tool under the hood

Written as part of a STARIS project led by Ozgur Akgun
Expand All @@ -8,8 +10,8 @@ This is a [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/c

## Resources

- [FigJam board](https://www.figma.com/board/yIjbMS3WQcrM8b9vHYLCl3/Whiteboard?node-id=0-1&t=c8V2wENENyR81JPP-1)
- [Figma UI wireframe](https://www.figma.com/design/irzfj48pXn8jfiYQ7XBCVP/UI-Wireframe?node-id=183-23584&t=t7OhI3Lw7eZROIcT-1)
- [Code coverage](https://app.codecov.io/gh/gskorokhod/workforce)
- [Code health analysis](https://codescene.io/projects/58240/jobs/2794851/results?scope=month#code-health)

## Development tools

Expand Down
16 changes: 12 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@
"@iconify/json": "^2.2.234",
"@internationalized/date": "^3.5.5",
"@types/color": "^3.0.6",
"bits-ui": "^0.21.13",
"bits-ui": "^0.21.16",
"clsx": "^2.1.1",
"cmdk-sv": "^0.0.18",
"color": "^4.2.3",
"deep-equal": "^2.2.3",
"devalue": "^5.0.0",
"eslint-plugin-sonarjs": "^1.0.4",
"geolib": "^3.3.4",
"lucide-svelte": "^0.424.0",
"minisearch": "^7.1.0",
"object-hash": "^3.0.0",
Expand Down
38 changes: 0 additions & 38 deletions src/lib/components/elements/assignment/assignment-card.svelte

This file was deleted.

52 changes: 0 additions & 52 deletions src/lib/components/elements/constraint/constraint-badge.svelte

This file was deleted.

22 changes: 0 additions & 22 deletions src/lib/components/elements/constraint/constraints-for-list.svelte

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions src/lib/components/elements/constraint/lib/utils.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/lib/components/elements/data-tables/core/index.ts

This file was deleted.

Loading