1
0
Fork 0
forked from OpenNeo/impress
impress/vendor/cache
Emi Matchu 684dcb53ba Add Turbo to speed up the app, and set up for missing UJS features
Oh right, we don't have Rails UJS going on anymore, which is what
handled the confirmation prompts for deleting lists. Turbo is the more
standard modern solution to that, and should speed up certain
pageloads, so let's do it!

Here I install the `turbo-rails` gem, then run `rails turbo:install` to
install the `@hotwired/turbo-rails` npm package. Then I move
`application.js` that's run all on pages but the outfit editor into our
section of JS that gets run through the bundler, and add Turbo to it.

I had to fix a couple tricky things:

1. The outfit editor page doesn't play nice with being swapped into the
   document, so I make it require a full page reload instead.
2. Prefetching the Sign In link can cause the wrong `return_to` address
   to be written to the `session`. (It's a GET request that does, ever
   so slightly, take its own actions, oops!) As a simple hacky answer,
   we disallow prefetching on that link.

Haven't fixed up the UJS stuff for confirm prompts to use Turbo yet,
that's next!
2024-03-13 13:43:48 -07:00
..
actioncable-7.1.3.2.gem
actionmailbox-7.1.3.2.gem
actionmailer-7.1.3.2.gem Upgrade to Rails 7.1.3.2 2024-02-22 11:25:52 -08:00
actionpack-7.1.3.2.gem
actiontext-7.1.3.2.gem
actionview-7.1.3.2.gem Upgrade to Rails 7.1.3.2 2024-02-22 11:25:52 -08:00
activejob-7.1.3.2.gem
activemodel-7.1.3.2.gem
activerecord-7.1.3.2.gem Upgrade to Rails 7.1.3.2 2024-02-22 11:25:52 -08:00
activestorage-7.1.3.2.gem
activesupport-7.1.3.2.gem
addressable-2.8.6.gem Run bundle update 2024-02-22 11:48:32 -08:00
async-2.8.1.gem
async-container-0.16.13.gem
async-http-0.61.0.gem
async-http-cache-0.4.3.gem
async-io-1.41.0.gem
async-pool-0.4.0.gem
babel-source-5.8.35.gem
babel-transpiler-0.7.0.gem
base64-0.2.0.gem
bcrypt-3.1.20.gem
bigdecimal-3.1.6.gem
bindex-0.8.1.gem
bootsnap-1.18.3.gem
build-environment-1.13.0.gem
builder-3.2.4.gem
concurrent-ruby-1.2.3.gem
connection_pool-2.4.1.gem
console-1.23.4.gem
crass-1.0.6.gem
date-3.3.4.gem
devise-4.9.3.gem Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
devise-encryptable-0.2.0.gem
dotenv-2.8.1.gem
dotenv-rails-2.8.1.gem
drb-2.2.0.gem Run bundle update 2024-02-22 11:48:32 -08:00
e2mmap-0.1.0.gem Create rails public_data:commit task, to share public data dumps 2024-02-29 14:30:33 -08:00
erubi-1.12.0.gem
execjs-2.9.1.gem Run bundle update 2024-02-22 11:48:32 -08:00
falcon-0.43.0.gem
ffi-1.16.3.gem
fiber-annotation-0.2.0.gem
fiber-local-1.0.0.gem Move manifest backfill to swf_assets:manifests task 2023-11-10 16:52:50 -08:00
globalid-1.2.1.gem
haml-6.3.0.gem
http_accept_language-2.1.1.gem
httparty-0.21.0.gem
i18n-1.14.1.gem Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
io-console-0.7.2.gem
io-event-1.4.4.gem
irb-1.11.2.gem
jsbundling-rails-1.3.0.gem
json-2.7.1.gem
launchy-2.5.2.gem
letter_opener-1.9.0.gem Run bundle update 2024-02-22 11:48:32 -08:00
localhost-1.2.0.gem
loofah-2.22.0.gem
mail-2.8.1.gem
mapping-1.1.1.gem
marcel-1.0.2.gem
memory_profiler-1.0.1.gem
mini_mime-1.1.5.gem
minitest-5.22.2.gem
msgpack-1.7.2.gem
multi_xml-0.6.0.gem
mutex_m-0.2.0.gem
mysql2-0.5.6.gem
net-imap-0.4.10.gem
net-pop-0.1.2.gem
net-protocol-0.2.2.gem
net-smtp-0.4.0.1.gem
nio4r-2.7.0.gem Upgrade to Rails 7.1.3.2 2024-02-22 11:25:52 -08:00
nokogiri-1.16.2-x86_64-linux.gem
openssl-3.2.0.gem Replace falcon server with puma 2024-01-23 21:55:26 -08:00
orm_adapter-0.5.0.gem
parallel-1.24.0.gem
process-metrics-0.2.1.gem
protocol-hpack-1.4.2.gem
protocol-http-0.25.0.gem Move manifest backfill to swf_assets:manifests task 2023-11-10 16:52:50 -08:00
protocol-http1-0.16.1.gem
protocol-http2-0.15.1.gem Move manifest backfill to swf_assets:manifests task 2023-11-10 16:52:50 -08:00
protocol-rack-0.4.1.gem
psych-5.1.2.gem
public_suffix-5.0.4.gem
racc-1.7.3.gem
rack-3.0.9.1.gem
rack-attack-6.7.0.gem
rack-mini-profiler-3.3.1.gem
rack-session-2.0.0.gem
rack-test-2.1.0.gem
rackup-2.1.0.gem Run bundle update 2024-02-22 11:48:32 -08:00
rails-7.1.3.2.gem
rails-dom-testing-2.2.0.gem Upgrade to Rails 7.0.6 2023-10-23 19:05:07 -07:00
rails-html-sanitizer-1.6.0.gem
rails-i18n-7.0.8.gem
railties-7.1.3.2.gem
rake-13.1.0.gem
rdiscount-2.2.7.3.gem Run bundle update 2024-02-22 11:48:32 -08:00
rdoc-6.6.2.gem
react-rails-2.7.1.gem
record_tag_helper-1.0.1.gem
reline-0.4.2.gem
responders-3.1.1.gem Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
ruby2_keywords-0.0.5.gem Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
samovar-2.2.0.gem Replace falcon server with puma 2024-01-23 21:55:26 -08:00
sanitize-6.1.0.gem
sass-rails-6.0.0.gem
sassc-2.4.0.gem
sassc-rails-2.1.2.gem
sentry-rails-5.16.1.gem
sentry-ruby-5.16.1.gem
shell-0.8.1.gem
sprockets-4.2.1.gem
sprockets-rails-3.4.2.gem
sqlite3-1.7.2-x86_64-linux.gem
stackprof-0.2.26.gem Run bundle update 2024-02-22 11:48:32 -08:00
stringio-3.1.0.gem
sync-0.5.0.gem
temple-0.10.3.gem
terser-1.2.0.gem Run bundle update 2024-02-22 11:48:32 -08:00
thor-1.3.0.gem
thread-local-1.1.0.gem
tilt-2.3.0.gem Run bundle update 2024-02-22 11:48:32 -08:00
timeout-0.4.1.gem
timers-4.3.5.gem
traces-0.11.1.gem
turbo-rails-2.0.5.gem Add Turbo to speed up the app, and set up for missing UJS features 2024-03-13 13:43:48 -07:00
tzinfo-2.0.6.gem Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
warden-1.2.9.gem Run bundle update 2024-02-22 11:48:32 -08:00
web-console-4.2.1.gem
webrick-1.8.1.gem
websocket-driver-0.7.6.gem Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
websocket-extensions-0.1.5.gem
will_paginate-4.0.0.gem Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
zeitwerk-2.6.13.gem Run bundle update 2024-02-22 11:48:32 -08:00