Skip to content

Refactoring the diaries page #97

@christophe-lejeune

Description

@christophe-lejeune

Like the diary page (#75), the diaries page (#52) might take advantage of the stringified function used for rewriting rules 5249d4f. Such a refactoring requires that views and lists use userid so that list of diaries may be filtered when requested (instead of filtering at the list level).

The diaries page might be rendered progressively, using different requests :

  • showing first as much as cards as preferred orders appearing in the user file
  • listing public diaries (same for any users, even unregistered)
  • completing the list with the results for the request

Unlike the diary page, diaries are not listed in a specified order. Perhaps this allows to run the here-above requests in parallel (not waiting the previous to complete to start the others).

Moreover, diaries may be incrementally listed (as memos are on the diary page). However, such a feature is perhaps not a priority, given that few users, except me, have dozens of diaries.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions