Commit graph

2288 commits

Author SHA1 Message Date
adfc07fa6e Merge branch 'simplify-core-values' into 'master'
Extract and simplify core values in actor template

See merge request dungeonslayers/ds4!21
2021-01-04 20:32:25 +01:00
9fba2d1385 Merge remote-tracking branch 'origin/master' into simplify-core-values 2021-01-04 20:29:09 +01:00
0db345c7de extract 26px line height for inputs to variable 2021-01-04 20:28:33 +01:00
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +01:00
7f6896236c Merge branch 'equip-items-in-character-sheet' into 'master'
make equip icon for items clickable in item list in character sheet

See merge request dungeonslayers/ds4!14
2021-01-04 08:53:53 +01:00
7cb6080808 extract and simplify combat values to own component 2021-01-04 01:11:05 +01:00
6a12ba3938 extract and simplify attributes and traits 2021-01-04 00:55:44 +01:00
c1915c64e1 Merge branch 'master' into equip-items-in-character-sheet 2021-01-03 23:31:18 +01:00
61beda7734 added number conversion in HTML value retrieval
Changes:
- number input fields now return numbers
- range elements removed since they are untested

Additions:
- added min and step specifiers to input fields associated to
  item number properties
- added a color hint for invalidity of
  item number input fields in actor sheet
2021-01-03 23:27:51 +01:00
ec404624c7 fixed type of HTML property name in _onItemChange 2021-01-03 22:40:01 +01:00
944907deb7 moved input el value retrieval to helper func 2021-01-03 22:26:36 +01:00
e2e9bca5fd fixed _onItem... handle param types in docstrings 2021-01-03 21:54:42 +01:00
d9eef7592f fixed some issues with the flexbox approach
- had to remove border, padding, and margin from input boxes
- centered images
- fixed y-overflow of description and images by restricting height
2021-01-03 21:50:16 +01:00
4e60687b2b unified class specifier in HTML elements
- now all class=... is always first
- flex attributes are first in class specifier
- marked armor type image as item-image class
2021-01-03 21:24:32 +01:00
404ac08482 Merge branch 'update-dependencies' into 'master'
update dependencies and add .nvmrc

See merge request dungeonslayers/ds4!20
2021-01-03 21:18:54 +01:00
a92cf43791 update dependencies and add .nvmrc 2021-01-03 21:15:25 +01:00
fb780ae4c2 Merge branch 'master' into equip-items-in-character-sheet
now using cleaned up template
2021-01-03 21:14:11 +01:00
0721555c91 Merge branch 'adjust-licensing' into 'master'
adjust licensing

See merge request dungeonslayers/ds4!13
2021-01-03 16:54:36 +01:00
cc9a133ebe extract path to official assets in scss variable 2021-01-03 16:52:51 +01:00
1c61a5d54d adjust README 2021-01-03 16:40:29 +01:00
c2124dec31 Add email addresses in package.json 2021-01-03 16:38:33 +01:00
c26e4bab9f Changes as per review.
Missing:
 - Open discussion on "test value" renames
 - docs
 - open discussion on last-die-handling
2021-01-03 15:08:38 +01:00
f98da0cd99 Apply 2 suggestion(s) to 2 file(s) 2021-01-03 14:49:21 +01:00
41bd770e16 Merge branch '018_item_list_refactoring' into 'master'
018 item list refactoring

See merge request dungeonslayers/ds4!17
2021-01-03 14:43:34 +01:00
c9b41e2d3f renamed item list templates
More precise names for:
- item overview list template for actor sheet
- inline templates in item overview list template
2021-01-03 00:08:21 +01:00
aaa10d7469 Add slaying dice behaviour. 2021-01-02 16:40:30 +01:00
55beeb92c9 Implement swapping edge case, restructure sources. 2021-01-02 16:12:16 +01:00
3f6f9f795f Additional tests for dice selection. 2021-01-02 13:55:18 +01:00
00f7e30b41 Fix option parsing for rolls. 2021-01-02 13:54:59 +01:00
75301b2c56 Bound to fail: Add slaying dice options and tests, no impl. 2021-01-02 13:16:08 +01:00
8ca93fc9c9 Ease dice mocking. 2021-01-02 13:06:32 +01:00
6fe95d10db refactored items list to use handlebars partials
Additions:
 - added flexnowrap CSS class -> no strange wrapping of item lines

Changes:
- reduced most of the non-maintainable HTML-code repitition
- made item list entries as flat as possible
2021-01-02 01:01:41 +01:00
f52a491f73 swapped owner and equipped in item desc 2021-01-01 21:24:13 +01:00
0e282b4c6e some minor improvements to side-properties style
- checkboxes now properly left-aligned
- adaptive width of side-properties: take minimum width now
- side properties are aligned now in any case (each is a grid)
2021-01-01 21:21:22 +01:00
d8423ce364 data binding for owned item properties
Additions:
- now also text, number, and range input fields of owned items can
  be bound to HTML (input) elements of the char sheet

Changes:
- moved prototype handle for checkboxes to own function
- replaced some static HTML elements in item list with input fields
- item-num-val HTML elements (e.g. item quantity) now have a max-width
2021-01-01 19:26:52 +01:00
5d83e26e81 Merge branch 'master' into equip-items-in-character-sheet 2020-12-31 16:52:20 +01:00
88f821c7aa Merge branch '012_equipped_flag' into 'master'
Equipped flag shown in item sheet

See merge request dungeonslayers/ds4!15
2020-12-31 16:37:21 +01:00
80e6fd26ae Apply 1 suggestion(s) to 1 file(s) 2020-12-31 16:35:41 +01:00
c2c0b63b9c Merge branch 'master' into 012_equipped_flag 2020-12-31 15:07:11 +01:00
fec7a2a735 fix typo 2020-12-31 12:22:15 +01:00
62e96641b9 remove unnecessary imports 2020-12-31 12:21:24 +01:00
61213d399e use getOwnedItem instead of getEmbeddedEntity 2020-12-31 12:20:32 +01:00
6fac2c597f make equip icon for items clickable in item list in character sheet 2020-12-31 12:10:59 +01:00
960b5a950a adjust licensing 2020-12-31 05:02:38 +01:00
cba20e47e5 Merge branch '007-rollsLib' into 'master'
Basic Roll library

Closes #7

See merge request dungeonslayers/ds4!9
2020-12-31 02:31:20 +01:00
c76c2c23c3 Fix jasmine imports/symbol visibility. 2020-12-31 02:29:27 +01:00
6b18e720a1 Additional tests and features as per Request. 2020-12-31 02:27:21 +01:00
bf39f35504 Merge remote-tracking branch 'origin/master' into 007-rollsLib 2020-12-31 01:36:00 +01:00
25ce41bf53 Merge branch '001-add-combat-values' into 'master'
Add combat values to character  sheet

Closes #1

See merge request dungeonslayers/ds4!12
2020-12-31 01:35:31 +01:00
9cd430a229 improve scss of character values 2020-12-31 01:33:59 +01:00