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

Sub App override of category and sub-category doesnt apply #4171

Open
adamboutcher opened this issue Feb 19, 2025 · 5 comments
Open

Sub App override of category and sub-category doesnt apply #4171

adamboutcher opened this issue Feb 19, 2025 · 5 comments

Comments

@adamboutcher
Copy link
Contributor

Not sure if this would be a bug depending on how the logic runs but if you try to override the category/subcategory of a sub-app, this isn't reflected in the WebUI.

@osc-bot osc-bot added this to the Backlog milestone Feb 19, 2025
@johrstrom
Copy link
Contributor

Not sure if this would be a bug depending on how the logic runs but if you try to override the category/subcategory of a sub-app, this isn't reflected in the WebUI.

I think that's expected. If you want to re-arrange how they're grouped/appear on the navigation bar follow these instructions:

https://osc.github.io/ood-documentation/latest/customizations.html#menus-based-on-links

@adamboutcher
Copy link
Contributor Author

I'll close the issue if its intended behaviour and I'm just trying to do something freaky.

@johrstrom
Copy link
Contributor

🤦‍♂ Actually, you may be able to supply the subcategory in the form.yml

form_config.fetch(:subcategory, ood_app.subcategory)

form:
# ...
attributes:
# ...
subcategory: 'some other subcategory'

@adamboutcher
Copy link
Contributor Author

🤦‍♂ Actually, you may be able to supply the subcategory in the form.yml

ondemand/apps/dashboard/app/models/batch_connect/app.rb

Line 129 in 419d230
form_config.fetch(:subcategory, ood_app.subcategory)

If that is the case then it isn't reflected in the WebUI.

@adamboutcher
Copy link
Contributor Author

This also means sub-apps for things like bc_desktop can't be recategorised etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants