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

feat: conflict detection UI enhancement #3352

Merged
merged 7 commits into from
Jul 6, 2021
Merged

Conversation

violetyao
Copy link
Contributor

@violetyao violetyao commented Jun 23, 2021

What does this PR do?

This PR displays local and remote LastModifiedDate for each conflicting file as tooltip.

What issues does this PR fix or reference?

@W-9164041@

Functionality Before

We did not display local and remote LastModifiedDate for each conflicting file.

Functionality After

Screen Shot 2021-07-06 at 2 19 51 PM

@violetyao violetyao requested a review from a team as a code owner June 23, 2021 20:31
if (this._conflict.localLastModifiedDate) {
tooltipMessage += nls.localize(
'conflict_detect_local_last_modified_date',
`${new Date(this._conflict.localLastModifiedDate).toLocaleString()}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

@violetyao Is this the format we landed on after the last conversation during parking lot?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's based on our slack discussion in this thread! I'll add this item to today's parking lot to double check the format.

@AnanyaJha
Copy link
Collaborator

@violetyao changes look good overall, will take another look at it once it's been rebased with the latest changes for conflict detection

Current status of PR: Awaiting doc changes for conflict detection label. This is required for GA and will be merged after the label has been approved.

@violetyao violetyao merged commit 81d5fa9 into develop Jul 6, 2021
@violetyao violetyao deleted the violet/ui-enhancement branch July 6, 2021 23:45
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.

6 participants