Skip to content

When you sync a repo, "View on GitHub" will need a tab change to be used #3698

Closed

Description

@justalemon

Description

When you sync a repository with "History" open, you will need to alternate the tabs to use "View on GitHub for the recent commits.

Version

GitHub Desktop version: 1.0.11
OS version: Windows 10 v1709 c16299.125

Steps to Reproduce

  1. Clone a repository from GitHub
  2. Create a commit
  3. Select the History tab with that commit
  4. Sync the repo
  5. Right-click and try to select "View on GitHub"

Repro

Expected behavior: The "View on GitHub" option should be available after the sync.

Actual behavior: The option is disabled even if the commit is already on GitHub.
Capture

Reproduces how often: Every time.

Logs

2017-12-29.desktop.production.log

Activity

  1. shiftkey commented on Dec 30, 2017

    @shiftkey
    Member

    @justalemon thanks for the details. This feels similar to #2737, which dealt with remote commits not being added to the history - which we fixed in #3541. In this case we should "discard" from cache and re-add local commits that we know need to be updated.

  2. added
    bug
    on Dec 30, 2017
  3. justalemon commented on Dec 30, 2017

    @justalemon
    Author

    Yeah, is similar to #2737 but that was for 0.X.X (the old version of GitHub Desktop).

    The solution here is a bit simple: if the History tab is open, refresh the commits after the sync.

  4. soljurami commented on Dec 30, 2017

    @soljurami
  5. Samuelvey commented on Jan 1, 2018

    @Samuelvey

    This is useful and learning practice.

  6. self-assigned this
    on Jan 1, 2018
  7. locked as resolved and limited conversation to collaborators on Jul 18, 2018
  8. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions