Skip to content

Decoupled flyout region#59

Open
darko-hrgovic wants to merge 44 commits into
ubc-web-services:developfrom
darko-hrgovic:flyout
Open

Decoupled flyout region#59
darko-hrgovic wants to merge 44 commits into
ubc-web-services:developfrom
darko-hrgovic:flyout

Conversation

@darko-hrgovic

Copy link
Copy Markdown

Decoupled flyout region on top of drawer nav in develop branch

…primary nav is a good idea if choosing not to use the primary nav in the drawer, otherwise primary nav goes away entirely
…s by creating a separate containing div for the flyout
… where secondary menu was not expanding on click

@joelpittet joelpittet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Any chance you could toss in a photo of what this is in the pull request?

Comment thread .gitignore
# Postcss-fied CSS files
postcss/

.DS_Store

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd suggest moving some of the clean-up changes to their own issue so they can be reviewed as one thing.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Understood.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I've pushed the changes wrt to your comments, Joel. Thanks very much for reviewing.

Comment thread templates/page/page.tpl.php Outdated
</div><!-- /#content -->
</div><!-- /#main -->
<?php print $fluidcontainerend; ?>
<?php // print $fluidcontainerend; ?>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These comments worry me a bit, usually don't like leaving commented out code.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

We override this in our child theme because it breaks pages that want full width backgrounds, but these should be uncommented in megatron, which I've done in my flyout branch and will do in develop fork as a new pull request.

Comment thread theme-settings.php
),
);

$form['clf_navigation_option']['clf_sticky_option'] = array(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What happened to this hunk of code? I don't see "clf_navoption" for example in the new code hunks

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This was moved down with the other $form['clf_navigation_option'] options

Comment thread theme-settings.php Outdated
'#type' => 'checkbox',
'#title' => t('Use the primary menu in the off-canvas drawer?'),
'#description' => t('This is optional in case you want to use additonal content blocks, such as a menu block, in the off-canvas drawer region.'),
'#description' => t('If not chosen, you should use a menu block or alternate method for main navigation in the off-canvas drawer region.'),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I agree that the wording could use clarification, I have a hang-up on "chosen" but otherwise +1

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I changed it to "If you do not use the primary menu in the drawer, you should use a menu block or alternate method for main navigation in the off-canvas drawer region." Hope this is better.

@occupant occupant mentioned this pull request Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants