Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

content filter (bug 1161860) #1219

Merged
merged 2 commits into from May 14, 2015
Merged

content filter (bug 1161860) #1219

merged 2 commits into from May 14, 2015

Conversation

ngokevin
Copy link
Contributor

  • reuse <mkt-select>
  • waffled under settings.meowEnabled

screen shot 2015-05-14 at 1 43 11 pm
screen shot 2015-05-14 at 1 43 08 pm

@ngokevin
Copy link
Contributor Author

@pwalm visual guidance on the custom select? i'm super-conveniently reusing the platform selector code. i know the styles i whipped up here probably won't fly

@pwalm
Copy link

pwalm commented May 14, 2015

Should just be a standard drop down:
screen shot 2015-05-14 at 1 21 53 pm

@ngokevin
Copy link
Contributor Author

That causes trouble since "SHOW" in other languages will often not fit. Plus it's not l10n friendly. I can unpad it and border radius it and make the arrow blue.

@pwalm
Copy link

pwalm commented May 14, 2015

Let's put it all in the drop down: "Show all content", "Show websites", "Show apps"

@mstriemer
Copy link
Contributor

Should content_filter.apiArgs get hooked into the router's processors?

@ngokevin
Copy link
Contributor Author

it's already all in the dropdown :P

@ngokevin
Copy link
Contributor Author

Not yet, unless the API is ready for that.

@mstriemer
Copy link
Contributor

I don't think it is.

@ngokevin
Copy link
Contributor Author

Tweaked the select to look more like the mock.

@mstriemer
Copy link
Contributor

What's the advantage of a <mkt-select> over a <select> here?

@ngokevin
Copy link
Contributor Author

mkt-select is more stylizable. it's very hard to style a native select. and future mocks show even more custom select styles. Like we can't do things like this with a native, but our custom select is perfect for it:
screen shot 2015-05-14 at 1 55 08 pm

It makes it easier to go from:

screen shot 2015-05-14 at 1 56 25 pm

to

screen shot 2015-05-14 at 1 56 30 pm

@mstriemer
Copy link
Contributor

Cool, r+

@ngokevin
Copy link
Contributor Author

TODO l8r: hook up in api args processor. UA. thanks y'all

ngokevin added a commit that referenced this pull request May 14, 2015
content filter (bug 1161860)
@ngokevin ngokevin merged commit bcfe1ca into mozilla:master May 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants