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

This updates the topic cards on Product landing and AAQ #6456

Closed
wants to merge 5 commits into from

Conversation

smithellis
Copy link
Contributor

* A utility function builds the topics_context for the cards
* Article and Topic links are corrected
* This addresses:
    * mozilla/sumo#2128 - 500 error
    * mozilla/sumo#2134 - Links wrong
    * mozilla/sumo#2130 - Articles not listed
    * mozilla/sumo#2133 - Number of articles
      displayed
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
* Improved query to go easier on db
* Get a document count() before processing documents
* Only process document objects if I don't have enough featured articles
kitsune/questions/views.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/facets.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
kitsune/wiki/utils.py Outdated Show resolved Hide resolved
* Use query annoation in `utils.py` to gather topics
* Use `chain` and `islice` to ensure proper doc order and count
@smithellis
Copy link
Contributor Author

Closing in favor of new consolidated PR #6471

@smithellis smithellis closed this Jan 23, 2025
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.

3 participants