Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
440 commits
Select commit Hold shift + click to select a range
24b0014
googlier look.
Jan 8, 2024
76b4ddc
pretty landing page.
Jan 8, 2024
1b5205b
show author affils.
Jan 8, 2024
2c1285a
clean filter menu popups.
Jan 8, 2024
1bf0709
fix searchbox on mobile home.
Jan 8, 2024
1fa0031
hide table view for mobile.
Jan 8, 2024
982201e
color update.
Jan 8, 2024
8e0e598
sidebar works.
Jan 9, 2024
49a2e01
smaller logo.
Jan 9, 2024
6f7db52
fluid layout.
Jan 9, 2024
2594820
bars for work counts.
Jan 9, 2024
4af80b3
save before sprint meeting.
Jan 9, 2024
287c026
same.
Jan 9, 2024
1ef2df5
fluid containers.
Jan 9, 2024
e8228fc
tweaks.
Jan 9, 2024
671ac0a
darker background.
Jan 9, 2024
a557f22
search bar dark mode.
Jan 10, 2024
1db146c
fewer results.
Jan 10, 2024
50d32d3
nav sidebar works.
Jan 10, 2024
8392481
envelope icon.
Jan 10, 2024
97fc50b
auto-typing on homepage.
Jan 11, 2024
ada7715
better loading spinner for search bar.
Jan 11, 2024
5d0140d
fix firefox search blur bug.
Jan 11, 2024
8c7e07a
search box in a modal.
Jan 11, 2024
eab0e1b
save point.
Jan 11, 2024
7f011f3
homepage blurbs done.
Jan 11, 2024
4b46271
prettier entity pages.
Jan 12, 2024
23b5848
fix menu arrow key select.
Jan 12, 2024
09c1e02
commit.
Jan 12, 2024
fce87d9
better help.
Jan 12, 2024
e71cc87
ready to push to prod.
Jan 12, 2024
006dab3
Merge branch 'filter-phrases'
Jan 12, 2024
3f0d426
better name for fulltext search.
Jan 12, 2024
1586274
add filters from analytics widgets.
Jan 13, 2024
cf37c53
show year group-by as bar graph.
Jan 13, 2024
f7bbbd9
year graph at top.
Jan 13, 2024
f0ba4cc
show number if just one year selected.
Jan 13, 2024
51da176
bugfix: affil.years in correct order
h1-the-swan Jan 14, 2024
53d80b6
click on boolean widgets to add filters.
Jan 15, 2024
34638dd
solo search box.
Jan 15, 2024
88b9b91
Merge branch 'master' of https://github.com/ourresearch/openalex-gui
Jan 15, 2024
8a119b7
cited-by graph
Jan 15, 2024
d97e9f9
move help page to zendesk form
h1-the-swan Jan 15, 2024
69e2c31
various.
Jan 15, 2024
949dac5
Merge branch 'master' of https://github.com/ourresearch/openalex-gui
Jan 15, 2024
04bf39f
various.
Jan 15, 2024
663bb45
search bar in filters window.
Jan 16, 2024
ec4d879
tabs for results/analytics on mobile.
Jan 16, 2024
2c05f52
tweaks.
Jan 16, 2024
a76c4c2
add icons.
Jan 16, 2024
057d0de
prettier buttons.
Jan 16, 2024
a8eff51
tidier analytics cards.
Jan 16, 2024
c4962c1
view more groups.
Jan 16, 2024
85f19f6
you can select from analytics views.
Jan 16, 2024
75f55c5
negation button on pinboard.
Jan 17, 2024
7fc5579
social-proof logs on landing page.
Jan 18, 2024
de0aefc
toggle negated from widgets.
Jan 18, 2024
2588ecf
move webinars page to help docs
h1-the-swan Jan 18, 2024
7144b91
move contact endpoint to zendesk form
h1-the-swan Jan 18, 2024
2a2fb8e
now.
Jan 19, 2024
66beea3
Merge branch 'master' of https://github.com/ourresearch/openalex-gui
Jan 19, 2024
d78d1e5
searchbox shows up.
Jan 19, 2024
1fef74b
tabs work.
Jan 20, 2024
8631cf1
outlined search tab and many more changes.
Jan 31, 2024
b8cb2e7
fiddle with toolbar spacings.
Feb 1, 2024
0a16c84
table for saved searches.
Feb 1, 2024
552b482
some basic saving works.
Feb 2, 2024
49c1212
save point.
Feb 3, 2024
58badc0
ssved searches using url id param.
Feb 5, 2024
1b21983
save menu off toolbar.
Feb 6, 2024
a52ac0f
autosave works.
Feb 6, 2024
abd9c50
cleanup.
Feb 6, 2024
0afbe1b
file menu above serp.
Feb 7, 2024
c06ef90
big icon on serp like google docs.
Feb 7, 2024
89281e0
export menu works.
Feb 8, 2024
0ed911a
tidier.
Feb 9, 2024
452f603
friday night save point.
Feb 9, 2024
b715efa
login and signup dialogs are controlled via store.
Feb 10, 2024
52c49d6
basic signup and login work, no error handling.
Feb 10, 2024
9048afb
login handles common errors.
Feb 10, 2024
4548963
clicking on serp title works.
Feb 10, 2024
f52bec6
view all in open saved searches.
Feb 10, 2024
f1bbc0c
autosave tag.
Feb 10, 2024
a1e2293
per page fixed.
Feb 12, 2024
6d3543b
buttons to save and create alerts.
Feb 12, 2024
b97ffb6
Super-basic topics support.
Feb 12, 2024
2087ed5
progress on new filters groupby.
Feb 19, 2024
3dc80a1
negation works with OR filters.
Feb 20, 2024
aa91ca9
fix readFilterOptionsByKey bug.
Feb 20, 2024
5876852
title sorts by a-z.
Feb 21, 2024
1fbd71b
entity pages showing up.
Feb 23, 2024
a143164
add data rows.
Feb 23, 2024
dcebe85
show more and less of entity data row arrays.
Feb 23, 2024
298794e
aboutness pages have more details.
Feb 23, 2024
416aacc
reorder aboutness hierachy.
Feb 23, 2024
c460a7c
fix stuff.
Feb 24, 2024
1d9eda5
design changereroos.
Feb 24, 2024
77d9d0e
table for filters.
Feb 26, 2024
f70501b
filters wrap.
Feb 27, 2024
1cc8377
fussy oa changes.
Feb 27, 2024
ddad47e
country shortcut works.
Feb 27, 2024
0b51b9a
fix corrresponding authors and institutions.
Feb 27, 2024
79828de
show saved search menu.
Feb 27, 2024
33e877e
key stats show up.
Feb 27, 2024
aa76248
lowkey unsaved search button text.
Feb 27, 2024
014f61c
fix broken group counts.
Feb 27, 2024
84df456
prettier saved searches.
Feb 27, 2024
8c224f9
sort is working again.
Feb 28, 2024
35f045a
lowercase everything when making filters.
Feb 28, 2024
42f6317
chubbier boolean donut.
Feb 28, 2024
2bfe000
redirect old institutions.country_code filter.
Feb 28, 2024
ec7a7a2
redirect more keys, in group_by too.
Feb 28, 2024
2a3ea0a
click plus to add selectfilter items.
Feb 28, 2024
215eee4
more info in box about entity chip.
Feb 28, 2024
5a6b0b9
shenanigans.
Feb 28, 2024
17297c1
update for entity chips.
Feb 28, 2024
efb8ff8
wed night save point.
Feb 28, 2024
6d93507
add namespace to nonnative filters when needed.
Feb 29, 2024
722382a
more stats less works.
Feb 29, 2024
1493b33
fix loop in redirectFromOldFilters
Feb 29, 2024
9f4aae4
collapse filters panel.
Feb 29, 2024
d967b59
hack to fix sdgs.
Feb 29, 2024
7793af8
more sdg hacking
Feb 29, 2024
57afd57
add more works.
Feb 29, 2024
210a809
suggestion chips work.
Feb 29, 2024
250a781
better text for export dialog.
Feb 29, 2024
c1425f2
view works from shortcutbox.
Feb 29, 2024
93c852c
add topic siblings.
Mar 1, 2024
5796b15
adapt to new namespace/id format for entities.
Mar 1, 2024
6219159
link to works from entity pages.
Mar 1, 2024
0fccebd
add groupby from filter.
Mar 1, 2024
0be73af
close box after select.
Mar 1, 2024
1d064eb
add hints to magic search results.
Mar 1, 2024
03e77e1
line-through for negated filter rows.
Mar 1, 2024
ed368a4
line-through for negated filter rows.
Mar 1, 2024
a3d0229
add related siblings for all aboutnesses.
Mar 1, 2024
e57a479
you can search for filter keys.
Mar 2, 2024
6aa66c4
so many changes.
Mar 5, 2024
de9e9c0
dropdowns for verbs.
Mar 5, 2024
79c8a82
betterments.
Mar 5, 2024
579ed1e
fix countries bug.
Mar 5, 2024
931cc43
fix small bugs.
Mar 5, 2024
10ff002
move plus to the right of filter.
Mar 5, 2024
c0baf68
fix removal of boolean keywords from search strings.
Mar 6, 2024
ea5c3de
cites and cited-by work.
Mar 6, 2024
ad0ac5d
change footer to shorter Arcadia name.
Mar 6, 2024
935334a
edit searches and ranges in place.
Mar 6, 2024
477c74f
add hints to front page.
Mar 6, 2024
2127db0
hack to make coriander OR cilantro be more clear.
Mar 6, 2024
d5ee1c3
pricing redirects to docs
h1-the-swan Mar 6, 2024
ee43abf
filter buttons slide.
Mar 7, 2024
dcd0019
fix source type.
Mar 7, 2024
fd8a704
app bar is usable on mobile.
Mar 7, 2024
6abe32b
stats show up on mobile.
Mar 7, 2024
5827a38
quick update.
Mar 7, 2024
cbf791c
entity page links to left.
Mar 7, 2024
6aa09cc
save point.
Mar 7, 2024
e224d26
blue pdf button.
Mar 7, 2024
6265a8b
sdgs work, with awful hack.
Mar 8, 2024
8fbad06
disable licenses and OA statuses for now.
Mar 8, 2024
5a912e8
show link to pubmed when that's all we have.
Mar 8, 2024
47d81bd
better filters on mobile.
Mar 8, 2024
282e49b
filters less ugly.
Mar 8, 2024
5b82be9
add all institutions and h-index and i10 index to authors.
Mar 11, 2024
a3daf10
add summary stats to sources.
Mar 11, 2024
450ecfc
add terms of service (ToS)
h1-the-swan Mar 11, 2024
fc62e0b
cleaner Add Filters button.
Mar 11, 2024
7aae0b5
export works in endnote format.
Mar 12, 2024
a752447
add "send feedback" button to entities.
Mar 12, 2024
4f71115
entity drawer mostly works.
Mar 12, 2024
ac9f9ea
entity drawer only for works.
Mar 12, 2024
fce1f3e
show loader on entity drawer.
Mar 12, 2024
bfa6862
filter by raw affiliation string.
Mar 13, 2024
798543e
add continents filter and entity.
Mar 13, 2024
e08ba2d
add DOI prefix search.
Mar 13, 2024
4a97fca
show number of hidden items in lists.
Mar 13, 2024
f5d009b
entityType selector works.
Mar 13, 2024
bc63fb4
hide entityType selector for production.
Mar 13, 2024
16bdc7e
authors list search filter works.
Mar 13, 2024
70be629
delete facetConfigs cruft.
Mar 14, 2024
ea965bb
fix massive bug.
Mar 14, 2024
5227396
autocomplete suggestions get only authors.
Mar 15, 2024
81c3822
sources, institutions types work.
Mar 15, 2024
c5525a0
stats rows work on entity pages again.
Mar 16, 2024
8ddd29b
set results per page.
Mar 16, 2024
2efbaa4
add link to homepage on entity pages.
Mar 16, 2024
cdac8da
add support redirect url
h1-the-swan Mar 18, 2024
3bfbc65
feedback form is pre-filled with entity ID
h1-the-swan Mar 20, 2024
18b8d30
update link to author change request form
h1-the-swan Mar 25, 2024
cc5fb31
merge
Apr 2, 2024
e937f0c
add user-meeting link
h1-the-swan Apr 4, 2024
9194ebb
redirect topic urls
Apr 9, 2024
66151b0
link to webinar api tutorial notebook
h1-the-swan Apr 25, 2024
c96ce27
filter by indexing in MAG only.
Apr 26, 2024
6b247aa
progress on apc_sums.
Apr 26, 2024
b0d9700
show apc sums.
Apr 30, 2024
570a653
keywords work.
May 3, 2024
26583b5
filter by apc paid.
May 10, 2024
733984b
show apc paid on article.
May 10, 2024
109938a
truncate column values
May 15, 2024
378b4b4
set truncate to false when export format changes.
May 15, 2024
302bd78
show citations count
May 15, 2024
c066141
add licenses entity.
May 17, 2024
f8090ee
update raw affiliation string filter key.
May 27, 2024
7b6b32c
Licenses work again.
May 28, 2024
576bac3
remove YearRange.
Jun 9, 2024
2227de3
delete a bunch of unused store stuff.
Jun 9, 2024
aa6826e
before merge with nonwork-results.
Jun 22, 2024
9e737a3
fix institutions bugs.
Jun 22, 2024
e612ecc
fix unworkSubheader bug.
Jun 22, 2024
c18b899
sort all entities by display_name.
Jun 22, 2024
434df83
sort entities by citation count.
Jun 22, 2024
a28d1cf
hide export button on non-works results lists.
Jun 24, 2024
46db933
hide new entity serps unless dev env.
Jun 24, 2024
64c4810
update redirects to zendesk help pages
h1-the-swan Jun 25, 2024
078b2ec
remove old filter redirects.
Jun 28, 2024
72b7444
show entitySelect button on mobile as well.
Jun 28, 2024
99907d4
boolean filter names change with entity types.
Jun 28, 2024
ef6c393
enable EntityTypeSelector for production.
Jun 28, 2024
a141664
has an orcid.
Jun 28, 2024
7405588
add past institutions type.
Jun 28, 2024
f30c0e8
save point.
Jun 28, 2024
d319d38
rename: source is fully open access.
Jul 3, 2024
8c01677
sort sources by 2yr mean citedness.
Jul 3, 2024
145b833
basic profile claiming works.
Jul 11, 2024
a6b4cf1
claim will be moderated, takes a week.
Jul 11, 2024
e92bc7d
alt-click to unclaim.
Jul 11, 2024
541917d
dialog to confirm profile claim.
Jul 12, 2024
4bffe7a
temporarily remove Claim Profile button.
Jul 18, 2024
4297f14
add mock results list.
Jul 18, 2024
1893657
update epfl logo
h1-the-swan Aug 6, 2024
6590c63
Fix : in filter value parsing
nolanm1122 Sep 23, 2024
ddf4162
Update ToS
nolanm1122 Oct 17, 2024
93796d6
filter sources by CWTS core.
Oct 24, 2024
c73e1da
filter works by CWTS Core source.
Oct 24, 2024
928c772
remove repository filter.
Oct 24, 2024
aa8ae2a
First working Vite build with dashes of Vue3 and Typescript
mrdevin Nov 4, 2024
1dda3bc
continue cleanup, remove deprecated vuetifyjs items, clean up some vi…
mrdevin Nov 4, 2024
316f8e3
Adding Plawright smoke test for Visiual regression smoke test. fixin…
mrdevin Nov 4, 2024
1cd09a2
working on the main autocomplete and cleaning up some globals
mrdevin Nov 5, 2024
b7ca869
work in progress on search box
mrdevin Nov 5, 2024
d6fdb2e
urls updates and autocomplete fixes
mrdevin Nov 5, 2024
3146013
urls updates and autocomplete fixes
mrdevin Nov 5, 2024
c919d1e
globalfixes, reverting url script, onchange is still acting poorly
mrdevin Nov 5, 2024
8b24559
getting resutls page to render
mrdevin Nov 6, 2024
6e5fe09
Adding some styling to the lit-items
mrdevin Nov 6, 2024
6da4f32
small clean up
mrdevin Nov 6, 2024
b928e48
starting work with VI test for layout perfection
mrdevin Nov 6, 2024
2b334ce
Fixing styles and making test as green as time allows
mrdevin Nov 7, 2024
2acce34
Fix vi test to not throw false positives when an element is missing.
mrdevin Nov 7, 2024
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
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
28 changes: 18 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.vscode
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
*.spec.ts-snapshots/
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"arrowParens": "always",
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true
}
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"esbenp.prettier-vscode"
]
}
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
8 changes: 0 additions & 8 deletions babel.config.js

