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

GalleryInput, NotebookInput: plumb headermode through draftInputContext #4006

Conversation

jamesacklin
Copy link
Member

@jamesacklin jamesacklin commented Oct 4, 2024

Removes the floating action button for Notebook and Gallery channels if the header mode isn't "next." Plumbs this through draftInputContext from the parent channel.

Also fixes the safe-area insets of channel indexes with the experimental channel switcher.

This doesn't touch the visual presentation of detail views; those components all have the right headerMode prop now but the layout is still busted. Saving for another time.

Header mode Notebook Gallery
Default image image
Next Screenshot 2024-10-04 at 10 06 20 AM image

Copy link

linear bot commented Oct 4, 2024

@jamesacklin jamesacklin marked this pull request as draft October 4, 2024 13:15
@jamesacklin
Copy link
Member Author

Moving to draft to fix experimental channel switcher positioning / add buttons.

@jamesacklin jamesacklin marked this pull request as ready for review October 4, 2024 14:09
Copy link
Member

@latter-bolden latter-bolden left a comment

Choose a reason for hiding this comment

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

Looks good, we probably need a pass on header button spacing/title cutoff but that can be followup.

@latter-bolden latter-bolden merged commit 7d67471 into develop Oct 4, 2024
1 check passed
@latter-bolden latter-bolden deleted the james/tlon-2914-floating-plus-button-still-needs-to-be-removed branch October 4, 2024 18:22
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.

2 participants