Skip to content

feat(aliases): search filter and custom-domain alias management#22

Open
User-green wants to merge 5 commits into
Aster-Privacy:mainfrom
User-green:fix/aliases
Open

feat(aliases): search filter and custom-domain alias management#22
User-green wants to merge 5 commits into
Aster-Privacy:mainfrom
User-green:fix/aliases

Conversation

@User-green

Copy link
Copy Markdown
Contributor

Summary

  • Create and manage aliases on custom domains
  • Custom-domain alias screen selector and layout
  • Pagination for alias lists
  • Search filter for alias lists (address and display name, case-insensitive)

Testing

Search, pagination, and the alias-type selector/dropdown were verified on
device (Fdroid debug build, live backend). Custom-domain availability
messaging was blocked earlier by the CSRF-restored-session bug (see #21);
not re-verified after that fix landed.

UserGreen added 5 commits July 3, 2026 23:07
Render the alias list in pages of 100 instead of composing every row at
once, and move alias decryption to Dispatchers.Default. Prevents a
main-thread freeze/ANR when loading hundreds of aliases (500-600).
…te dialog

Replace the two hardcoded domains with a dropdown that includes verified
custom domains, so aliases can be created on custom domains (#16, #17).
Surface availability as Available/Taken/CheckFailed with hint text and a
matching icon instead of a bare red cross, and gray out the disabled
Create button.
Add the client API and viewmodel layer for custom-domain addresses,
which use a separate endpoint from platform aliases.

- add create/update/delete domain-address API methods and request types
- compute domain-address local_part_hash and address_routing_hash to
  match the web client so inbound routing is correct
- viewmodel create_domain_address_now, enable/disable, delete, and a
  local availability check that blocks duplicate names
- surface the backend error body on update/delete failures
- route the create dialog to the alias or domain-address endpoint based
  on the selected domain
- segmented aliases/custom selector, shown only when custom addresses exist
- paginate the custom-domain address list (100 per page)
- match the custom row layout and controls to platform aliases
- add alias_view_custom string across locales
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.

1 participant