Skip to content

Conversation

rrahir
Copy link
Collaborator

@rrahir rrahir commented Oct 9, 2025

The composer assistant position was updated with the introduction of the mobile mode but there are two issues with it:

  • the change of CSS rule did not account for cells with the content set on multiple lines
  • the structure of the bottom bar composer (in mobile mode) still hides the formula assistant

This revision reverts the assistant position and simply hides it in mobile. A future work will try to reintroduce it with a modified aspect that suits the mobile interface.

Task: 5155838

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

@robodoo
Copy link
Collaborator

robodoo commented Oct 9, 2025

Pull request status dashboard

@rrahir rrahir force-pushed the saas-18.4-fix-assistant-rar branch 2 times, most recently from 484fd2b to f4e54fc Compare October 10, 2025 10:52
Comment on lines +237 to +238
assistantStyle.top = `-3px`;
assistantStyle.transform = `translate(0, -100%)`;
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: there is a space between the composer and the assistant. Maybe it's good enough 🤷
image

"max-height": `130px`,
}),
showAssistant: !isIOS(), // Hide assistant on iOS as it breaks visually
showAssistant: false, // Hide assistant in small composer as it gets cropped ATM
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see a task to fix this, am I blind or we do we not care about 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.

Its on the task description - it's not properly visible due to the html structure because we have several overflow:hidden that we use for other purpose. since it's not usable, its beter to deactivate it and try to reintroduce it as a banner for bottom bar specifically

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I see why you disabled it, but I didn't find a task to fix it properly in the future

The composer assistant position was updated with the introduction of the mobile
mode but there are two issues with it:
- the change of CSS rule did not account for cells with the content set
  on multiple lines
- the structure of the bottom bar composer (in mobile mode) still hides
  the formula assistant

This revision reverts the assistant position and simply hides it in
mobile. A future work will try to reintroduce it with a modified aspect
that suits the mobile interface.

Task: 5155838
@rrahir rrahir force-pushed the saas-18.4-fix-assistant-rar branch from f4e54fc to 0b3dba6 Compare October 15, 2025 11:30
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.

3 participants