Skip to content

Install turbo-rails#9881

Merged
ahukkanen merged 21 commits intodevelopfrom
feature/redesign-turbo
Oct 26, 2022
Merged

Install turbo-rails#9881
ahukkanen merged 21 commits intodevelopfrom
feature/redesign-turbo

Conversation

@entantoencuanto
Copy link
Copy Markdown
Contributor

🎩 What? Why?

This PR adds the turbo-rails dependencies to Decidim

@entantoencuanto entantoencuanto added the project: redesign Barcelona City Council contract label Oct 5, 2022
@entantoencuanto entantoencuanto marked this pull request as ready for review October 18, 2022 17:41
@Crashillo Crashillo force-pushed the feature/redesign-turbo branch from 43ec8b5 to 59421b8 Compare October 19, 2022 11:13
@Crashillo
Copy link
Copy Markdown
Contributor

Since the last commit (about what I mentioned in today's meeting) is a very likely source of git conflicts, I'd like to merge it asap 🙏 taking preference over other PRs

Crashillo
Crashillo previously approved these changes Oct 20, 2022
@Crashillo
Copy link
Copy Markdown
Contributor

ping @ahukkanen

@Crashillo Crashillo force-pushed the feature/redesign-turbo branch from 0133461 to b3f8880 Compare October 24, 2022 15:04
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

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

I see one potential problem on how the initializer() method is implemented for the page, if you could take a look?

I'd like to solve this kind of issue as early as possible as this tends to cause bugs somewhere else along the line. The system tests may not notice such issues easily as most of them are reloading the whole view when the test starts.

@Crashillo Crashillo mentioned this pull request Oct 25, 2022
1 task
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

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

This makes the comments spec flaky even with the added sleep.

Please see below how to fix it.

Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen left a comment

Choose a reason for hiding this comment

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

Good to go!

@ahukkanen ahukkanen merged commit b260e25 into develop Oct 26, 2022
@ahukkanen ahukkanen deleted the feature/redesign-turbo branch October 26, 2022 09:43
entantoencuanto added a commit that referenced this pull request Oct 26, 2022
* develop: (35 commits)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  Add missing i18n key in Initiatives (#9892)
  ...
entantoencuanto added a commit that referenced this pull request Oct 31, 2022
* develop: (36 commits)
  Fix proposal etiquette and length validator with base64 images (#9639)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  ...
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Nov 23, 2022
* Install turbo-rails

* Add install turbo task to decidim:webpacker:install

* Fix turbo dependencies

* Update package-lock files and synchronize app design files

* Update package-lock files and synchronize app design files including turbo

* Reorder turbo installation task and remove yarn files after that

* Reorder turbo import

* Reorder js imports in decidim_core entrypoint

* Initialize character counter on turbo:load event

* Use initializer only with turbo events

* Ensure initializer is called once

* Reorder imports

* Move turbo-rails dependency to core

* Fix external_link initialization in legacy design index.js

* Fix selector in test

* Force flaky test

* rearrangement frontend libraries

* legacy index (from develop)

* move all the comments initializations to its own gem

Co-authored-by: Hugoren Martinako <aumpfbahn@gmail.com>
@ferblape ferblape mentioned this pull request Feb 9, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: redesign Barcelona City Council contract

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants