apache / apache/beam

[Playground] [Task]: Support for a default category of an example

Open
#22,604 1 comment 0 reactions 1 assignee Claimed by @alexeyinkin View on GitHub
beam-playground improvement P4 task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What needs to happen?

Currently an example can have multiple categories. In the frontend, it gets highlighted in all of them, and they all are initially expanded:

![image](https://user-images.githubusercontent.com/44893228/183052655-5a2fa7a2-2378-45ea-9e10-64b7fd2bbf6d.png)

This is confusing. We need a notion of a default category for an example. If it is selected by URL or as a default one in its SDK, then only that category should be expanded. If a user explicitly selects an example in some category, then that category should be expanded by default instead.

### Issue Priority

Priority: 3

### Issue Component

Component: beam-playground

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.