Tapestry 5
  1. Tapestry 5
  2. TAP5-288

Replace JavaScript client-side logging with Blackbird

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.2
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Blackbird is a JS library:

      http://www.gscottolson.com/blackbirdjs/

      MIT license. Very simple and nice, prettier than what I've cobbled together for T5. Actually easier than using the FireBug console.

      1. bbird.diff
        23 kB
        Ben Tomasini
      2. bbird-resources-binary.tar
        20 kB
        Ben Tomasini

        Issue Links

          Activity

          Hide
          Massimo Lusetti added a comment -

          Howard ... where did you find all this nice libraries?

          Show
          Massimo Lusetti added a comment - Howard ... where did you find all this nice libraries?
          Hide
          Howard M. Lewis Ship added a comment -

          I read blogs, a chat with people.

          Show
          Howard M. Lewis Ship added a comment - I read blogs, a chat with people.
          Hide
          Markus Joschko added a comment -

          Is there a real advantage over firebug/firebug light? OK, it looks definitely better but it lacks the more advanced features of firebug. And as most web developers nowadays I am heavily dependent on firebug and would appreciate the log messages of tapestry next to my own in firebug instead in an extra window.

          Show
          Markus Joschko added a comment - Is there a real advantage over firebug/firebug light? OK, it looks definitely better but it lacks the more advanced features of firebug. And as most web developers nowadays I am heavily dependent on firebug and would appreciate the log messages of tapestry next to my own in firebug instead in an extra window.
          Hide
          Ben Tomasini added a comment -

          I am working on this now. Should have a patch soon. Firebug will be used if console is enabled.

          Show
          Ben Tomasini added a comment - I am working on this now. Should have a patch soon. Firebug will be used if console is enabled.
          Hide
          Ben Tomasini added a comment -

          Patch, including blackbird library 1.0.

          Show
          Ben Tomasini added a comment - Patch, including blackbird library 1.0.
          Hide
          Ben Tomasini added a comment -

          Binary resources not included in the diff. Simply untar in the root of the tapestry5 project.

          Show
          Ben Tomasini added a comment - Binary resources not included in the diff. Simply untar in the root of the tapestry5 project.
          Hide
          Ben Tomasini added a comment -

          One thing that needs to be discussed is how to actually reveal the blackbird console. There does not seem to be a method to make the console visible, only to toggle its visibility. Pressing <F2> toggles the visibility. Either we can leave this behavior as is and document the need to press <F2>, or we can put a small debug icon in a div in the corner of the page which will also toggle the visibility, giving some visible cue to the developer.

          Once this is decided I can also put together the documentation.

          Show
          Ben Tomasini added a comment - One thing that needs to be discussed is how to actually reveal the blackbird console. There does not seem to be a method to make the console visible, only to toggle its visibility. Pressing <F2> toggles the visibility. Either we can leave this behavior as is and document the need to press <F2>, or we can put a small debug icon in a div in the corner of the page which will also toggle the visibility, giving some visible cue to the developer. Once this is decided I can also put together the documentation.
          Hide
          Howard M. Lewis Ship added a comment -

          Didn't use the patch ... I did some significant rewriting of the JS code to make it work better within Tapestry and to reduce its size by making use of Prototype.

          Show
          Howard M. Lewis Ship added a comment - Didn't use the patch ... I did some significant rewriting of the JS code to make it work better within Tapestry and to reduce its size by making use of Prototype.

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development