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

added processing spinner to source query table #551

Merged
merged 2 commits into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### Added

- Added processing spinner to source query table [#551](https://github.com/askap-vast/vast-pipeline/pull/551).
- Added `site_url` to the mkdocs config so static asset URLs have the correct base URL [#543](https://github.com/askap-vast/vast-pipeline/pull/543).
- Added basic linter to CI/CD [#546](https://github.com/askap-vast/vast-pipeline/pull/546)

Expand All @@ -23,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### List of PRs

- [#551](https://github.com/askap-vast/vast-pipeline/pull/551): feat: added processing spinner to source query table.
- [#550](https://github.com/askap-vast/vast-pipeline/pull/550): fix: missing changelog entry
- [#548](https://github.com/askap-vast/vast-pipeline/pull/548): fix: only read .env if required vars are undefined.
- [#546](https://github.com/askap-vast/vast-pipeline/pull/546): feat, fix: remove unused imports, and added basic linter during CI/CD.
Expand Down
8 changes: 8 additions & 0 deletions static/js/datatables-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ $(document).ready(function() {
bFilter: dataConf.search,
hover: true,
serverSide: true,
processing: true,
language: {
processing: (
'<div class="spinner-border" role="status">' +
'<span class="sr-only">Loading...</span>' +
'</div>'
)
},
ajax: {
url: dataConf.api,
data: function (data) {
Expand Down