Skip to content

[#117] | Dhanoj | Enhance the styling of request completion time#165

Merged
kannananil merged 2 commits into
DeveloperGarage:mainfrom
Dhanoj0810:enhancement/request-completion-time-styling
Oct 21, 2025
Merged

[#117] | Dhanoj | Enhance the styling of request completion time#165
kannananil merged 2 commits into
DeveloperGarage:mainfrom
Dhanoj0810:enhancement/request-completion-time-styling

Conversation

@Dhanoj0810
Copy link
Copy Markdown
Collaborator

@Dhanoj0810 Dhanoj0810 commented Oct 14, 2025

Screenshot 2025-10-21 at 11 28 02 AM

expect(navbar).toBeInTheDocument();
expect(statusBar).toHaveTextContent(/^200 OK 0.12s$/);
expect(statusBar).toHaveTextContent(/^200 OK0.12s$/);
});
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is that expected not to have a single space between the status text and time taken? or is it just a lint fix?

expect(navbar).toBeInTheDocument();
expect(statusBar).toHaveTextContent(/^Network Error 0.46s$/);
expect(statusBar).toHaveTextContent(/^Network Error0.46s$/);
});
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Here as well, Shouldn't the space is expected

Copy link
Copy Markdown
Collaborator

@Aman-shabbas Aman-shabbas left a comment

Choose a reason for hiding this comment

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

Hi @Dhanoj0810 I've added comments about few doubts I had during the Review, once you clarify that I can approve this

@Dhanoj0810
Copy link
Copy Markdown
Collaborator Author

Dhanoj0810 commented Oct 21, 2025

We're using CSS gap: 12px for visual spacing only, not adding any space character in the JSX. The tests needed to be updated to match the actual DOM text content, which doesn't include the visual spacing created by CSS gap. The visual spacing works perfectly for the UI, but the DOM text content remains '200 OK0.12s' without any space character.

I've updated the ResponsePanel test cases to resolve confusion about the spacing implementation.

Copy link
Copy Markdown
Collaborator

@Aman-shabbas Aman-shabbas left a comment

Choose a reason for hiding this comment

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

Changes verified and approved

@kannananil kannananil merged commit 21f0935 into DeveloperGarage:main Oct 21, 2025
3 checks passed
@kannananil kannananil added this to the v0.1.0 milestone Oct 21, 2025
@kannananil kannananil linked an issue Oct 21, 2025 that may be closed by this pull request
2 tasks
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.

Enhance the styling of request completion time

3 participants