Add "Add Bot" button on bot profiles + in-app invite link popup support

(#1153) Feature Under consideration api ui

Problem

Right now, users can't add a bot directly from its profile inside the app, which causes friction — they have to leave the app entirely and go through a browser flow. Similarly, when a user pastes a bot invite link in chat and taps it, it opens the web browser instead of handling it natively within the app, which causes a broken and slow experience, especially on mobile.

Proposed solution

Add a visible "Add Bot" button directly on bot profile pages inside the Fluxer app, so users can add a bot to their server without ever leaving the app. Additionally, add in-app invite link interception — when a user pastes or taps a bot invite link inside a chat, it should trigger a native popup/modal (similar to how Discord handles it) that lets the user select a server and authorize the bot directly within the app, instead of redirecting to the web OAuth flow.

Notes (optional)

Notes:
  • The "Add Bot" button UX could mirror how Discord's bot profile shows an "Add App" button
  • The in-app invite popup should handle the OAuth permission scopes natively
  • This would significantly improve the mobile UX for bot discovery and onboarding
Potential files/areas:
  • Bot profile component / screen
  • Deep link / URL intent handler for invite links
  • OAuth/authorization flow — in-app WebView or native modal

3 comments

Sign in with Fluxer to comment and vote.
Comment by @notgapriel
RexSystem 1 vote originally by @notgapriel on GitHub
This is a good idea. Even if it just opens the same link, this achieves the same goal as copying the bot's User ID and pasting it into https://web.fluxer.app/oauth2/authorize?client_id=<client ID>&scope=bot&permissions=0 with less friction. Main thing is you'd, as the bot developer, want an option somewhere (perhaps in the application menu) to set what permissions it'd ask for by default.
Comment by @CLtheman1-A
RexSystem 1 vote originally by @CLtheman1-A on GitHub 1 reply
Not only that, but the screen we currently have when choosing where to add the bot to, is buggy and partially unusable on mobile, because if I select another community other than what's already selected by default, the screen turns black and I can't do anything further. So that screen needs to be fixed for mobile users using Firefox-like(or Mozilla-based) browsers(which is what I use).
Comment by @kenderbard
RexSystem 1 vote originally by @kenderbard on GitHub
You should probably make an actual bug report for that if you haven't already.