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

Feature enhancement: Enhanced project data, search, and tagging #2729

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

Conversation

DonnieBLT
Copy link
Collaborator

@DonnieBLT DonnieBLT commented Sep 19, 2024

Fixes #2682

Add additional project metadata and enhanced search and filtering capabilities.

  • Models:

    • Add fields for stars, forks, and external links to the Project model in website/models.py.
    • Add methods to fetch stars, forks, and freshness indicators from the repository hosting platform.
  • Serializers:

    • Update the ProjectSerializer in website/serializers.py to include fields for stars, forks, and external links.
    • Add methods to fetch and serialize the additional metadata.
  • Views:

    • Update the ProjectViewSet in website/api/views.py to fetch and display the additional metadata.
    • Add methods to handle enhanced search and filtering capabilities.
  • Templates:

    • Update website/templates/website/project_detail.html to display additional metadata (freshness, stars, forks, and links).
    • Add sections for tags and related projects.
    • Update website/templates/website/project_list.html to display additional metadata and add sections for tags and related projects.
  • Management Command:

    • Update website/management/commands/update_projects.py to set stars, forks, and external links for projects.

For more details, open the Copilot Workspace session.

Fixes #2682

Add additional project metadata and enhanced search and filtering capabilities.

* **Models**:
  - Add fields for stars, forks, and external links to the `Project` model in `website/models.py`.
  - Add methods to fetch stars, forks, and freshness indicators from the repository hosting platform.

* **Serializers**:
  - Update the `ProjectSerializer` in `website/serializers.py` to include fields for stars, forks, and external links.
  - Add methods to fetch and serialize the additional metadata.

* **Views**:
  - Update the `ProjectViewSet` in `website/api/views.py` to fetch and display the additional metadata.
  - Add methods to handle enhanced search and filtering capabilities.

* **Templates**:
  - Update `website/templates/website/project_detail.html` to display additional metadata (freshness, stars, forks, and links).
  - Add sections for tags and related projects.
  - Update `website/templates/website/project_list.html` to display additional metadata and add sections for tags and related projects.

* **Management Command**:
  - Update `website/management/commands/update_projects.py` to set stars, forks, and external links for projects.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OWASP-BLT/BLT/issues/2682?shareId=XXXX-XXXX-XXXX-XXXX).
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.

Feature Enhancement: Enhanced Project Data, Search, and Tagging
1 participant