Closed jrubenoff closed 8 years ago
Made a couple commits, go ahead and review those :smile:
One issue I'd like to resolve before we merge:
The added padding for the with_back_button
modifier means that the page header's height changes when there's a back arrow. This will look janky in an application context. Visit http://dvlcore.dev/regression/header_one for an example.
Alright, fixed... looks good here. Not sure how it will look in Screendoor, but we can adjust as we go.
:+1: Looks great.
Let's do the PR to implement in Screendoor before merging this commit. No reason to merge before we know if it's ready.
There's not really any rush here... but I just went and rebased this off of master.
Some issues:
Thanks for catching! Just fixed all of 'em.
On Friday, I added #207, as well as multi-level breadcrumbs, like we discussed in dobtco/screendoor-v2#2811.
Now to implement in Screendoor...
Looks great. I agree, this is ready for implementation in Screendoor. I'll take a stab at that?
A couple of quick points for feedback:
Clarified the header styles.
Re: the carets, everything's kind of a mess on mobile already. Would rather address that for the whole style guide in a future sprint.
I was actually wondering about the difference between using .button_uppercase
and a regular .button
. (Should have been clearer, sorry!)
Anyway, this looks great. We'll need to rebase before merging, but let's wait on https://github.com/dobtco/screendoor-v2/issues/2811.
This is nitpicking, but it can't actually be a "confirmation modal". The beforeunload
event is natively handled by the browser, so in the cases that we can intercept it w/ Turbolinks, we try to emulate it as closely as possible. Otherwise, the behavior would be different depending on how the user was trying to leave the page.
Rebasing in https://github.com/dobtco/dvl-core/pull/226.
Closes #172
Two links in the header:
In Screendoor, the "root level" is always the project.
On most Screendoor pages, the root level and the Back button will link to the same thing. But the two separate links come in handy when you go multiple levels deep. For example, you would see this when editing a message preset: