Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOP-4973: Allow tabs/language selector to be added directly to the content #1228

Merged
merged 9 commits into from
Sep 17, 2024

Conversation

mayaraman19
Copy link
Collaborator

@mayaraman19 mayaraman19 commented Sep 10, 2024

Stories/Links:

DOP-4973

Adds use of :tabs-selector-position: main page option (see here as example) to specify that a tabs selector should be rendered in the main column as opposed to the right-hand side. Please check mobile, tablet, and desktop view to ensure that the selected tabs render 1) the correct content when different languages are selected and 2) in the right place.

Also moves makeChoices function into own util to stop circular dependency 🙌

Figma

Current Behavior:

Driver Connection
Run Atlas Search Queries

Staging Links:

Driver Connection (displays in main column)
Run Atlas Search Queries (still displays in right column - also ignore the "click me")

Notes:

README updates

    • This PR introduces changes that should be reflected in the README, and I have made those updates.
    • This PR does not introduce changes that should be reflected in the README

Copy link
Collaborator

@rayangler rayangler left a comment

Choose a reason for hiding this comment

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

Thanks for working on this! Left some comments revolving around cleanup/standardizing. Most are non-blockers though

src/components/DocumentBody.js Outdated Show resolved Hide resolved
src/templates/document.js Outdated Show resolved Hide resolved
src/components/Tabs/TabSelectors.js Outdated Show resolved Hide resolved
src/templates/document.js Outdated Show resolved Hide resolved
src/components/Tabs/TabSelectors.js Outdated Show resolved Hide resolved
@mayaraman19 mayaraman19 merged commit 790f07c into main Sep 17, 2024
4 checks passed
@mayaraman19 mayaraman19 deleted the DOP-4973 branch September 17, 2024 14:20
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.

2 participants