Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Add the desktop app banner #1067

Merged
merged 3 commits into from
Aug 21, 2017
Merged

Add the desktop app banner #1067

merged 3 commits into from
Aug 21, 2017

Conversation

remybach
Copy link
Contributor

1503060409

@tavvy
Copy link
Contributor

tavvy commented Aug 18, 2017

looks good once the css file size is addressed in the component as discussed.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 92.225% when pulling 25a5a63 on rb-desktop-app-banner into 9c8b4fc on master.

@Financial-Times Financial-Times deleted a comment from coveralls Aug 18, 2017
@Financial-Times Financial-Times deleted a comment from coveralls Aug 18, 2017
@Financial-Times Financial-Times deleted a comment from coveralls Aug 18, 2017
Copy link
Contributor

@leggsimon leggsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me, a couple of points though, as discussed I don't like the negated flag name format. I would ideally reject this based on that but if you're already doing it then I'm happy to let it slide if we can discuss for the future.

Also, I'm quite surprised that the SASS from n-desktop-app-banner adds ~4kb 🤔

@remybach
Copy link
Contributor Author

For posterity, @leggsimon's point about the added 4kb is due to o-typography not being included silently. I'll investigate preventing this happening after this has gone in.

@remybach remybach merged commit e407792 into master Aug 21, 2017
@remybach remybach deleted the rb-desktop-app-banner branch August 21, 2017 08:15
wheresrhys added a commit that referenced this pull request Sep 4, 2017
… rhys/n-topic-search

* 'master' of https://github.com/Financial-Times/n-ui: (42 commits)
  Add EventSource polyfill
  Don't initialise desktop app banner more than once
  Remove code for dead offlineToastMessage feature
  Slice nodeList and use every
  Add webhook
  Update README.md
  Prevent page view events for headline testing if multiple
  Tweak flag used to display banner (#1077)
  Updated o-ads
  Update floodlight to fix trial confirmation (#1075)
  Update floodlight.js (#1071)
  Remove ternary and attach headline variant to page only
  add es2016 and 2017 babel presets (#1073)
  simplify typeahead search link
  Fix typo in readme
  Name change for headline testing
  Add new advanced search flag
  Revert disableDesktopAppBanner flag check
  Check the `disableDesktopAppBanner` properly
  Add the desktop app banner (#1067)
  ...
 🐿 v2.5.16
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

4 participants