Skip to content

Conversation

@MisRob
Copy link
Member

@MisRob MisRob commented May 12, 2025

Summary

Reference new contributing guidelines and remove obsolete or duplicate information

Reviewer guidance

  • Can you think of some places I forgot to update?

Summary by CodeRabbit

  • Documentation
    • Simplified contribution instructions in the README and removed the CONTRIBUTING.md file, replacing detailed steps with a welcoming statement and a link to an external contribution guide.
    • Updated developer documentation to remove outdated support channels and direct contributors to a centralized external resource for contribution information.
    • Added prominent headers to issue templates clarifying that certain issues are not open for contribution and directing users to contribution guidelines.
    • Disabled creation of blank issues via GitHub configuration.

@MisRob MisRob force-pushed the contributing-guidelines branch from effacb9 to 2fd81bc Compare May 12, 2025 11:22
@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 12, 2025

Walkthrough

The contribution documentation was streamlined by removing detailed, step-by-step guidance and consolidating all instructions into a single welcoming statement with a link to an external contribution resource. References to specific support channels and internal documentation were replaced or removed, centralizing contribution information outside the repository.

Changes

File(s) Change Summary
CONTRIBUTING.md, README.md Replaced detailed contribution instructions and contact information with a brief welcome and a link to an external contribution guide.
docs/contributing/ways_to_contribute.rst Removed links to GitHub Discussions and email support; updated code contribution reference to the new external guide.
.github/ISSUE_TEMPLATE/blank_issue.md Added a new blank issue template with a header indicating the issue is not open for contribution and linking to contribution guidelines.
.github/ISSUE_TEMPLATE/bug_report.md Added a prominent header with warning and link to contribution guidelines at the top of the bug report template.
.github/ISSUE_TEMPLATE/product_issue.md Added a prominent header with warning and link to contribution guidelines at the top of the product issue template.
.github/ISSUE_TEMPLATE/config.yml Disabled creation of blank issues by setting blank_issues_enabled to false; contact links unchanged.

Sequence Diagram(s)

sequenceDiagram
    participant Contributor
    participant Repository
    participant ExternalContributionGuide

    Contributor ->> Repository: Seeks contribution information
    Repository -->> Contributor: Provides link to ExternalContributionGuide
    Contributor ->> ExternalContributionGuide: Accesses detailed instructions
Loading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@MisRob MisRob force-pushed the contributing-guidelines branch from 2fd81bc to 5c5d056 Compare May 12, 2025 11:23
@MisRob MisRob requested review from akolson and marcellamaki May 12, 2025 11:25
@MisRob MisRob added the TODO: needs review Waiting for review label May 12, 2025
@MisRob MisRob removed the request for review from akolson May 12, 2025 11:25
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
README.md (1)

37-37: Approve central contribution link.

Shifting to the external “Contributing to our open code base” page simplifies maintenance.

Consider appending a trailing slash to the URL for consistency with other docs:
https://learningequality.org/contributing-to-our-open-code-base/

CONTRIBUTING.md (2)

4-4: Approve simplified welcome prompt.

The new, brief greeting is inviting and keeps the file focused.

Optionally, align this phrasing with the RST doc’s “Contributions are welcome...” for a consistent tone across documentation.


6-6: Approve external contribution link in CONTRIBUTING.md.

Correctly directs contributors to the centralized guidelines, reducing duplication.

For consistency, you may want to include a trailing slash on the URL:
https://learningequality.org/contributing-to-our-open-code-base/

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6a6df04 and 5c5d056.

📒 Files selected for processing (3)
  • CONTRIBUTING.md (1 hunks)
  • README.md (1 hunks)
  • docs/contributing/ways_to_contribute.rst (1 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[style] ~35-~35: Using many exclamation marks might seem excessive (in this case: 7 exclamation marks for a text that’s 1920 characters long)
Context: ...n I contribute? We welcome contributors! To find out how to contribute, visit t...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: All file linting
  • GitHub Check: Build WHL file / Build WHL
🔇 Additional comments (2)
docs/contributing/ways_to_contribute.rst (1)

37-37: Approve externalizing contribution guidance.

The “Write code” section now cleanly delegates contributor instructions to the external resource, keeping the docs concise and up-to-date.

README.md (1)

35-35: Approve concise contributor welcome message.

This succinct greeting replaces the lengthy instructions and aligns with the streamlined contribution flow.

🧰 Tools
🪛 LanguageTool

[style] ~35-~35: Using many exclamation marks might seem excessive (in this case: 7 exclamation marks for a text that’s 1920 characters long)
Context: ...n I contribute? We welcome contributors! To find out how to contribute, visit t...

(EN_EXCESSIVE_EXCLAMATION)

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2025

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

Slight wording revision needed.

@rtibbles rtibbles self-assigned this May 20, 2025
@MisRob
Copy link
Member Author

MisRob commented May 22, 2025

Thanks @rtibbles. I removed 'the' in learningequality/.github#25. After we merge that, we can see how it works and then I will complete this PR.

@rtibbles
Copy link
Member

That PR has been merged!

MisRob added 3 commits May 27, 2025 13:44
In favour of the default .github/.github/CONTRIBUTING.md
Also disables the default blank issue in favor
of the new custom blank issue template to allow
it to have the header too.
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
.github/ISSUE_TEMPLATE/product_issue.md (1)

8-16: Standardize HTML comment delimiters

The header is enclosed with triple hyphens in your HTML comments (<!---HEADER START-->). For consistency and clarity, consider using the standard HTML comment format with single hyphens and spaces:

-<!---HEADER START-->
+<!-- HEADER START -->
...
-<!---HEADER END-->
+<!-- HEADER END -->
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

10-10: Images should have alternate text (alt text)
null

(MD045, no-alt-text)


14-14: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

README.md (1)

34-37: Tone down punctuation for consistency

The welcome statement uses an exclamation mark, which may appear overly emphatic compared to the rest of the documentation style. Consider a neutral tone:

-We welcome contributors!
+We welcome contributors.

Or:

-We welcome contributors!
+Welcome contributors.
🧰 Tools
🪛 LanguageTool

[style] ~34-~34: Using many exclamation marks might seem excessive (in this case: 7 exclamation marks for a text that’s 1915 characters long)
Context: ...n I contribute? We welcome contributors! To find out how to contribute, visit [...

(EN_EXCESSIVE_EXCLAMATION)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5c5d056 and 6bded29.

📒 Files selected for processing (6)
  • .github/ISSUE_TEMPLATE/blank_issue.md (1 hunks)
  • .github/ISSUE_TEMPLATE/bug_report.md (1 hunks)
  • .github/ISSUE_TEMPLATE/config.yml (1 hunks)
  • .github/ISSUE_TEMPLATE/product_issue.md (1 hunks)
  • CONTRIBUTING.md (0 hunks)
  • README.md (1 hunks)
💤 Files with no reviewable changes (1)
  • CONTRIBUTING.md
✅ Files skipped from review due to trivial changes (3)
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/blank_issue.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
.github/ISSUE_TEMPLATE/product_issue.md

10-10: Images should have alternate text (alt text)
null

(MD045, no-alt-text)


14-14: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

🪛 LanguageTool
README.md

[style] ~34-~34: Using many exclamation marks might seem excessive (in this case: 7 exclamation marks for a text that’s 1915 characters long)
Context: ...n I contribute? We welcome contributors! To find out how to contribute, visit [...

(EN_EXCESSIVE_EXCLAMATION)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Build WHL file / Build WHL


<!---HEADER START-->

<img height="20px" src="https://i.imgur.com/c7hUeb5.jpeg">
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Add alt text to images for accessibility

Images at lines 10 and 14 lack alt attributes, which is an accessibility requirement (MD045). Please add descriptive alternative text to each image, for example:

-<img height="20px" src="https://i.imgur.com/c7hUeb5.jpeg">
+<img alt="warning icon" height="20px" src="https://i.imgur.com/c7hUeb5.jpeg">

Also applies to: 14-14

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

10-10: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

🤖 Prompt for AI Agents
In .github/ISSUE_TEMPLATE/product_issue.md at lines 10 and 14, the <img> tags
are missing alt attributes, which are necessary for accessibility compliance.
Add descriptive alt text to each image tag by including an alt="description"
attribute that clearly describes the image content.

@MisRob
Copy link
Member Author

MisRob commented May 27, 2025

@rtibbles learningequality/.github#25 works as expected, one example of being it referenced correctly is at https://github.com/learningequality/test-actions/contribute.

I updated this PR to

  • Remove CONTRIBUTING.md
  • Remove 'the' from README.md
  • Added the default header to issue templates
    • Also disabled the default blank issue in favor of the new custom blank issue template to allow it to have the header too

After we merge this and learningequality/.github#26, I will update remaining repositories and also open pull requests to turn on the header automation.

@MisRob MisRob requested a review from rtibbles May 27, 2025 12:25
Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

@rtibbles
Copy link
Member

I have approved the PRs, feel free to merge when appropriate!

@MisRob MisRob merged commit 7b90087 into learningequality:develop May 28, 2025
52 checks passed
@MisRob MisRob deleted the contributing-guidelines branch June 12, 2025 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants