feat: set up mobile ad specific for OS type#43422
feat: set up mobile ad specific for OS type#43422EhEhRon91 wants to merge 16 commits intofreeCodeCamp:mainfrom
Conversation
raisedadead
left a comment
There was a problem hiding this comment.
I am wondering if we can use: https://github.com/lancedikson/bowser, for this. It's pretty darn neat and will help us avoid any future maintenance to the detection logic?
|
Bowser seems to work quite nicely! |
raisedadead
left a comment
There was a problem hiding this comment.
LGTM. @nhcarrigan what do you think?
ojeytonwilliams
left a comment
There was a problem hiding this comment.
This looks good, thanks @EhEhRon91
I did find a few things I think should be changed, but nothing serious:
ojeytonwilliams
left a comment
There was a problem hiding this comment.
I'm happy with this except for the issue that @nhcarrigan raised.
|
Hey @EhEhRon91, can you add the suggested change from @nhcarrigan, so we can merge your pull request. |
|
Hey @EhEhRon91 did you have a chance to look at last unresolved conversation here? |
This comment has been minimized.
This comment has been minimized.
ojeytonwilliams
left a comment
There was a problem hiding this comment.
Let's not add bowser until we need it. We might change our minds about this feature, delete the comments and then forget about the package.
|
IMHO, I think we should put this behind a feature flag. To be honest, the requirement was already clearly defined. The OP also implemented the same. I am willing to close the PR as is if all think the same is an appropriate & fair course of action. |
old review
|
I am auditing PRs in limbo. @Sembauke can you guide with the next action items? |
Checklist:
Update index.md)mainbranch of freeCodeCamp.Closes #43350
For now the modal will appear on the main page. Currently it uses
localStorageto define a variable to only display the modal once after dismissing the ad.