53 Commits

Author SHA1 Message Date
Jamie Greunbaum
c7e78ba4ac Bugbot now properly uses project settings to determine raycast length for marker placement. 2024-05-30 20:06:52 -04:00
Jamie Greunbaum
cf1c6a3632 Gitea bugs are now considered to be "in progress" if someone is assigned to the bug. 2024-05-30 02:19:47 -04:00
Jamie Greunbaum
7cdd6d239d Server is no longer incorrectly pulled from Gitea settings every time. 2024-05-29 20:26:07 -04:00
Jamie Greunbaum
27b5d593f6 Bug markers now have their info properly set when first created. 2024-05-28 18:39:58 -04:00
Jamie Greunbaum
58bc591405 Functions for returning API responses are now handled entirely in the parent class, avoiding code duplication across all supported APIs. 2024-05-28 15:59:01 -04:00
Jamie Greunbaum
407e3b2a9e - Improved error handling for empty fields.
- Added extra static typing hints.
2024-05-28 13:21:54 -04:00
Jamie Greunbaum
b7a08e7511 - Adjusted theming, including adding an error colour to text when a form field needs to be filled out. 2024-05-28 01:15:08 -04:00
Jamie Greunbaum
941967d5ee Merge pull request 'Bug markers look better at longer distances.' (#9) from bug-marker-distance-improvements into main
Reviewed-on: BattyBovine/Bugbot#9
2024-05-27 19:28:00 -04:00
Jamie Greunbaum
a2d92f6fdd Bug markers look better at longer distances. 2024-05-27 19:25:32 -04:00
Jamie Greunbaum
d9bc4da810 Marker data is now created using a Dictionary stringified into JSON. 2024-05-27 14:49:25 -04:00
Jamie Greunbaum
e80fb3dff9 Bug data is printed to console when a marker is clicked. This will eventually have a real UI to show more detailed information. 2024-05-27 02:52:55 -04:00
Jamie Greunbaum
c571c35908 Merge pull request 'Bug markers can be loaded and unloaded during gameplay' (#7) from in-game-marker-display into main
Reviewed-on: BattyBovine/Bugbot#7
2024-05-27 02:04:48 -04:00
Jamie Greunbaum
b75c1f002f Bug markers can now be loaded and unloaded during gameplay using static functions in the Bugbot class. 2024-05-27 02:01:39 -04:00
Jamie Greunbaum
a31a2f63af Bugs are now only placed in the scene if the bug report form was submitted. 2024-05-27 00:01:03 -04:00
Jamie Greunbaum
209d83cfea Merge pull request 'Bug marker colours settings finally implemented.' (#6) from marker-colour-changes into main
Reviewed-on: BattyBovine/Bugbot#6
2024-05-26 23:21:42 -04:00
Jamie Greunbaum
87c49f7b2f Bug markers' colours are now actually affected by project settings, including actively in the editor when changing the associated project settings. 2024-05-26 23:19:35 -04:00
Jamie Greunbaum
53c22e1048 Bug markers can now be properly shown and hidden between multiple tabs. 2024-05-26 16:34:06 -04:00
Jamie Greunbaum
ded09a8fa8 Bugs are now filed with their position information, and loaded into Godot with their proper positions intact. 2024-05-26 02:32:55 -04:00
Jamie Greunbaum
5b4dc53a62 Bug report form can now send summary, description, and labels to the Gitea server when submitting a bug. 2024-05-24 19:04:50 -04:00
Jamie Greunbaum
acbdbe413e Label prefixes are now removed before labels are added to the form data. 2024-05-23 20:04:59 -04:00
Jamie Greunbaum
ab74bda6f0 Tag selection buttons now populate the form entry menu with available tags. 2024-05-23 17:00:41 -04:00
Jamie Greunbaum
64f6193701 Added code to fill in menus for the bug report form and display it when placing a marker. 2024-05-23 01:36:00 -04:00
Jamie Greunbaum
5c37903872 - Bugs are now filtered out by status before being passed out of the HTTPClient thread.
- Fixed an issue that caused bugs to be given the incorrect resolution tag.
2024-05-22 01:46:51 -04:00
Jamie Greunbaum
131e944779 Moved code for hiding bug markers into a separate static function. 2024-05-21 21:44:08 -04:00
Jamie Greunbaum
75bd3d2793 Bugbot data is now stored with each marker, so that it can be retrieved without additional server calls. 2024-05-21 19:24:46 -04:00
Jamie Greunbaum
1f000909bb Placeholder bug report forms can now be posted to Gitea. 2024-05-20 01:55:54 -04:00
Jamie Greunbaum
fd156e56f3 Changed location of status label settings.
Moved status label settings to a place that makes a bit more sense, and lets
them be defined differently for each bug report platform.
2024-05-19 21:58:14 -04:00
Jamie Greunbaum
be16db4d76 BugMarkers are now loaded with their status intact. 2024-05-19 19:57:08 -04:00
Jamie Greunbaum
39d5834eb9 Merge pull request 'Markers can now be loaded and unloaded in the editor. Currently not fully implemented, but getting there.' (#2) from making-slow-and-annoying-progress into main
Reviewed-on: BattyBovine/Bugbot#2
2024-05-19 18:18:41 -04:00
Jamie Greunbaum
2a57cd544d Markers can now be loaded and unloaded in the editor. Currently not fully implemented, but getting there. 2024-05-19 18:12:42 -04:00
Jamie Greunbaum
a5bd6cfd72 Added an arrow to the Bugbot menu button to better indicate that it's a dropdown menu. 2024-05-19 02:01:17 -04:00
Jamie Greunbaum
c536a89d9f Added a set of BugbotServerAPI classes, which can currently pull a list of bugs from Gitea. 2024-05-18 03:35:44 -04:00
Jamie Greunbaum
f4a2695cc1 Bug Report Platform option moved to Reporting subsection to make it easier to find using Godot's settings layout. 2024-05-17 16:09:25 -04:00
Jamie Greunbaum
4b80ab327a - Added a placeholder menu that will eventually allow showing and hiding BugMarkers in the editor.
- Added a bunch of placeholder project settings to be used for submitting bugs to various bug tracking platforms.
2024-05-17 02:49:49 -04:00
Jamie Greunbaum
49a9f775b8 - Added some basic code that reacts to a bug being clicked.
- No need to check if the BugMarker dummy is valid any more, because it's definitely valid.
2024-05-17 01:49:10 -04:00
Jamie Greunbaum
8062cd3641 Added a special resource to contain unique instances of BugMarker materials. 2024-05-16 18:26:09 -04:00
Jamie Greunbaum
d279bef2b1 Properly disabled the bug info collider on the bug marker dummy. 2024-05-16 18:21:21 -04:00
Jamie Greunbaum
bf014d0e38 Went back to not using a special dummy BugMarker, because it turned out to be less versatile. 2024-05-16 17:57:05 -04:00
Jamie Greunbaum
0ed55dd461 - Spit BugMarker and BugMarkerDummy into two different classes so they can be more easily differentiated.
- Added a collision area to the marker to act as an info box in the future.
2024-05-16 15:02:32 -04:00
Jamie Greunbaum
cc321675f0 Added underscores to more private variables, and also made them double underscores to match what most Python-like languages use. 2024-05-15 23:10:14 -04:00
Jamie Greunbaum
af88ced103 - Added underscores to private properties.
- Added more code regions.
2024-05-15 19:30:33 -04:00
Jamie Greunbaum
366d882583 Added subgroup prefixes to InputEvent properties. 2024-05-15 19:10:24 -04:00
Jamie Greunbaum
8527572748 - Added an icon to the bug marker.
- Bug marker position now updates on every process frame.
- Updated licence document to include CC4 icons for bug reports.
2024-05-15 19:09:47 -04:00
Jamie Greunbaum
de4bd6e3db Added a marker for bug placement. 2024-05-15 14:45:31 -04:00
Jamie Greunbaum
6c00b0ff62 Bugbot camera will no longer attempt to take properties of the active game camera unless one was active in the first place. 2024-05-15 14:21:07 -04:00
Jamie Greunbaum
d245096bc5 Added a static class that automatically spawns a Bugbot. 2024-05-15 01:21:37 -04:00
Jamie Greunbaum
d880ef70c6 - Some action and event removals were accidentally adding duplicate events and actions. This has been fixed.
- Maximum movement speed increased to 100m per second.
2024-05-15 01:04:39 -04:00
Jamie Greunbaum
c7e53c5dea Bugbot camera now automatically places itself in the same spot as the active game camera, and also takes on its properties. 2024-05-15 00:36:45 -04:00
Jamie Greunbaum
48ef7bf0b6 - Pause status is cached and restored when the Bugbot camera is spawned and despawned.
- Added extra explicit typing to node values just for the hell of it.
2024-05-14 19:16:37 -04:00
Jamie Greunbaum
e5fdd651df - Using a raw physics raycast instead of the node, for responsiveness reasons.
- Movement speed change amount was adjusted to be a bit higher.
- Added a laser glow at the point of impact.
2024-05-14 18:37:33 -04:00