mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-29 12:00:32 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -445,6 +445,11 @@ $disclosure-hierarchy-chevron-dimension: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.work-item-link-child:hover .work-item-status{
|
||||
// Subtle border as dark mode background is same as status badge
|
||||
box-shadow: inset 0 0 0 1px var(--gl-color-alpha-light-8);
|
||||
}
|
||||
|
||||
// Safari
|
||||
@supports (-webkit-appearance:none) and (stroke-color:transparent) {
|
||||
@include browser-specific-overrides;
|
||||
|
@ -4469,6 +4469,7 @@ Input type: `CreateIssueInput`
|
||||
| <a id="mutationcreateissuemoveafterid"></a>`moveAfterId` | [`IssueID`](#issueid) | Global ID of issue that should be placed after the current issue. |
|
||||
| <a id="mutationcreateissuemovebeforeid"></a>`moveBeforeId` | [`IssueID`](#issueid) | Global ID of issue that should be placed before the current issue. |
|
||||
| <a id="mutationcreateissueprojectpath"></a>`projectPath` | [`ID!`](#id) | Project full path the issue is associated with. |
|
||||
| <a id="mutationcreateissuestatusid"></a>`statusId` | [`WorkItemsStatusesStatusID`](#workitemsstatusesstatusid) | Global ID of the status. |
|
||||
| <a id="mutationcreateissuetitle"></a>`title` | [`String!`](#string) | Title of the issue. |
|
||||
| <a id="mutationcreateissuetype"></a>`type` | [`IssueType`](#issuetype) | Type of the issue. |
|
||||
| <a id="mutationcreateissueweight"></a>`weight` | [`Int`](#int) | Weight of the issue. |
|
||||
|
@ -39,6 +39,8 @@ module ActiveRecord
|
||||
class_methods do
|
||||
# Caches created instances for fast retrieval used in associations.
|
||||
def find(id)
|
||||
id = id.to_i
|
||||
|
||||
find_instances[id] ||= self::ITEMS.find { |item| item[:id] == id }&.then do |item_data|
|
||||
new(item_data)
|
||||
end
|
||||
|
Reference in New Issue
Block a user