Properties rework, States, StatesDefinitions, DeviceLog, and Notes #37

Merged
pedro merged 119 commits from feature/states into main 2025-02-10 12:05:58 +00:00

119 commits

Author SHA1 Message Date
Cayo Puigdefabregas 3db94ee82b fix more than one snapshot 2025-01-31 17:35:41 +01:00
Cayo Puigdefabregas 5cf51df952 fix rebase with main 2025-01-31 17:11:51 +01:00
Cayo Puigdefabregas e7d958c550 fix lot properties and clean absurd code from chatgpt 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas 2e932b9725 fix redirect correctly from buttons 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas a4fb574d07 fix error editing states 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas a52ce5c889 clean apps unused like documents 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas f9b93d4790 rebuild details template 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas 00df679156 fix rebase in parse 2025-01-31 16:53:29 +01:00
pedro 0259c2be2c tests: clarification on error/test 2025-01-31 16:53:29 +01:00
pedro a496045f4d add .editorconfig 2025-01-31 16:53:29 +01:00
pedro 73bb3b4751 e2e: progress 2025-01-31 16:53:29 +01:00
pedro 0db033e2dd init end-to-end tests with playwright 2025-01-31 16:53:29 +01:00
Cayo Puigdefabregas b58cfc9ab1 fix base template 2025-01-31 16:52:12 +01:00
Cayo Puigdefabregas 1cb09fb19f split long line 2025-01-31 16:52:12 +01:00
Cayo Puigdefabregas 9565288eee add version 2025-01-31 16:52:12 +01:00
Cayo Puigdefabregas 8b9ea1cf10 replace waring for yellow in details 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki ad497e6299 deleting obsolete if statement 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki c383e692c3 renamed property variable to prop 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 4da9961eea added missing components tab 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki c0c4e29fdc added logging for evidence tag changes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 0a50f75ca4 text size adjustment and displaying none states 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 8136684b91 more contrast on save note button 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 67d7621509 states and notes view refactoring 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 86a7d9f733 userproperties views refactoring 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki a06cf9f4da better bootstrap tables 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki a0596f618b view changes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki afb7cf8d6e better representiation of delete/edit notes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki df386136ce edit update cannot be blank 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki b1b9f7e100 adding remove button for notes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 8f0b8771a7 notes now can be updated 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 11813db7f6 deleted undo state view 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 86c2a26130 added a sidebar notes display 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 6b7fd09777 changes to state defiinitions list 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 643e6c1f45 better success message and removed devicelog var 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 2837d3e560 normalized deviceLog messages 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 3bed441d10 command for adding default states 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 0fb3df0155 erased old logger 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 3e2a5f03bf minor cosmetic changes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 1f4515781a state definition list changes and disabled logging 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki a1381f68fa default value for no state 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki fcc93955c4 adding orm migrations 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 455448aea2 log list now shows log table 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki afcb6feb22 added logging for states, user properties and notes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 0ca4a83f97 simpler state change and action input 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki c93915f285 current state table erased and spacing fix 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 2b0f0b8d08 deleted unique constraint on userproperty 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 18ec5d74c9 notes and log models added 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 63c427e3eb device tag bugfix 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 5a5dfc3319 lotproperties delete and update added 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 519648226b added action migration 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 24f5508462 now check for state on delete modal 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 0d8ec72d7c cosmetic changes to statesdefinitions list 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki d75cd75c86 change state delete to undo last state 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 85013a340e help icon added and new icon on add button 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 24753b1004 minor changes to states view 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 2dfe313076 statedefinitions update and delete popup changes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 3db4374cd0 changes to state definitions list 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki cf48000ef4 statedefinitions edit popup added and url changes 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 30826afd45 state button rework and warning if same state 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki c530454054 current state helper function added 2025-01-31 16:52:12 +01:00
Thomas Nahuel Rusiecki 6e88f77c1b Device-details html modularized into several files 2025-01-31 16:52:11 +01:00
Thomas Nahuel Rusiecki 70175be472 statedefinitions list updated 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki dbd837b079 updated logging for states 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 7a55501c34 statedefinitions delete now uses correct id 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki d92dec28bb logging for statedefinitions 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 3467a483e7 better delete modal 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 5a448755c2 erase_server type now userproperty 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki f3f18e0962 deleted obsolete field type for sysproperties 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 080ff4f668 updated views for new model structure 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki ec9ae644b9 more property model refactoring 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki b5c57aa4d2 property models refactor 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 68d8ff33a7 added logging for user property creation 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 3cf6af0c25 made log var a env variable 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 4d38e75bba added loggin for state actions 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 5c7db7d60d added state delete 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 4045baac9f changed tab to log and added logging 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 0e3bba0569 changed state visual and ordering 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 012e25d086 minor fix for correct tab handling 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki cfa4b9a291 added current state to device details 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 9a9970336b added view and url for new action 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 2f23ed7e88 state institution now nullable 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 7470dc5de2 condition checking and renaming 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 57954d66e2 stylish new popup for state change 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki ede5d6a6c5 added Sortable js dependency for tables 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 62ccf46194 added form for state definition order update 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 3b0735faec minor cosmetic changes 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 3670fda2a3 changed delete button to icon 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 6d44aa855b send button hidden until changes are made 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 4485517221 sortable list now updates order of definitions 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki b9ffd788a1 added Sortable js for state definitions list 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki bad82965e9 added model level constraints 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki eecaef7cff modals for state definition deletion 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki fb6c243ee8 delete view added and some refactorig 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki ff9a78ed23 added add state definition view 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 5fcd9ce7ca changed constrain on model 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 539f5b5bb7 fixed models confusion 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 5e2c8f2328 added model constraints 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 2451e843ac added admin state definition panel 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki acbe2f6a75 initial orm state models 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 2bb9e8d035 centered popup modals 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 35622ff9c7 disabled lotPoperty field 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki ff928a381b added logging for device operations 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 09bed0a904 renaming lotAnnotations to Lotproperty 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 9807cb56aa renaming of annotation to property 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki e0e4fd862a change edit view to modal popup 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki b4f0909199 added userproperty update view 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki db59b099f5 added user_property 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 963858263a model constraints changed and moved url to /device 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 4bc423a979 fixed search and moved delete user property class 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 4d9f588ad7 renaming to new Property tables 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 42b13eec84 details view changed to now use properties 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki fcefddb5a0 fixed user_properties list not working 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 8991faa423 renaming to property 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 9df611293a changed imports 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 9c27a30399 fixed self inflicted recursion 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 13d325105f renaming annotation to variable 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki 09c3f96185 variables and function semantic renaming 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki dad8e40ee8 split into system and user properties 2025-01-31 16:47:42 +01:00
Thomas Nahuel Rusiecki f7cd7bc3f2 annotations renaming on views 2025-01-31 16:47:42 +01:00