You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/19 22:31:05 UTC

[incubator-ponymail-foal] branch master updated (79e04d2 -> af8122b)

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git.


    from 79e04d2  Merge branch 'master' of github.com:apache/incubator-ponymail-foal
     new 1f67671  alphasort
     new af8122b  regen and fix

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 webui/js/ponymail.js          | 6 ++++--
 webui/js/source/list-index.js | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

[incubator-ponymail-foal] 02/02: regen and fix

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit af8122b42513237a619802739bff86306b922358
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 19 17:30:50 2021 -0500

    regen and fix
---
 webui/js/ponymail.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index a340066..00b4d9c 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -1932,7 +1932,7 @@ function ponymail_swipe(event) {
  Fetched from source/list-index.js
 ******************************************/
 
-let LOTS_OF_LISTS = 2; // Beyond 25 list domains and we start using the old phonebook.
+let LOTS_OF_LISTS = 25; // Beyond 25 list domains and we start using the old phonebook.
 let list_json = {}
 
 function list_index(state, json) {
@@ -1964,7 +1964,9 @@ function list_index(state, json) {
 
     let list_ul = document.getElementById('list_index_wide_lists');
     list_ul.textContent = "";
-    for (let domain_name in list_json.lists) {
+    let domains = Object.keys(list_json.lists);
+    domains.sort();
+    for (let domain_name of domains) {
         if (is_letter(domain_name, letter)) {
             console.log(domain_name);
             let li = new HTML('li', {});

[incubator-ponymail-foal] 01/02: alphasort

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 1f676718a6e1544d793b68d03114d4ac37de5d85
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 19 17:30:36 2021 -0500

    alphasort
---
 webui/js/source/list-index.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/webui/js/source/list-index.js b/webui/js/source/list-index.js
index bf55617..41b5d5f 100644
--- a/webui/js/source/list-index.js
+++ b/webui/js/source/list-index.js
@@ -47,7 +47,9 @@ function list_index(state, json) {
 
     let list_ul = document.getElementById('list_index_wide_lists');
     list_ul.textContent = "";
-    for (let domain_name in list_json.lists) {
+    let domains = Object.keys(list_json.lists);
+    domains.sort();
+    for (let domain_name of domains) {
         if (is_letter(domain_name, letter)) {
             console.log(domain_name);
             let li = new HTML('li', {});