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

feat(prototypes): banner alerts with different intents #1083

Merged
merged 8 commits into from
Mar 22, 2019

Conversation

bmdalex
Copy link
Collaborator

@bmdalex bmdalex commented Mar 20, 2019

feat(prototypes): banner alerts with different intents

Description:

This PR contains:

  • in docs/src/prototypes/alerts/AnimatedBannerAlert.tsx: BannerAlert, a customized prototype using Alert component that can express different intents through boolean props
  • in docs/src/prototypes/alerts/BannerAlerts.tsx: a view showing an AnimatedBannerAlert custom component on top of a compose box

Demo:

banner-alerts

@codecov
Copy link

codecov bot commented Mar 20, 2019

Codecov Report

Merging #1083 into master will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1083      +/-   ##
==========================================
+ Coverage   82.16%   82.17%   +<.01%     
==========================================
  Files         701      701              
  Lines        8597     8596       -1     
  Branches     1251     1178      -73     
==========================================
  Hits         7064     7064              
+ Misses       1517     1516       -1     
  Partials       16       16
Impacted Files Coverage Δ
...rc/themes/teams/components/Alert/alertVariables.ts 50% <0%> (+10%) ⬆️
...t/src/themes/teams/components/Alert/alertStyles.ts 11.76% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea74c14...de51295. Read the comment docs.

@layershifter
Copy link
Member

layershifter commented Mar 21, 2019

There is an autoclose bug:

glitch

UPD: nevermind, my branch was outdated...

@bmdalex bmdalex force-pushed the proto/banner-alerts branch 2 times, most recently from 34c2167 to c090a73 Compare March 21, 2019 13:28
@microsoft microsoft deleted a comment from DustyTheBot Mar 22, 2019
@bmdalex bmdalex merged commit cb2efa5 into master Mar 22, 2019
@delete-merged-branch delete-merged-branch bot deleted the proto/banner-alerts branch March 22, 2019 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants