foreman_openscap icon indicating copy to clipboard operation
foreman_openscap copied to clipboard

WIP: Fix "SCAP Content" menu entry

Open quba42 opened this issue 5 years ago • 7 comments

  • Converts the "SCAP Content" menu entry to title case.
  • Converts the uncountable noun "Content" to singular.

Relates to: https://projects.theforeman.org/issues/25223

quba42 avatar Oct 17 '19 14:10 quba42

Can one of the admins verify this patch?

theforeman-bot avatar Oct 17 '19 14:10 theforeman-bot

The reason it is "WIP" is that converting the term "Content" to singular means that certain paths and variables should also be changed. This is more involved and needs more testing, that I have not yet gotten around to...

quba42 avatar Oct 17 '19 14:10 quba42

Thanks for the patch, while we're on topic, what do you think about extracting the whole menu to first level category?

ares avatar Oct 18 '19 07:10 ares

Does "first level category" mean that Open SCAP would have its own menu next to "Monitor", "Content", "Hosts", "Configure", etc. ? If so, I don't have any particularly strong opinions on that. I do feel like the menu path Hosts > Compliance > Reports, would fit more naturally under Monitor > Reports > Compliance. On the other hand, I am hesitant to spread out the Open SCAP plugin's menu entries all over the UI. Perhaps there needs to be a general discussion whether plugins should keep their menu entries together or whether they should be spread around by topic. (As another example, I hate the fact that Katello "Content Hosts" are in the "Hosts" menu and not in the "Content" menu, imho it makes for a really awkward workflow.)

quba42 avatar Oct 18 '19 08:10 quba42

Perhaps we should really open a discussion on discourse. I feel like my previous comment goes beyond the scope of a PR. :smile:

quba42 avatar Oct 18 '19 08:10 quba42

Perhaps we should really open a discussion on discourse. I feel like my previous comment goes beyond the scope of a PR. 😄

@quba42 Hi, sorry for doing a bit of a repo archeology and poking into old things, but was there such a discussion?

adamruzicka avatar Mar 12 '24 08:03 adamruzicka

@adamruzicka If I did not link such a discussion here, then no, it probably did not happen.

quba42 avatar Mar 12 '24 09:03 quba42