-
-
Notifications
You must be signed in to change notification settings - Fork 926
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
Convert data dumps page to stimulus.js #5080
Conversation
3b53c10
to
0ce7b9e
Compare
app/views/pages/data.html.erb
Outdated
<template data-dump-target="template"> | ||
<li><a href="#"></a></li> | ||
</template> | ||
</ul> | ||
<p>We also provide weekly dumps of the historial RubyGems.org Redis data. (We do not use redis anymore but these are here for historical purposes.)</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest redis dump is 2016. Can we drop it from the page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll remove it. I can't see a reason why we'd need 8 year old redis backups.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5080 +/- ##
=======================================
Coverage 97.03% 97.03%
=======================================
Files 421 421
Lines 8776 8776
=======================================
Hits 8516 8516
Misses 260 260 ☔ View full report in Codecov by Sentry. |
0ce7b9e
to
e235c1c
Compare
e235c1c
to
c28e3c8
Compare
ec723f1
to
d7f7059
Compare
I'm targeting the static pages for the first to receive the new design.
The data dump page uses javascript to fill the available dumps. Without a template based approach, it's difficult to switch to Tailwind. Rather than fuss with the original javascript, I quickly rewrote the page using stimulus controllers. It otherwise looks identical.