whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: begin to capture a list of "insider secrets"
Date Tue, 16 Apr 2019 23:51:26 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b2ddfc  begin to capture a list of "insider secrets"
8b2ddfc is described below

commit 8b2ddfce2e01225e1a2d01e000eaa9c5a256b1d3
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Apr 16 19:51:02 2019 -0400

    begin to capture a list of "insider secrets"
---
 www/board/agenda/views/app.js.rb           |  1 +
 www/board/agenda/views/pages/help.js.rb    |  3 +++
 www/board/agenda/views/pages/secrets.js.rb | 37 ++++++++++++++++++++++++++++++
 www/board/agenda/views/router.js.rb        |  3 +++
 4 files changed, 44 insertions(+)

diff --git a/www/board/agenda/views/app.js.rb b/www/board/agenda/views/app.js.rb
index 41d5b82..2046d34 100644
--- a/www/board/agenda/views/app.js.rb
+++ b/www/board/agenda/views/app.js.rb
@@ -22,6 +22,7 @@ require_relative 'pages/action-items'
 require_relative 'pages/search'
 require_relative 'pages/comments'
 require_relative 'pages/help'
+require_relative 'pages/secrets'
 require_relative 'pages/shepherd'
 require_relative 'pages/queue'
 require_relative 'pages/flagged'
diff --git a/www/board/agenda/views/pages/help.js.rb b/www/board/agenda/views/pages/help.js.rb
index e26eb75..4d64506 100644
--- a/www/board/agenda/views/pages/help.js.rb
+++ b/www/board/agenda/views/pages/help.js.rb
@@ -61,6 +61,9 @@ class Help < Vue
         end
       end
     end
+
+    _br
+    _Link text: 'Insider Secrets', href: 'secrets'
   end
 
   def setRole(event)
diff --git a/www/board/agenda/views/pages/secrets.js.rb b/www/board/agenda/views/pages/secrets.js.rb
new file mode 100644
index 0000000..3d49b3e
--- /dev/null
+++ b/www/board/agenda/views/pages/secrets.js.rb
@@ -0,0 +1,37 @@
+class InsiderSecrets < Vue
+  def render
+    _p %q(
+      Following are some of the less frequently used features that aren't
+      prominently highlighted by the UI, but you might find useful.
+    )
+
+    _ul do
+      _li { _p %q(
+        Want to reflow only part of a report so as to not mess with the
+        formatting of a table or other pre-formatted text?  Select the
+        lines you want to adjust using your mouse before pressing the
+        reflow button.
+      ) }
+
+      _li { _p %q(
+        Want to not use your email client for whatever reason?  Press
+        shift before you click a 'send email' button and a form will
+        drop down that you can use instead.
+      ) }
+
+      _li { _p %q(
+        Action items have both a status (which is either shown with a red
+        background if no update has been made or a white background if
+        a status has been provided), and a PMC name.  The background of the
+        later is either grey if this PMC is not reporting this month, or
+        a link to the report itself, and the color of the link is the color
+        associated with the report (green if preapproved, red if flagged,
+        etc.).  So generally if you see an action item to "pursue a report
+        for..." and the link is green, you can confidently mark that action as
+        complete.
+      ) }
+    end
+  end
+
+  _Link text: 'Back to the agenda', href: '.'
+end
diff --git a/www/board/agenda/views/router.js.rb b/www/board/agenda/views/router.js.rb
index 729f518..15cc195 100644
--- a/www/board/agenda/views/router.js.rb
+++ b/www/board/agenda/views/router.js.rb
@@ -88,6 +88,9 @@ class Router
       # Progressive Web Application 'Add to Home Screen' support
       item.buttons = [{button: Install}] if PageCache.installPrompt
 
+    elsif path == 'secrets'
+      item = {view: InsiderSecrets}
+
     elsif path == 'bootstrap.html'
       item = {view: BootStrapPage, title: ' '}
 


Mime
View raw message