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

trcl 2408 show good til and created at in ios app #11

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

mike-dydx
Copy link
Collaborator

@mike-dydx mike-dydx commented Nov 7, 2023

Links (dYdX Internal Use Only)

Linear Ticket: TRCL-2408 : Show "good Til" and "created At" in iOS app


Description / Intuition

screenshots provided for long term orders (open)

  • changes title text from "good til" to "good til time"
  • changes good til date formatting to show more exact time

Before/After Screenshots or Videos

Before After

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring or Technical Debt
  • Documentation update
  • Other (please describe: )

Copy link

linear bot commented Nov 7, 2023

@mike-dydx mike-dydx force-pushed the mike/trcl-2408-show-good-til-and-created-at-in-ios-app branch from 57d9cff to db1e93f Compare November 7, 2023 23:34
@mike-dydx mike-dydx self-assigned this Nov 7, 2023
@mike-dydx mike-dydx added this to the v1.0.0 milestone Nov 7, 2023
let text = dydxFormatter.shared.interval(time: Date(milliseconds: expiresAtMilliseconds))
return dydxOrderDetailsViewModel.Item(title: DataLocalizer.localize(path: "APP.TRADE.GOOD_TIL"),
let text = dydxFormatter.shared.dateAndTime(date: Date(milliseconds: expiresAtMilliseconds))
return dydxOrderDetailsViewModel.Item(title: DataLocalizer.localize(path: "APP.TRADE.GOOD_TIL_TIME"),
value: .string(text))
}
return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be .none, same as timePlaced, so it shows a "-".

Web shows a "-" right now, and Yi mentioned it should be a "-" on Slack. I just modified the ticket description to reflect that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnqh johnqh merged commit 94f4cf1 into main Nov 8, 2023
2 checks passed
@mike-dydx mike-dydx deleted the mike/trcl-2408-show-good-til-and-created-at-in-ios-app branch November 8, 2023 16:20
mike-dydx pushed a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants