Skip to content

Conversation

@Hendrejvr
Copy link
Contributor

This pull request creates a new endpoint that returns the mapping structure as a static html page.

The function that generates the html file has also been migrated to the new data model.

@Hendrejvr Hendrejvr changed the title add results endpoint to download a static html file Add results endpoint to download a static html file Jun 18, 2025
Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you format all files using black from the recommanded extensions?

Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The html file is missing the mapping information. Maybe this is related to the css definition not being included in the file?

@cybernop
Copy link
Contributor

And what was the reason for you to create a fork for working on the changes instead of creating a simple branch?

Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also rebase on the latest state of main to enforce checks

@Hendrejvr
Copy link
Contributor Author

And what was the reason for you to create a fork for working on the changes instead of creating a simple branch?

I did not have the necessary rights, so I was forced to create a fork

@Hendrejvr Hendrejvr requested a review from cybernop August 8, 2025 09:41
Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have to validate some information

Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the type mismatch and also remove commented out code :)

@Hendrejvr Hendrejvr requested a review from cybernop September 5, 2025 10:33
Copy link
Contributor

@cybernop cybernop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the small detail i commented? The rest looks good :)

@Hendrejvr Hendrejvr requested a review from cybernop October 15, 2025 13:46
Comment on lines +38 to +46
if not self.__projs:
path = self.projs_dir
if path.is_dir() and (path / "config.json").exists():
try:
self.__projs[path.name] = Project(path)
except ValidationError as e:
logger.error(e.errors())
raise e

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure the this only accepts a directory where the projects are placed like before. Handling a single project for the CLI should be handled differently.

Maybe you can skip the ProjectManager completely and just use a project directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants