I changed a lot in this PR, please start from documentation files (changes in /doc folder).
These are the main points:
don't use HTTP apis anymore, but instead rely on PouchDB ability to connect to a local or remote DB (still remote in this version). This allows us avoid all hand written code related to HTTP apis, and Openapi spec as well.
(actually, only one HTTP call is still needed, but it's executed only when connected to remote databases)
use PouchDB change function to react to database changes. This makes it easier to scale to remote database in future, and possibly also to ulti-user experience. This also simplifies how react handles state, that now is directly connected to database
I simplified navigation, that is now based on the patterns /:testbook/:testcase/:test/:step, which follows exactly data design and user journey through testing
I simplified UI code by using Mantine components almost everywhere, and fixed some inconsistency
A lot of work still need to be done, but I think this could be a clean starting point, after some experimentations tried before.
I changed a lot in this PR, please start from documentation files (changes in /doc folder).
These are the main points:
change
function to react to database changes. This makes it easier to scale to remote database in future, and possibly also to ulti-user experience. This also simplifies how react handles state, that now is directly connected to databaseA lot of work still need to be done, but I think this could be a clean starting point, after some experimentations tried before.