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

Improve UI on mobile #19546

Merged
merged 34 commits into from
May 1, 2022
Merged

Improve UI on mobile #19546

merged 34 commits into from
May 1, 2022

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    8ef16c7 View commit details
    Browse the repository at this point in the history
  2. Don't allow the issue view headers to stack.

    - Show it horizontally, instead of giving each their own row.
    Gusted committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a8306a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5689d9f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bed6577 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Fix repo buttons overflowing

    - Don't show SVG(major cause for taking up space and being shown as
    "column").
    - Allow it to be a new columnif the number is too big.
    Gusted committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    0ead559 View commit details
    Browse the repository at this point in the history
  2. Properly show tables on mobile

    Gusted committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    e7876e2 View commit details
    Browse the repository at this point in the history
  3. Properly show table on user accounts

    - Force semantic to not stack it, and let the overflow be scrollable.
    Gusted committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    e78db22 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4ed98b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    330afac View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    cf4137c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81f6687 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. More width on viewing comments

    Gusted committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    b9e8fa5 View commit details
    Browse the repository at this point in the history
  2. Fix linting

    Gusted committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    f617514 View commit details
    Browse the repository at this point in the history
  3. Fix other avatars

    Gusted committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    00839b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bd530af View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2022

  1. Don't error when branch's commit doesn't exist (go-gitea#19547)

    * Don't error when branch's commit doesn't exist
    
    - If one of the branches no longer exists, don't throw an error, it's possible that the branch was destroyed during the process. Simply skip it and disregard it.
    - Resolves go-gitea#19541
    
    * Don't send empty objects
    
    * Use more minimal approach
    Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    920b683 View commit details
    Browse the repository at this point in the history
  2. Fix Pull Request comment filename word breaks (go-gitea#19535)

    * Fix word breaks in Chrome
    
    This fixes word wrapping on the filename for a comment on a PR. A previous commit fixed this problem in Firefox, but not Chrome.
    
    Fixes go-gitea#16248
    
    * Don't break Outdated badge
    
    This prevents the Outdated badge on a PR from wrapping in the middle of the word for a comment on a long filename.
    
    * Move word break to recommended element
    
    * Add overflow-wrap per PR review
    
    * Update web_src/less/helpers.less
    
    Co-authored-by: silverwind <me@silverwind.io>
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    4 people authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    7834260 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d0240b View commit details
    Browse the repository at this point in the history
  4. Add API to query collaborators permission for a repository (go-gitea#…

    …18761)
    
    Targeting go-gitea#14936, go-gitea#15332
    
    Adds a collaborator permissions API endpoint according to GitHub API: https://docs.github.com/en/rest/collaborators/collaborators#get-repository-permissions-for-a-user to retrieve a collaborators permissions for a specific repository.
    
    ### Checks the repository permissions of a collaborator. 
    
    `GET` `/repos/{owner}/{repo}/collaborators/{collaborator}/permission`
    
    Possible `permission` values are `admin`, `write`, `read`, `owner`, `none`.
    
    ```json
    {
      "permission": "admin",
      "role_name": "admin",
      "user": {}
    }
    ```
    
    Where `permission` and `role_name` hold the same `permission` value and `user` is filled with the user API object. Only admins are allowed to use this API endpoint.
    flozzone authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    7bcee58 View commit details
    Browse the repository at this point in the history
  5. Mute link in diff header (go-gitea#19556)

    Followup to go-gitea#19534. Make the link
    render in color only on hover.
    silverwind authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    a0c79fb View commit details
    Browse the repository at this point in the history
  6. Respect DefaultUserIsRestricted system default when creating new user (

    …go-gitea#19310)
    
    * Apply DefaultUserIsRestricted in CreateUser
    
    * Enforce system defaults in CreateUser
    
    Allow for overwrites with CreateUserOverwriteOptions
    
    * Fix compilation errors
    
    * Add "restricted" option to create user command
    
    * Add "restricted" option to create user admin api
    
    * Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed
    
    * Revert "Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed"
    
    This reverts commit ee95d3e.
    jpraet authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    0f9f73d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a257cd4 View commit details
    Browse the repository at this point in the history
  8. fix go-gitea#19545 (go-gitea#19563)

    6543 authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    9a4deff View commit details
    Browse the repository at this point in the history
  9. Added X-Mailer header to outgoing emails (go-gitea#19562)

    - It's a non-standard mentioned in https://www.ietf.org/rfc/rfc2076.html#section-3.4
    - This header makes emails filtering easier
    TitaniumHocker authored and Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    577710c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9da61e3 View commit details
    Browse the repository at this point in the history
  11. Add comments for display: none

    Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    9d0048f View commit details
    Browse the repository at this point in the history
  12. Revert broken commits

    Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    e413709 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fd7ffb4 View commit details
    Browse the repository at this point in the history
  14. Add Poster check

    Co-authored-by: delvh <dev.lh@web.de>
    Gusted and delvh committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    24d4f36 View commit details
    Browse the repository at this point in the history
  15. Fix idents

    Gusted committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    71fa53e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    59183d3 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2022

  1. Update comment

    Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
    Gusted and wxiaoguang committed May 1, 2022
    Configuration menu
    Copy the full SHA
    8e4fc27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7afee9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3d0cab View commit details
    Browse the repository at this point in the history