Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
624598f
Fix modal label from showing up below content
thostetler Apr 13, 2020
84ee72f
add submodule
thostetler Apr 15, 2020
f2a148f
Merge pull request #2026 from thostetler/fix-modal
thostetler Apr 15, 2020
23f9aa0
update travis
thostetler Apr 15, 2020
66eab1d
Merge pull request #2027 from thostetler/add-shared-ui-submodule
thostetler Apr 15, 2020
5e0cd84
fix skip-navigation link
thostetler Apr 22, 2020
7a9d2de
fix delete button for custom formats
thostetler Apr 22, 2020
90a1d15
Change 'Customize Settings' to 'Settings' in nav
thostetler Apr 22, 2020
297cfee
Merge pull request #2028 from adsabs/small-a11y-fixes
thostetler Apr 24, 2020
659deb5
Merge pull request #2029 from thostetler/fix-custom-formats-editor
thostetler Apr 24, 2020
cfee2f7
Merge pull request #2030 from thostetler/fix-customize-settings-menu
thostetler Apr 24, 2020
a5ae5f4
expose dispatch/getState for react apps
thostetler Apr 29, 2020
2ce6281
Merge pull request #2032 from thostetler/updates-to-react-setup
thostetler Apr 30, 2020
5a93a62
Small CSS Fixes
thostetler May 1, 2020
9900208
fix aria announcement
thostetler May 1, 2020
e876edd
Merge pull request #2034 from thostetler/fix-css-issues
thostetler May 1, 2020
c4e90cc
initial stuff
thostetler Apr 13, 2020
a427a89
prototype done
thostetler Apr 13, 2020
8e08fa6
add 'see full list' link
thostetler Apr 14, 2020
54e9901
fix links
thostetler Apr 14, 2020
b615f7f
fix dep name to make test task pass
thostetler Apr 16, 2020
b59b5b8
add analytics support
thostetler Apr 27, 2020
a10943c
Expose dispatch and getState
thostetler Apr 27, 2020
58e8c4e
move tab and target up to store
thostetler Apr 27, 2020
2d378c1
add more analytics
thostetler Apr 28, 2020
0340e06
move query params into redux and add action
thostetler May 6, 2020
85b419c
add extra type check on dispatch
thostetler May 6, 2020
8ae86e3
initial boilerplate
thostetler Sep 25, 2019
8e2e89c
update notifications when going to dashboard
thostetler Feb 12, 2020
9b319fa
fix no-results message always showing
thostetler Feb 12, 2020
f51007b
update endpoints to temporary names
thostetler Mar 3, 2020
1f41ca4
fix pubsub in shared widget
thostetler Mar 3, 2020
687dbad
fix qid bug after running general query
thostetler Mar 4, 2020
9851df5
add new citations/authors entry table
thostetler Mar 6, 2020
aa7b819
add run buttons
thostetler Mar 18, 2020
215ce8b
updates to run query icons
thostetler Apr 10, 2020
af5697b
change enable/disable to button
thostetler Apr 12, 2020
ebad08b
update wording for arxiv
thostetler Apr 12, 2020
ff97726
say saved if editing a notification
thostetler Apr 12, 2020
18a7219
Show loading indication when running query
thostetler Apr 13, 2020
26ac1bf
Fix arxiv run message
thostetler Apr 13, 2020
586591f
update menu text
thostetler Apr 20, 2020
3a29233
switch disable/enable to labels
thostetler Apr 20, 2020
7e30b6f
Test Search -> Search
thostetler Apr 20, 2020
8f3b3d1
update arxiv form message
thostetler Apr 20, 2020
0158929
remove 'select all' button
thostetler Apr 22, 2020
8835dcf
fix arxiv with no keywords dropdown
thostetler Apr 22, 2020
de92a2c
update arxiv keywords wording
thostetler Apr 22, 2020
53b767d
remove underscore from api endpoints
thostetler Apr 23, 2020
e973f26
fix up login checking
thostetler May 12, 2020
d4b5452
add guard for getUserName for testing
thostetler May 12, 2020
e49b17d
Merge pull request #2036 from thostetler/myads-notifications-dashboard
thostetler May 12, 2020
9ae9b95
Merge branch 'master' into add-recommender-widget
thostetler May 12, 2020
20b5bde
Integrate with page managers better
thostetler May 12, 2020
bec21d1
remove unused injector stuff
thostetler May 12, 2020
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: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"env": {
"browser": true,
"amd": true,
"es6": false,
"es6": true,
"commonjs": false,
"jquery": true,
"mocha": true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ grunt/requirejs.js
package-lock.json
!.nvmrc
!.prettierrc
!.gitmodules
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/shared"]
path = src/shared
url = git@github.com:adsabs/ui-component-library.git
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js
node_js: "11.14.0"
node_js: '11.14.0'
cache: npm
git:
submodules: false
before_install: npm install -g grunt-cli
install: npm install
deployg: grunt release
Expand All @@ -10,5 +12,5 @@ script:
#- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then echo "grunt sauce"; grunt sauce; fi
env:
global:
- secure: "QiHFURctWLbr3uGEwqgABdKBzzXHHD819h4XTQsJ90Lcv04DsSzXZV0GAHa1bXiNIrNwxZD7T7fsakOBViEjIsginD1ZFAUMkR5KHYII3Gzlpu1ikuIHBrrPRLzTFhrsnJxFDRau9gwLeIoTgIP5AC3bw8ne/+6Oe6mW2fpphgU="
- secure: "SRFYya2d43gzs0WWmYhIqekI1gUoxqeox/hlc7vn6dEWxVNFsHA0oWkMSivSY8y9fqvUyh4p40e4NDlN86EnGF9aq/r4iNBMlIR0UVuxjVBi8HaMR5w3/JvlD7gNI7Y6du0cpkJaVAekJbi21HP1bmcV0sYXcXUj6uL4HUVq4sw="
- secure: 'QiHFURctWLbr3uGEwqgABdKBzzXHHD819h4XTQsJ90Lcv04DsSzXZV0GAHa1bXiNIrNwxZD7T7fsakOBViEjIsginD1ZFAUMkR5KHYII3Gzlpu1ikuIHBrrPRLzTFhrsnJxFDRau9gwLeIoTgIP5AC3bw8ne/+6Oe6mW2fpphgU='
- secure: 'SRFYya2d43gzs0WWmYhIqekI1gUoxqeox/hlc7vn6dEWxVNFsHA0oWkMSivSY8y9fqvUyh4p40e4NDlN86EnGF9aq/r4iNBMlIR0UVuxjVBi8HaMR5w3/JvlD7gNI7Y6du0cpkJaVAekJbi21HP1bmcV0sYXcXUj6uL4HUVq4sw='
71 changes: 38 additions & 33 deletions grunt/check-release-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,50 @@
*
* @module grunt/check-release-version
*/
module.exports = function (grunt) {
grunt.registerMultiTask('check-release-version', 'Get release version', async function () {
const done = this.async();
const axios = require('axios');
const fs = require('fs');
const githubReleasesPath = 'https://api.github.com/repos/adsabs/bumblebee/releases/latest';
const releaseFilePath = '/release';
module.exports = function(grunt) {
grunt.registerMultiTask(
'check-release-version',
'Get release version',
async function() {
const done = this.async();
const axios = require('axios');
const fs = require('fs');
const githubReleasesPath =
'https://api.github.com/repos/adsabs/bumblebee/releases/latest';
const releaseFilePath = '/release';

try {
let version;
try {
let version;

if (fs.existsSync(releaseFilePath)) {
if (fs.existsSync(releaseFilePath)) {
// check for the existence of release file
console.log('found release file!');
const buffer = fs.readFileSync(releaseFilePath);
version = buffer.toString().trim();
} else {
// otherwise, get the latest version from github
console.log(
'did not find release file, fetching latest release from github'
);
const response = await axios.get(githubReleasesPath);
version = response.data.tag_name;
}

// check for the existence of release file
console.log('found release file!');
const buffer = fs.readFileSync(releaseFilePath);
version = buffer.toString();
} else {

// otherwise, get the latest version from github
console.log('did not find release file, fetching latest release from github');
const response = await axios.get(githubReleasesPath);
version = response.data.tag_name;
}

if (version) {
console.log('version found: ', version);
grunt.config('appVersion', version);
if (version) {
console.log('version found: ', version);
grunt.config('appVersion', version);
}
} catch (e) {
console.error(e);
} finally {
done();
}
} catch (e) {
console.error(e);
} finally {
done();
}
});
);

return {
release: {
options: {}
}
}
options: {},
},
};
};
Loading