Skip to content

Revert "feature of Team Collaboration "#170

Merged
A1L13N merged 1 commit into
mainfrom
revert-94-team-collaboration-clean
Mar 21, 2025
Merged

Revert "feature of Team Collaboration "#170
A1L13N merged 1 commit into
mainfrom
revert-94-team-collaboration-clean

Conversation

@A1L13N
Copy link
Copy Markdown
Contributor

@A1L13N A1L13N commented Mar 21, 2025

Reverts #94

Summary by CodeRabbit

  • Chores
    • Removed team collaboration features across the app. This includes the elimination of team management pages, invitation handling, and associated notifications, resulting in a more streamlined experience.
  • Style
    • Updated certain UI elements for improved markup consistency and clarity, enhancing the overall user interface.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 21, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request introduces a minor formatting change in the CI workflow while removing the entire team collaboration feature. The changes eliminate backend components—forms, models, migrations, notifications, view functions, and URL patterns—as well as frontend templates associated with team goals and invitations. An isolated template update modifies an HTML button attribute for disabling functionality. No new functionality or alternative flows are added.

Changes

File(s) Change Summary
.github/workflows/test.yml Added a blank line after the pre-commit run --all-files command, adjusting formatting only.
web/forms.py, web/models.py, web/migrations/0032_...py, web/notifications.py, web/views.py, web/urls.py Removed team collaboration functionality: deleted forms (TeamGoalForm, TeamInviteForm), models (TeamGoal, TeamGoalMember, TeamInvite), corresponding migration file (with field renames and modifications), team notification functions, view functions, and URL patterns.
web/templates/index.html, web/templates/teams/create.html, web/templates/teams/delete_confirm.html, web/templates/teams/detail.html, web/templates/teams/list.html Removed templates related to team collaboration user interfaces for displaying, creating, editing, and deleting team goals/invitations.
web/templates/web/study/group_detail.html Modified the HTML button attribute from disabled="disabled" to a more concise disabled for the join button when the group is full.

📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 2f33bea and 4bf21f3.

📒 Files selected for processing (13)
  • .github/workflows/test.yml (1 hunks)
  • web/forms.py (0 hunks)
  • web/migrations/0032_rename_completion_date_teamgoalmember_completed_at_and_more.py (0 hunks)
  • web/models.py (0 hunks)
  • web/notifications.py (0 hunks)
  • web/templates/index.html (0 hunks)
  • web/templates/teams/create.html (0 hunks)
  • web/templates/teams/delete_confirm.html (0 hunks)
  • web/templates/teams/detail.html (0 hunks)
  • web/templates/teams/list.html (0 hunks)
  • web/templates/web/study/group_detail.html (1 hunks)
  • web/urls.py (0 hunks)
  • web/views.py (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 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 generate docstrings to generate docstrings for 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.

@A1L13N A1L13N merged commit 0b36e0b into main Mar 21, 2025
@A1L13N A1L13N deleted the revert-94-team-collaboration-clean branch March 21, 2025 08:41
A1L13N added a commit that referenced this pull request Mar 21, 2025
sudhirKsah pushed a commit to sudhirKsah/alphaonelabs-education-website that referenced this pull request Mar 21, 2025
A1L13N added a commit that referenced this pull request Mar 25, 2025
* feat: add progress visualization

* chore: update .gitignore

* chore: restore venv/ in .gitignore as per review

* fix: resolved linting and formatting issues

* fix: djLint issues

* fix: corrected jsPDF setFillColor to handle RGB values properly

* Update .pre-commit-config.yaml

* feat(admin): add email verification filter and display in user admin

* fix(cart, payment, student_progress): capture exceptions and improve error messages for payment and progress handling

* feat(enrollment): implement automatic approval for free course enrollments and update payment handling

* feat(enrollment, UI): enhance free course enrollment process and update course price display

* refactor(courses, templates): consolidate session forms into a single template and update rendering logic

* feat(security, video-fetch): implement URL validation and security measures to prevent SSRF attacks in video title fetching

* Update test.yml

* Update test.yml

* feature of Team Collaboration  (#94)

* basemodels

* Reset views.py to original state

* file-structure-optimising

* errors

* error in invite accepting

* added option to mark contribution

* added display of teams from homepage

* Update web/templates/teams/create.html

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update web/templates/teams/detail.html

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update web/views.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Fix: Remove trailing whitespace in HTML files

Co-Authored-By: Ishaan Arora <ishaana612@gmail.com>

* Fix: Remove trailing whitespace and add newlines at end of files

Co-Authored-By: Ishaan Arora <ishaana612@gmail.com>

* prechanges

* added delete functionality

* added edit goal and delete goal

* pre

* rabbit

* pree

* added notifications

* ui improvements

* added try,excepts for optimisation

* added deadline time verification

* added transaction for data integrity

* linting

* put back sendgrid

* addedpagination

* rabbit

* pre

* Update web/email_backend.py

Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>

* added small ui change

* error handling

* errors

* lint

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>

* Revert "feature of Team Collaboration  (#94)" (#170)

This reverts commit 2f33bea.

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update 0002_add_unique_email_constraint.py (#173)

* Update 0002_add_unique_email_constraint.py

* Update 0002_add_unique_email_constraint.py

* Update docker-test.yml

* Update docker-test.yml

* Update docker-test.yml

* Create pre-commit.yml

* Update pre-commit.yml

* migration and docker lintin fixed (#179)

* migration and docker lintin fixed

* fixing

* fixing

* Update 0002_add_unique_email_constraint.py

---------

Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>

* fix: moved script into js file to fix djlint issues

* chore: update .gitignore

* fix: resolved linting and formatting issues

* fix: djLint issues

* Update 0002_add_unique_email_constraint.py

* refactor: removed duplicate progress_visualization function from views.py

* Update .pre-commit-config.yaml

* test: add test and docstrings for progress_visualization view

* Refactor progress visualization with helper functions and caching and modify test accordingly

* fix: fix indentation in test and potential division by zero

* Fix: guard against invalid session time and fix download button

* resolve merge conflict and implement dynamic caching

* docs: Added docstrings to web/signals.py

---------

Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>
Co-authored-by: Ishaan Arora <178517080+ishaan-arora-1@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Sayan <108164359+sayanoops@users.noreply.github.com>
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.

1 participant