Skip to content

Conversation

@AntoineVDV
Copy link
Collaborator

@AntoineVDV AntoineVDV commented Aug 1, 2023

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

@robodoo
Copy link
Collaborator

robodoo commented Aug 1, 2023

@C3POdoo C3POdoo requested review from a team, rco-odoo and xmo-odoo and removed request for a team August 1, 2023 15:43
@AntoineVDV AntoineVDV marked this pull request as draft August 1, 2023 15:53
@AntoineVDV AntoineVDV removed request for a team, rco-odoo and xmo-odoo August 1, 2023 15:54
@AntoineVDV AntoineVDV force-pushed the master-ref-views-anv branch 3 times, most recently from f57bcf8 to 55d97c0 Compare August 8, 2023 10:00
@AntoineVDV AntoineVDV changed the title [REF] reference/views: rewrite and reformat [IMP] reference/user_interface: reformat and clarify views reference Aug 8, 2023
@AntoineVDV AntoineVDV force-pushed the master-ref-views-anv branch from 55d97c0 to ccccf49 Compare December 8, 2023 14:42
@AntoineVDV AntoineVDV changed the base branch from master to 17.0 December 8, 2023 14:43
@AntoineVDV AntoineVDV force-pushed the master-ref-views-anv branch 5 times, most recently from 504fea3 to 7f375c4 Compare January 3, 2024 16:13
@AntoineVDV AntoineVDV marked this pull request as ready for review January 15, 2024 16:33
@C3POdoo C3POdoo requested review from a team, ryv-odoo and xmo-odoo and removed request for a team January 15, 2024 16:35
@AntoineVDV AntoineVDV removed request for a team, ryv-odoo and xmo-odoo January 15, 2024 16:36
Copy link
Collaborator

@Feyensv Feyensv left a comment

Choose a reason for hiding this comment

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

Very nice work already 👍

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
@AntoineVDV AntoineVDV force-pushed the master-ref-views-anv branch from 3a72330 to d36576d Compare January 16, 2024 18:08
@AntoineVDV
Copy link
Collaborator Author

@robodoo r+

@robodoo robodoo closed this in 439c452 Jan 19, 2024
AntoineVDV added a commit that referenced this pull request Jan 22, 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

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
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>
fw-bot 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

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
X-original-commit: a17eaf4
@fw-bot
Copy link
Collaborator

fw-bot commented Jan 23, 2024

@AntoineVDV this pull request has forward-port PRs awaiting action (not merged or closed):

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 #7497

X-original-commit: a17eaf4
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
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.

4 participants