Skip to content

Releases: verbb/navigation

2.0.4

25 Aug 06:23
Compare
Choose a tag to compare

Added

  • Add site dropdown to navigation index.
  • Add missing English Translations.

Fixed

  • Fix getSiteIds() not returning correctly for just the enabled sites.
  • Fix an error when uninstalling.

1.4.28

15 Jul 01:16
Compare
Choose a tag to compare

Fixed

  • Fix an error when resaving nodes for a site.

2.0.3

02 Jul 02:23
Compare
Choose a tag to compare

Added

  • Changes from 1.4.27.

1.4.27

02 Jul 02:08
Compare
Choose a tag to compare

Fixed

  • Fix partial URLs incorrectly marked as active /newsletter and /news.
  • Fix duplicated nodes when not propagating nodes, when a new site is enabled in the nav settings, and existing nodes already exist.

2.0.2

01 Jun 04:52
Compare
Choose a tag to compare

Fixed

  • Fix an error when migrating non-multisites from Craft 3.
  • Fix incorrect permission check for structure items, when editing nodes.
  • Fix an error when trying to fetch parent nodes for a non-multi-site install when editing nodes.

2.0.1

17 May 23:57
Compare
Choose a tag to compare

Added

  • Added active, target and element items to buildNavTree.
  • Added French translation (thanks @pascalminator).
  • Added hasChildrenClass setting to navigation.render. Now also includes a nav-children class on <li> elements that have children.

Changed

  • Using navgation.render() now uses eager-loading by default.
  • Move Add a … strings to navigation translation strings.

Fixed

  • Fixed missing instruction text when editing a navigation.
  • Fixed node.hasActiveChild returning true incorrectly.

2.0.0

06 May 01:47
Compare
Choose a tag to compare

Added

  • When editing nodes, you can now toggle the status of nodes, view trashed nodes, and restore nodes.
  • When editing nodes, you can now duplicate, duplicate with descendants, delete, delete with descendants with multiple nodes.
  • When editing nodes, you can now add UI elements to node layouts.
  • Added the ability to set the default placement of new nodes, when adding them to a navigation.
  • Added the ability to set the color for custom nodes and registered elements, which show as the color indicator on the type of node in the navigation builder.
  • Add nested node support for Feed Me.
  • Add checks for registering events for performance.
  • Add project-config/rebuild support.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP 8.0.2+.
  • Now requires Craft 4.0.0+.
  • Now requires Navigation 1.4.24 in order to update from Craft 3.
  • Redesigned UI for editing navigation nodes.
  • When editing nodes, toggling the site is much quicker.
  • When editing nodes, we now lazy-load collapsed nodes to improve performance.
  • Editing nodes is now performed through slide-out menu, instead of HUD. This gives users much more room to edit content.
  • Editing nodes now properly supports multi-tabs for custom fields and UI elements.
  • All node attributes are now native fields. They can be included or excluded as needed, with the bonus of supporting conditions (show certain attributes based on user permissions). This can help simplify and streamline editing nodes for users.
  • When editing nodes, URL Suffix, Classes and Custom Attributes are now in an "Advanced" tab.
  • Changed Node::isManual() to Node::isCustom().
  • Custom URL nodes are now a Node Type - verbb\navigation\nodetypes\CustomType.
  • Rename base plugin methods.
  • Support new DefineElementInnerHtmlEvent event for modifying element index html.

Fixed

  • Fix an error with GraphQL.
  • Fix an error with incorrect NodeType casting.
  • Fix an error if Commerce is is enabled, but doesn’t exist.
  • Fix some scenarios in the navigation builder, when you were unable to nest nodes under another node, or be able to un-nest.
  • Fix an error when trying to set a new nodes parent.
  • Fix a nested node having its level reset when saving.
  • Fix another legacy site settings check.
  • Fix custom node’s URLs being blank.
  • Fix an error with Feed Me beta.
  • Fix icon alignment for node table rows.
  • Fix being unable to save non-element type nodes.
  • Fix lack of checking for node element in some places.
  • Fix an error when trying to create a navigation on a non-multi-site.

Removed

  • Removed NodeType::hasClasses() and NodeType::hasAttributes() which are now controlled by native fields.

2.0.0-beta.5

03 May 12:00
Compare
Choose a tag to compare

Added

  • Add nested node support for Feed Me.
  • Add checks for registering events for performance.
  • Add project-config/rebuild support.
  • Add archiveTableIfExists() to install migration.

Changed

  • Rename base plugin methods.
  • Support new DefineElementInnerHtmlEvent event for modifying element index html.

Fixed

  • Fix custom node’s URLs being blank.
  • Fix an error with Feed Me beta.
  • Fix icon alignment for node table rows.
  • Fix being unable to save non-element type nodes.
  • Fix lack of checking for node element in some places.

2.0.0-beta.4

28 Apr 10:50
Compare
Choose a tag to compare

Fixed

  • Fix an error when trying to set a new nodes parent.
  • Fix a nested node having its level reset when saving.
  • Fix another legacy site settings check.

2.0.0-beta.3

28 Apr 01:20
Compare
Choose a tag to compare

Added

  • When editing nodes, you can now toggle the status of nodes, view trashed nodes, and restore nodes.
  • When editing nodes, you can now duplicate, duplicate with descendants, delete, delete with descendants with multiple nodes.
  • When editing nodes, you can now add UI elements to node layouts.
  • Added the ability to set the default placement of new nodes, when adding them to a navigation.
  • Added the ability to set the color for custom nodes and registered elements, which show as the color indicator on the type of node in the navigation builder.

Changed

  • Redesigned UI for editing navigation nodes.
  • When editing nodes, toggling the site is much quicker.
  • When editing nodes, we now lazy-load collapsed nodes to improve performance.
  • Editing nodes is now performed through slide-out menu, instead of HUD. This gives users much more room to edit content.
  • Editing nodes now properly supports multi-tabs for custom fields and UI elements.
  • All node attributes are now native fields. They can be included or excluded as needed, with the bonus of supporting conditions (show certain attributes based on user permissions). This can help simplify and streamline editing nodes for users.
  • When editing nodes, URL Suffix, Classes and Custom Attributes are now in an "Advanced" tab.
  • Changed Node::isManual() to Node::isCustom().
  • Custom URL nodes are now a Node Type - verbb\navigation\nodetypes\CustomType.

Fixed

  • Fix some scenarios in the navigation builder, when you were unable to nest nodes under another node, or be able to un-nest.

Removed

  • Removed NodeType::hasClasses() and NodeType::hasAttributes() which are now controlled by native fields.