ATAC icon indicating copy to clipboard operation
ATAC copied to clipboard

Add headers highlighting

Open savchenko opened this issue 10 months ago • 1 comments

Response body has syntax highlighting. Can something similar be applied to the headers section? At least to differentiate a header from its content.

savchenko avatar Apr 18 '24 16:04 savchenko

Hello, I am note quite sure I understand. You mean for the response headers?

Julien-cpsn avatar Apr 18 '24 19:04 Julien-cpsn

@savchenko

Julien-cpsn avatar Apr 26 '24 20:04 Julien-cpsn

The "headers" section on the right. Request headers are split in two columns, while response headers are displayed as simple text with no columns or highlighting:

image

Is it possible to make them more readable?

savchenko avatar Apr 28 '24 15:04 savchenko

yes sure I'll highlight them more. It will not be displayed as a table like on the request part though

PS: Don't forget to update the app :))

Julien-cpsn avatar Apr 28 '24 15:04 Julien-cpsn

yes sure I'll highlight them more. It will not be displayed as a table like on the request part though

Any reason not to? Depending on the length of the longest header it might be not the best utilisation of the free space, however in situation with many similar headers is might be handy.

savchenko avatar Apr 28 '24 15:04 savchenko

yes sure I'll highlight them more. It will not be displayed as a table like on the request part though

Any reason not to? Depending on the length of the longest header it might be not the best utilisation of the free space, however in situation with many similar headers is might be handy.

your first reason was the right one. Tables are hard to implement when considering things like scrolling. And as you said, for long headers it will more annoying so let's keep it simple

Julien-cpsn avatar Apr 28 '24 15:04 Julien-cpsn