Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Menu external links #4053

Merged
merged 43 commits into from
Mar 5, 2018
Merged

Feature: Menu external links #4053

merged 43 commits into from
Mar 5, 2018

Conversation

DawoudIO
Copy link
Contributor

@DawoudIO DawoudIO commented Mar 5, 2018

What's this PR do?

  • Adds new table
  • Maps table to ORM
  • APIs Over Object
  • Display on Left Menu

Screenshots (if appropriate)

image

What Issues does it Close?

Closes #2028

Any background context you want to provide?

Some users wants external links built into the CRM.

Where should the reviewer start?

  • review DB
  • Review APIs
  • Add links via API

How should this be manually tested?

  • Ensure links show up on the nav and work as expected

crossan007 and others added 30 commits January 12, 2018 21:14
@DawoudIO DawoudIO requested a review from crossan007 as a code owner March 5, 2018 00:13
@ghost ghost assigned DawoudIO Mar 5, 2018
@ghost ghost added the In Review label Mar 5, 2018
@DawoudIO DawoudIO modified the milestones: On-Deck, 3.0.0 Mar 5, 2018
CREATE TABLE `menu_links` (
`linkId` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`linkName` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`linkUri` text COLLATE utf8_unicode_ci NOT NULL,
Copy link
Contributor

Choose a reason for hiding this comment

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

how about linkOrder so they can be sequenced.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good

@DawoudIO DawoudIO mentioned this pull request Mar 5, 2018
@@ -25,7 +25,7 @@ private static function renderMenuItem(MenuItem $menuItem)
{
?>
<li>
<a href="<?= $menuItem->getURI() ?>">
<a href="<?= $menuItem->getURI() ?>" <?= $menuItem->isExternal() ? "target='_blank'" : "" ?>>
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@crossan007
Copy link
Contributor

this looks good - merge when you're happy with it.

Still need a way to create links.

@DawoudIO DawoudIO merged commit ff88ad9 into master Mar 5, 2018
@ghost ghost removed the In Review label Mar 5, 2018
@DawoudIO DawoudIO deleted the feature/menu-external-links branch March 5, 2018 02:44
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.

2 participants