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

Store preferred span name column width in localStorage #965

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Jun 24, 2022

Different developers tend to look at different kinds of traces, meaning that they often prefer some set width of span name column in trace view.

Without this patch, the width is set at 25% and it resets on refresh. With this patch the width is remembered in localStorage and preserved on refresh, making it less necessary to adjust.

Posting it without a backing issue since it's a tiny change.

yurishkuro
yurishkuro previously approved these changes Jun 24, 2022
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

thanks

Different developers tend to look at different kinds of traces, meaning
that they often prefer some set width of span name column in trace view.

Without this patch, the width is set at 25% and it resets on refresh.

With this patch the width is remembered in localStorage and preserved
on refresh, making it less necessary to adjust.

Signed-off-by: Ivan Babrou <github@ivan.computer>
@yurishkuro yurishkuro enabled auto-merge (squash) June 24, 2022 01:05
@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

Merging #965 (7c59a76) into main (ec17f78) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
- Coverage   95.43%   95.37%   -0.06%     
==========================================
  Files         242      242              
  Lines        7552     7554       +2     
  Branches     1889     1890       +1     
==========================================
- Hits         7207     7205       -2     
- Misses        338      342       +4     
  Partials        7        7              
Impacted Files Coverage Δ
.../components/TracePage/TraceTimelineViewer/duck.tsx 98.65% <100.00%> (+0.01%) ⬆️
...mponents/TracePage/TraceStatistics/tableValues.tsx 95.17% <0.00%> (-2.07%) ⬇️
...nents/TracePage/TraceTimelineViewer/SpanBarRow.tsx 100.00% <0.00%> (+5.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec17f78...7c59a76. Read the comment docs.

@yurishkuro yurishkuro disabled auto-merge June 24, 2022 02:43
@yurishkuro yurishkuro merged commit df426d5 into jaegertracing:main Jun 24, 2022
@bobrik
Copy link
Contributor Author

bobrik commented Jun 24, 2022

Thanks!

@bobrik bobrik deleted the ivan/remember-width branch June 24, 2022 03:10
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.

None yet

2 participants