Rename "component" to "view component"

Problem

With #365293 (closed) in mind and !88899 (closed) as PoC we are seeing a concept being added called "components". This conflicts with "view components" (currently referred to as "components") added in !82118 (merged).

This can lead to confusion.

Proposal

Rename "components" to "view components" which involves

  • filesystem structure: app/components app/view_components (and specs)
  • file and class name: base_component.rb (BaseComponent) base_view_component.rb (BaseViewComponent)
Edited by Peter Leitzen