-
Notifications
You must be signed in to change notification settings - Fork 126
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
[v1 API - tables] Use default title for tables #11526
Conversation
Description --- Fixes [this monitor](https://dust4ai.slack.com/archives/C05F84CFP0E/p1742553570819939) Aligns with what was done for documents of providing a default title. Risk --- standard Deploy --- front
|
PMRR |
@@ -687,6 +683,8 @@ export async function upsertTable({ | |||
standardizedSourceUrl = standardized; | |||
} | |||
|
|||
const title = titleEmpty ? UNTITLED_TITLE : params.title; |
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.
here it would be "Untitled Table"
no?
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.
I thought about it and IMO better to have one unified "UNTITLED_TITLE"
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.
we could still have UNTITLED_DOCUMENT_TITLE
, UNTITLED_TABLE_TITLE
and UNTITLED_FOLDER_TITLE
defined at the same place? but ofc this is only a fallback since each connector should provide better names
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.
so totally up to you, i'm fine with anything 👍
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.
Thanks :) I think it's better to have only one, despite the downside of it being a bit unaccurate. An option would be to rename "[untitled]", will do that if we ever hear about this again
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
Description
Fixes this monitor
Aligns with what was done for documents of providing a default title.
Risk
standard
Deploy
front