cortex-cms/cortex

View on GitHub

Showing 132 of 132 total issues

TODO found
Open

    # TODO: this logic effectively gets called multiple times (slow?) - how do we optimize or cache the result?
Severity: Minor
Found in app/models/cortex/content_item.rb by fixme

TODO found
Open

    # TODO: After migration to class-based schemas, move these methods to a concern

TODO found
Open

        argument :tenant_id, types.ID # TODO: check that tenant_id within active_tenant and authorize. Which layer should this occur in?

TODO found
Open

      # TODO: DRY all this up

TODO found
Open

      # TODO: This needs to be generic functionality
Severity: Minor
Found in app/cells/cortex/index_cell.rb by fixme

TODO found
Open

      content_item.tenant = input.current_user.active_tenant # TODO: In future, grab from form/route, rather than current_user + perform authorization checks

TODO found
Open

      title = @content_item.field_items.find { |field_item| field_item.field.name == 'Title' }.data['text'] # TODO: refactor this hardcoded Field reference

TODO found
Open

    def field_name(prefix, content_type) # TODO: extract

TODO found
Open

        # TODO: scope to tenant; allow tenant argument

TODO found
Open

      # TODO: ContentType mappings

TODO found
Open

# TODO: Refactor
Severity: Minor
Found in app/models/cortex/contract.rb by fixme

TODO found
Open

# TODO: ContentTypes, Decorators or Contracts themselves should inform the system what the correct Decorator is, not a hardcoded concern method

TODO found
Open

    # TODO: Fields

TODO found
Open

    # TODO: the whole thing

TODO found
Open

    # FieldItem and State Convenience Methods. TODO: move to concern? transactions?
Severity: Minor
Found in app/models/cortex/content_item.rb by fixme

TODO found
Open

# TODO: The entire Publish system needs to be reworked to avoid hardcoded references and data integrity issues

TODO found
Open

        # TODO: DRY - this logic appears in other classes

TODO found
Open

        # TODO: iterate through, provide JSON of Widget parser for frontend

TODO found
Open

  -# TODO: remove conditional once fields are properly converted to React

TODO found
Open

    # TODO: This needs to be in a plugin
Severity: Minor
Found in app/helpers/cortex/popup_helper.rb by fixme
Severity
Category
Status
Source
Language