Skip to content

Conversation

@jamesspeake
Copy link
Contributor

Added folder title into editable area for folder

@notion-workspace
Copy link

@cl-dev-bot
Copy link
Collaborator

Warnings
⚠️

The changelog is empty. What should I put in the changelog?

Messages
📖 Notion issue: TAN-5512
📖

Run the e2e tests

📖 Check translation progress

Generated by 🚫 dangerJS against ddaf209

<Box data-testid="descriptionBuilderFolderPreviewContent">
<Title color="tenantText" variant="h1">
{localize(folderTitle)}
</Title>
Copy link
Contributor

Choose a reason for hiding this comment

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

@jamesspeake I'm not sure about making this an optional widget in the content builder 🤔 If they forget or choose not to add it, I think we end up with a page with bad accessibility/incorrect html hierarchy right? Since we won't have an h1 title?

Or maybe I've misunderstood how this works?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It would indeed be possible to not have the project title in the page, but it felt odd laying out the rest of the page without having the title as part of the layout. Kind of why I added it as a separate PR as I was not totally sure. Good point about accessibility, but this is also possible on the homepage builder already.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point about the homepage builder - in that case, I think this is fine then indeed 👍

Copy link
Contributor

@amanda-anderson amanda-anderson left a comment

Choose a reason for hiding this comment

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

Left a couple comments, but not blocking (unless the accessibility issue is indeed possible) :)

(I didn't do any functional testing).

@jamesspeake jamesspeake merged commit e0226fe into TAN-5512-content-builder-on-folders Nov 4, 2025
9 checks passed
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.

4 participants