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

Don't show summary/fields on workflow record pages #8804

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

FelixMalfait
Copy link
Member

Hiding the left column on workflow pages

This raises additional questions: how do we edit the title then? Probably need a significant refacto of PageHeader

Screenshot 2024-11-29 at 10 01 08

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR modifies the record show page layout to hide summary and fields sections specifically for workflow record pages, while raising concerns about title editing functionality that will need to be addressed.

  • Added hideSummaryAndFields flag to RecordLayout type to control visibility of left column sections
  • Modified useRecordShowContainerTabs to support workflow-specific layout with hidden summary/fields
  • Updated ShowPageSubContainer to conditionally render summary/fields based on layout settings
  • Introduced RecordLayoutMap type for mapping string keys to RecordLayout objects
  • Refactored tab visibility logic in TabList to handle cases with fewer visible tabs

7 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile

@twentyhq twentyhq deleted a comment from greptile-apps bot Nov 29, 2024
@twentyhq twentyhq deleted a comment from greptile-apps bot Nov 29, 2024
@twentyhq twentyhq deleted a comment from greptile-apps bot Nov 29, 2024
@twentyhq twentyhq deleted a comment from greptile-apps bot Nov 29, 2024
@Weiko Weiko requested a review from thomtrp November 29, 2024 14:19
Copy link
Contributor

@thomtrp thomtrp left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@FelixMalfait FelixMalfait merged commit 29eb9fe into main Nov 29, 2024
19 checks passed
@FelixMalfait FelixMalfait deleted the hide-summary-fields-on-workflows branch November 29, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants