Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the diaries page #97

Open
christophe-lejeune opened this issue Dec 14, 2019 · 0 comments
Open

Refactoring the diaries page #97

christophe-lejeune opened this issue Dec 14, 2019 · 0 comments

Comments

@christophe-lejeune
Copy link
Member

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.

christophe-lejeune added a commit that referenced this issue Dec 13, 2020
Users can create collections to gather diaries. This feature allows to arrange the diaries page (#97). It is available for users who can read more than 3 diaries. It is particularly useful for people having access to many diaries, such as assistants, teachers or supervisors.
christophe-lejeune added a commit that referenced this issue Oct 5, 2024
The local cache is cleaned when a diary access is removed.

Thanks to Lola Dente !
christophe-lejeune added a commit that referenced this issue Oct 19, 2024
As soon as a diary access is removed, the diary is removed from the 
diaries page.
christophe-lejeune added a commit that referenced this issue Oct 19, 2024
This minor fix prevents confusion when different users share the same computer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant