From 20861bbb0daa21e14b66af91a5fe3ccbcb70af6a Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Fri, 30 Nov 2018 22:10:05 +0100 Subject: [PATCH 01/30] Add .idea directory to .ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 476bcfa..b0b6314 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules package-lock.json registry-data +.idea \ No newline at end of file From 3b1b6f2e721876c273c426b1154e0d493c2e273f Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Fri, 30 Nov 2018 22:33:34 +0100 Subject: [PATCH 02/30] Add new "tag-history" column for tag overview --- src/index.html | 1 + src/style.css | 11 ++ src/tags/tag-history.tag | 21 ++++ src/tags/taglist.tag | 211 +++++++++++++++++++++------------------ 4 files changed, 145 insertions(+), 99 deletions(-) create mode 100644 src/tags/tag-history.tag diff --git a/src/index.html b/src/index.html index f002241..fe1b62b 100644 --- a/src/index.html +++ b/src/index.html @@ -39,6 +39,7 @@ + diff --git a/src/style.css b/src/style.css index 9942654..a6c4895 100644 --- a/src/style.css +++ b/src/style.css @@ -322,6 +322,17 @@ select { padding: 12px 5px; } +.show-tag-history { + width: 30px; + text-align: center; +} + +.remove-tag { + padding: 12px 5px; + width: 30px; + text-align: center; +} + .copy-to-clipboard a:hover { cursor: pointer; } \ No newline at end of file diff --git a/src/tags/tag-history.tag b/src/tags/tag-history.tag new file mode 100644 index 0000000..82ef5f5 --- /dev/null +++ b/src/tags/tag-history.tag @@ -0,0 +1,21 @@ + + + + history + + \ No newline at end of file diff --git a/src/tags/taglist.tag b/src/tags/taglist.tag index 3f68790..1093a12 100644 --- a/src/tags/taglist.tag +++ b/src/tags/taglist.tag @@ -1,107 +1,120 @@ - - -
- - arrow_back - -

Tags of { registryUI.name() + '/' + registryUI.taglist.name }

-
-
- -
- - - - - - - - - - - - - - - - - - - - - -
RepositoryCreation dateSizeTag
{ image.name } - - - -
-
- - + Tag + + History + + + + + + { image.name } + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file From 3f860cd0b596d076b4acbbf19bcc4fc0abcc0f4c Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Sat, 1 Dec 2018 00:23:14 +0100 Subject: [PATCH 03/30] Define taghistory object --- src/scripts/script.js | 1 + src/scripts/static.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/scripts/script.js b/src/scripts/script.js index 25e9de7..9790be4 100644 --- a/src/scripts/script.js +++ b/src/scripts/script.js @@ -110,6 +110,7 @@ registryUI.decodeURI = function(url) { registryUI.isImageRemoveActivated = true; registryUI.catalog = {}; registryUI.taglist = {}; +registryUI.taghistory = {}; window.addEventListener('DOMContentLoaded', function() { riot.mount('*'); diff --git a/src/scripts/static.js b/src/scripts/static.js index 744fa40..45a32ed 100644 --- a/src/scripts/static.js +++ b/src/scripts/static.js @@ -24,6 +24,7 @@ registryUI.name = function() { registryUI.isImageRemoveActivated = true; registryUI.catalog = {}; registryUI.taglist = {}; +registryUI.taghistory = {}; window.addEventListener('DOMContentLoaded', function() { riot.mount('*'); From 96a926652b024a8202898314e746bc5f45c078e3 Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Sat, 1 Dec 2018 00:23:38 +0100 Subject: [PATCH 04/30] Include tag-history-button --- src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.html b/src/index.html index fe1b62b..33eec22 100644 --- a/src/index.html +++ b/src/index.html @@ -39,6 +39,7 @@ + From fe5e96248809215e731efb01ba71cc81b041cdbb Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Sat, 1 Dec 2018 00:24:28 +0100 Subject: [PATCH 05/30] Format code --- src/tags/catalog.tag | 114 +++++++++++++++++++++---------------------- src/tags/taglist.tag | 2 +- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/src/tags/catalog.tag b/src/tags/catalog.tag index 31f3317..ed99cb1 100644 --- a/src/tags/catalog.tag +++ b/src/tags/catalog.tag @@ -1,69 +1,69 @@ - - -
-

Repositories of { registryUI.name() }

-
-
- -
-
    -
  • + + +
    +

    Repositories of { registryUI.name() }

    +
    +
    + +
    +
      +
    • send { item } -
    • -
    -
    +
  • +
+
- - + +
diff --git a/src/tags/taglist.tag b/src/tags/taglist.tag index 1093a12..25baae8 100644 --- a/src/tags/taglist.tag +++ b/src/tags/taglist.tag @@ -57,7 +57,7 @@ along with this program. If not, see . - + From c857bd8db61517dee87a0bfb253b19ea786ca052 Mon Sep 17 00:00:00 2001 From: Lennart Blom Date: Sat, 1 Dec 2018 00:24:58 +0100 Subject: [PATCH 06/30] Add functionality for new tag history view --- src/tags/app.tag | 377 +++++++++++++++++--------------- src/tags/tag-history-button.tag | 29 +++ src/tags/tag-history.tag | 96 ++++++-- 3 files changed, 308 insertions(+), 194 deletions(-) create mode 100644 src/tags/tag-history-button.tag diff --git a/src/tags/app.tag b/src/tags/app.tag index 4409b75..8ab68a0 100644 --- a/src/tags/app.tag +++ b/src/tags/app.tag @@ -1,200 +1,217 @@ -
- - - - -
-
- - - - - - -
-