-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Update to Ruby 2.7.2 and Rails 5.2.8.1 #1882
Update to Ruby 2.7.2 and Rails 5.2.8.1 #1882
Conversation
Webdriver is trying to load a Chrome version that doesn't exist. See titusfortner/webdrivers#247 (comment)
Silence method not found
de7f096
to
f9e3b89
Compare
f9e3b89
to
6deb936
Compare
@asideofcode-dev could you elaborate on point 12? Why was this added? To help debug tests? |
@matyikriszta Yup, (12) was to help debug feature tests that use Javascript. There's a class of issues that a screenshot helps debug |
@asideofcode-dev there's a bunch of new files in the |
@matyikriszta Yup, that’s all the update task
…On Tue, 25 Jul 2023 at 17:54, Kriszta Matyi ***@***.***> wrote:
@asideofcode-dev <https://github.com/asideofcode-dev> there's a bunch of
new files in the bin folder, were those generated by rails app:update?
—
Reply to this email directly, view it on GitHub
<#1882 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YM7VZENCZHPT5VUA72FN3XR725HANCNFSM6AAAAAA2URBSVQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@matyikriszta Happy to add that in an upcoming commit. Don’t wanna get in
the way of your current review
…On Tue, 25 Jul 2023 at 20:09, Kriszta Matyi ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In app/views/layouts/application.html.haml
<#1882 (comment)>:
> @@ -9,16 +9,17 @@
%title
= retrieve_title
= favicon_link_tag 'favicon.ico'
- = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': true
- = javascript_include_tag 'vendor/modernizr'
- = javascript_include_tag 'application', 'data-turbolinks-track': true
+ = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
+ // = javascript_include_tag 'vendor/modernizr'
@asideofcode-dev <https://github.com/asideofcode-dev> might as well just
delete this line, unless you think we might add it back later for some
reason?
—
Reply to this email directly, view it on GitHub
<#1882 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YM7V7LWAUQEDDE3UGCDHDXSAKU7ANCNFSM6AAAAAA2URBSVQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@asideofcode-dev can we fix the codeclimate/codefactor issues that flag line length? That shouldn't be too hard to do. The rest I'm ignoring for now. |
@matyikriszta Yup, can do. I'll batch up the work once the review is done |
@asideofcode-dev while testing the site in the browser I noticed a couple of places where the Bootstrap
|
@asideofcode-dev this is a small cosmetic issue but on desktop the dropdown Menu gets "cut off" when open. |
Moderniz has been out of the picture since the move rom Foundation. A tag was unfortunately left over.
@matyikriszta Thanks for flagging those
Updates coming shortly |
12597ce
to
de70a94
Compare
de70a94
to
e40e3b1
Compare
@asideofcode-dev just one more thing, according the latest Bootstrap 5 documentation the way to declare the a close button has slightly changed. The class has changed from |
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.
Once the issue with the close button is resolved this is good to go. Once merged going to do another round of testing on staging. Thanks @asideofcode-dev 🎉
Thanks @matyikriszta. It really helps to have someone who knows how things ought to look. New commits should address the remaining items
|
Note: in order to run |
Hi @asideofcode-dev. Do you know if this change was intentional? commit 32f888ebc2567f286575ef61c10ee6429436d5a8
Author: asideofcode-dev <133222359+asideofcode-dev@users.noreply.github.com>
Date: Sun Jul 23 13:03:23 2023 +0000
Run rails app:update
diff --git a/docker-compose.yml b/docker-compose.yml
index e6e73e81..55c27f50 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,13 +10,7 @@ services:
env_file:
- docker-compose.env
build: .
- command:
- - bundle
- - exec
- - rails
- - server
- - --binding=0.0.0.0
- - --port=3000
+ command: tail -f /dev/null
environment:
DB_HOST: db
volumes: The consequence of this change is that anyone running |
@biggianteye Yes, the change was intentional. By updating the command in |
Thanks for that information. If that's the way you want people to work, it would be good to update the README to reflect this way of working. Currently it says this:
|
What does the PR do ?
Resolves #1881
Resolves #1883
Resolves #1880
Update to Ruby 2.7.2 and Rails 5.2.8.1.
The main idea is to update the gems, run
rails app:update
(while keeping an eye on the upgrade documentation, then put in place the fixes necessary to make sure things are still working.render text:
torender plain:
.gitignore
jquery-ui-rails
andboostrap
bootstrap
, changedata-x
todata-bs-x
e.g.data-toggle
Planner::Application
withRails.application
secret_token
tosecret_key_base
after_save
toafter_create
allow(ENV).to receive(:[]).and_call_original
to avoid stub issues in updated rspecjquery_ujs
torails-ujs
ajax:success
and firing correct events for form submission on remote forms for invitationstoggle
andcollapsed
tocodebar-x
redirect_to :back
toredirect_back fallback_location: root_path
ApplicationRecord
andApplicationMailer
as per upgrade instructions!!!
Bullet.raise = false
in tests. Maybe Bullet got better at detecting n+1 queries, I tried to fix some of them but there's quite a few. Best to scope that as a different effort. The queries don't seem to have caused issues until now.For (9):