This file was deleted.

53 changes: 53 additions & 0 deletions e2e/home.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { test, expect } from '@playwright/test';

const ScreenshotOptions = {
animations: 'disabled' as const,
threshold: 0.7,
maxDiffPixelRatio: 0.9,
maxDiffPixels: 3000,
};

test('Home Page Top', async ({ page }) => {
await page.goto('/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/OpenAlex/);
await expect(page).toHaveScreenshot('home-top.png', ScreenshotOptions);
});

test('Home Page Bottom', async ({ page }) => {
await page.goto('/');
await page.getByText('Learn more').click();
await expect(page).toHaveScreenshot('home-bottom.png', ScreenshotOptions);
});

// test('Home Page Login Button', async ({ page }) => {
// await page.goto('/');
// await page.getByRole('button', { name: 'Log in' }).click()
// await expect(page).toHaveScreenshot('home-login.png', ScreenshotOptions);
// });

// test('Home Page Sign Up Button', async ({ page }) => {
// await page.goto('/');
// await page.getByRole('button', { name: 'Sign up' }).click()
// await expect(page).toHaveScreenshot('home-SignUp.png', ScreenshotOptions);
// });

// test('Home Page info Button', async ({ page }) => {
// await page.goto('/');
// await page.getByRole('button').nth(2).click()
// await expect(page).toHaveScreenshot('home-info-menu.png', ScreenshotOptions);
// });

test('Home Page Search', async ({ page }) => {
await page.goto('/');
await page.getByText('coriander OR cilantro').click();
await expect(page).toHaveScreenshot('home-search-open.png', ScreenshotOptions);


});

test('Home Page Final Footer', async ({ page }) => {
await page.goto('/');
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight));
await expect(page).toHaveScreenshot('home-final.png', ScreenshotOptions);
});
39 changes: 39 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import tsParser from '@typescript-eslint/parser';
import js from '@eslint/js';
import sonarJs from 'eslint-plugin-sonarjs';
import pluginVue from 'eslint-plugin-vue';
import vueParser from 'vue-eslint-parser';
import eslintConfigPrettier from 'eslint-config-prettier';
import pluginVuetify from 'eslint-plugin-vuetify';

export default [
js.configs.recommended,
sonarJs.configs.recommended,
...pluginVue.configs['flat/essential'],
...pluginVue.configs['flat/strongly-recommended'],
...pluginVue.configs['flat/recommended'],
eslintConfigPrettier,
{
languageOptions: {
parser: vueParser,
globals: {
node: true,
},
parserOptions: {
ecmaVersion: 2020,
parser: tsParser,
},
},
rules: {
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
'vue/component-tags-order': [
'error',
{
order: ['script', 'template', 'style'],
},
],
// Add Vuetify-specific rules
...pluginVuetify.configs.recommended,
},
},
];
9 changes: 4 additions & 5 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.png">
<link rel="icon" href="favicon.png">
<title>OpenAlex</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link href="https://fonts.googleapis.com/css2?family=Dosis:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">

<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">-->
<script defer data-domain="alpha.openalex.org" src="https://plausible.io/js/script.outbound-links.js"></script>
<script defer data-domain="openalex.org" src="https://plausible.io/js/script.outbound-links.js"></script>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
<strong>We're sorry but OpenAlex doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading