1.18.2 • Published 24 days ago

ednl-liftstatus-web-components v1.18.2

Weekly downloads
-
License
MIT
Repository
github
Last release
24 days ago

EDNL LiftStatus Web Components

The EDNL LiftStatus web components for use in web applications.

Installation

Copy or clone the repo and run npm install.

To get live data, you need an access token to put in the <ls-data> component inside index.html.

How to get an access token

For the time being, navigate to https://next.liftstatus.nl/ and login. On the left, click on "liften".

In the address bar you can append the url with a lift ID like so: https://next.liftstatus.nl/lifts/31901.

The below Lift ID's are great for testing.

Lift IDUsefulness
31901Has a lot of movement
32386Has a lot of movement
32383Has a lot of movement
31981Has a lot of movement
49234Good for testing status messages and has a back door
55040Good for testing status messages
33137Good for testing status messages

Once on the selected elevator page, open the developer tools and navigate to the network tab. From here, filter on WS and select the request to api.liftstatus.nl/socket.io. You can find the token in the headers of this request.

Note: if you do not see a request, you might need to refresh the browser with the network tab open.

Start developing

Copy the access token and give it as a parameter in the <ls-data> component inside of index.html.

After that you can run npm run start to run the project. It should open to localhost:3000.

Demo

https://ednl-ls-web-components-demo.web.app/

UNPKG

https://unpkg.com/browse/ednl-liftstatus-web-components/dist/ednl-liftstatus-web-components/

Implementation manual (docs)

https://springtree.github.io/ednl-liftstatus-web-components/

To edit it you can run npm run docs.

Naming conventions

The repository is guarded by the SpringTree check git branch name package and Commitlint (using Conventional Commits).

Git branch names

In a nutshell, just start feature branches with feature/.

Commit messages

For this use Conventional Commits.

Allowed prefixes: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test

1.18.2

24 days ago

1.18.1

7 months ago

1.18.0

11 months ago

1.17.1

11 months ago

1.17.0

1 year ago

1.16.2

1 year ago

1.16.1

1 year ago

1.15.0

1 year ago

1.16.0

1 year ago

1.14.1

2 years ago

1.14.2

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.2.0

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago