Skip to content

Private instance cleanup#274

Merged
thebaer merged 3 commits into
developfrom
private-instance-improvements
Mar 27, 2020
Merged

Private instance cleanup#274
thebaer merged 3 commits into
developfrom
private-instance-improvements

Conversation

@thebaer

@thebaer thebaer commented Mar 2, 2020

Copy link
Copy Markdown
Member

This improves things a bit on private instances.

  • Hide Reader link in footer when unauthenticated on private instances.
    This isn't publicly visible, so as in the header, we now also hide this in the footer.
  • Show Log in page as landing on private instances, instead of normal landing page.
    Private instances are only meant for registered users, and are often closed or invite-only, making the current landing page kind of pointless (and potentially confusing). This remedies that by putting the login form first, while of course still linking to the signup page if an instance has open registrations.

thebaer added 3 commits March 2, 2020 15:34
(that is, hide the footer nav link when logged out)
This moves logic for determining whether or not to show a "Sign up" page
on /signup (i.e. because the `/` route shows another, non-signup page)
into the AppCfg.SignupPath() method. It also changes various signup
links to use this value.
@thebaer thebaer added this to the 0.12 milestone Mar 2, 2020
@cjeller1592

Copy link
Copy Markdown
Contributor

Looks good! Really like having the "Reader" link removed in the footer and "Log in" as the default landing page. Definitely clears things up for private instances.

@thebaer

thebaer commented Mar 27, 2020

Copy link
Copy Markdown
Member Author

Merging now!

@thebaer thebaer merged commit c340024 into develop Mar 27, 2020
@thebaer thebaer deleted the private-instance-improvements branch March 27, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants