Skip to content

Show three dots only on collapsed strings #118

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

Merged
merged 1 commit into from
Nov 28, 2022
Merged

Show three dots only on collapsed strings #118

merged 1 commit into from
Nov 28, 2022

Conversation

baartch
Copy link
Contributor

@baartch baartch commented Nov 28, 2022

When a string is collapsed, it always shows the three dots (...) at the end in both states, collapsed and uncollapsed.

This PR should fix this behaviour.

(Unfortunately I'm unable to test this locally. I'm unable get this project up and running. I can build the sources with 'yarn && yarn build', but when I add it to another project (even a fresh create-react-app) I got errors 'Invalid hook call. Hooks can only be called inside of the body of a function component.' and 'Uncaught TypeError: Cannot read properties of null (reading 'useMemo')'. I'm sorry, my skills end here.)

@netlify
Copy link

netlify bot commented Nov 28, 2022

Deploy Preview for any-viewer ready!

Name Link
🔨 Latest commit be5a997
🔍 Latest deploy log https://app.netlify.com/sites/any-viewer/deploys/6384736ea194320009a4dd92
😎 Deploy Preview https://deploy-preview-118--any-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@himself65
Copy link
Contributor

himself65 commented Nov 28, 2022

Thanks for the contribution

@codecov
Copy link

codecov bot commented Nov 28, 2022

Codecov Report

Base: 87.42% // Head: 87.42% // No change to project coverage 👍

Coverage data is based on head (be5a997) compared to base (001fd8c).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   87.42%   87.42%           
=======================================
  Files          18       18           
  Lines        1892     1892           
  Branches      308      308           
=======================================
  Hits         1654     1654           
  Misses        238      238           
Impacted Files Coverage Δ
src/stores/typeRegistry.tsx 93.49% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

2 participants