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

Fix StoriesGroup #78

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Fix StoriesGroup #78

merged 1 commit into from
Jul 21, 2023

Conversation

GermanVor
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@GermanVor
Copy link
Contributor Author

GermanVor commented Jul 20, 2023

as you can see in Storybook (open last stories or make custom property like this

[
  {
    "items": [
      {
        "title": "New navigation",
        "description": "At the top of the panel is the service navigation for each service. Below are common navigation elements: a component for switching between accounts and organizations, settings, help center, search, notifications, favorites.",
        "url": "https://yandex.eu",
        "media": {
          "url": "https://storage.yandexcloud.net/uikit-storybook-assets/story-picture-2.png"
        }
      }
    ]
  },
  {
    "items": [
      {
        "title": "New navigation (2)",
        "description": "Switch to the new navigation right now",
        "media": {
          "url": "https://storage.yandexcloud.net/uikit-storybook-assets/story-picture-4.png"
        }
      }
    ]
  },
  {
    "items": [
      {
        "title": "New navigation (3)",
        "description": "Switch to the new navigation right now",
        "media": {
          "url": "https://storage.yandexcloud.net/uikit-storybook-assets/story-picture-4.png"
        }
      }
    ]
  }
]

)

StoriesGroup is broken cause of hasSteps value.
I get rid of this property.

@GermanVor GermanVor merged commit b17f946 into main Jul 21, 2023
3 checks passed
@GermanVor GermanVor deleted the stories-layout-fix branch July 21, 2023 09:47
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