Tapestry 5
  1. Tapestry 5
  2. TAP5-678

Allow blackbird to be disabled in production mode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      blackbird's use of F2 to show the console is interfering with our application which uses F-keys as hotkeys to access various parts of the application.

      It should be possible to either completely disable blackbird in production mode (avoiding unnecessary .css and .js downloads) or at least disable the console hotkey.

        Activity

        Hide
        rektide de la fey added a comment -

        i've generally found blackbird to be a nuisance that swallows important information on errors i'd rather be seeing/debugging on, and have developed a script to circumnavigate blackbird. note that this doesnt help avoid the 20K of downloads imposed by blackbird, it simply alters the Tapestry's behavior at runtime. none the less, i've found it extremely useful and am posting it here, and you're free to use the script as you see fit. http://rektide.voodoowarez.com/2010/8/blackbird.circumnavigator.js

        Show
        rektide de la fey added a comment - i've generally found blackbird to be a nuisance that swallows important information on errors i'd rather be seeing/debugging on, and have developed a script to circumnavigate blackbird. note that this doesnt help avoid the 20K of downloads imposed by blackbird, it simply alters the Tapestry's behavior at runtime. none the less, i've found it extremely useful and am posting it here, and you're free to use the script as you see fit. http://rektide.voodoowarez.com/2010/8/blackbird.circumnavigator.js
        Hide
        Taylor Mathewson added a comment - - edited

        This also affects 5.1. Any chance of backporting the fix there?

        Show
        Taylor Mathewson added a comment - - edited This also affects 5.1. Any chance of backporting the fix there?
        Igor Drobiazko made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Hide
        Howard M. Lewis Ship added a comment -

        See comments in the mailing list ... simply skipping blackbird.js leaves gaps in tapestry.js that refer to Tapestry.Console.debug() & etc.

        Show
        Howard M. Lewis Ship added a comment - See comments in the mailing list ... simply skipping blackbird.js leaves gaps in tapestry.js that refer to Tapestry.Console.debug() & etc.
        Igor Drobiazko made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.2.0.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Igor Drobiazko made changes -
        Field Original Value New Value
        Assignee Igor Drobiazko [ igor.drobiazko ]
        Hide
        Andy Blower added a comment -

        I think it's important to be able to completely disable the blackbird console for production to avoid the unnecessary .css and .js downloads (12.1K and 7.1K) for live sites.

        Show
        Andy Blower added a comment - I think it's important to be able to completely disable the blackbird console for production to avoid the unnecessary .css and .js downloads (12.1K and 7.1K) for live sites.
        Paudi Moriarty created issue -

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Paudi Moriarty
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development