coala / projects

A website that showcases interesting projects, using Angular JS.
https://projects.coala.io/
GNU Affero General Public License v3.0
116 stars 223 forks source link

app.js: Sort projects acc. to status in scope #712

Closed KVGarg closed 5 years ago

KVGarg commented 5 years ago

The commit sorts the projectsList itself in the JavaScript file using orderBy filter and set the sorted array globally, which omits the use of orderBy filter in projects.html file

Fixes #711

TravisBuddy commented 5 years ago

Travis tests have failed

Hey @KVGarg, 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.

Ruby: 2.5.1

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... [ERROR][13:13:15] The bear InvalidLinkBear does not fulfill all requirements. You are not connected to the internet. Executing section commit... Executing section linecount... Executing section filenames... Executing section markdown_filenames... Executing section spacing... | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/README.md | |++++| /app/README.md | 34| 34| 1. Install [asdf-vm](https://asdf-vm.github.io/asdf/#/core-manage-asdf-vm) for your OS. | 35| 35| 2. Using asdf-vm, install [ruby](https://github.com/asdf-vm/asdf-ruby). | 36| 36| 3. Install Jekyll | 37| |- | | 37|+ | 38| 38| $ gem install jekyll bundler | 39| 39| | 40| 40| ### Clone and Run [INFO][13:13:17] Applied 'ShowPatchAction' on 'README.md' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/README.md | |++++| /app/README.md | 40| 40| ### Clone and Run | 41| 41| | 42| 42| Clone coala Projects repository | 43| |- | | 43|+ | 44| 44| $ git clone https://github.com/coala/projects.git | 45| 45| | 46| 46| Run coala Projects website [INFO][13:13:17] Applied 'ShowPatchAction' on 'README.md' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/README.md | |++++| /app/README.md | 42| 42| Clone coala Projects repository | 43| 43| | 44| 44| $ git clone https://github.com/coala/projects.git | 45| |- | | 45|+ | 46| 46| Run coala Projects website | 47| 47| | 48| 48| $ cd projects [INFO][13:13:17] Applied 'ShowPatchAction' on 'README.md' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/resources/js/app.js | |++++| /app/resources/js/app.js | 270| 270| $scope.projectList[key]['mapped_status'] = mapped_status; | 271| 271| $scope.projects_url_dict[value["url"]] = key | 272| 272| }); | 273| |- | | 273|+ | 274| 274| $scope.sortProjects(); | 275| 275| | 276| 276| var project_requested = encodeURIComponent($location.search().project); [INFO][13:13:17] Applied 'ShowPatchAction' on 'resources/js/app.js' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/data/locale/en/README.md | |++++| /app/data/locale/en/README.md | 34| 34| 1. Install [asdf-vm](https://asdf-vm.github.io/asdf/#/core-manage-asdf-vm) for your OS. | 35| 35| 2. Using asdf-vm, install [ruby](https://github.com/asdf-vm/asdf-ruby). | 36| 36| 3. Install Jekyll | 37| |- | | 37|+ | 38| 38| $ gem install jekyll bundler | 39| 39| | 40| 40| ### Clone and Run [INFO][13:13:18] Applied 'ShowPatchAction' on 'data/locale/en/README.md' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/data/locale/en/README.md | |++++| /app/data/locale/en/README.md | 40| 40| ### Clone and Run | 41| 41| | 42| 42| Clone coala Projects repository | 43| |- | | 43|+ | 44| 44| $ git clone https://github.com/coala/projects.git | 45| 45| | 46| 46| Run coala Projects website [INFO][13:13:18] Applied 'ShowPatchAction' on 'data/locale/en/README.md' from 'SpaceConsistencyBear'. | | [NORMAL] SpaceConsistencyBear: | | Line contains following spacing inconsistencies: | | - Trailing whitespaces. |----| | /app/data/locale/en/README.md | |++++| /app/data/locale/en/README.md | 42| 42| Clone coala Projects repository | 43| 43| | 44| 44| $ git clone https://github.com/coala/projects.git | 45| |- | | 45|+ | 46| 46| Run coala Projects website | 47| 47| | 48| 48| $ cd projects [INFO][13:13:18] Applied 'ShowPatchAction' on 'data/locale/en/README.md' from 'SpaceConsistencyBear'. Executing section html... Executing section yml... Executing section new_linelength_projects... Executing section old_linelength_projects... Executing section cli... ```
TravisBuddy Request Identifier: d0393430-32b5-11e9-909a-37b9af0e35d8
TravisBuddy commented 5 years ago

Travis tests have failed

Hey @KVGarg, 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.

TravisBuddy Request Identifier: 49d43240-c4ec-11e9-8712-75d78f9b457f
TravisBuddy commented 5 years ago

Hey @KVGarg, Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: c6a21790-c755-11e9-854a-5595b23fa18a