doctree icon indicating copy to clipboard operation
doctree copied to clipboard

[UI] Handle long directory path

Open joshuabezaleel opened this issue 2 years ago • 2 comments

This is what it shows when the indexed path was getting pretty long 😆

image

joshuabezaleel avatar Jun 13 '22 08:06 joshuabezaleel

As a Java dev, what would be the best way to truncate those paths? Taking the first one as an example, I could do:

  1. extras/.../gson/typeadapters/UtcDateTypeAdapter.java
  2. .../google/gson/typeadapters/UtcDateTypeAdapter.java
  3. extras/src/main/java/com/google/gson/typeadapters/...

I'm guessing option #1?

emidoots avatar Jun 14 '22 20:06 emidoots

It's actually been way too long since I wrote something in Java but yes I am also assuming that option 1 would be the most intuitive for most 😄

joshuabezaleel avatar Jun 16 '22 12:06 joshuabezaleel