Ben Keen (JIRA | 23 Oct 01:31 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Attachment: before.png

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>         Attachments: before.png, new-tray.png
>
>
> Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.
> See the attached screenshots for the before + after.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
(Continue reading)

Ben Keen (JIRA | 23 Oct 01:30 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Description: 
Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

See the attached screenshots for the before + after.

  was:Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like
Query Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>         Attachments: new-tray.png
>
>
(Continue reading)

Ben Keen (JIRA | 23 Oct 01:30 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Attachment: new-tray.png

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>         Attachments: new-tray.png
>
>
> Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

(Continue reading)

Ben Keen (JIRA | 23 Oct 01:29 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Attachment: Screen Shot 2014-10-22 at 3.40.15 PM.png

The new Add New Database tray.

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>
> Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

(Continue reading)

Ben Keen (JIRA | 23 Oct 01:29 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Attachment:     (was: Screen Shot 2014-10-22 at 3.40.15 PM.png)

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>
> Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

benkeen | 23 Oct 01:28 2014
Picon

[GitHub] couchdb-fauxton pull request: Add New Database now opens in tray, ...

GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/108

    Add New Database now opens in tray, not prompt

    This PR changes the Add New Database from a prompt() to a tray. 

     <at> seanbarclay, if you have time, would you mind taking a glance at this? I'll post a screenshot of the before +
after in the jira ticket:
    https://issues.apache.org/jira/browse/COUCHDB-2398

    ** this isn't ready to merge yet. I'd the appearance of the tray to be reviewed. **


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benkeen/couchdb-fauxton 2398-add-database-tray-added

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/108.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #108

----
commit 7b4f07a06dde3e5f1eceecaaeaf116cef1136f7a
(Continue reading)

ASF GitHub Bot (JIRA | 23 Oct 01:28 2014
Picon

[jira] [Commented] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


    [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180734#comment-14180734
] 

ASF GitHub Bot commented on COUCHDB-2398:
-----------------------------------------

GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/108

    Add New Database now opens in tray, not prompt

    This PR changes the Add New Database from a prompt() to a tray. 

     <at> seanbarclay, if you have time, would you mind taking a glance at this? I'll post a screenshot of the before +
after in the jira ticket:
    https://issues.apache.org/jira/browse/COUCHDB-2398

    ** this isn't ready to merge yet. I'd the appearance of the tray to be reviewed. **


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benkeen/couchdb-fauxton 2398-add-database-tray-added

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/108.patch
(Continue reading)

Ben Keen (JIRA | 23 Oct 01:13 2014
Picon

[jira] [Created] (COUCHDB-2401) Refactor: tray open/close events

Ben Keen created COUCHDB-2401:
---------------------------------

             Summary: Refactor: tray open/close events
                 Key: COUCHDB-2401
                 URL: https://issues.apache.org/jira/browse/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: 

FauxtonAPI.Events.trigger("APIbar:closeTray");

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:

FauxtonAPI.Events.trigger("Tray:open");
FauxtonAPI.Events.trigger("Tray:close");

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
(Continue reading)

Ben Keen (JIRA | 23 Oct 01:13 2014
Picon

[jira] [Assigned] (COUCHDB-2401) Refactor: tray open/close events


     [
https://issues.apache.org/jira/browse/COUCHDB-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen reassigned COUCHDB-2401:
---------------------------------

    Assignee: Ben Keen

> Refactor: tray open/close events
> --------------------------------
>
>                 Key: COUCHDB-2401
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2401
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: 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: 
> FauxtonAPI.Events.trigger("APIbar:closeTray");
> 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:
> FauxtonAPI.Events.trigger("Tray:open");
> FauxtonAPI.Events.trigger("Tray:close");
> They would then use that to subscribe to ANY tray's open event, and know to close itself if another's being
opened. 
(Continue reading)

Ben Keen (JIRA | 23 Oct 00:10 2014
Picon

[jira] [Updated] (COUCHDB-2398) Change "Add Database" popup to use a tray instead


     [
https://issues.apache.org/jira/browse/COUCHDB-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Keen updated COUCHDB-2398:
------------------------------
    Component/s: Fauxton

> Change "Add Database" popup to use a tray instead
> -------------------------------------------------
>
>                 Key: COUCHDB-2398
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2398
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>            Priority: Minor
>
> Right now the Add Database functionality uses a simple JS prompt(). Convert that to use a tray like Query
Options and API Url. Also, update the style of the Add New Database hover to match the other header links.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Ben Keen (JIRA | 23 Oct 00:09 2014
Picon

[jira] [Created] (COUCHDB-2400) Add constants.js file to Fauxton core

Ben Keen created COUCHDB-2400:
---------------------------------

             Summary: Add constants.js file to Fauxton core
                 Key: COUCHDB-2400
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2400
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Ben Keen

We hardcode things like JS fade in/out speeds in a lot of places. Add a constants.js file to the core and
expose it via FauxtonAPI (or maybe app...). That can contain app-wide constants like these.

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Gmane