Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add developer documentation about dolos-web in CONTRIBUTING.md #1592

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

rien
Copy link
Member

@rien rien commented Sep 20, 2024

As some developers are planning to help with the development of the dolos-web project, I have written some pointers on the technologies used and the general code layout used in the Dolos UI.

@rien rien requested a review from mikaelGusse September 25, 2024 07:42
- [src/composables](https://github.com/dodona-edu/dolos/blob/main/web/src/composables/) contains the Vue [Composables](https://vuejs.org/guide/reusability/composables.html), these contain functionality that is required a lot (like tooltips) or that have a lot of JavaScript that would not belong in a component. For example: you will find the code responsible for rendering the Plagiarism Graph in [src/composables/d3/graph](https://github.com/dodona-edu/dolos/tree/main/web/src/composables/d3), which is then included within the components that use this graph ([src/components/graph/GraphCanvas.vue](https://github.com/dodona-edu/dolos/blob/main/web/src/components/graph/GraphCanvas.vue) and others).

Dolos UI has two modes:
- **analysis** mode (de default mode) that is used to visualise the results of one report
Copy link
Collaborator

Choose a reason for hiding this comment

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

the default mode

Copy link
Collaborator

@mikaelGusse mikaelGusse left a comment

Choose a reason for hiding this comment

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

Good stuff! I found one typo but otherwise looks great.

@rien rien added documentation Improvements or additions to documentation web UI labels Sep 25, 2024
@rien
Copy link
Member Author

rien commented Sep 25, 2024

Thanks! Feel free to suggest improvements to this document when you're working with dolos-web.

@rien rien merged commit 8933ec7 into main Sep 25, 2024
26 checks passed
@rien rien deleted the docs/web-developer-guide branch September 25, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation web UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants