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

Upgrade to Decidim v0.27 #65

Merged
merged 10 commits into from
Aug 30, 2024
Merged

Upgrade to Decidim v0.27 #65

merged 10 commits into from
Aug 30, 2024

Conversation

laurajaime
Copy link
Collaborator

@laurajaime laurajaime commented Jul 16, 2024

  • Upgrade Ruby to 3.0.7
  • Upgrade Node to 16.9.1
  • Refactor override to decorator
  • Changes related to upgrade in decorators and views
  • Upgrade Ruby version in GH workflow
  • Add chromedriver workaround
  • Fix system tests

@laurajaime laurajaime force-pushed the upgrade/0.27 branch 4 times, most recently from fb599fd to 5048aa7 Compare July 17, 2024 06:48
Copy link
Collaborator

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

Good work here @laurajaime !

I have found some things to review before we mark it done

CHANGELOG.md Show resolved Hide resolved
decidim-department_admin.gemspec Outdated Show resolved Hide resolved
app/decorators/decidim/admin/users_controller_decorator.rb Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

The README says in Temporal fix: added & in case role_name check. that, in theory, this decorator can be removed, no?

Copy link
Collaborator

Choose a reason for hiding this comment

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

haves you checked? what's the status of this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the decorator add department admin role too.
The & has not been put in the original file in decidim...so it has not been resolved and I have put this back in the README

@laurajaime laurajaime force-pushed the upgrade/0.27 branch 5 times, most recently from a2a5810 to ce3cc3a Compare August 26, 2024 14:44
Copy link
Collaborator

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

Please see the comments in the unresolved conversations

Copy link
Collaborator

@tramuntanal tramuntanal left a comment

Choose a reason for hiding this comment

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

Just explain in the comment what has to be checked


RSpec.describe "Overrides" do
it "check failing tests in Decidim v0.28" do
# - spec/system/department_admin_should_be_able_to_manage_assemblies_spec.rb
Copy link
Collaborator

Choose a reason for hiding this comment

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

    # Make test succeed spec/system/department_admin_should_be_able_to_manage_assemblies_spec.rbL73
    # expect(page).to have_current_path decidim_admin_assemblies.assemblies_path(q: { parent_id_eq: parent_assembly&.id })

@laurajaime laurajaime merged commit 6956ee6 into master Aug 30, 2024
2 checks passed
@laurajaime laurajaime deleted the upgrade/0.27 branch August 30, 2024 11:36
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