Skip to content

Conversation

@ColinJolivet
Copy link
Collaborator

@ColinJolivet ColinJolivet commented Oct 22, 2024

PR for internal review

Remove the expand button of an example viewer when there is no hidden lines in it, in order not to confuse people

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: angular#53279

What is the new behavior?

No more expand button when there is no hidden lines in the example viewer

image

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Initially there was a test on the operation of the expand button in the doc-viewer.componenent.spec.ts, but I moved it to the example-viewer.component.spec.ts as it seemed more appropriate.

@tverhoken
Copy link

Dans le titre (et un peu partout où on utilise cette formulation) :

remove expand button if there is no hidden lines

Est-ce qu'on ne reformulerai pas en

remove expand button when there is no hidden lines

?

@ColinJolivet ColinJolivet changed the title refactor(docs-infra): remove expand button if there is no hidden lines refactor(docs-infra): remove expand button when there is no hidden lines Oct 22, 2024
@ColinJolivet ColinJolivet force-pushed the refactor/dont-show-expand-button-when-there-is-no-hidden-line branch 3 times, most recently from cfbc59e to 2f243f9 Compare October 22, 2024 12:24
@ColinJolivet ColinJolivet force-pushed the refactor/dont-show-expand-button-when-there-is-no-hidden-line branch from 2f243f9 to 499c976 Compare November 7, 2024 10:40
@ColinJolivet ColinJolivet force-pushed the refactor/dont-show-expand-button-when-there-is-no-hidden-line branch from 499c976 to 8d5cf9b Compare December 4, 2024 10:03
… is no hidden lines

Remove the expand button of an example viewer if there is no hidden lines in it, in order not to confuse people
@ColinJolivet ColinJolivet force-pushed the refactor/dont-show-expand-button-when-there-is-no-hidden-line branch from 8d5cf9b to 5e7dffb Compare December 5, 2024 15:42
Copy link

@tverhoken tverhoken left a comment

Choose a reason for hiding this comment

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

Let's go !

@ColinJolivet
Copy link
Collaborator Author

PR approved in intern
I close this PR and submit it to Angular

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