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

Fix #21406: Hide repo information from file view/blame mode #21420

Merged
merged 10 commits into from
Oct 13, 2022

Commits on Oct 11, 2022

  1. fix: hide repo related info while viewing or blaming a file

    - Hide repository's description, website link, topics list, and statistics bar while viewing or blaming a file from the repo
    - Resolves go-gitea#21406
    neel1996 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    4d94b7c View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. fix: add integration tests for fix-21406

    - Asserts that repo description, topics and summary are not displayed in file view / blame mode
    - Resolves go-gitea#21406
    neel1996 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    d549f7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b91f77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20dd9b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebea3c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8eab9e4 View commit details
    Browse the repository at this point in the history
  6. add test assertions to check repo info is displayed on home page

    - Asserts if repo description, topics and summary are displayed in the repo home page
    - Test enhancement for go-gitea#21406
    neel1996 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    bfa09c4 View commit details
    Browse the repository at this point in the history
  7. fix: hide repo info within a directory

    - The repo description, topics and summary will not be displayed within a directory
    - The repo home page will still display the repo info
    - Resolves go-gitea#21406
    neel1996 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    9735a7d View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. revise test assertions

    - Asserts the presence of repo-files-table in directory view
    - Revised zero check assertions
    neel1996 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    44fd9f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    953ee95 View commit details
    Browse the repository at this point in the history