On a package/type page, it would be nice being able to have filter to filter out symbols according to some criterias. The ones I currently have in mind:
[ ] Extensions
[ ] Protected
[ ] Deprecated
[ ] OptIn1
[ ] OptIn2
Those last 2 OptIn filters are related to https://github.com/Kotlin/dokka/issues/1862. I think I'd like it to expand to all the different OptIn annotation present in that type. For an example @ExperimentalApi or @LowLevelApi, etc... There's an issue that if there are a lot of OptIn, the filter list will grow too much but IMO if there are many OptIn in a type, this is probably a code smell already.
Ideally, the filter can be set through a query parameter so that shareable links can include them:
I think I'd like the default to include everything for easier "search in page" functionality. With visual clues for deprecated/protected/opt-in symbols (see also #3924)
Follow up from this slack discussion
On a package/type page, it would be nice being able to have filter to filter out symbols according to some criterias. The ones I currently have in mind:
Those last 2
OptIn
filters are related to https://github.com/Kotlin/dokka/issues/1862. I think I'd like it to expand to all the differentOptIn
annotation present in that type. For an example@ExperimentalApi
or@LowLevelApi
, etc... There's an issue that if there are a lot ofOptIn
, the filter list will grow too much but IMO if there are manyOptIn
in a type, this is probably a code smell already.Ideally, the filter can be set through a query parameter so that shareable links can include them:
I think I'd like the default to include everything for easier "search in page" functionality. With visual clues for deprecated/protected/opt-in symbols (see also #3924)
Note that this issue is different from https://github.com/Kotlin/dokka/issues/3874 in that it filters inside the page while I understand #3874 is about search filters.