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 Front end Issue Report Template #468

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

alo7lika
Copy link
Contributor

@alo7lika alo7lika commented Nov 6, 2024

Issue Title

Please enter the title of the issue related to your pull request.
Enter the issue title here- Front End Issue Report Template

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
Describe the aim of the project- To enhance the front end of the project by providing a structured issue reporting template, which helps streamline issue reporting and tracking.

  • I have described the aim of the project.

Name

Please mention your name.
Enter your name here- Alolika Bhowmik

  • I have provided my name.

GitHub ID

Please mention your GitHub ID.
Enter your GitHub ID here- alo7lika

  • I have provided my GitHub ID.

Identify Yourself

Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, Hacktoberfest).
Enter your participant role here- Contributor GSSOC 2024

  • I have mentioned my participant role.

Closes

Enter the issue number that will be closed through this PR.
Closes: #issue-number Closes: #463

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

Give a clear description of what you have added or modified.
Describe your changes here- Created a standardized issue report template for front-end issues to improve project management and communication.

  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Describe how your changes have been tested.
Describe your testing process here. Verified by creating a test pull request to ensure that the template fields are functional and display correctly in Markdown.

  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.

Summary by CodeRabbit

  • New Features
    • Introduced a structured issue template for reporting frontend issues, enhancing the clarity and efficiency of user submissions.
    • The template includes sections for issue summary, reproduction steps, expected vs actual behavior, and options for attaching screenshots.

Copy link

vercel bot commented Nov 6, 2024

@alo7lika is attempting to deploy a commit to the bunty's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

coderabbitai bot commented Nov 6, 2024

Walkthrough

A new issue template for frontend issues has been introduced in the .github/ISSUE_TEMPLATE/frontend_issue.yml file. This template is designed to help users report frontend-related problems in a structured manner, including sections for issue summaries, reproduction steps, expected versus actual behavior, and the option to attach screenshots or recordings. It also includes a checklist for preliminary checks and a section for additional information to streamline the reporting process.

Changes

File Change Summary
.github/ISSUE_TEMPLATE/frontend_issue.yml Added a new issue template for frontend issues, including structured sections for reporting problems.

Assessment against linked issues

