Skip to content

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Jan 19, 2024

In particular, the following changes are made:

  • Use the class and attribute admonitions along with custom attributes to define classes, views' root attributes, views' components, and attribute values. This allows re-using the responsive design that was made for reference lists, and getting rid of the previous implementation that relied on class attributes, which were not intended for this usage and reduce readability while hindering further contributions due to a lack of flexibility (no admonitions, sub-attributes...)

    image

  • Use definition lists to define view types to allow for clearer and longer descriptions.

    image

  • Rewrite and restructure the explanations when there is a lack clarity.

  • Extract duplicated content to included RST files.

  • Display SVG images into dedicated admonitions.

  • Fix RST and English mistakes.

  • Rename view_architecture to view_architectures, as it lists all existing architectures and doesn't describe the "architecture of a view".

  • Replace underscores with hyphens in image file names to improve SEO.

task-3458320

Forward-Port-Of: #5237

@robodoo
Copy link
Collaborator

robodoo commented Jan 19, 2024

@fw-bot
Copy link
Collaborator Author

fw-bot commented Jan 19, 2024

@AntoineVDV cherrypicking of pull request #5237 failed.

stdout:

CONFLICT (modify/delete): content/developer/reference/user_interface/view_architecture.rst deleted in d36576d49 ([IMP] reference/user_interface: reformat and clarify views reference) and modified in HEAD.  Version HEAD of content/developer/reference/user_interface/view_architecture.rst left in tree.

stderr:

17:55:59.162203 git.c:463               trace: built-in: git cherry-pick d36576d49c914e8db1eb04ab598fd068e99092a1
error: could not apply d36576d49... [IMP] reference/user_interface: reformat and clarify views reference
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
----------
status:

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@AntoineVDV AntoineVDV force-pushed the saas-17.1-master-ref-views-anv-xvid-fw branch from 29b271b to 663e8ee Compare January 22, 2024 15:57
In particular, the following changes are made:
- Use the `class` and `attribute` admonitions along with custom
  attributes to define classes, views' root attributes, views'
  components, and attribute values. This allows re-using the responsive
  design that was made for reference lists, and getting rid of the
  previous implementation that relied on class attributes, which were not
  intended for this usage and reduce readability while hindering further
  contributions due to a lack of flexibility (no admonitions,
  sub-attributes...)
- Use definition lists to define view types to allow for clearer and
  longer descriptions.
- Rewrite and restructure the explanations when there is a lack clarity.
- Extract duplicated content to included RST files.
- Display SVG images into dedicated admonitions.
- Fix RST and English mistakes.
- Rename `view_architecture` to `view_architectures`, as it lists all
  existing architectures and doesn't describe "the architecture of a
  view".
- Replace underscores with hyphens in image file names to improve SEO.

task-3458320

closes #5237

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
@AntoineVDV AntoineVDV force-pushed the saas-17.1-master-ref-views-anv-xvid-fw branch from 663e8ee to 94993d3 Compare January 22, 2024 15:58
@AntoineVDV
Copy link
Collaborator

@robodoo r+

@C3POdoo C3POdoo requested review from a team, ryv-odoo and xmo-odoo and removed request for a team January 22, 2024 16:03
robodoo pushed a commit that referenced this pull request Jan 23, 2024
In particular, the following changes are made:
- Use the `class` and `attribute` admonitions along with custom
  attributes to define classes, views' root attributes, views'
  components, and attribute values. This allows re-using the responsive
  design that was made for reference lists, and getting rid of the
  previous implementation that relied on class attributes, which were not
  intended for this usage and reduce readability while hindering further
  contributions due to a lack of flexibility (no admonitions,
  sub-attributes...)
- Use definition lists to define view types to allow for clearer and
  longer descriptions.
- Rewrite and restructure the explanations when there is a lack clarity.
- Extract duplicated content to included RST files.
- Display SVG images into dedicated admonitions.
- Fix RST and English mistakes.
- Rename `view_architecture` to `view_architectures`, as it lists all
  existing architectures and doesn't describe "the architecture of a
  view".
- Replace underscores with hyphens in image file names to improve SEO.

task-3458320

closes #5237

closes #7453

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
@robodoo robodoo closed this Jan 23, 2024
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.

3 participants