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

Default to non-empty tab on developer's profile #23

Closed
viktorix opened this issue Nov 30, 2022 · 1 comment · Fixed by #31 or #32
Closed

Default to non-empty tab on developer's profile #23

viktorix opened this issue Nov 30, 2022 · 1 comment · Fixed by #31 or #32
Labels
enhancement New feature or request

Comments

@viktorix
Copy link
Member

Profiles will default to Plugins tab, which is not an issue for plugin developers but it is an issue for theme developers. Here's an example:
https://staging-directory.classicpress.net/developers/benlumia007/

We should consider defaulting to a non-empty tab if plugin tab is empty. We could use the new tab counts to add a conditional check.

A nice user-centric way to solve this would be to add an option for developer to select default tab for their profile. Although defaulting to a non-empty tab will suffice.

@viktorix
Copy link
Member Author

viktorix commented Dec 3, 2022

@xxsimoxx hey, the code has been updated and there seems to be a minor issue. when the default tab is theme/snippet, it doesn't load the content of the tab. Example: https://staging-directory.classicpress.net/developers/benlumia007/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant