You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by pt...@apache.org on 2022/12/01 12:34:39 UTC

[ignite-website] branch master updated: IGNITE-18272 Update contributing process on the Community page (#147)

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

ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b68925f9a IGNITE-18272 Update contributing process on the Community page (#147)
0b68925f9a is described below

commit 0b68925f9a0d5d4f77cc23bb433b95803ef5cecc
Author: Erlan Aytpaev <ay...@gmail.com>
AuthorDate: Thu Dec 1 18:34:33 2022 +0600

    IGNITE-18272 Update contributing process on the Community page (#147)
---
 _src/our-community.pug | 43 ++++++++++++++++++++++++++-----------------
 css/communnity.css     | 31 +++++++++++++++++++++++++++++++
 js/main.js             |  7 +++++++
 our-community.html     | 45 ++++++++++++++++++++++++++++-----------------
 4 files changed, 92 insertions(+), 34 deletions(-)

diff --git a/_src/our-community.pug b/_src/our-community.pug
index 4d9279da07..7214f75469 100644
--- a/_src/our-community.pug
+++ b/_src/our-community.pug
@@ -295,21 +295,10 @@ block main
             .cmty-ready__wrap.pt-4
                 .cmty-ready__item 
                     i 01
-                    p.fz20 Create an <a href="https://issues.apache.org/jira/" target="_blank">ASF JIRA <br>account</a>, if&nbsp;you haven&rsquo;t <br>got one yet
+                    p.fz20 Join the dev mailing list and introduce yourself <a href="#email" class="email__scroll">(see the example message)</a>.
                 .cmty-ready__item 
                     i 02
-                    div.fz20
-                        | Join 
-                        span.cmty-pushupwrap(data-poplink="cont-link1")
-                            span 
-                                em dev mailing list
-                            .pushup(data-pop="cont-link1")
-                                p By sending a 
-                                    a(href="mailto:dev-subscribe@ignite.apache.org?subject=Subscribe&body=Hello") default e-mail
-                                p By sending Hello to this e-mail <b>dev-subscribe@ignite.apache.org</b>
-                        | and introduce yourself
-
-
+                    div.fz20 If you don’t have an <a href="https://issues.apache.org/jira/" target="_blank">ASF JIRA account</a>, mention this in the introduction email along with a preferable username
                 .cmty-ready__item 
                     i 03
                     p.fz20.pb-2 Pick a ticket to start with
@@ -321,6 +310,26 @@ block main
                 .cmty-ready__item 
                     i 04
                     p.fz20 To get more details, check out the <a href="https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute" target="_blank">Contribution and Development</a> process
+            .cmty-ready__hint.pt-3#email
+                .cmty-ready__item.cmty-ready__wrap
+                    p.fz20 First email to the dev 
+                        span mailing list →
+                    .cmty-ready__content
+                        p.pt-2.fz10
+                            strong To: 
+                            <a target="_blank" href="mailto:dev@ignite.apache.org?subject=I want to contribute to Apache ignite&body=Hello, Everyone!%0D%0AMy name is [ Name ]. I want to contribute to Ignite. I would like to start from [ identification of particular ticket or module, if you have one in mind ]. Please, help me to start contributing.%0D%0AMy ASF JIRA username is [ username ].%0D%0ARegards,%0D%0A[ Name ]">dev@ignite.apache.org</a>
+                        p.pt-1.fz10
+                            strong Subject: 
+                            span I want to contribute to Apache ignite
+                        p.pt-1.fz10 Hello, Everyone!
+                        p.pt-1.fz10 My name is [ Name ]. I want to contribute to Ignite.  I would like to start from [ identification of particular ticket or module, if you have one in mind ]. Please, help me to start contributing.
+                        p.pt-1.fz10 
+                            span.highlight-auth My ASF JIRA username is [ username ].
+                        p.pt-1.fz10 
+                            span.highlight-anon I don’t have an ASF JIRA account. My preferred username is [username, no hyphens allowed ].
+                        p.pt-1.fz10 Regards,
+                        p.pt-1.pb-1.fz10 [ Name ]
+
             .cmty-ready__bottom.flexi
                 h3.cmty-ready__botttl
                     .h5 Top contributors 💪<br>
@@ -408,13 +417,13 @@ block main
                 .cmty-redstart__right
                     .cmty-redstart__botright.left
                         .cmty-redstart__botright__header Project Awareness Top Contributors
-                        iframe(src="https://recognition.gridgain.com/leaderboard-frame?limit=10&interval=prev-quarter&product=ignite&typeGroup=content", frameborder="0").cmty-redstart__iframe.themescroll
-                        a(href="https://recognition.gridgain.com/main?date=prev-quarter&typeGroup=content", target="_blank") See all 
+                        iframe(src="https://recognition.ignite.apache.org/leaderboard-frame?limit=10&interval=prev-quarter&product=ignite&typeGroup=content", frameborder="0").cmty-redstart__iframe.themescroll
+                        a(href="https://recognition.ignite.apache.org/main?date=prev-quarter&typeGroup=content", target="_blank") See all 
                             span →
                     .cmty-redstart__botright.right
                         .cmty-redstart__botright__header User Forums' Top Contributors
-                        iframe(src="https://recognition.gridgain.com/leaderboard-frame?limit=10&interval=prev-quarter&product=ignite&typeGroup=answers", frameborder="0").cmty-redstart__iframe.themescroll
-                        a(href="https://recognition.gridgain.com/main?date=prev-quarter&typeGroup=answers", target="_blank") See all 
+                        iframe(src="https://recognition.ignite.apache.org/leaderboard-frame?limit=10&interval=prev-quarter&product=ignite&typeGroup=answers", frameborder="0").cmty-redstart__iframe.themescroll
+                        a(href="https://recognition.ignite.apache.org/main?date=prev-quarter&typeGroup=answers", target="_blank") See all 
                             span →
     // /.cmty-redstart
 
diff --git a/css/communnity.css b/css/communnity.css
index 750b2d9ec4..ee0f7efd52 100644
--- a/css/communnity.css
+++ b/css/communnity.css
@@ -499,6 +499,37 @@
     min-height: 240px;
     padding: 20px 25px;
 }
+.cmty-ready__content {
+    grid-column-start: 2;
+    grid-column-end: 5;
+}
+@media (max-width: 992px) {
+    .cmty-ready__item.cmty-ready__wrap {
+        grid-template-columns: repeat(4, 1fr);
+    }
+}
+@media (max-width: 767px) {
+    .cmty-ready__item.cmty-ready__wrap {
+        display: block;
+    }
+}
+.cmty-ready__item.cmty-ready__wrap p.fz10 {
+    font-size: 15px;
+}
+.cmty-ready__item.cmty-ready__wrap .highlight-auth {
+    background-color: #dfebf8;
+}
+.cmty-ready__item.cmty-ready__wrap .highlight-anon {
+    background-color: #f8e3e4;
+}
+.cmty-ready__item.cmty-ready__wrap p.fz20 span {
+    display: block;
+}
+@media (max-width: 767px) {
+    .cmty-ready__item.cmty-ready__wrap p.fz20 span {
+        display: inline;
+    }
+}
 .cmty-pushupwrap {
     position: relative;
 }
diff --git a/js/main.js b/js/main.js
index 003e0bfdf0..d3649513dc 100644
--- a/js/main.js
+++ b/js/main.js
@@ -308,6 +308,13 @@ function submenuScroller(){
         e.preventDefault();
         scrollToBlock(e, link.getAttribute('href'), (menuEl.scrollHeight + hdr.scrollHeight));
     });
+
+    let emailEl = document.querySelector('.email__scroll');
+    if(!emailEl) return;
+    emailEl.addEventListener('click', (e) => {
+        e.preventDefault();
+        scrollToBlock(e, emailEl.getAttribute('href'), (emailEl.scrollHeight + hdr.scrollHeight + 30));
+    });
 }
 submenuScroller();
 
diff --git a/our-community.html b/our-community.html
index def71b3f32..4d1bc3110e 100644
--- a/our-community.html
+++ b/our-community.html
@@ -1180,22 +1180,11 @@
         <div class="cmty-ready__wrap pt-4">
           <div class="cmty-ready__item">
             <i>01</i>
-            <p class="fz20">
-              Create an <a href="https://issues.apache.org/jira/" target="_blank">ASF JIRA <br />account</a>, if&nbsp;you haven&rsquo;t <br />got one yet
-            </p>
+            <p class="fz20">Join the dev mailing list and introduce yourself <a href="#email" class="email__scroll">(see the example message)</a>.</p>
           </div>
           <div class="cmty-ready__item">
             <i>02</i>
-            <div class="fz20">
-              Join
-              <span class="cmty-pushupwrap" data-poplink="cont-link1"
-                ><span> <em>dev mailing list</em></span>
-                <div class="pushup" data-pop="cont-link1">
-                  <p>By sending a <a href="mailto:dev-subscribe@ignite.apache.org?subject=Subscribe&amp;body=Hello">default e-mail</a></p>
-                  <p>By sending Hello to this e-mail <b>dev-subscribe@ignite.apache.org</b></p>
-                </div></span
-              >and introduce yourself
-            </div>
+            <div class="fz20">If you don’t have an <a href="https://issues.apache.org/jira/" target="_blank">ASF JIRA account</a>, mention this in the introduction email along with a preferable username</div>
           </div>
           <div class="cmty-ready__item">
             <i>03</i>
@@ -1211,6 +1200,28 @@
             <p class="fz20">To get more details, check out the <a href="https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute" target="_blank">Contribution and Development</a> process</p>
           </div>
         </div>
+        <div class="cmty-ready__hint pt-3" id="email">
+          <div class="cmty-ready__item cmty-ready__wrap">
+            <p class="fz20">First email to the dev <span>mailing list →</span></p>
+            <div class="cmty-ready__content">
+              <p class="pt-2 fz10">
+                <strong>To: </strong
+                ><a
+                  target="_blank"
+                  href="mailto:dev@ignite.apache.org?subject=I want to contribute to Apache ignite&body=Hello, Everyone!%0D%0AMy name is [ Name ]. I want to contribute to Ignite. I would like to start from [ identification of particular ticket or module, if you have one in mind ]. Please, help me to start contributing.%0D%0AMy ASF JIRA username is [ username ].%0D%0ARegards,%0D%0A[ Name ]"
+                  >dev@ignite.apache.org</a
+                >
+              </p>
+              <p class="pt-1 fz10"><strong>Subject: </strong><span>I want to contribute to Apache ignite</span></p>
+              <p class="pt-1 fz10">Hello, Everyone!</p>
+              <p class="pt-1 fz10">My name is [ Name ]. I want to contribute to Ignite. I would like to start from [ identification of particular ticket or module, if you have one in mind ]. Please, help me to start contributing.</p>
+              <p class="pt-1 fz10"><span class="highlight-auth">My ASF JIRA username is [ username ].</span></p>
+              <p class="pt-1 fz10"><span class="highlight-anon">I don’t have an ASF JIRA account. My preferred username is [username, no hyphens allowed ].</span></p>
+              <p class="pt-1 fz10">Regards,</p>
+              <p class="pt-1 pb-1 fz10">[ Name ]</p>
+            </div>
+          </div>
+        </div>
         <div class="cmty-ready__bottom flexi">
           <h3 class="cmty-ready__botttl">
             <div class="h5">Top contributors 💪<br /></div>
@@ -1306,13 +1317,13 @@
           <div class="cmty-redstart__right">
             <div class="cmty-redstart__botright left">
               <div class="cmty-redstart__botright__header">Project Awareness Top Contributors</div>
-              <iframe class="cmty-redstart__iframe themescroll" src="https://recognition.gridgain.com/leaderboard-frame?limit=10&amp;interval=prev-quarter&amp;product=ignite&amp;typeGroup=content" frameborder="0"></iframe
-              ><a href="https://recognition.gridgain.com/main?date=prev-quarter&amp;typeGroup=content" target="_blank">See all <span>→</span></a>
+              <iframe class="cmty-redstart__iframe themescroll" src="https://recognition.ignite.apache.org/leaderboard-frame?limit=10&amp;interval=prev-quarter&amp;product=ignite&amp;typeGroup=content" frameborder="0"></iframe
+              ><a href="https://recognition.ignite.apache.org/main?date=prev-quarter&amp;typeGroup=content" target="_blank">See all <span>→</span></a>
             </div>
             <div class="cmty-redstart__botright right">
               <div class="cmty-redstart__botright__header">User Forums' Top Contributors</div>
-              <iframe class="cmty-redstart__iframe themescroll" src="https://recognition.gridgain.com/leaderboard-frame?limit=10&amp;interval=prev-quarter&amp;product=ignite&amp;typeGroup=answers" frameborder="0"></iframe
-              ><a href="https://recognition.gridgain.com/main?date=prev-quarter&amp;typeGroup=answers" target="_blank">See all <span>→</span></a>
+              <iframe class="cmty-redstart__iframe themescroll" src="https://recognition.ignite.apache.org/leaderboard-frame?limit=10&amp;interval=prev-quarter&amp;product=ignite&amp;typeGroup=answers" frameborder="0"></iframe
+              ><a href="https://recognition.ignite.apache.org/main?date=prev-quarter&amp;typeGroup=answers" target="_blank">See all <span>→</span></a>
             </div>
           </div>
         </div>