34536 Commits

Author SHA1 Message Date
HellAholic
d6164fddae
Update printer-linter/src/printerlinter/linters/profile.py 2024-04-26 11:36:12 +02:00
Saumya Jain
ec6c7f109c
removed non necessary yield 2024-04-26 10:29:42 +02:00
Saumya Jain
467801bf9e
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2024-04-26 10:26:52 +02:00
Saumya Jain
0ce09d917c message has profile name in bold
CURA-11153
2024-04-24 11:01:30 +02:00
Saumya Jain
56aad519ae Changed message
CURA-11153
2024-04-24 10:59:36 +02:00
Saumya Jain
196a4cf0c0 Refactor profile name check method in linter
CURA-11153
2024-04-24 10:51:48 +02:00
Saumya Jain
ceb5e7096e Add new linter for long profile names
CURA-11153
2024-04-24 10:32:29 +02:00
HellAholic
549d107ab1
Merge pull request #18804 from Ultimaker/CURA-11003-add-searchbar-for-offlineprinter
Cura 11003 add searchbar for offlineprinter
2024-04-17 15:27:32 +02:00
Erwan MATHIEU
3648aff5c2
Merge pull request #14778 from tastyratz/patch-1
Update InsertAtLayerChange.py
2024-04-12 16:24:59 +02:00
Saumya Jain
597a871807
Merge branch 'main' into CURA-11003-add-searchbar-for-offlineprinter 2024-04-12 12:32:25 +02:00
Saumya Jain
fd01684a23
Update resources/qml/WelcomePages/AddLocalPrinterScrollView.qml
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2024-04-12 12:31:57 +02:00
Saumya Jain
17372064c7
Update resources/qml/WelcomePages/AddLocalPrinterScrollView.qml
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2024-04-12 12:31:52 +02:00
Saumya Jain
a3911bdbfa PR comments
CURA-11003
2024-04-12 12:29:07 +02:00
Erwan MATHIEU
1dc6289d89
Merge branch 'main' into patch-1 2024-04-12 10:44:46 +02:00
Saumya Jain
344221a083
Merge pull request #18828 from GregValiant/Monitor-Pre-Heat-default-values
Monitor Page Preheat values
2024-04-12 10:34:07 +02:00
Saumya Jain
74bf578691
Merge branch 'main' into Monitor-Pre-Heat-default-values 2024-04-12 10:21:54 +02:00
Erwan MATHIEU
4bd1c4c4e0
Merge branch 'main' into patch-1 2024-04-12 10:16:32 +02:00
Saumya Jain
3016820bee fixing printer linter PR post 2024-04-11 09:47:40 +02:00
Saumya Jain
1457569aeb Fix handling of undefined printer items in AddLocalPrinterScrollView
This commit addresses an issue wherein undefined current items were not properly handled in the AddLocalPrinterScrollView module. We've changed the code so that it now checks if currentItem and currentItem.name exist before attempting to assign. If they don't exist, we now set default values to avoid null or undefined references. This prevents potential errors or inconsistent behaviors in the UI.

CURA-11003
2024-04-10 17:24:55 +02:00
Saumya Jain
3908db7696 Update search bar style and theme alteration
CURA-11003
2024-04-10 15:45:24 +02:00
Saumya Jain
8f09d35955
Merge branch 'main' into CURA-11003-add-searchbar-for-offlineprinter 2024-04-10 15:17:14 +02:00
HellAholic
e37434abef
Merge pull request #18824 from Ultimaker/CURA-10903-warn-for-deleted-files
Add detection for deleted files in printer linter
2024-04-10 15:01:06 +02:00
Saumya Jain
c6ff0d3030 Enhance error reporting for deleted files
The code now checks if a requested file is present in the files list before diagnosing issues and generating error reports for it. It will help prevent attempting to diagnose or report on files that do not exist or deleted, thus enhancing efficiency and preventing possible error generation

CURA-10903
2024-04-10 14:50:26 +02:00
Saumya Jain
a965392559 Update method for getting PR number and modify output report
The code updates the way we fetch the Pull Request number in the Github action. Rather than using an external action, we directly make use of Github's CLI, which helps improve the speed and reliability of the workflow. Additionally, the output report's format in terminal.py, previously named as "Git Comment", has been changed to "Error Files" to better reflect the information it carries.

CURA-10903
2024-04-10 14:16:25 +02:00
Saumya Jain
d52cd78852 Update GitHub workflow to use create-or-update-comment action
In this update, the GitHub workflow now uses the 'create-or-update-comment' action instead of the 'find-comment' action for PR comments. Additionally, a step has been added to get the PR number. This change is expected to facilitate more efficient PR commenting and handling.

