Issue #98 open
Guillaume Englert
created an issue

Main menu with the different app entries (list-views, creation views...).

Comments (23)

  1. Guillaume Englert reporter

    refs #98 New page header which contains a new main menu. Entries are now grouped by features, and not by app ; the creation entries are grouped together. The new menu manages the user info, the log-out entry, the last viewed items. The global search is now integrated to this header, and propose quick results (complete result are proposed too).

    Largely based on a prototype from @Rémy Rakic & @Florian Fabre (HTML, CSS, JS).

    The old menu is still available, but it will probably be removed in Creme 1.8.

    API breaking: - settings.USE_STRUCT_MENU removed and the old tree menu API has been removed (it was hidden & probably used by no one). - In CremeAppConfig.register_menu(), the argument 'creme_menu' uses the new menu API ; you can get the old API with settings.OLD_MENU = True (False by default).

    → <<cset d18759e1e00d>>

  2. Guillaume Englert reporter

    refs #98 New page header which contains a new main menu. Entries are now grouped by features, and not by app ; the creation entries are grouped together. The new menu manages the user info, the log-out entry, the last viewed items. The global search is now integrated to this header, and propose quick results (complete result are proposed too).

    Largely based on a prototype from @Rémy Rakic & @Florian Fabre (HTML, CSS, JS).

    The old menu is still available, but it will probably be removed in Creme 1.8.

    API breaking: - settings.USE_STRUCT_MENU removed and the old tree menu API has been removed (it was hidden & probably used by no one). - In CremeAppConfig.register_menu(), the argument 'creme_menu' uses the new menu API ; you can get the old API with settings.OLD_MENU = True (False by default).

    → <<cset d18759e1e00d>>

  3. Guillaume Englert reporter

    refs #27 #98 The quick-creation forms cannot be opened in a new tab anymore. It displayed a crappy page without <body> or CSS.

    API breaking: - (internal) In the menu, the links for quick forms sore the URL in an attribute 'data-href' (& 'href' is '#' now). The javascript function creme.menu.openQuickForm() has been modified to use 'data-href'.

    → <<cset 831df17076bf>>

  4. Guillaume Englert reporter

    refs #27 #98 The quick-creation forms cannot be opened in a new tab anymore. It displayed a crappy page without <body> or CSS.

    API breaking: - (internal) In the menu, the links for quick forms sore the URL in an attribute 'data-href' (& 'href' is '#' now). The javascript function creme.menu.openQuickForm() has been modified to use 'data-href'.

    → <<cset 831df17076bf>>

  5. Guillaume Englert reporter

    refs #98 The old menu is deprecated.

    API breaking: - The old menu API (settings.OLD_MENU = True) is deprecated. - In templatetags : - In the library 'creme_menu' - The tags activated by <settings.OLD_MENU = True> are deprecated. - {% get_last_items_menu %} & {% get_prefered_menu %} are deprecated (their templates too). - In the library 'creme_search', {% get_search_panel %} (& its template) is deprecated. - The templatetags library "creme_quickforms" is deprecated. - In JavaScript : - creme.utils.confirmBeforeGo() is deprecated. - In creme.menu : - The variable 'actions' is deprecated. - The functions sideMenu()/NavIt()/HNavIt() are deprecated.

    → <<cset 589ba4d9aec9>>

  6. Guillaume Englert reporter

    refs #98 The old menu is deprecated.

    API breaking: - The old menu API (settings.OLD_MENU = True) is deprecated. - In templatetags : - In the library 'creme_menu' - The tags activated by <settings.OLD_MENU = True> are deprecated. - {% get_last_items_menu %} & {% get_prefered_menu %} are deprecated (their templates too). - In the library 'creme_search', {% get_search_panel %} (& its template) is deprecated. - The templatetags library "creme_quickforms" is deprecated. - In JavaScript : - creme.utils.confirmBeforeGo() is deprecated. - In creme.menu : - The variable 'actions' is deprecated. - The functions sideMenu()/NavIt()/HNavIt() are deprecated.

    → <<cset 589ba4d9aec9>>

  7. Guillaume Englert reporter

    refs #98 The old menu API is removed.

    API breaking: - The settings OLD_MENU & LOGO_URL have been removed. - The context processors 'creme.creme_core.context_processors.get_old_menu' & 'creme.creme_core.context_processors.get_logo_url' have been removed. - The old API (activated by settings.OLD_MENU == True) in creme_core.gui.menu has been removed (it was deprecated). - The model creme_core.models.PreferedMenuItem has been removed. - In templatetags - In "creme_menu": - The old menu API has been removed (it was deprecated) - {% get_prefered_menu %} & {% get_last_items_menu %} have been removed with teir templates (they were deprecated). - In "creme_search", {% get_search_panel %} has been removed (it was deprecated). - The templatetags library "creme_quickforms" has been removed (its only templatetag was deprecated). - In JavaScript : - In 'creme.utils', the functions 'openQuickForms()' & 'confirmBeforeGo()' have been removed (they were deprecated). - In 'creme.menu' : - The global variable 'actions' has been removed (it was deprecated). - The functions NavIt() & HNavIt() have been removed (they were deprecated) ; the lib "jquery.navIt.0.0.6.js'" has been removed too. - The function 'creme.menu.sideMenu()' has been removed (it was deprecated) ; the related lib "fg.menu" has been removed too. - In the credentials system, the hack with the fake app 'my_page' (access was always allowed) has been removed. - In 'creme_config' : - views/forms/bricks about PreferedMenuItem have been removed. - The bricks BlockPortalLocationsBrick & UserPreferredMenusBrick have been removed with their the related template.

    → <<cset 5c2f375fc65a>>

  8. Guillaume Englert reporter

    refs #98 The old menu API is removed.

    API breaking: - The settings OLD_MENU & LOGO_URL have been removed. - The context processors 'creme.creme_core.context_processors.get_old_menu' & 'creme.creme_core.context_processors.get_logo_url' have been removed. - The old API (activated by settings.OLD_MENU == True) in creme_core.gui.menu has been removed (it was deprecated). - The model creme_core.models.PreferedMenuItem has been removed. - In templatetags - In "creme_menu": - The old menu API has been removed (it was deprecated) - {% get_prefered_menu %} & {% get_last_items_menu %} have been removed with teir templates (they were deprecated). - In "creme_search", {% get_search_panel %} has been removed (it was deprecated). - The templatetags library "creme_quickforms" has been removed (its only templatetag was deprecated). - In JavaScript : - In 'creme.utils', the functions 'openQuickForms()' & 'confirmBeforeGo()' have been removed (they were deprecated). - In 'creme.menu' : - The global variable 'actions' has been removed (it was deprecated). - The functions NavIt() & HNavIt() have been removed (they were deprecated) ; the lib "jquery.navIt.0.0.6.js'" has been removed too. - The function 'creme.menu.sideMenu()' has been removed (it was deprecated) ; the related lib "fg.menu" has been removed too. - In the credentials system, the hack with the fake app 'my_page' (access was always allowed) has been removed. - In 'creme_config' : - views/forms/bricks about PreferedMenuItem have been removed. - The bricks BlockPortalLocationsBrick & UserPreferredMenusBrick have been removed with their the related template.

    → <<cset 5c2f375fc65a>>

  9. Log in to comment