show everyone in the directory page by default #12
No reviewers
Labels
No labels
cat
bug
cat
feature
cat
idea
cat
performance
cat
reliability
cat
security
cat
ui
difficulty
high
difficulty
low
difficulty
mid
prio
high
prio
low
prio
mid
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/guichet#12
Loading…
Reference in a new issue
No description provided.
Delete branch "show-everyone-by-default"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current directory system is composed with a route (POST /directory/search) that returns an HTML document corresponding to the search results which is then embedded in the directory page on each search.
A popular request (issue #11) was to change this system to show all users in the public directory by default. Two solutions were found :
Allow "wildcard" search when search box is empty and invoke it when the page is shown, so that the whole directory is embedded on page loaded.
Change the template to embed the whole directory on the backend side before serving the page. This would require some major refactor.
Option 1. was developed in this PR but I can change the code if a better idea is found :)
LGTM
Solves #11