-
- Downloads
There was an error fetching the commit references. Please try again later.
Suggests issues when typing title
This suggests possibly related issues when the user types a title. This uses GraphQL to allow the frontend to request the exact data that is requires. We also get free caching through the Vue Apollo plugin. With this we can include the ability to import .graphql files in JS and Vue files. Also we now have the Vue test utils library to make testing Vue components easier. Closes #22071
Showing
- app/assets/javascripts/issuable_suggestions/components/app.vue 96 additions, 0 deletions...ssets/javascripts/issuable_suggestions/components/app.vue
- app/assets/javascripts/issuable_suggestions/components/item.vue 137 additions, 0 deletions...sets/javascripts/issuable_suggestions/components/item.vue
- app/assets/javascripts/issuable_suggestions/index.js 38 additions, 0 deletionsapp/assets/javascripts/issuable_suggestions/index.js
- app/assets/javascripts/issuable_suggestions/queries/issues.graphql 26 additions, 0 deletions...s/javascripts/issuable_suggestions/queries/issues.graphql
- app/assets/javascripts/lib/graphql.js 9 additions, 0 deletionsapp/assets/javascripts/lib/graphql.js
- app/assets/javascripts/pages/projects/issues/form.js 5 additions, 0 deletionsapp/assets/javascripts/pages/projects/issues/form.js
- app/assets/stylesheets/pages/issuable.scss 34 additions, 0 deletionsapp/assets/stylesheets/pages/issuable.scss
- app/controllers/projects/issues_controller.rb 7 additions, 0 deletionsapp/controllers/projects/issues_controller.rb
- app/graphql/resolvers/issues_resolver.rb 25 additions, 0 deletionsapp/graphql/resolvers/issues_resolver.rb
- app/graphql/types/issue_type.rb 47 additions, 0 deletionsapp/graphql/types/issue_type.rb
- app/graphql/types/label_type.rb 12 additions, 0 deletionsapp/graphql/types/label_type.rb
- app/graphql/types/milestone_type.rb 17 additions, 0 deletionsapp/graphql/types/milestone_type.rb
- app/graphql/types/order.rb 8 additions, 0 deletionsapp/graphql/types/order.rb
- app/graphql/types/permission_types/issue.rb 14 additions, 0 deletionsapp/graphql/types/permission_types/issue.rb
- app/graphql/types/project_type.rb 5 additions, 0 deletionsapp/graphql/types/project_type.rb
- app/graphql/types/sort.rb 10 additions, 0 deletionsapp/graphql/types/sort.rb
- app/graphql/types/user_type.rb 14 additions, 0 deletionsapp/graphql/types/user_type.rb
- app/policies/milestone_policy.rb 5 additions, 0 deletionsapp/policies/milestone_policy.rb
- app/presenters/issue_presenter.rb 9 additions, 0 deletionsapp/presenters/issue_presenter.rb
- app/presenters/user_presenter.rb 9 additions, 0 deletionsapp/presenters/user_presenter.rb
app/assets/javascripts/lib/graphql.js
0 → 100644
app/graphql/resolvers/issues_resolver.rb
0 → 100644
app/graphql/types/issue_type.rb
0 → 100644
app/graphql/types/label_type.rb
0 → 100644
app/graphql/types/milestone_type.rb
0 → 100644
app/graphql/types/order.rb
0 → 100644
app/graphql/types/permission_types/issue.rb
0 → 100644
app/graphql/types/sort.rb
0 → 100644
app/graphql/types/user_type.rb
0 → 100644
app/policies/milestone_policy.rb
0 → 100644
app/presenters/issue_presenter.rb
0 → 100644
app/presenters/user_presenter.rb
0 → 100644
Please register or sign in to comment