-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Prevent workflows to be opened in side panel #12738
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added functionality to prevent workflow-related views from being opened in side panels, with two key implementation changes:
- Enhanced
useCreateViewFromCurrentView
hook to preserve theopenRecordIn
setting when creating new views from existing ones - Modified
ObjectOptionsDropdownLayoutOpenInContent
to disable side panel option for workflow and version objects
These changes address the UX issue where workflow views were incorrectly defaulting to side panel display.
2 files reviewed, 2 comments
Edit PR Review Bot Settings | Greptile
...bject-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsx
Outdated
Show resolved
Hide resolved
...bject-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsx
Outdated
Show resolved
Hide resolved
🚀 Preview Environment Ready! Your preview environment is available at: http://bore.pub:17760 This environment will automatically shut down when the PR is closed or after 5 hours. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b9c0ab2
to
93cad9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Workflow views and versions are seed being opened by default into record page. Issue is that: - new views are set by default to side panel. Updated by copying the current opensIn value to the new view - users can still select side panel into their options. Disabling the button. <img width="650" alt="Capture d’écran 2025-06-19 à 16 15 34" src="https://github.com/user-attachments/assets/0ddc3284-0fed-404f-9c1d-225c65549fd1" />
Workflow views and versions are seed being opened by default into record page. Issue is that: