Skip to content

Conversation

allison-truhlar
Copy link
Collaborator

@allison-truhlar allison-truhlar commented Oct 6, 2025

Clickup id: 86aabdjht
@krokicki

This PR ensures that the Properties panel is automatically open to the "Convert" tab when navigating to a path in the file browser from the jobs page.

  • A new method setLayoutWithPropertiesOpen is added to PreferencesContext, allowing components to programmatically update the layout to open the properties drawer (with or without the sidebar) and persist this state.

  • Layout constants (such as panel configurations and default layouts) are centralized in src/constants/layoutConstants.ts for consistency and maintainability between the useLayoutPrefs hook and PreferencesContext.

  • The file path link in the jobs table now uses a custom click handler to update the layout using setLayoutWithPropertiesOpen.

  • When navigating from the jobs table to a file's properties via the file path link, the "Convert" tab in the properties drawer is automatically activated. This is achieved by passing state through the router and updating the drawer's tab selection logic.

@allison-truhlar allison-truhlar merged commit 736fa5f into main Oct 8, 2025
5 checks passed
@allison-truhlar allison-truhlar deleted the open-convert-tab-when-navigating-from-jobs-page branch October 8, 2025 15:53
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.

1 participant