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

[docs] workshop #746

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[docs] workshop #746

wants to merge 1 commit into from

Conversation

crnfpp
Copy link

@crnfpp crnfpp commented Sep 18, 2023

No description provided.

@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e61ae20
🔍 Latest deploy log https://app.netlify.com/sites/moodledevdocs/deploys/65084d447e787a0008aa9c86
😎 Deploy Preview https://deploy-preview-746--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link
Contributor

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 56 🟠 87 🟢 92 🟢 90 🟢 100 Report
/docs/apis/commonfiles 🔴 43 🟠 85 🟢 92 🟢 100 🟢 100 Report
/general/development/gettingstarted 🔴 49 🟠 87 🟢 92 🟢 90 🟢 100 Report
/general/releases 🔴 47 🟠 87 🟢 92 🟢 100 🟢 100 Report

Copy link
Member

@andrewnicols andrewnicols left a comment

Choose a reason for hiding this comment

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

Hi @crnfpp,

I'm not sure if you're finished with this change, but in any case I have some feedback here.

It will be great to get all of the workshop docs moved over. Are you planning to do so in this PR, or just getting the first few pages in place in this PR?

Comment on lines +3 to +7
tags: []
---
:::info
Work in progress
:::
Copy link
Member

Choose a reason for hiding this comment

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

Rather than using an admonition:

Suggested change
tags: []
---
:::info
Work in progress
:::
tags: []
documentationDraft: true
---

Comment on lines +10 to +11

<Since versions={["2.0"]} />
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<Since versions={["2.0"]} />

There's no point really including any really old since tags. No-one should be using 1.9- and no-one should be developing for it.

We're trying to update our dev docs to be version specific to avoid having to spend a lot of time understanding which items only relate to an ancient version of Moodle.

Comment on lines +15 to +17
## Overview of Workshop architecture

Rewriting Workshop from scratch for Moodle 2.0 was a great opportunity to use new APIs and approaches to activity module development. In some areas, Workshop was a pioneering component adopting new frameworks - like `File API`, HTML rendering or subplugins support.
Copy link
Member

Choose a reason for hiding this comment

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

Thsi is just fluff. We don't need to know about 2.0, and the changes from 1.9, etc.

We don't need the Overview title. We just need to know that this page describes the implementation, and that it uses subplugins.

Suggested change
## Overview of Workshop architecture
Rewriting Workshop from scratch for Moodle 2.0 was a great opportunity to use new APIs and approaches to activity module development. In some areas, Workshop was a pioneering component adopting new frameworks - like `File API`, HTML rendering or subplugins support.
## Architecture

### Database structure

[400px](https://docs.moodle.org/Image/workshop_erd.png)
<br clear="all"/>
Copy link
Member

Choose a reason for hiding this comment

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

Should be unnecessary

Suggested change
<br clear="all"/>

[400px](https://docs.moodle.org/Image/workshop_xml.png)
<br clear="all"/>

### Classes
Copy link
Member

Choose a reason for hiding this comment

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

ditto... and the rest


## Debugging and testing

- [Workshop/fakesubmissions.php](https://docs.moodle.org/dev/Workshop/fakesubmissions.php)
Copy link
Member

Choose a reason for hiding this comment

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

This throws a spelling warning. We can fix that by either:

Putting it in backticks:

Suggested change
- [Workshop/fakesubmissions.php](https://docs.moodle.org/dev/Workshop/fakesubmissions.php)
- [`workshop/fakesubmissions.php`](https://docs.moodle.org/dev/Workshop/fakesubmissions.php)

OR

Adding to a cspell ignore list:

Suggested change
- [Workshop/fakesubmissions.php](https://docs.moodle.org/dev/Workshop/fakesubmissions.php)
- [Workshop/fakesubmissions.php](https://docs.moodle.org/dev/Workshop/fakesubmissions.php)
<!-- cspell:ignore fakesubmissions -->

@sarjona
Copy link
Member

sarjona commented Dec 1, 2023

Hi @crnfpp!
Is there any chance you can look at and fix the points raised by Andrew? If you can't, let us know and we'll try to reassign it :-)

@crnfpp
Copy link
Author

crnfpp commented Dec 4, 2023

Hi!!
Sorry, at the moment i don't have time to work on it!!
Sorry!!!

@andrewnicols andrewnicols marked this pull request as draft May 1, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants