-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[MIG] web_environment_ribbon: Migration to 15.0 #2055
[MIG] web_environment_ribbon: Migration to 15.0 #2055
Conversation
Couldn't trigger a proper run in runbot. So i guess now it's time to wait until runbot works with 15.0. |
|
AFAIK, runbot is not yet working for v15, due to change to GitHub actions and the dependency to travis2docker thing. |
e2470af
to
1114705
Compare
Hello @pedrobaeza , it is launched on other repo:
|
I'm afraid not, Denis. Enter into "Details", and you'll see "Skipped" status due to what I have commented. |
I should have been reading better. Thank you Perdo for the informations and the time taken. |
For the pre-commit issue |
1114705
to
6d9a4bb
Compare
rebased to include a652ba3 with newer setuptools-odoo that support Odoo 15.0 |
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.
LG, code review only
from odoo.tests import common | ||
|
||
|
||
class TestEnvironmentRibbonData(common.SavepointCase): |
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.
SavepointCase is deprecated
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.
thanks for the hint, i did miss this update in the migration guide
6d9a4bb
to
0d7fadc
Compare
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.
Seems good. Thanks
Do you guys know when this migration will be finished? Thanks |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2055-by-pedrobaeza-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
Very weird. Let's try again: /ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2055-by-pedrobaeza-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
Currently translated at 100.0% (4 of 4 strings) Translation: web-14.0/web-14.0-web_environment_ribbon Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_environment_ribbon/nl/
0d7fadc
to
fcb8c6e
Compare
Better error messages would be needed i think:
Somehow pre-commit did not create the setup directory right after the 15.0 release (when this was migrated) |
But the folder is created by pre-commit itself. Did you run it? |
@pedrobaeza i ran it when migrating (there where bugs in the OCA tooling then) i ran it again, but now i get this error:
Edit: |
81e89bd
to
387d45e
Compare
I didn't get that error, so your pre-commit local installation should be damage. Sometimes /ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
runbot still says no and gives no error message. https://runbot.odoo-community.org/runbot/static/build/3516324-2055-387d45/logs/job_10_test_base.txt:
https://runbot.odoo-community.org/runbot/static/build/3516324-2055-387d45/logs/job_20_test_all.txt
Edit:
Should have been this image: Where should i report this? |
Congratulations, your PR was merged at e7aa0e1. Thanks a lot for contributing to OCA. ❤️ |
Runbot is not working for v15 and its replacement is runboat (note the |
/ocabot migration web_environment_ribbon |
@pedrobaeza thanks for your support in this one. |
@ap-wtioit it seems there's a glitch in the module: when you hover on the navbar, the ribbon disappears. Have you experimented it? |
@pedrobaeza that's this commit: |
Uhm, I see it as a weird design decision. Previously there wasn't this problem, making the ribbon transparent and clickable-through it. Can this behavior be put now? |
It's still click through and transparent. But it visually blocked my intention of clicking the app menu. When migrating i felt as if the banner blocked my view and i didn't expect that something that is hidden to be clickable. So for me the fix was that the banner get's out of the way if i move the cursor to the menu. |
Sorry, my mistake, but even being clickable, it's not the usual thing. The question remains the same: hiding a big element like the ribbon when moving the cursor is not visually ergonomic, provoking eyestrain and even can be flashing epileptic warning. And it's happening on the whole navbar, even on the farthest right part. I beg you to reconsider this behavior and revert back it. |
I don't want to force you, and of course I can propose the revert myself. Sorry if you have seen my comments as a command. What I don't want is to propose such revert and don't agree on doing such move. About hiding the apps dropdown, I don't see it as a big deal, as 99% of people will use either Anyways, other option can be to change z-index for putting such dropdown on top of the ribbon. |
I got that it's not a big deal for you to hide all the items behind the banner, as i would expect you to know Odoo from the inside out. I'm trying to make Odoo more user friendly for the people new to Odoo. And reading the menus and the headings is one of the first things a user should do to orient themselves within a new software. We also teach users to use the test system first (where we use the banner). The Banner makes all the Text behind it unreadable in terms of contrast ratios. So i tried to fix that with the current commit (that can be improved). Based on the correlation of eye movement to the cursor. I would like to work with you on improvements for the issues you have. But i think it would be best done in a new issue or pull request where we can discuss improvements. |
replaces #2049, now based on branch 15.0 and following https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0
Info @wt-io-it