wordpress-mobile / wordpress-mobile/WordPress-iOS

Domains: Align expiration labels with Calypso

Open
#22,366 1 comment 0 reactions 0 assignees View on GitHub

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

Follow Calypso logic:

  • 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
Steps to reproduce the behavior
  1. Me -> All Domains
  2. Menu -> Site Domains
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.