couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Keen (JIRA)" <>
Subject [jira] [Created] (COUCHDB-2401) Refactor: tray open/close events
Date Wed, 22 Oct 2014 23:13:33 GMT
Ben Keen created COUCHDB-2401:

             Summary: Refactor: tray open/close events
                 Key: COUCHDB-2401
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Ben Keen

Small thing, but significant. Right now we're explicitly telling other components to do things,
like in the Query Options / API Bar that tell eachother to close if they're about to be opened:


Now that the Add New Database is going to be a tray as well, change this to make it more generic.
Namely, all of them would publish the same events:


They would then use that to subscribe to ANY tray's open event, and know to close itself if
another's being opened. 

[Also, the event string itself should be placed in the new constants.js].

This message was sent by Atlassian JIRA

View raw message