Skip to content

GET /api/texts/ route should return only what the texts page needs.  #98

@mrchrmn

Description

@mrchrmn

At this moment, all information about a text, including the full text, is transferred from the server for the text list page.

This may not be problematic now, but it could become a problem when the list grows and the texts become longer (think book chapters), particularly on mobile.

I suggest that for the list the query returns only the id, title, and truncated text. When clicked, the full information, including full text, is loaded and stored in the currenttextState.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions