Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation Under All Tabs are Working #296

Merged
merged 1 commit into from Jan 4, 2019
Merged

Conversation

AkshJain99
Copy link
Member

@AkshJain99 AkshJain99 commented Dec 11, 2018

Highlighting animation are working
under all tabs on navigation
between different tabs.

Fixes #295

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

Copy link

@naveentvelu naveentvelu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding ul.tabs in partials/tabs/people.html is not desired. Because only five tabs are defined in index.html. And /people tab is not defined there. It would be better if we remove it.

@AkshJain99
Copy link
Member Author

ya but people.html is somewhere which also have this problem so maybe it is right
I will look again

@AkshJain99
Copy link
Member Author

@hemangsk please revirew this pr

@AkshJain99
Copy link
Member Author

@li-boxuan please take look at this pr

@hemangsk
Copy link
Member

Is there any way to avoid the code duplication, maybe adding it by in index.html file ?

@AkshJain99
Copy link
Member Author

@hemangsk I tried to do so in index.html but I dont think that we will be able to do that .
Do we?
And its just 2 line of code that has been added I dont think that it is affecting the codes,Is it?
😅

@AkshJain99
Copy link
Member Author

AkshJain99 commented Dec 17, 2018

@hemangsk I tried adding the script in index.html but then it doesn't work, but code which I committed is working well 😅

$(document).ready(function(){
$('ul.tabs').tabs();
});

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra line, can be removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for all the files

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hemangsk but actually i am removing extra line then travis is failing "showing that there is no line at end of file"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the newline at end of file, See L42 , L281 etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done @hemangsk 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I think I wasn't clear enough, only those extra new lines which were added in this commit inside the script tags need to be omitted. Others are fine. If you feel they are extra then its a discussion for a new ticket and not this one.

So we are fine with just converting the

<script>
$(document).ready(function(){
 $('ul tabs').tabs();
})

to

<script>
$(document).ready(function(){
 $('ul tabs').tabs();
})

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh okay @hemangsk done 👍
now i think its perfectly ready for merge ,Is there still any changes?

@hemangsk
Copy link
Member

Ya I understand, Two lines or one lines is not the point, duplication makes maintaining it difficult. Otherwise, this lgtm.

@AkshJain99
Copy link
Member Author

okay @hemangsk I am understanding, then should i need to change something in code?

$('ul.tabs').tabs();
});

</script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp8v872ato/partials/tabs/coalaonline.html
+++ b/tmp/tmp8v872ato/partials/tabs/coalaonline.html
@@ -279,4 +279,4 @@
   $('ul.tabs').tabs();
 });
 
-</script>+</script>

@@ -219,4 +220,4 @@
$('.tooltipped').tooltip({delay: 50});

})
</script>
</script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp8v872ato/partials/tabs/languages.html
+++ b/tmp/tmp8v872ato/partials/tabs/languages.html
@@ -220,4 +220,4 @@
     $('.tooltipped').tooltip({delay: 50});
 
     })
-</script>+</script>

$('ul.tabs').tabs();
});

</script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp8v872ato/partials/tabs/home.html
+++ b/tmp/tmp8v872ato/partials/tabs/home.html
@@ -136,4 +136,4 @@
   $('ul.tabs').tabs();
 });
 
-</script>+</script>

@@ -129,4 +129,4 @@ <h2 class="fine center">about</h2>
$('ul.tabs').tabs();
});

</script>
</script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp8v872ato/partials/tabs/about.html
+++ b/tmp/tmp8v872ato/partials/tabs/about.html
@@ -129,4 +129,4 @@
   $('ul.tabs').tabs();
 });
 
-</script>+</script>

$('ul.tabs').tabs();
});

</script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp8v872ato/partials/tabs/getinvolved.html
+++ b/tmp/tmp8v872ato/partials/tabs/getinvolved.html
@@ -82,4 +82,4 @@
     $('ul.tabs').tabs();
 });
 
-</script>+</script>

@TravisBuddy
Copy link

Travis tests have failed

Hey @AkshJain99,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci
Unable to find image 'coala/base:latest' locally
latest: Pulling from coala/base
















Digest: sha256:125d6cf24929d39db47b3ccd83d6ed1b6a231fc7e8afbf70bc4b5bd87653b0ff
Status: Downloaded newer image for coala/base:latest
Executing section global...
Executing section linecount...
Executing section spacing...
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - No newline at EOF.
|----|    | /app/partials/tabs/home.html
|    |++++| /app/partials/tabs/home.html
| 136| 136|   $('ul.tabs').tabs();
| 137| 137| });
| 138| 138| 
| 139|    |-</script>
|    | 139|+</script>
[INFO][15:44:27] Applied 'ShowPatchAction' on 'partials/tabs/home.html' from 'SpaceConsistencyBear'.
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - No newline at EOF.
|----|    | /app/partials/tabs/getinvolved.html
|    |++++| /app/partials/tabs/getinvolved.html
|  82|  82|     $('ul.tabs').tabs();
|  83|  83| });
|  84|  84| 
|  85|    |-</script>
|    |  85|+</script>
[INFO][15:44:27] Applied 'ShowPatchAction' on 'partials/tabs/getinvolved.html' from 'SpaceConsistencyBear'.
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - No newline at EOF.
|----|    | /app/partials/tabs/coalaonline.html
|    |++++| /app/partials/tabs/coalaonline.html
| 279| 279|   $('ul.tabs').tabs();
| 280| 280| });
| 281| 281| 
| 282|    |-</script>
|    | 282|+</script>
[INFO][15:44:27] Applied 'ShowPatchAction' on 'partials/tabs/coalaonline.html' from 'SpaceConsistencyBear'.
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - No newline at EOF.
|----|    | /app/partials/tabs/languages.html
|    |++++| /app/partials/tabs/languages.html
| 220| 220|     $('.tooltipped').tooltip({delay: 50});
| 221| 221| 
| 222| 222|     })
| 223|    |-</script>
|    | 223|+</script>
[INFO][15:44:27] Applied 'ShowPatchAction' on 'partials/tabs/languages.html' from 'SpaceConsistencyBear'.
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - No newline at EOF.
|----|    | /app/partials/tabs/about.html
|    |++++| /app/partials/tabs/about.html
| 129| 129|   $('ul.tabs').tabs();
| 130| 130| });
| 131| 131| 
| 132|    |-</script>
|    | 132|+</script>
[INFO][15:44:27] Applied 'ShowPatchAction' on 'partials/tabs/about.html' from 'SpaceConsistencyBear'.
Executing section html...
Executing section yml...
Executing section cli...
TravisBuddy Request Identifier: a48c5d40-0212-11e9-819e-e174a5d00ea5

@AkshJain99 AkshJain99 force-pushed the animation branch 2 times, most recently from c838a23 to 65b23b6 Compare December 17, 2018 17:15
Highlighting animation are working
under all tabs on navigation
between different tabs.

Fixes coala#295
@hemangsk
Copy link
Member

ack 88f354e

@jayvdb
Copy link
Member

jayvdb commented Jan 4, 2019

Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently ⚠️

@jayvdb jayvdb merged commit 88f354e into coala:master Jan 4, 2019
@jayvdb
Copy link
Member

jayvdb commented Jan 4, 2019

Automated fastforward with GitMate.io was successful! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Animation effects of Tabs only change while going back from ABOUT section though the page changes
6 participants