wordpress-mobile / wordpress-mobile/WordPress-iOS
Domains: Align expiration labels with Calypso
Open
Nobody has claimed this yet.
[Pri] Low
[Type] Enhancement
Domains
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
- If there is a valid expiry date and the domain is registered, it shows a specific notice based on whether the domain is auto-renewing and/or expired.
- If the expiry date is invalid or the domain isn’t registered, it simply shows a hyphen.
Actual behavior
- iOS doesn't take into account auto-renewing property
- Shows "Never expires" instead of a hyphen
Steps to reproduce the behavior
- Me -> All Domains
- Menu -> Site Domains
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in WordPress/Classes/ViewRelated/Me/All Domains/View Models/AllDomainsListItemViewModel.swift at the expiration-label logic, then compare its cases with the linked Calypso implementation. Verify the behavior from Me → All Domains → Menu → Site Domains: valid registered domains should reflect expiry and auto-renewal, while invalid or unregistered domains should show a hyphen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100