-
There are some fundamental changes that we need to do to the Threat Dragon code because of the problem we have with the drawing package JointJs. This is at the core of the project, so we should look at revising the structure of the whole project. We have a roadmap for version 2.0 and @lreading has started on some of this with pull request #67 . We maybe should discuss how we get to version 2.0, and also why we think it is necessary |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Reasons for version 2.0
Having said all that, maximum kudos to @mike-goodwin for creating something seven years ago that is used by a large community and is still in active development. A testament to the good principles it was based on - accessibility, simplicity and fulfilling a need |
Beta Was this translation helpful? Give feedback.
-
There are two approaches to version 2.0, we could add to the existing version 1.x and get there step by step or we could start afresh for 2.0 and reuse parts of 1.x as we need. I am OK with both approaches, and I created a couple of experiments to see what the final code base might look like:
|
Beta Was this translation helpful? Give feedback.
-
OK, I agree and lets go with a refactoring approach rather than start again. Seems a safer route and also changes can be more immediate available. When we swap out JointJS for mxgraph then that could be the point that it is version 2.0 And great to have @lreading contributing, much appreciated |
Beta Was this translation helpful? Give feedback.
-
Taking a quick peek at the desktop repo, it does seem like there's a lot of duplicated code between the repos. If we had all the code in a single repo, we could have a single source of truth and ensure everything is up to date as opposed to managing multiple versions of multiple projects. It could even allow us to create a PR checklist to ensure that all related components are being updated (docs, test desktop app, etc), as well as a better opportunity to automate some stuff (continuous delivery maybe). Thoughts? |
Beta Was this translation helpful? Give feedback.
Taking a quick peek at the desktop repo, it does seem like there's a lot of duplicated code between the repos. If we had all the code in a single repo, we could have a single source of truth and ensure everything is up to date as opposed to managing multiple versions of multiple projects. It could even allow us to create a PR checklist to ensure that all related components are being updated (docs, test desktop app, etc), as well as a better opportunity to automate some stuff (continuous delivery maybe).
Thoughts?