Gavriel Mor
Gavriel Mor
Currently working on a solution for our fork, will post a PR for improved tooltip handling here aswell.
PR is up :) https://github.com/perses/perses/pull/3574
@quantizor Do you think that's something we can merge? I'm working with custom space tokens (ie. 'space0', 'space2', 'space4' and so on) and I cannot get intellisense for them.
@agriffis Thanks for the note! This behavior is due to a well-known [TypeScript issue](https://github.com/microsoft/TypeScript/issues/29729) where string | number overrides IntelliSense for more specific union types like theme tokens. I’ll add...
Haha, it really is. I keep hearing “_your code should document itself!_” — but sometimes it needs a little help. Just pushed a clear inline comment to document the intention....
@agriffis For better reference, here’s the IntelliSense improvement in action:  It's a super minimal change, but it makes a big impact on developer experience. Merging this would help a...