4.3.0 • Published 5 days ago

@pie-api/pie-api-live-components v4.3.0

Weekly downloads
409
License
-
Repository
github
Last release
5 days ago

PIE LIve Api Components

A set of components for interacting with PIE Api Live, for realtime reporting on user assessment item sessions.

See Readme docs for each component:

pie-api-live

devt

ron locally in devt mode

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Debug

To run mock server in debug mode:

node --inspect -r ts-node/register src/mock-server/start-mock-server.ts

To run debugger on one stencil spec test file for one test:

 node --inspect-brk -r ts-node/register ./node_modules/.bin/stencil test --spec  src/components/pie-live-session/pie-live-session.spec.ts -t metadata

Then attach VSCode / Chrome debugger.

There is also a 'spec test current file' launch config for vscode in the repository.

TODO / Notes

load scoring browser modules with session? issue is if getting scores outside of waiting for a score event

This would require re-purposing/re-implementing the item level scoring function from pie-api?

dealing with multi-part

Will handle this internally in the response-rendering components, if there are multi-parts can append mulitple explicit elements like <response-part> we may need to look at expliciti definition of what a part is at core model level, maybe props all pies can use in their model to define themselves as a part, with a label etc

  • what if multiple pies where not all are 'parts'? need more explicit definition of parts? In short term can use models references in response model on save to determine what is a 'part' based on there being a saved 'response' for that pie.

live-session should retrieve item model directly once using item id (rather than receiving model in every sessionEvent as it is now. For short-term in R&D this is ok, but should be refactored for efficiency

4.3.0

5 days ago

4.2.4

9 days ago

4.2.3

14 days ago

4.2.2

16 days ago

4.2.1

16 days ago

3.0.1-beta.2

20 days ago

4.2.0-beta.3

20 days ago

4.2.0-beta.2

20 days ago

4.2.0

1 month ago

4.1.0

2 months ago

4.0.1

8 months ago

4.0.0

8 months ago

3.0.1

3 years ago

3.0.0

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

1.26.1

3 years ago

2.0.0

3 years ago

1.26.0

3 years ago

1.25.1

3 years ago

1.25.0

3 years ago

1.24.0

3 years ago

1.23.0

3 years ago

1.22.0

3 years ago

1.21.0

3 years ago

1.20.0

3 years ago

1.19.0

4 years ago

1.18.3

4 years ago

1.18.2

4 years ago

1.18.1

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.8

4 years ago

1.16.7

4 years ago

1.16.6

4 years ago

1.16.5

4 years ago

1.16.4

4 years ago

1.16.3

4 years ago

1.16.2

4 years ago

1.15.1-beta.3

4 years ago

1.15.1-beta.2

4 years ago

1.16.1

4 years ago

1.16.0

4 years ago

1.15.1-beta.1

4 years ago

1.15.0

4 years ago

1.14.5-beta.1

4 years ago

1.14.4

4 years ago

1.14.3

4 years ago

1.14.3-beta.1

4 years ago

1.14.1

4 years ago

1.14.2

4 years ago

1.14.0

4 years ago

1.13.1-beta.1

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.9.2

4 years ago

1.10.0

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago