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

Add default request and folder names #6632

Merged

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Oct 3, 2023

Closes #6614

changelog(Fixes): Fixed issue #6614 where request and folder names would be missing in some cases.

@gatzjames gatzjames requested a review from a team October 3, 2023 11:19
@gatzjames gatzjames self-assigned this Oct 3, 2023
@gatzjames gatzjames force-pushed the feat/default-request-and-folder-names branch from 18f3f90 to f27d007 Compare October 3, 2023 11:22
@@ -916,7 +916,7 @@ export const Debug: FC = () => {
gRPC
</span>
)}
<span className="truncate">{item.doc.name}</span>
<span className="truncate">{!isRequestGroup(item.doc) ? item.doc.name || item.doc.url || 'Untitled request' : item.doc.name || 'Untitled folder'}</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

seems likely to change, would advise extracting to function perhaps sidebarRequestNameOrFallback(r: Request | RequestGroup | GrpcRequest | WebSocketRequest)

@gatzjames gatzjames force-pushed the feat/default-request-and-folder-names branch from 52bb72d to c1b8750 Compare October 3, 2023 14:59
@gatzjames gatzjames enabled auto-merge (squash) October 3, 2023 14:59
@gatzjames gatzjames merged commit 40692b7 into Kong:develop Oct 3, 2023
7 checks passed
@gatzjames gatzjames deleted the feat/default-request-and-folder-names branch October 3, 2023 15:10
jackkav added a commit to jackkav/insomnia that referenced this pull request Nov 24, 2023
* Add default request and folder names in debug and test view

* fix sizes

* extract function

---------

Co-authored-by: jackkav <[email protected]>
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.

Lack of request names after update
2 participants