Skip to content

Comments

Implements Sticky and Progress flashes#267

Merged
dahlbyk merged 6 commits intomasterfrom
discorick/beef_up_the_flash_component
Apr 21, 2016
Merged

Implements Sticky and Progress flashes#267
dahlbyk merged 6 commits intomasterfrom
discorick/beef_up_the_flash_component

Conversation

@discorick
Copy link
Member

This should give a lot more flexibility in the app over how we handle notifications with the flash component. Gifs below.

@dahlbyk dahlbyk had a problem deploying to huboard-rails-pr-267 April 13, 2016 16:25 Failure
@dahlbyk dahlbyk temporarily deployed to huboard-rails-pr-267 April 13, 2016 16:30 Inactive
@discorick discorick deployed to huboard-rails-pr-267 April 13, 2016 18:34 Active
@discorick discorick deployed to huboard-rails-pr-267 April 13, 2016 18:47 Active
@discorick discorick changed the title [WIP] Implements Sticky and Progress flashes Implements Sticky and Progress flashes Apr 13, 2016
}

.warning {
background: #f9646e;
Copy link
Member

Choose a reason for hiding this comment

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

Variable?

@discorick discorick deployed to huboard-rails-pr-267 April 13, 2016 20:43 Active
@dahlbyk
Copy link
Member

dahlbyk commented Apr 13, 2016

I think we're good here. Anything else you want to test, or anything you specifically want me to try out locally?

@discorick
Copy link
Member Author

Just want to do a little bit more testing, just to make sure nothing in the current production logic regressed.

@discorick
Copy link
Member Author

Progress Indicator Flash:
untitled recording

Sticky Warning Flash:
untitled recording 1

@dahlbyk
Copy link
Member

dahlbyk commented Apr 13, 2016

I am content. :shipit:?

@discorick discorick deployed to huboard-rails-pr-267 April 13, 2016 22:19 Active
@discorick
Copy link
Member Author

With x for close:

image

@dahlbyk
Copy link
Member

dahlbyk commented Apr 14, 2016

With x for close:

Can the x be aligned with the first message row's text?
firefox_2016-04-14_00-23-21

@discorick
Copy link
Member Author

When the message overflows to an additional row the x starts to look pretty misplaced when its inline.

@discorick discorick deployed to huboard-rails-pr-267 April 14, 2016 18:59 Active
@dahlbyk
Copy link
Member

dahlbyk commented Apr 14, 2016

Keeps the sticky toast x from overlapping with long messages

What does it look like now?

@discorick
Copy link
Member Author

Can we consider this 'good enough' so I can rebase it into: #278 ?

@dahlbyk dahlbyk merged commit 2d88775 into master Apr 21, 2016
@dahlbyk
Copy link
Member

dahlbyk commented Apr 21, 2016

Can we consider this 'good enough' so I can rebase it into: #278 ?

👍

@dahlbyk dahlbyk mentioned this pull request May 13, 2016
@dahlbyk dahlbyk deleted the discorick/beef_up_the_flash_component branch May 26, 2016 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants