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

[16.0][IMP] web_remember_tree_column_width: adjust SCSS selector #2720

Conversation

cuongnmtm
Copy link
Contributor

@cuongnmtm cuongnmtm commented Jan 12, 2024

This PR fixes the issue #2717

Technical note:

  • Previously, only columns with the class o_column_sortable had the custom SCSS applied to them. As a result, columns like HTML were not sortable and didn't benefit from the custom SCSS.
  • This pull request made changes to the SCSS selector to include all table columns in the list view. However, the record selector (the first checkbox column) and column optional (the last column) that have the class o_list_controller were excluded.

@OCA-git-bot
Copy link
Contributor

Hi @luisg123v, @frahikLV,
some modules you are maintaining are being modified, check this out!

@cuongnmtm cuongnmtm force-pushed the imp-web_remember_tree_column_width-scss-selector branch from 6f25175 to cce3461 Compare January 12, 2024 12:48
@cuongnmtm cuongnmtm changed the title [IMP] web_remember_tree_column_width: adjust SCSS selector [16.0][IMP] web_remember_tree_column_width: adjust SCSS selector Jan 12, 2024
@AurelijaNorvaisaite
Copy link

@cuongnmtm It works!

@paulius-sladkevicius
Copy link

Hello @pedrobaeza, could you help with an extra review and possible merge?

@pedrobaeza
Copy link
Member

Sorry, I don't use this module.

@paulius-sladkevicius
Copy link

Guys @luisg123v, @frahikLV , can you check it out?

Copy link

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

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

Regarding code: LGTM

Regarding commit message:

  • Lines are too long, they should be split to 72 characters
  • It says "this pull request", but it's a commit.

Previously, only columns with the class o_column_sortable had the custom
SCSS applied to them. As a result, columns like HTML were not sortable
and didn't benefit from the custom SCSS.

This commit made changes to the SCSS selector to include all table's
columns in the list view. However, the record selector (the first
checkbox column) and the column optional (the last column) that have the
class o_list_controller were excluded to avoid unexpected behavior.
@cuongnmtm cuongnmtm force-pushed the imp-web_remember_tree_column_width-scss-selector branch from cce3461 to dd81906 Compare May 9, 2024 05:28
@cuongnmtm
Copy link
Contributor Author

I updated the commit message, thanks @luisg123v .

Copy link

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@luisg123v
Copy link

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-2720-by-luisg123v-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 80cc590 into OCA:16.0 May 9, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 18ed6ad. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants