MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
15 stars 5 forks source link

Decide initial loading flow #485

Closed eyeseast closed 2 months ago

eyeseast commented 6 months ago

On the current site, loading www.documentcloud.org will (eventually) redirect a logged-in user to the manager with their own documents as the default search. Anonymous users get redirected to the home page.

Do we want to keep this flow, or do something different?

allanlasser commented 6 months ago

https://stackoverflow.com/questions/71360354/redirecting-from-exported-handle-hook-in-sveltekit

eyeseast commented 3 months ago

Decision: Match current experience, and add in a link to "all of your documents" in the sidebar.

Eventually: Kill the /home/ page and load the search view.