CURa-10903
2024-04-10 14:01:17 +02:00
Saumya Jain
bb94ce9e75 fixing typo checks
CURA-10903
2024-04-09 11:37:42 +02:00
Saumya Jain
561a40d000 Implement GitComment class and update workflow files
A new GitComment class was implemented to replace Diagnostic for deleted file checks. As part of this change, both main workflow files (printer-linter-pr-diagnose.yml and printer-linter-pr-post.yml) have been updated to accommodate this new class. Also, reports now use 'comment.md' instead of 'fixes.yml'. All of this is ultimately geared at improving diagnostic functionality and allowing deleted file checks to output directly to a Git comment.

CURA-10903
2024-04-09 11:33:24 +02:00
Saumya Jain
d017f0ec9c increased size of clear icon
CURA-11003
2024-04-08 15:37:48 +02:00
Saumya Jain
78b7793cd4
Merge branch 'main' into CURA-11003-add-searchbar-for-offlineprinter 2024-04-08 14:08:38 +02:00
Saumya Jain
702f8573c3
Merge branch 'main' into CURA-10903-warn-for-deleted-files 2024-04-08 14:03:48 +02:00
HellAholic
bb444a6eb4
Merge pull request #18822 from Ultimaker/CURA-10904-printer-linter-material-temperature
Cura 10904 printer linter material temperature
2024-04-08 13:38:24 +02:00
Saumya Jain
323a347248
Merge branch 'main' into CURA-10904-printer-linter-material-temperature 2024-04-08 12:50:52 +02:00
Saumya Jain
29617ea22f removed path with parent because it doesn't exist anymore 2024-04-08 12:42:33 +02:00
Saumya Jain
061a80deb4
Merge branch 'main' into CURA-10903-warn-for-deleted-files 2024-04-08 12:25:36 +02:00
Saumya Jain
b3a25893fc fix results to result
CURA-10903
2024-04-08 12:25:10 +02:00
Saumya Jain
c53e611c81 Update printer-linter workflow and fix file checks order
CURA-10903
2024-04-08 12:23:26 +02:00
HellAholic
d842d9c139
Merge pull request #18815 from Ultimaker/CURA-11748-crash-during-the-material-setting-load
Update MaterialNode initialization and metadata retrieval
2024-04-08 12:17:52 +02:00
Saumya Jain
13ad75a240 fixing command
CURA-10903
2024-04-08 10:52:17 +02:00
Saumya Jain
8b135b5562 Update command to retrieve deleted files
CURA-10903
2024-04-08 10:50:24 +02:00
Saumya Jain
2f8829c2d1 GIT_DIFF not necessarity have the info of deleted files
CURA-10903
2024-04-08 10:42:17 +02:00
GregValiant
54636c3421 Monitor Page Preheat values
Change the default preheat values to the Initial Layer values.
2024-04-05 13:32:28 -04:00
Saumya Jain
7231c273a1 Refactor textChanged event
helps to increase code readability and maintainability.

CURA-11003
2024-04-05 16:26:33 +02:00
Saumya Jain
66754d837b Remove redundant printerSearchTimer
CURA-11003
2024-04-05 16:24:34 +02:00
Saumya Jain
38382eeec7 Add detection for deleted files in printer linter
This update adds a new check for deleted files in the printer linter. This will alert the user when a file has been deleted that could potentially disrupt upgrade scripts. An argument "--deleted" is also added to terminal.py to facilitate this new check. Additionally, the printer-linter version has been incremented to 0.1.2.

CURA-10903
2024-04-05 15:55:30 +02:00
Saumya Jain
794cdfd077 Same as before.
CURA-10904
2024-04-05 11:59:39 +02:00
Saumya Jain
0049271ae8
Merge branch 'main' into CURA-11003-add-searchbar-for-offlineprinter 2024-04-05 10:10:23 +02:00
Saumya Jain
6609741323 Fix potential key error in printer linter
CURA-10904
2024-04-05 10:06:28 +02:00
Saumya Jain
e5fb40b48c Add material temperature check in linter
CURA-10904
2024-04-05 10:02:08 +02:00
Erwan MATHIEU
8020b9d97d Move back to testing packages on main 2024-04-04 15:05:13 +02:00
Saumya Jain
7a6f195b74 changed filter from "id" to "name" as both are different
CURA-11003
2024-04-04 14:37:51 +02:00