Objective Addressed Explanation
A Frontend Issue Report Template is necessary to ensure that bugs and feature requests related to the user interface are communicated clearly and consistently. (#463)
The template prompts reporters to include screenshots, error logs, or screen recordings. (#463)
The template helps capture essential details, such as device and browser information, screen resolutions, and specific steps to reproduce the issue. (#463)

Possibly related PRs

  • I want to add Question and guideline section #452: This PR adds a configuration for issue templates, which is related to the main PR's introduction of a new issue template for frontend issues, indicating a focus on improving issue reporting processes.
  • Add git contributors page #464: This PR introduces a new page for displaying contributors, which may relate to the main PR's goal of enhancing issue reporting by providing a structured way for users to report frontend issues, potentially involving contributors' input.

Suggested labels

documentation, level1, gssoc-ext, hacktoberfest accepted

Suggested reviewers

  • RamakrushnaBiswal

Poem

🐇 In the garden of code, a new template blooms,
For frontend issues, it sweeps away glooms.
With steps to reproduce and screens to share,
Clarity blossoms, with love and care.
So hop to it, dear devs, let’s fix with delight,
A structured report makes our future bright! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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.
    • Generate unit testing code for this file.
    • 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 generate unit testing code for this file.
    • @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 generate unit testing code.
    • @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.

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 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.

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@alo7lika
Copy link
Contributor Author

alo7lika commented Nov 6, 2024

@RamakrushnaBiswal The task has been completed. Kindly review the PR. Don't forget to add label "GSSOC-EXT"

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: 2

🧹 Outside diff range and nitpick comments (3)
.github/ISSUE_TEMPLATE/frontend_issue.yml (3)

1-4: Improve template metadata for better issue categorization.

Consider the following improvements:

  1. Remove "FRONTEND ISSUE:" prefix from the title as it's redundant with the template name and Frontend label
  2. Add more label options like "enhancement", "feature-request" to accommodate different types of frontend issues
 name: "🌐 Frontend Issue Report"
 description: "Create a detailed report to help us improve the frontend user experience."
-title: "FRONTEND ISSUE:"
+title: ""
-labels: ["Frontend", "Bug"]
+labels: ["Frontend"]

15-38: Enhance field descriptions with examples for better guidance.

The template would be more user-friendly with example content in the descriptions.

     attributes:
       label: "Steps to Reproduce"
-      description: "List the steps to reproduce the issue, including which pages or components are affected."
+      description: |
+        List the steps to reproduce the issue, including which pages or components are affected.
+        Example:
+        1. Go to '/login' page
+        2. Enter email but leave password empty
+        3. Click 'Login' button
+        4. Notice error message is not displayed
       validations:
         required: true

39-45: Add Code of Conduct link and workaround field.

Enhance the additional information section with more context and useful information.

       label: "Additional Information"
       options:
-        - label: "I agree to follow this project's Code of Conduct"
+        - label: "I agree to follow this project's [Code of Conduct](../CODE_OF_CONDUCT.md)"
           required: true
         - label: "I can provide more details if needed"
+  - type: textarea
+    attributes:
+      label: "Temporary Workaround"
+      description: "If you've found a way to temporarily work around this issue, please share it to help other users."
+    validations:
+      required: false
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between f34b7ec and 69fd44a.

📒 Files selected for processing (1)
  • .github/ISSUE_TEMPLATE/frontend_issue.yml (1 hunks)

.github/ISSUE_TEMPLATE/frontend_issue.yml Show resolved Hide resolved
.github/ISSUE_TEMPLATE/frontend_issue.yml Outdated Show resolved Hide resolved
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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

🧹 Outside diff range and nitpick comments (2)
.github/ISSUE_TEMPLATE/frontend_issue.yml (2)

21-44: Consider streamlining the issue details sections.

To improve clarity and reduce redundancy:

  1. Consider merging "Expected vs Actual Behavior" into "Issue Summary" since they often overlap
  2. Add a placeholder example for the Screenshots/Recordings section to guide users
   - type: textarea
     attributes:
       label: "Issue Summary"
-      description: "Provide a concise summary of the issue, including what you expected to happen and what actually happened."
+      description: "Provide a concise summary of the issue, including:\n- What you were trying to do\n- What you expected to happen\n- What actually happened"
     validations:
       required: true
   - type: textarea
     attributes:
       label: "Steps to Reproduce"
       description: "List the steps to reproduce the issue, including which pages or components are affected."
     validations:
       required: true
-  - type: textarea
-    attributes:
-      label: "Expected vs Actual Behavior"
-      description: "What did you expect to happen instead of the current behavior?"
-    validations:
-      required: false
   - type: textarea
     attributes:
       label: "Screenshots/Recordings"
-      description: "If applicable, attach screenshots or recordings that illustrate the issue."
+      description: "If applicable, attach screenshots or recordings that illustrate the issue.\n\nTip: You can drag and drop images here, or paste them from clipboard."
     validations:
       required: false

45-51: Enhance the additional information section.

Consider adding:

  1. A link to the Code of Conduct for easy reference
  2. Contact preferences for follow-up questions
   - type: checkboxes
     attributes:
       label: "Additional Information"
       options:
-        - label: "I agree to follow this project's Code of Conduct"
+        - label: "I agree to follow this project's [Code of Conduct](../CODE_OF_CONDUCT.md)"
           required: true
-        - label: "I can provide more details if needed"
+        - label: "I can provide more details if needed (preferred contact method: GitHub, Email)"
+          description: "Please indicate your preferred contact method in parentheses"
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 69fd44a and ca67f98.

📒 Files selected for processing (1)
  • .github/ISSUE_TEMPLATE/frontend_issue.yml (1 hunks)
🔇 Additional comments (1)
.github/ISSUE_TEMPLATE/frontend_issue.yml (1)

6-20: LGTM! Comprehensive preliminary checks implemented.

The preliminary checks section effectively captures all essential information, including browser details, OS, and device type.

@RamakrushnaBiswal RamakrushnaBiswal added documentation Improvements or additions to documentation level1 for 10 points gssoc-ext gssoc-extd program hacktoberfest accepted hacktoberfest-accepted repo labels Nov 8, 2024
@RamakrushnaBiswal RamakrushnaBiswal merged commit d8a6d9c into RamakrushnaBiswal:main Nov 8, 2024
3 of 4 checks passed
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 gssoc-ext gssoc-extd program hacktoberfest accepted hacktoberfest-accepted repo level1 for 10 points
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADD Front end Issue Report Template
2 participants