Closed Bug 852439 Opened 12 years ago Closed 12 years ago

[fireplace] <title> and search placeholder should show category name (not slug)

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
2013-04-04

People

(Reporter: cvan, Assigned: basta)

References

()

Details

(Whiteboard: [fireplace])

1. Load http://localhost:8675/search?cat=lifestyle 2. Notice the placeholder text is "lifestyle" lowercased (but the category name is "Lifestyle"). 3. Notice <title> is blank. It should say "Lifestyle | Firefox Marketplace." Also, I notice the <title> is the same on every page - should I file a separate bug for that?
The title is the same on every page because nobody wrote the code yet to change it when you change the page.
Basta, is there any way we can build an object of {slug: name} from https://github.com/mozilla/fireplace/blob/master/hearth/templates/home/main.html#L15 so we can look up the names by slug?
If we do that, we'd might as well not have an API for categories since we have all the categories stored on the client side anyway. If we're not doing an API for the categories, then we have to deal with not being able to update categories whenever we're in the mood to get rid of them, as well as supporting categories that users with old versions of the app have. :(
Component: Search → Consumer Pages
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-04-04
Status: NEW → ASSIGNED
Priority: -- → P3
We're changing around the way categories work, and this'll be different.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Blocks: 859511
You need to log in before you can comment on or make changes to this bug.