Skip to content

Remove more ScopedBlocks#30623

Merged
ptgott merged 1 commit intopaul.gottschling/30268-scopedblocksfrom
paul.gottschling/2023-08-17-rm-more-scopedblocks
Aug 17, 2023
Merged

Remove more ScopedBlocks#30623
ptgott merged 1 commit intopaul.gottschling/30268-scopedblocksfrom
paul.gottschling/2023-08-17-rm-more-scopedblocks

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented Aug 17, 2023

This builds on the work done in #30616 and contributes to #30616.

@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Aug 17, 2023

Reviewer note: This PR will be based on top of #30616 until that PR gets merged. I'll backport these two PRs manually after that.

Copy link
Copy Markdown
Contributor

@lsgunn-teleport lsgunn-teleport left a comment

Choose a reason for hiding this comment

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

I'm not sure that this is the best solution, but I think it's an improvement for the sake of visibility.

This builds on the work done in #30616 and contributes to #30616.
@ptgott ptgott force-pushed the paul.gottschling/2023-08-17-rm-more-scopedblocks branch from 9ae282c to 17dc9f1 Compare August 17, 2023 17:09
@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Aug 17, 2023

@lsgunn-teleport Definitely agree it's not the best solution. My main goal here is to be able to remove the ScopedBlock component from the docs engine ASAP so we can stop using it and find something better!

@ptgott ptgott merged commit d4be97f into paul.gottschling/30268-scopedblocks Aug 17, 2023
@ptgott ptgott deleted the paul.gottschling/2023-08-17-rm-more-scopedblocks branch August 17, 2023 17:10
github-merge-queue Bot pushed a commit that referenced this pull request Aug 17, 2023
* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
ptgott added a commit that referenced this pull request Aug 21, 2023
Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
ptgott added a commit that referenced this pull request Aug 21, 2023
Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
ptgott added a commit that referenced this pull request Aug 24, 2023
Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
github-merge-queue Bot pushed a commit that referenced this pull request Aug 24, 2023
* Replace multi-line ScopedBlocks with Tabs

Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.

* Finish removing ScopedBlocks from the docs

Backports #30629

Closes #30268

* Remove `Tabs` components with one `TabItem`

Backports #30769

In #30616, we replaced `ScopedBlocks` with `Tabs` components. This was
because most `ScopedBlocks` included variations on the same text for
multiple scopes, and replacing them with `TabItem`s was straightforward.
However, some replacements included only a single `TabItem`, which
displays awkwardly in the docs.

This change removes `Tabs` components with only one `TabItem`, replacing
them with body text.

* Remove the remaining ScopedBlocks in the docs

* Remove the remaining ScopedBlocks
github-merge-queue Bot pushed a commit that referenced this pull request Aug 24, 2023
* Replace multi-line ScopedBlocks with Tabs

Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.

* Finish removing ScopedBlocks from the docs

Backports #30629

Closes #30268

* Remove `Tabs` components with one `TabItem`

Backports #30769

In #30616, we replaced `ScopedBlocks` with `Tabs` components. This was
because most `ScopedBlocks` included variations on the same text for
multiple scopes, and replacing them with `TabItem`s was straightforward.
However, some replacements included only a single `TabItem`, which
displays awkwardly in the docs.

This change removes `Tabs` components with only one `TabItem`, replacing
them with body text.

* Remove the remaining ScopedBlocks in the docs
github-merge-queue Bot pushed a commit that referenced this pull request Aug 24, 2023
* Replace multi-line ScopedBlocks with Tabs

Backports #30616

* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.

* Finish removing ScopedBlocks from the docs

Backports #30629

Closes #30268

* Remove `Tabs` components with one `TabItem`

Backports #30769

In #30616, we replaced `ScopedBlocks` with `Tabs` components. This was
because most `ScopedBlocks` included variations on the same text for
multiple scopes, and replacing them with `TabItem`s was straightforward.
However, some replacements included only a single `TabItem`, which
displays awkwardly in the docs.

This change removes `Tabs` components with only one `TabItem`, replacing
them with body text.

* Remove the remaining ScopedBlocks in the docs
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