Skip to content
Discussion options

You must be logged in to vote

Here are direct answers and design recommendations for each of your four points:


1. Host Recognition: A Hybrid Approach (A + B)

The cleanest pattern is combining A and B:

  1. Automatic Discovery via Token Origins (Option B):
    • Any host that has a configured API token/credential in Plannotator should automatically be registered as a known Forgejo host. This provides zero-config UX for private self-hosted servers where the user already signed in or saved a token.
  2. Explicit Config forgejoHosts (Option A):
    • Maintain a forgejoHosts: string[] config array (matching the existing gitlabHosts convention). This allows public or unauthenticated read-only instances to be recognized without requiring a …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AndrewDanyliuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants