Skip to main content

Menu package for cpskin

Project description

Introduction

Menu package for cpskin

Warning

This package depends on cpskin.theme but does not install the theme automatically except in tests.

You better have to install the cpskin.theme via “control panel/theme”

Tests

This package is tested using Travis CI. The current status is :

https://travis-ci.org/IMIO/cpskin.menu.png

Robot tests

Run all tests

bin/test

Run specific tests

You can launch the robot server with the command:

bin/robot-server cpskin.menu.testing.CPSKIN_MENU_ROBOT_TESTING

And launch the tests:

bin/robot cpskin/menu/tests/robot/<yourfile>.robot

You can sandbox on http://localhost:55001/plone/

Contributors

  • Laurent Lasudry, Original Author [Affinitic]

  • Luca Bellenghi [RedTurtle]

  • François Bruynbroeck [Affinitic]

  • Martin Peeters [Affinitic]

  • Jean-François Roche [Affinitic]

  • Gillian Sampont [Affinitic]

  • Giacomo Spettoli [RedTurtle]

  • Benoît Suttor [IMIO]

  • Leonardo J. Caballero G. [Plone Venezuela]

Changelog

0.7.2 (2020-09-14)

  • WEB-3355: Fix aria-expanded property when the menu is closed [mpeeters]

0.7.1 (2020-08-24)

  • Release. [bsuttor]

0.7.0 (2020-08-24)

  • New release (Previous failed) [boulch]

0.7.0b3 (2020-08-24)

  • WEB-3355 : Improve menu accessibility by adding aria-expanded property [mpeeters]

0.7.0b2 (2020-06-04)

  • WEB-3329: Improve accessibility for menu by : - Setting the focus on the first element of the submenu - When using back tab or upper arrow on first submenu entry, setting the focus back to the first navigation level - When using tab or down arrow on last submenu entry, setting the focus to the next entry of the first navigation level [mpeeters]

  • WEB-3329: tabindex must be always equal to zero to respect natural order for accessibility [mpeeters]

0.7.0b1 (2020-05-28)

  • WEB-3329: Set the focus on the submenu when the first level is clicked [mpeeters]

  • WEB-3329: Revert Improve accessibility by opening first level menu links on enter [mpeeters]

  • Remove tabindex on globalnav [mpeeters]

0.6.9 (2020-05-26)

  • WEB-3329: Improve accessibility by opening first level menu links on enter [mpeeters]

  • Moved these translations into cpskin.locales package [macagua]

  • Add more improvements for i18n support [macagua]

0.6.8 (2019-07-16)

  • Support of target_blank / target = “_blank” href property on a link portal_type. . Avoid opening target in a blank windows when user have permission to modify portal content. . update test [cboulanger]

0.6.7 (2019-04-08)

  • Invalidate menu cache when current, old or new workflow state is published_and_shown. [bsuttor]

0.6.6 (2019-02-11)

  • Handle special cases when we don’t get a request at ObjectAddedEvent (example : when an object is added at Zope startup) [laulaz]

0.6.5 (2018-01-22)

  • Try except api.portal.get(), there is no plone site when plone site is installed. [bsuttor]

0.6.4 (2018-01-03)

  • Bad release. [bsuttor]

0.6.3 (2018-01-03)

  • Check WorkflowException when invalidate cache for testing. [bsuttor]

0.6.2 (2017-12-20)

  • Invalidate menu only if obj is published_and_shown. [bsuttor]

0.6.1 (2017-12-20)

  • Delete underline to portal-globalnav-cpskinmenu .selected a, .portal-globalnav-cpskinmenu-tabs .selected a, .portal-globalnav-cpskinmenu .navTreeItemInPath > span a [mgennart]

0.6.0 (2017-10-06)

  • First click on top menu item opens its submenu, second click on top menu item closes its submenu. [gotcha]

  • Add ‘menu-activated’ class on opened menu <li> [laulaz]

0.5.3 (2017-09-20)

  • Add conditionnal description on portal tabs : #17333 [laulaz]

