Use new product.Topics for Questions

RESOLVED FIXED in 2013Q3

Status

support.mozilla.org
Questions
P3
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: rrosario, Assigned: mythmon)

Tracking

(Blocks: 1 bug)

unspecified
2013Q3
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=dev c=questions p=3 s=2013.14)

(Reporter)

Description

5 years ago
Questions have a M2M to the deprecated topics.Topic model. We need to change that to be a M2M to products.Topic. Some things that need to be done:

* Add a M2M between Questions and products.Topic
* Change the AAQ views to assign a products.Topic to questions instead of a topics.Topic
* Create a migration to move all the old Questions to products.Topic
* Update the UI of the question page to show products.Topic instead of topics.Topic
* Anything else I can't think of right now

In a followup bug to go with bug 886554:
* Fix our advanced search
* remove the topics app
* drop the old topics tables
(Reporter)

Comment 1

5 years ago
There is quite a bit of things to do here. Making this 3pts. I'd like to get it done ASAP, so putting in next sprint.
Whiteboard: u=dev c=questions p=3 s=2013.14
(Reporter)

Comment 2

5 years ago
(In reply to Ricky Rosario [:rrosario, :r1cky] from comment #0)
> * Anything else I can't think of right now

* We need to change the code for topic filtering (and the dropdown shown) on the /questions listing page.
(Reporter)

Updated

5 years ago
Blocks: 877786
(Reporter)

Updated

5 years ago
Assignee: nobody → rrosario
(Reporter)

Updated

5 years ago
Blocks: 891851
(Assignee)

Comment 3

5 years ago
Stealing this, since I'm out of bugs.
Assignee: rrosario → mcooper
(Assignee)

Comment 4

5 years ago
PR: https://github.com/mozilla/kitsune/pull/1509
Landed in: https://github.com/mozilla/kitsune/commit/f26ffebf6e6a34dcbb4ebc912e95cfef076336a4

Not deploying this because no one is around right now, and it's a bit important. I'll hit the button tomorrow, if no one else does.
Status: NEW → ASSIGNED
(Reporter)

Comment 5

5 years ago
Migration output looks good:

[localhost] out: Running .py migation 226:
[localhost] out: /usr/bin/python2.6 -B manage.py runscript migrations.226-retopic-questions
[localhost] out: Firefox / Learn the Basics: get started (554 questions)
[localhost] out: Firefox / Download, install and migration (1614 questions)
[localhost] out: Firefox / Privacy and security settings (1274 questions)
[localhost] out: Firefox / Customize controls, options and add-ons (3634 questions)
[localhost] out: Firefox / Fix slowness, crashing, error messages and other problems (7640 questions)
[localhost] out: Firefox / Get community support (0 questions)
[localhost] out: Firefox / Tips and tricks (559 questions)
[localhost] out: Firefox / Use bookmarks (878 questions)
[localhost] out: Firefox / Tab basics (730 questions)
[localhost] out: Firefox / Firefox versions and languages (0 questions)
[localhost] out: Firefox / Copy your personal information from one browser to another (0 questions)
[localhost] out: Firefox / Cookies (185 questions)
[localhost] out: Firefox / Passwords, forms, search, and history - control what Firefox suggests (0 questions)
[localhost] out: Firefox / Firefox Sync settings (0 questions)
[localhost] out: Firefox / Firefox controls and buttons (0 questions)
[localhost] out: Firefox / Tab settings (0 questions)
[localhost] out: Firefox / Customize Firefox with add-ons, plugins, and extensions (0 questions)
[localhost] out: Firefox / Firefox options, preferences and settings (0 questions)
[localhost] out: Firefox / Bookmark options (0 questions)
[localhost] out: Firefox / Fix problems with websites (Facebook, YouTube, webmail etc.) (2215 questions)
[localhost] out: Firefox / Error messages: what they mean and how to fix (0 questions)
[localhost] out: Firefox / Unblock Firefox from connecting to the Internet (0 questions)
[localhost] out: Firefox / Procedures to diagnose and fix problems (0 questions)
[localhost] out: Firefox / Videos, sound, pictures and animations don't work (0 questions)
[localhost] out: Firefox / Firefox is slow or stops working (0 questions)
[localhost] out: Firefox / Firefox crashes (0 questions)
[localhost] out: Firefox / Firefox won't save settings or remember information (0 questions)
[localhost] out: Firefox / Problems with add-ons, plugins or unwanted software (0 questions)
[localhost] out: Firefox / Mozilla Persona (0 questions)
[localhost] out: Firefox / Hot topics (0 questions)
[localhost] out: Firefox for Android / Learn the Basics: get started (158 questions)
[localhost] out: Firefox for Android / Download, install and migration (248 questions)
[localhost] out: Firefox for Android / Privacy and security settings (110 questions)
[localhost] out: Firefox for Android / Customize controls, options and add-ons (313 questions)
[localhost] out: Firefox for Android / Fix slowness, crashing, error messages and other problems (450 questions)
[localhost] out: Firefox for Android / Get community support (0 questions)
[localhost] out: Firefox for Android / Tips and tricks (84 questions)
[localhost] out: Firefox for Android / Use bookmarks (120 questions)
[localhost] out: Firefox for Android / Tab basics (38 questions)
[localhost] out: Firefox for Android / Cookies (15 questions)
[localhost] out: Firefox for Android / Firefox Sync settings (0 questions)
[localhost] out: Firefox for Android / Firefox controls and buttons (0 questions)
[localhost] out: Firefox for Android / Customize Firefox with add-ons, plugins, and extensions (0 questions)
[localhost] out: Firefox for Android / Fix problems with websites (Facebook, YouTube, webmail etc.) (139 questions)
[localhost] out: Firefox for Android / Firefox crashes (0 questions)
[localhost] out: Firefox for Android / Mozilla Persona (0 questions)
[localhost] out: Firefox for Android / Marketplace (0 questions)
[localhost] out: Firefox for Android / Hot topics (0 questions)
[localhost] out: Firefox OS / Get started (0 questions)
[localhost] out: Firefox OS / Calling and Contacts (0 questions)
[localhost] out: Firefox OS / Get connected (0 questions)
[localhost] out: Firefox OS / Email and Messages (0 questions)
[localhost] out: Firefox OS / Privacy and security (0 questions)
[localhost] out: Firefox OS / Settings (33 questions)
[localhost] out: Firefox OS / Multimedia apps (0 questions)
[localhost] out: Firefox OS / Marketplace (15 questions)
[localhost] out: Firefox OS / Fix problems (90 questions)
[localhost] out: Firefox OS / Get community support (0 questions)
[localhost] out: Firefox OS / Working with messages (0 questions)
[localhost] out: Firefox OS / Procedures to diagnose and fix problems (0 questions)
[localhost] out: Firefox OS / Mozilla Persona (0 questions)
[localhost] out: Firefox OS / Hot topics (0 questions)
[localhost] out: Firefox Marketplace / Fix problems (0 questions)
[localhost] out: Firefox Marketplace / Download, install and migration (0 questions)
[localhost] out: Firefox Marketplace / Get connected (0 questions)
[localhost] out: Firefox Marketplace / Multimedia apps & Marketplace (0 questions)
[localhost] out: Firefox Marketplace / Get community support (0 questions)
[localhost] out: Firefox Marketplace / Marketplace (0 questions)
[localhost] out: Firefox Marketplace / Download and install apps (0 questions)
[localhost] out: Firefox Marketplace / Hot topics (0 questions)
[localhost] out: Mozilla Persona / Learn the Basics: get started (0 questions)
[localhost] out: Mozilla Persona / Get community support (0 questions)
[localhost] out: Mozilla Persona / Mozilla Persona (0 questions)
[localhost] out: Mozilla Persona / Hot topics (0 questions)
[localhost] out: 
[localhost] out: That took 168.68 seconds
[localhost] out: ##################################################

This is deployed to prod \o/.

I'll file a bug for completely deleting old topics :)
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.