[Bps-public-commit] RT-Extension-rt_cpan_org branch, rt4, updated. 2e4cbc13e30888d279130a2e6e8ee1bbd9d75d15

Thomas Sibley trs at bestpractical.com
Fri Mar 22 20:43:22 EDT 2013


The branch, rt4 has been updated
       via  2e4cbc13e30888d279130a2e6e8ee1bbd9d75d15 (commit)
       via  9d259ed45e9cfbb2594764fe3d1749329a3f7c90 (commit)
       via  902f88b93c7524c489cf8058fc5997ab6068d05e (commit)
       via  cafc3b73f1d5da6726feb1f85fb04998bf69c4d1 (commit)
      from  6a40c4c222af7049fbd8c08162843f709f92022f (commit)

Summary of changes:
 html/NoAuth/css/rt.cpan.org.css | 11 +++++++++++
 html/NoAuth/js/rt.cpan.org.js   |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit cafc3b73f1d5da6726feb1f85fb04998bf69c4d1
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 22 17:34:12 2013 -0700

    Slightly better autocomplete perf by waiting 100ms and requiring 2 chars

diff --git a/html/NoAuth/js/rt.cpan.org.js b/html/NoAuth/js/rt.cpan.org.js
index c54c9fc..0b1ac6c 100644
--- a/html/NoAuth/js/rt.cpan.org.js
+++ b/html/NoAuth/js/rt.cpan.org.js
@@ -15,7 +15,9 @@ jQuery(function(){
         var input = jQuery(this);
         var opts  = {
             source: <% RT->Config->Get('WebPath') |n,j%>
-                    + "/Helpers/Autocomplete/Queues?max=20"
+                    + "/Helpers/Autocomplete/Queues?max=20",
+            minLength: 2,
+            delay: 100
         };
 
         if (input.attr("data-autocomplete-params") != null)

commit 902f88b93c7524c489cf8058fc5997ab6068d05e
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 22 17:34:35 2013 -0700

    Indicate with a small spinner that we're autocompleting

diff --git a/html/NoAuth/css/rt.cpan.org.css b/html/NoAuth/css/rt.cpan.org.css
index bbd2688..698fa67 100644
--- a/html/NoAuth/css/rt.cpan.org.css
+++ b/html/NoAuth/css/rt.cpan.org.css
@@ -125,3 +125,11 @@ a { text-decoration: underline; }
 #page-navigation {
     z-index: 99;
 }
+
+.ui-autocomplete-loading {
+    background: url(<% RT->Config->Get("WebPath") %>/NoAuth/images/jquery_ui/ui-anim_basic_16x16.gif) right center no-repeat;
+}
+
+.select-queue.ui-autocomplete-input {
+    padding-right: 20px;  /* don't type under the spinner */
+}

commit 9d259ed45e9cfbb2594764fe3d1749329a3f7c90
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 22 17:38:51 2013 -0700

    Import a local/ callback into this extension for wider top actions

diff --git a/html/NoAuth/css/rt.cpan.org.css b/html/NoAuth/css/rt.cpan.org.css
index 698fa67..a274bc5 100644
--- a/html/NoAuth/css/rt.cpan.org.css
+++ b/html/NoAuth/css/rt.cpan.org.css
@@ -133,3 +133,6 @@ a { text-decoration: underline; }
 .select-queue.ui-autocomplete-input {
     padding-right: 20px;  /* don't type under the spinner */
 }
+
+#topactions input[type=text], #topactions select { width: 10em; }
+#topactions button, #topactions input[type=submit], #topactions .button { width: auto }

commit 2e4cbc13e30888d279130a2e6e8ee1bbd9d75d15
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Mar 22 17:41:40 2013 -0700

    Adjust selector for updated extension and RT 4

diff --git a/html/NoAuth/css/rt.cpan.org.css b/html/NoAuth/css/rt.cpan.org.css
index a274bc5..c0b8b31 100644
--- a/html/NoAuth/css/rt.cpan.org.css
+++ b/html/NoAuth/css/rt.cpan.org.css
@@ -134,5 +134,5 @@ a { text-decoration: underline; }
     padding-right: 20px;  /* don't type under the spinner */
 }
 
-#topactions input[type=text], #topactions select { width: 10em; }
+#topactions input[name=q], #topactions .select-queue { width: 10em; }
 #topactions button, #topactions input[type=submit], #topactions .button { width: auto }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list