• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inventree / InvenTree / 5137812245
90%

Build:
DEFAULT BRANCH: master
Ran 31 May 2023 10:06PM UTC
Jobs 1
Files 735
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 May 2023 09:20PM UTC coverage: 89.861% (+0.01%) from 89.851%
5137812245

push

github

web-flow
Parameter types (#4935)

* Add fields to PartParameterTemplateModel

- checkbox: Is the field a 'checkbox'
- choices: List of valid options

* Update javascript

* Adds unit test for PartParameterTemplate

- Checkbox cannot have units
- Checkbox cannot have choices
- Choices must be unique

* Improve API filtering

- Add "has_choices" filter
- Add "has_units" filter

* Prune dead code

* Update js functions for creating / editing parameters

* Update part parameter form

- Rebuild the "data" field based on the selected template
- Supports "string" / "boolean" / "select"

* Adjust data input based on parameter type

- Choice displays available options
- Checkbox displays boolean switch
- Otherwise displays text input
- Adds more unit testing
- Updates to forms.js for improved functionality

* Calculate numeric value for boolean parameters

* Update docs

* Bump API version

26544 of 29539 relevant lines covered (89.86%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5137812245.1 31 May 2023 10:06PM UTC 0
89.86
GitHub Action Run
Source Files on build 5137812245
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5137812245
  • e21a5e62 on github
  • Prev Build on master (#5130061879)
  • Next Build on master (#5140761808)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc