UX Enhancements and Windows Build Fixes
- Dominant language
- Go
- Stars
- 4.1k
- Forks
- 2.2k
- Avg merge
- 10d 12h
- Merged PRs (30d)
- 4
Description
### Environment
### Some minor user experience issues
I identified a few minor areas for improvement that could make the project even more polished
### Issue description
Description: Currently, the login interface requires a manual click on the "Login" button. Standard UX expects the form to submit upon pressing the "Enter" key.
Proposed Fix: Wrap the input components in a form element or add an onKeyDown listener to trigger the login function.
Description: The test file pkg/common/util/os/limits_test.go uses golang.org/x/sys/unix, which causes build failures on Windows because unix.Rlimit and unix.Getrlimit are not defined in the Windows environment.
Proposed Fix: Use build tags (e.g., //go:build !windows) to exclude this test from Windows builds, or implement a mock for the Windows platform.
UX Tweaks: Improving the login flow by adding default cursor focus and 'Enter' key submission.
Cross-platform Support: Fixing a Windows-specific build error in limits_test.go.
add
Contributor guide
Research direction
Start with the login interface described in the issue and verify the current focus and Enter-key behavior. Then inspect pkg/common/util/os/limits_test.go and run the relevant tests on Windows or with Windows build constraints. Done means the login form supports the requested keyboard flow and the test package no longer fails to build on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, frontend, operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100