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

Make loading indicator display earlier #318

Merged
merged 4 commits into from
Aug 6, 2024
Merged

Conversation

jmelot
Copy link
Member

@jmelot jmelot commented Aug 5, 2024

You won't be able to see this locally, but as the data has grown in size it's become apparent that the loading indicator is not showing as early as it needs to be. I'm not sure why, I think the way we are using Suspense is correct, but here's a quick stopgap until we come up with a better way (like improving how data is fed to the app...)

Also bumps data

@jmelot jmelot requested a review from brianlove August 5, 2024 19:44
Copy link

github-actions bot commented Aug 5, 2024

No need for rebasing 👍
behind_count is 0
ahead_count is 4

Copy link
Contributor

@brianlove brianlove left a comment

Choose a reason for hiding this comment

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

👍

@jmelot
Copy link
Member Author

jmelot commented Aug 5, 2024

Thank you!

Copy link
Contributor

@brianlove brianlove left a comment

Choose a reason for hiding this comment

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

Loading fix looks good, but there are a few issues:

Several of the changes in Percy are clearly due to the data update, but there's also a case in 'Top cited articles' where the subjects/topics are no longer included:

Old New
image image

The Python tests also fail, preventing Jest from running (6 Jest tests in one suite fail locally):

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

@jmelot
Copy link
Member Author

jmelot commented Aug 5, 2024

Yeah the arXiv subject thing is fine, that's because we consolidated venue names. I'm looking at the test failures now... it runs fine locally so it's something about the github actions configuration

Copy link

github-actions bot commented Aug 5, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
565 169 30% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 3737e35 by action🐍

Copy link

github-actions bot commented Aug 6, 2024

JavaScript Coverage

Summary

Lines Statements Branches Functions
Coverage: 83%
83.66% (384/459) 69.47% (198/285) 81.37% (83/102)
Modified Files • (83%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files83.6669.4781.3783.17 
report-only-changed-files is enabled. No files were changed in this commit :)

@jmelot jmelot merged commit feb09ad into main Aug 6, 2024
4 checks passed
@jmelot jmelot deleted the fix-loading-indicator branch August 6, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants