posit-dev / posit-dev/positron
Data Explorer: Customize display of whitespace or other characters
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Similar to Positron + source files, it may be nice to have a visible display of whitespace characters in the grid. For whitespace, we could use Space: U+00B7 “middle dot”: · with a light-grey color, similar to our planned handling of NULL/NA/NaN etc.
I'd vote for a "show whitespace" option that causes the front end to render space characters as middle dots (or tab/arrow symbols, etc).
I think it could be a white space with a:beforepseudo-element that adds the middle dot
We'll probably need to do something similar so that copying and pasting content when whitespace is visible doesn't copy the dots
- @jmcphers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Data Explorer grid and its front-end rendering path, then review the existing or planned handling of NULL, NA, and NaN values. Define how a "show whitespace" option should display spaces and other whitespace, including the shown middle-dot styling and copy/paste behavior. Done means the option renders whitespace visibly without copying display markers into the underlying content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100