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

Separate concerns and update certs #3

Merged
merged 3 commits into from
Oct 6, 2021
Merged

Separate concerns and update certs #3

merged 3 commits into from
Oct 6, 2021

Conversation

dakotablair
Copy link
Collaborator

This PR takes a few steps to separate concerns of computing the gene data to display and computing the DOM changes necessary to reflect those change in the data table. It also updates certificates on build to avoid using expired certificates shipped with the underlying OS, that is, debian stretch.

  • Updated column widths and save timeout.
  • Improved render and sort by separating concerns.
  • Added apt upgrade to update certificates.

This commit improves render time by limiting the number of times cytoscape has
to use its layout functionality. This can be further improved with changes to
the nodeRepulsion function. It also decouples computing the table data from
displaying the table data. There is more work to be done in this area. These
changes solve a bug where a tippy would be frozen if it was shown during a
state change and generally improve the user experience.
The base image contains stale root certificates which caused builds to fail.
This happened when requesting the node setup script which uses a Let's Encrypt
signed certificate. The site's certificate is up to date, but the old root
certificate in the container, which has long since been replaced, finally
expired. This was compounded initially because the script download failed
silently, but this updates it to fail at the first sign of trouble.
@dakotablair dakotablair merged commit f09f64d into main Oct 6, 2021
@dakotablair dakotablair deleted the wip-table branch February 1, 2022 20:57
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.

1 participant