Add UI for internal wiki provider#23528
Conversation
Every OpenProject instance is supposed to have one internal wiki provider.
c8d3422 to
48ba2d5
Compare
| module Wikis | ||
| class InternalProviderSeeder < Seeder | ||
| def seed_data! | ||
| ::Wikis::InternalProvider.create!(universal_identifier: "internal", name: "internal", enabled: true) |
There was a problem hiding this comment.
❓ I wondered, if we should give the internal wiki a universal identifier that represents more the absence of a value. Like the "NULL" uuid: 00000000-0000-0000-0000-000000000000
WDYT?
There was a problem hiding this comment.
On the one hand, I don't think that we need to represent the absence of a value. The internal wiki can have an identifier that it's findable by. Why not?
On the other hand, I'd find it weird and arbitrary that we set a useless UUID for a field that doesn't care about the exact format of its data. We could use 0 the same way that we could use 00000000-0000-0000-0000-000000000000 or file_not_found.
There was a problem hiding this comment.
Yep, all fine. The word internal just didn't catch me. :D But leave it, if there is no pain felt on your side.
Making them consistent with the internal wiki view. Essentially we have a two-level navigation on the left and that needs to be reflected in the breadscrumbs everywhere.
48ba2d5 to
96e1f09
Compare

Ticket
https://community.openproject.org/wp/XWI-108