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

Rename system command names for consistency #12852

Merged
merged 19 commits into from
May 24, 2024

Conversation

greenwoodt
Copy link
Contributor

🎩 What? Why?

While working on footer revamp in #12592 I noticed it was quite difficult to find the Page & Topic commands which seeded the DB. To provide more clarity in the future on the location of commands which seed the DB in relation to the creation of this feature/module, we have renamed them and certain calls such as RegisterOrganisation accordingly.

📌 Related Issues

Testing

Find the following file paths in your installation decidim-system/app/commands/decidim/system/create_default_help_pages.rb + decidim-system/app/commands/decidim/system/create_organization.rb

📷 Screenshots

♥️ Thank you!

@greenwoodt greenwoodt added module: core module: pages module: system type: change PRs that implement a change for an existing feature labels May 17, 2024
github-actions[bot]
github-actions bot previously approved these changes May 17, 2024
@andreslucena andreslucena changed the title Rename System Commands (Seeds) Rename system command names for consistency May 17, 2024
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

Apart from my suggestion you also have a conflict that you need to solve, can you check it out please?

@andreslucena andreslucena self-assigned this May 17, 2024
github-actions[bot]
github-actions bot previously approved these changes May 17, 2024
@andreslucena
Copy link
Member

@greenwoodt can you check the git conflict? you need to resolve it with the command line

github-actions[bot]
github-actions bot previously approved these changes May 21, 2024
github-actions[bot]
github-actions bot previously approved these changes May 21, 2024
github-actions[bot]
github-actions bot previously approved these changes May 21, 2024
@greenwoodt
Copy link
Contributor Author

@greenwoodt can you check the git conflict? you need to resolve it with the command line

Rebased the branch with Develop and seemed to solve the issue with the CI. Feel free to review.

@andreslucena
Copy link
Member

@greenwoodt we have conflicts again, sorry :(
Can you check them please?

I will stop merging until we finish this one.

github-actions[bot]
github-actions bot previously approved these changes May 21, 2024
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

Heads up! There was a bad merge related to #12286
We need to leave the organization name translatable. Can you check it out please? I think with my suggestions should be enough

…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
greenwoodt and others added 5 commits May 23, 2024 10:54
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
github-actions[bot]
github-actions bot previously approved these changes May 23, 2024
Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

I didn't catch the underscore before, sorry!

@greenwoodt
Copy link
Contributor Author

I didn't catch the underscore before, sorry!

No worries!

…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
…_pages.rb

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
@andreslucena andreslucena merged commit d9fd536 into decidim:develop May 24, 2024
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename populate_help.rb to static_pages_seeds.rb
2 participants