Skip to content

feat: show users on login screens - #97

Open
BrandonItaly wants to merge 2 commits into
lostb1t:mainfrom
BrandonItaly:shows-users-login-screen
Open

feat: show users on login screens#97
BrandonItaly wants to merge 2 commits into
lostb1t:mainfrom
BrandonItaly:shows-users-login-screen

Conversation

@BrandonItaly

Copy link
Copy Markdown
Contributor

makes users visible on login screens with the option to hide them

image

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for displaying selectable users on the dashboard login screen by introducing a public users endpoint and a per-user “hide from login screens” policy flag, then wiring that through the SDK and dashboard UI.

Changes:

  • Implement /users/public to return non-hidden users for login user selection.
  • Default the startup/admin user to hidden, and add a “Hide user from login screens” toggle to the user form.
  • Add a login UI user-selection grid (with new CSS) and an SDK endpoint for fetching public users.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
crates/remux-server/src/api/users.rs Implements /users/public and filters users by policy.is_hidden.
crates/remux-server/src/api/startup.rs Sets initial admin user policy to hidden during startup user creation.
crates/remux-sdks/src/remux/mod.rs Adds GetPublicUsers endpoint to call /users/public.
crates/remux-dashboard/src/pages/users.rs Adds user policy toggle to hide/show users on login screens; applies it on create/update.
crates/remux-dashboard/src/main.rs Fetches public users and renders a selectable user grid on the login form.
crates/remux-dashboard/assets/theme.css Styles the public user selection grid on the login page.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/remux-server/src/api/users.rs
Comment thread crates/remux-server/src/api/users.rs
Comment thread crates/remux-server/src/api/users.rs
Comment thread crates/remux-dashboard/src/main.rs Outdated
Comment thread crates/remux-dashboard/assets/theme.css
)?;
user.is_admin = true;
let mut policy = crate::api::UserPolicy::default();
policy.is_hidden = true;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is hidden is already true by default.

think we should make policy non optional for a user (struct) so its already there.

Comment thread crates/remux-server/src/api/users.rs
@BrandonItaly
BrandonItaly force-pushed the shows-users-login-screen branch from 2383e6e to 00b4b99 Compare July 15, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants