Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input server_url_history implementation #1415

Conversation

SandaruEARL
Copy link

Add URL History Dropdown to AddAccount Page


Description

  • This PR improves the server URL input experience by adding a history dropdown that allows users to quickly select previously used server URLs. The dropdown is accessible via a history icon button in the text field and provides a clean interface for selecting past entries or clearing the history.

Changes

  • Added ServerUrlHistory class to manage server URL history using SharedPreferences
  • Implemented history dropdown UI with animated transitions
  • Added ability to select history items with a single click
  • Added option to clear history
  • Ensured proper positioning and styling of the dropdown menu
  • Fixed layout issues with the dropdown positioning

Implementation Details

  • Used a Column layout approach instead of Stack/Positioned for better positioning
  • Added smooth animations for dropdown appearance/disappearance
  • Implemented proper scrolling for cases with many history items
  • Added visual separation between text field and dropdown

Testing

  • Tested on Samsung J7 prime(8.1 oreo)

Added iconbutton to server URL input text field in the "Add an account screen" that make users to see previous input server URLs and use them without typing makes UX bit improved.
Added icconButton to "Add an Account" screen that make users to use previous server URLs by improving UX a bit more..
@SandaruEARL
Copy link
Author

  • This PR improves the server URL input experience by adding a history dropdown that allows users to quickly select previously used server URLs. The dropdown is accessible via a history icon button in the text field and provides a clean interface for selecting past entries or clearing the history.

@SandaruEARL SandaruEARL changed the title Server input url history implementation input server_url_history implementation Mar 16, 2025
@chrisbobbe
Copy link
Collaborator

This isn't a change we've considered before; we don't have an issue for it in the tracker. Please start a new topic in #mobile in the Zulip development community explaining why this is needed.

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.

2 participants