2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Merge pull request #30 from eeintech/what_is_new

Added What's New page
This commit is contained in:
Oliver 2020-11-15 16:33:23 +11:00 committed by GitHub
commit b8c0caec35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 106 additions and 5 deletions

View File

@ -4,27 +4,33 @@
{% set assets = '/assets' %} {% set assets = '/assets' %}
{% endif %} {% endif %}
{% if 'http' in url %}
{% set doc_url = url %}
{% else %}
{% set doc_url = '{{ assets }}/images/{{ url }}' %}
{% endif %}
<figure class='image'> <figure class='image'>
{% if id %} {% if id %}
<!-- The link that, when clicked, will display the image in full screen --> <!-- The link that, when clicked, will display the image in full screen -->
<a href="#{{ id }}"> <a href="#{{ id }}">
{% elif url %} {% elif doc_url %}
<a href="{{ assets }}/images/{{ url }}"> <a href="{{ doc_url }}">
{% endif %} {% endif %}
<img class='img-inline' src='{{ assets }}/images/{{ url }}' alt='{{ description }}' title='{{ description }}' <img class='img-inline' src='{{ doc_url }}' alt='{{ description }}' title='{{ description }}'
{% if maxwidth or maxheight %}style=' {% if maxwidth or maxheight %}style='
{% if maxwidth %} max-width:{{ maxwidth }};{% endif %} {% if maxwidth %} max-width:{{ maxwidth }};{% endif %}
{% if maxheight %} max-height: {{ maxheight }};{% endif %} {% if maxheight %} max-height: {{ maxheight }};{% endif %}
'{% endif %} '{% endif %}
> >
{% if id or url %} {% if id or doc_url %}
</a> </a>
{% endif %} {% endif %}
{% if id %} {% if id %}
<!-- The full screen image, hidden by default --> <!-- The full screen image, hidden by default -->
<a href="#_" class="overlay" id="{{ id }}"> <a href="#_" class="overlay" id="{{ id }}">
<img src="{{ assets }}/images/{{ url }}" alt="{{ description }}" /> <img src="{{ doc_url }}" alt="{{ description }}" />
</a> </a>
{% endif %} {% endif %}
</figure> </figure>

94
docs/new.md Normal file
View File

@ -0,0 +1,94 @@
---
title: What's New
---
## What's New
### Release 0.1.4
#### Build Management System
Improved build management system:
- Partial builds
- Batch tracking
!!! TODO
More information to come soon
#### Related Parts
##### Definition
Related Part denotes a relationship between two parts, when users want to show their usage is "related" to another part or simply emphasize a link between two parts.
##### Implementation
- New PartRelated model/table to store relationships between parts (requires migration)
- New Related tab shown in Part detail page
- Ability to add relationships between parts through both main and admin interfaces
- Can only manage relationship if user has "change" permission on Part ruleset
##### Example View
{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/96306587-8f2d0b80-0fc5-11eb-8fdb-20cb2dabfcc6.png", description="Related Parts Example View" %}
{% include 'img.html' %}
{% endwith %}
#### InvenTree "Global" Settings
Global settings control the default value of fields across the entire web interface, for all-users.
!!! TODO
More information to come soon
Also, dedicated settings sections were added for:
- Category
- Build
- Purchase Order
- Sales Order
For Category section, read [Category Parameter Templates](#category-parameter-templates)
Other section allows to set the prefix of build, puchase and sales orders.
#### Category Parameter Templates
Added support for configuring parameter templates defined by categories.
##### Features
* User can now setup a list of parameter templates for each (or all) part category(ies) in InvenTree settings
* During part creation, part parameters are automatically created using the list of parameter templates from the parent category it belongs to (if option is enabled)
##### Screenshots
* Select category
{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98037571-c2ef9a00-1de9-11eb-96a1-542b18cdda7e.png", description="Select Category" %}
{% include 'img.html' %}
{% endwith %}
* Add parameter template
{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98145792-1cfb6880-1e99-11eb-82eb-c96d1ba9541a.png", description="Add Parameter Template" %}
{% include 'img.html' %}
{% endwith %}
* Control global behavior within part settings
{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98130420-39db7000-1e88-11eb-9ca0-78370e19ccdd.png", description="Global Settings For Category Templates" %}
{% include 'img.html' %}
{% endwith %}
* Control instance behavior during part creation
{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98130496-4f509a00-1e88-11eb-9239-4dc215cbc620.png", description="Instance Settings For Category Templates" %}
{% include 'img.html' %}
{% endwith %}
#### Currency Support
!!! TODO
More information to come soon

View File

@ -38,6 +38,7 @@ extra_javascript:
nav: nav:
- InvenTree: - InvenTree:
- About InvenTree: index.md - About InvenTree: index.md
- What's New: new.md
- Contribute: contribute.md - Contribute: contribute.md
- Getting Started: - Getting Started:
- Installation: start/install.md - Installation: start/install.md