Files
oak-gpui/crates
Antonio Scandurra 07d269234f Differentiate among tabs with the same name
This commit introduces a new, optional `Item::tab_description` method
that lets implementers define a description for the tab with a certain
`detail`. When two or more tabs match the same description, we will
increase the `detail` until tabs don't match anymore or increasing the
`detail` doesn't disambiguate tabs any further.

As soon as we find a valid `detail` that disambiguates tabs enough, we
will pass it to `Item::tab_content`. In `Editor`, this is implemented by
showing more and more of the path's suffix as `detail` is increased.
2022-07-14 11:54:11 +02:00
..
2022-05-31 11:16:32 +02:00
2022-06-28 13:45:34 -07:00
🎨
2022-05-23 09:48:00 +02:00
2022-05-09 12:48:07 -06:00
2022-07-07 16:16:58 +02:00
2022-07-13 20:19:56 +02:00
2022-07-14 08:13:47 +02:00