Commit graph

39 commits

Author SHA1 Message Date
ChrisLR
5f9064c738 Add tests 2024-02-24 14:31:07 -05:00
ChrisLR
c4ec977b9c Refactor _get_class_components 2024-02-24 14:31:01 -05:00
ChrisLR
0729de1b91 Use get_component_slot 2024-02-24 11:12:49 -05:00
ChrisLR
8bda7c10f7 Remove cmd_set from component 2024-02-24 11:09:44 -05:00
ChrisLR
1bfb3643ad Merge remote-tracking branch 'fork/components-refactoring' into components-refactoring 2024-02-24 10:55:25 -05:00
ChrisLR
8ff8234f46 Fix inherited component registration with different names but identical slots 2024-02-24 10:54:58 -05:00
ChrisLR
47be47c009 Add get_component_slot helper method 2024-02-24 10:54:53 -05:00
ChrisLR
191be0365c Fix Signals registration 2024-02-24 10:54:50 -05:00
ChrisLR
2875674baf Update docs 2024-01-14 13:33:23 -05:00
ChrisLR
6ad6522fa4 Add docstrings 2024-01-14 12:58:26 -05:00
ChrisLR
37e70cc7fa Rewrote test assertions to django style 2024-01-02 11:35:39 -05:00
ChrisLR
5f60075fdf Add new tests 2024-01-02 11:35:39 -05:00
ChrisLR
4071ae7b86 Use __get__ instead when autocreating to avoid overriding initial values 2024-01-02 11:35:39 -05:00
ChrisLR
476df0ea3e Fix Field at_added call 2024-01-02 10:43:00 -05:00
ChrisLR
2ff534c56a Fix ComponentProperty 2024-01-02 10:42:30 -05:00
ChrisLR
74f8715d5a Add cmd_set on load 2024-01-02 10:42:29 -05:00
ChrisLR
217bd711e7 Refactor Component registering with cherry-picked additions 2023-12-14 12:30:53 -05:00
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Griatch
bc92bad15a Add proper header to components contrib 2023-04-29 08:00:32 +02:00
homeofpoe
b13e4499ca Update README.md
Fix header levels
2023-04-24 14:46:31 -07:00
ChrisLR
c1c7ccbca0 Added test case 2023-04-02 22:11:01 -04:00
ChrisLR
d2fdc31b5e Prevent child typeclasses class components from merging to inherited class components 2023-04-02 17:00:27 -04:00
Kenneth Aalberg
5d0d6e039e Update README.md for contrib.base_systems.components:
* Fix a missing base_systems submodule in documentation.
2022-12-21 20:57:54 +01:00
Griatch
eafe390db4 Use isort, run format on code 2022-11-18 12:02:46 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
Griatch
82bb35e333 Merge pull request #2725 from ChrisLR/component-signals
[Components Contrib] Component signals
2022-04-23 14:28:53 +02:00
ChrisLR
326b32a587 Added docstrings for signals 2022-04-12 18:51:09 -04:00
ChrisLR
c22a08851f Added basic signal system with corresponding tests 2022-04-12 18:32:55 -04:00
ChrisLR
f77593994e Changed DBField and NDBField delimiters from __ to :: 2022-03-31 12:00:47 -04:00
ChrisLR
738a107caf Changed TagField delimiter from __ to :: 2022-03-27 10:56:26 -04:00
ChrisLR
cc258e6c1b Clarified some docstring 2022-03-22 10:25:54 -04:00
ChrisLR
909e34528b Updated the readme to include tag functionality 2022-03-22 09:54:01 -04:00
ChrisLR
79be6a4689 Added some docstring, cleaned to avoid duplication, added relevant tests 2022-03-22 09:39:35 -04:00
ChrisLR
6f6ceb231c Added TagField for components 2022-03-22 07:40:17 -04:00
Narvath
f6e20f980c Forgot some typo 2022-03-13 03:21:26 +01:00
Narvath
89f6909aff Applying a few corrections 2022-03-13 03:02:19 +01:00
Narvath
69a8ed2378 component-contrib:add component name as tag on host 2022-03-12 17:09:13 +01:00
ChrisLR
8b5d978094 Components Squash (#1)
Adds the first part of Components Contrib and related docs
2022-03-06 10:34:04 -05:00