0.5.2 (2017-08-25)

  • Hide advanced breadcrumbs when loading page [gotcha]

  • Sort Direct Access links alphabetically [laulaz]

0.5.1 (2016-09-16)

  • Fix menu items in the path [gotcha]

0.5.0 (2016-08-09)

  • Move CPSkin actions to a new dedicated menu [laulaz]

0.4.10 (2016-07-04)

  • No menu should be opened when accessing root of the portal. [gotcha]

0.4.9 (2016-06-29)

  • Menu should be based on navigation root. [gotcha]

0.4.8 (2016-06-29)

  • Finer grained cachekey on domain and language [jfroche, gotcha]

0.4.7 (2016-06-22)

  • Fix open/close of top level submenu for mobile [gotcha]

0.4.6 (2016-06-16)

  • Tune mobile menu CSS [mgennart]

  • Add tests without any caching to debunk issues with caching. [gotcha]

  • Mobile menu should not load a page when at first level folders, but rather open next submenu. [gotcha]

  • Tune caching. [gotcha]

  • Move some computation from server to client to improve caching. [gotcha]

0.4.5 (2016-03-08)

  • Fix Unicode Decode Error in vocabulary. [bsuttor]

  • Fixing cpskin.policy tests. [bsuttor]

  • Fixing tests. [bsuttor, schminitz]

0.4.4 (2015-09-29)

  • Add persistence to submenu using cpskin parameter (affinitic #6267) [schminitz]

0.4.3 (2015-09-28)

  • Close level 2 menu on outside click. [schminitz]

0.4.2 (2015-08-18)

  • New way to get if multilingual site or not for vocabulary. Indeed, plone.app.multilingual may be in buildout but not installed on Plone. [bsuttor]

0.4.1 (2015-03-17)

  • Fix last level menu vocabulary for multilingual websites : #10397 [mpeeters]

0.4.0 (2015-03-05)

  • Load submenu js into javascript_registry IMIO refs #9878

0.3.3 (2014-11-18)

  • Fix mobile error.

0.3.2 (2014-10-22)

  • Fix override zcml error.

0.3 (2014-10-07)

  • Remove MenuTools viewlet (affinitic #6023)

  • Remove » in menu (affinitic #6025)

  • Move media menu.css in menu_mobile.css [FBruynbroeck]

0.2 (2014-08-21)

  • Add a vocabulary for the last level navigation [mpeeters]

0.1 (2014-07-02)

  • Change desktop menu behaviour. [giacomos]

  • Change mobile menu behaviour clicking on third level. [lucabel]

  • Switch between mobile view and desktop view only with css media query. [lucabel]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cpskin.menu-0.7.2.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

cpskin.menu-0.7.2-py2-none-any.whl (64.4 kB view details)

Uploaded Python 2

File details

Details for the file cpskin.menu-0.7.2.tar.gz.

File metadata

  • Download URL: cpskin.menu-0.7.2.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for cpskin.menu-0.7.2.tar.gz
Algorithm Hash digest
SHA256 b8036ef0a0cd91ddc1060cb5e273a7c6b520915c59d342f31b10155e0fd46720
MD5 cf62d67c4e4adc8641fee9501d43dcc5
BLAKE2b-256 f94e779d085486e9e72c87f1d20228a951d70d7d0461c1989dbadf9a21e12314

See more details on using hashes here.

File details

Details for the file cpskin.menu-0.7.2-py2-none-any.whl.

File metadata

  • Download URL: cpskin.menu-0.7.2-py2-none-any.whl
  • Upload date:
  • Size: 64.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for cpskin.menu-0.7.2-py2-none-any.whl
Algorithm Hash digest
SHA256 9b7187da91e5f039e21dbaa9bc8d97b41bd978643b938f6ecc771b7d7b016231
MD5 ec4ec35b15a79bd530339cebcf0833e2
BLAKE2b-256 af730e5e99956237515fbefc53aab501034938b2fa7348372b5c1418bde81862

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page