Skip to content

Move dynamic elements out of main page generation #47

Description

@RodionGork

Probably it is for me myself as it incorporates several changes.

How it is

Currently main page shows list of recent user actions at one side and list of recent problems at the other. The data are loaded in the corresponding controller.

In future we want main page to be customizable (for case when people want to change them for their clone of the site). Thus preloading this data may be unnecessary.

How it should be

Loading these two data blocks should be done in separate API endpoints (e.g. two json-returning urls). Then main page template should load them via javascript, if necessary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions