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 context widget flag on items #117

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

Conversation

jhultgre
Copy link
Contributor

Sometimes you need to nest items and it's useful to be able to add extra context widgets even if the item isn't a top level item.

extra property to override context widget display
override for default behavior for more complicated item grouping.
"""
Enable/disable context change for this item.
"""
self._allows_context_widget = allow
Copy link

Choose a reason for hiding this comment

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

Black would make changes.
trailing whitespace

@pscadding pscadding added the Logged Logged in Jira label Apr 3, 2020
@jfboismenu
Copy link
Contributor

Hi @jhultgre , could you give an example of a situation where this can be used? We're trying to evaluate whether we should merge this in, if there's an acceptable workaround or if there could be an ever better workflow for this?

Maybe even include a screenshot of your change in action to better get your point across?

@jhultgre
Copy link
Contributor Author

jhultgre commented Apr 8, 2020

I believe I added this when I was batch publishing a ton of files when we swapped projects one year. I would drag in a bunch of asset folders, create asset items and then create model task and rig task items below those.

Mostly I just want to see the context I’m forcing in the collector when I use items for grouping.

I can send in more specifics in a support ticket later since it might get a little too proprietary for here.

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

Successfully merging this pull request may close these issues.

3 participants