4

For a long time the tag referred only to the Android component - this is the current tag description:

Provides navigation drawer access. Part of Android's design support library.

However, recently (1 year ago) SwiftUI introduced its own NavigationView component.

This resulted in being referred in SwiftUI questions as well:

There is now a SwiftUI-specific tag but it's not likely to be used more than the .

What should be done to the ?

  • change its description to be more general - both for Android and SwiftUI
  • or nothing - this would require retagging new SwiftUI questions from to

EDIT

I've now realised there is also which serves the same purpose as .

32
  • You need to also consider UWP application. From my view, it seems that the only way is to create [*-navigationview]. All three examples I've found are big topics all on their own. Of course, we could also do without them and use instead [swiftui] [winui] and [material-components-android] which is the higher level these live under.
    – Braiam
    Aug 14, 2020 at 10:40
  • 1
    @Braiam On the other hand if you look at [tabview] it's used in Android, SwiftUI and JSF. And its description is more general: Any visual layout that incorporates selectable tabs as an organizational element. Aug 14, 2020 at 10:46
  • If Navigation View refers to the same UI component in all the different usages, then having a single navigationview is the correct way to go. If they refer to different things in android, swift and windows, then use the prefix based tags. Aug 14, 2020 at 10:51
  • No @BhargavRao if that were the case, we should have one tag: programming, since at the end that's the thing that means the same for all things asked here (that are not off topic). If anything, I prefer not having a tag than generic tags.
    – Braiam
    Aug 14, 2020 at 10:53
  • @pawello2222 having a bad tag shouldn't be used to allow yet another bad tag. Tags are not keywords, they should be meaningful, unambiguous and concrete, something both examples you present aren't.
    – Braiam
    Aug 14, 2020 at 10:53
  • @Braiam I understand what you're saying - but assuming that SwiftUI questions should be tagged [swiftui-navigationview] then what is [navigationview]? Shouldn't it be [android-navigationview]? And even then new questions [navigationview] will be created anyway. Aug 14, 2020 at 11:00
  • @BhargavRao Ideally yes, but suppose tomorrow there will be a new NavigationView component in some other framework which will refer to something else than in SwiftUI/Android. I'd prefer to have [swiftui-navigationview] for SwiftUI questions but I can't force anyone to use it - I'd need to maually retag most questions (and I can't retag them inline yet). Aug 14, 2020 at 11:02
  • I'm not saying that we need to have a generic tag like [ui-component] for all the UI components, @Braiam. Having a single [navigationview] makes the most sense here if it is the same component in all the different usages. Having prefixed tags just for the sake of it, would make the tags too narrow, and undiscoverable soon. We've been through this a lot of times, and you seem to be very obstinate about this. Prefixed tags are fine, if navigationview was different in the different cases, which however, seems to be unlikely. Aug 14, 2020 at 11:02
  • If that's the case, then we can change it when such a thing occurs, @pawello2222. We don't need to make changes right now hoping that someone sometime in the future would create something like that. Aug 14, 2020 at 11:03
  • @BhargavRao Ok, so you're suggesting to change the [navigationview] description to be more universal. Am I right? Aug 14, 2020 at 11:04
  • 1
    Yes, I'm suggesting that. Aug 14, 2020 at 11:04
  • @BhargavRao Does it also mean [swiftui-navigationview] should be removed and its questions retagged to [navigationview]? Aug 14, 2020 at 11:06
  • You don't need to remove and retag, we can just merge the two tags and it would be automatically retagged. Aug 14, 2020 at 11:06
  • 2
    I would like to wait for some community consensus before taking any hasty decisions. Let's see what others want to say about this. Aug 14, 2020 at 11:08
  • 1
    On the other hand I'm thinking now that the [navigationview] tag will have no use on its own. You can't just search by [navigationview] - you need to include a platform tag ([android] etc) as well. Is this the right approach? Aug 14, 2020 at 11:40

0

You must log in to answer this question.

Browse other questions tagged .