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

Add 'all' option and display labels if selected #172

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

recrwplay
Copy link
Collaborator

Allows for the addition of an all option in the products dropdown.

  • handles URL.replace depending on whether or not all is selected
  • handles URL.replace depending on whether or not localhost is the url.host
  • displays labels when all is selected

@netlify
Copy link

netlify bot commented May 18, 2023

Deploy Preview for neo4j-docs-ui ready!

Name Link
🔨 Latest commit f69e852
🔍 Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/663a56fc777a810008925fd9
😎 Deploy Preview https://deploy-preview-172--neo4j-docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@davidoliverSP2 davidoliverSP2 left a comment

Choose a reason for hiding this comment

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

I think it is useful to add an "All" option, even though this is going to be exactly the same as "Neo4j Enterprise Edition"? (maybe it won't always match EE though, which future proofs any decisions that come down the pipeline)

Just an observation - if you select All in the built page, the link doesn't work - was that expected?

@recrwplay
Copy link
Collaborator Author

It wasn't expected as such, but the logic of whether or not it tries to update the URL could be improved.

recrwplay and others added 24 commits February 14, 2024 17:50
When an ID is set on a block that is part of a tabbed group the tab
switching and scroll happens as it does when a user clicks on a tab.
```
:page-banner: note
:page-banner-text: Lorem ipsum dolor sit est.
:page-banner-link: https://neo4j.com/docs
:page-banner-link-text: Link text
```

`note` is the default, `warning` can also be used.
Usage

`[role=label--*]`

Can be existing labels eg `[role=label--enterprise-edition]` or
action-version labels such as `[role=label--new-5.11]` or
`[role=label--deprecated-5.13]`

- Roles are converted to labels.
- Roles applied to headings and table captions are displayed inline,
right-aligned.
- Roles on block level elements are displayed before the corresponding
block element.
Fixes a few issues in the initial implementation of neo4j-documentation#211:

- adds `cluster` and `dynamic` labels
- fixes padding in admonitions
…ation#226)

I think it's a bad UX if the page moves unexpectedly. When looking at
examples, people may want to look at them together with the text leading
to it, and they have to manually scroll back up to.
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.

None yet

5 participants