Go to file
Chrystal Langston 7f1f432987 Fetch suboutcomes within a learning outcome group via graphql
Add ability to fetch all sub-outcomes of a learning outcome group
Ordered by parent group title then outcome short description. The
Results should be paginated to accommodate for infinite scroll.

closes OUT-4130
flag=improved_outcomes_management

test plan
- PreReq: Account/Course with outcomes and groups
- Log into Canvas and navigate to graphiql
- Run the below query
- outcomes should be populated with all outcomes and suboutcomes
For the root outcome group order by group title, outcome short
description
- Run the below query
query GroupDetailQuery($id: ID!, $outcomesCursor: String) {
    group: legacyNode(type: LearningOutcomeGroup, _id: $id) {
      ... on LearningOutcomeGroup {
        _id
        description
        title
        outcomesCount
        outcomes(first: 10, after: $outcomesCursor) {
          pageInfo {
            hasNextPage
            startCursor
            endCursor
          }
          nodes {
            ... on LearningOutcome {
              _id
              description
              title
            }
          }
        }
      }
    }
  }
{
  "id": 1,
  "outcomesCursor": ""
}
- All outcomes should be returned ordered by parent group name,
then outcome name
- Change the name of an outcome and/or group to force it to change
the order.
- Run the query again, and you should see the updated outcome or
Parent group’s outcomes first before the remain outcomes

Change-Id: Icdad82c0b57ca625924d9b0af7d7b3304b88c251
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/257653
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Pat Renner <prenner@instructure.com>
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Pat Renner <prenner@instructure.com>
2021-02-03 17:31:04 +00:00
.github update github pr auto-assignees 2020-09-24 20:00:41 +00:00
.storybook Add outcomes components to storybook 2021-01-23 00:18:54 +00:00
Gemfile.d Update Academic Benchmarks API to v4.1 2021-02-02 18:43:17 +00:00
app Fetch suboutcomes within a learning outcome group via graphql 2021-02-03 17:31:04 +00:00
bin Update Contracts Verify API Helper Script 2021-01-08 23:16:19 +00:00
build run linters against main-from-plugin build 2021-01-28 15:03:52 +00:00
config expose cached ENV.FEATURES in API 2021-02-03 17:30:38 +00:00
db/migrate remove granular permissions for course sections FF 2021-02-01 16:14:42 +00:00
doc Move doc changes to the correct file 2021-02-01 21:54:55 +00:00
docker-compose upgrade to node14 2021-01-27 15:33:52 +00:00
frontend_build Update planner to instui 7 2021-01-29 19:23:00 +00:00
gems Update Academic Benchmarks API to v4.1 2021-02-02 18:43:17 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest Update tinymce and @tinymce/tinymce-react 2020-12-21 22:23:52 +00:00
lib Fetch suboutcomes within a learning outcome group via graphql 2021-02-03 17:31:04 +00:00
log Update parallel_runtime_rspec.log from build 166 2021-02-03 16:08:06 +00:00
packages Add initial K-5 Dashboard UI with tab navigation 2021-02-02 15:20:43 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public Support MathML render on new modules 2021-02-03 16:44:13 +00:00
script allow docker_dev_setup to work without upstart or dory 2021-02-02 17:40:55 +00:00
spec Fetch suboutcomes within a learning outcome group via graphql 2021-02-03 17:31:04 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.eslintrc.js modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.gitignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.i18nignore Revert "decentralize i18nliner configuration" 2021-01-19 19:52:58 +00:00
.i18nrc Revert "decentralize i18nliner configuration" 2021-01-19 19:52:58 +00:00
.lintstagedrc.js Remove prettier whitelist 2019-10-11 19:29:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc upgrade to node14 2021-01-27 15:33:52 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml enforce frozen_string_literal comment 2020-10-28 22:08:52 +00:00
.stylelintrc modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT
Dockerfile upgrade to node14 2021-01-27 15:33:52 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.jenkins upgrade to node14 2021-01-27 15:33:52 +00:00
Dockerfile.jenkins-cache Revert "decentralize i18nliner configuration" 2021-01-19 19:52:58 +00:00
Dockerfile.jenkins.final simplify Dockerfile template generation 2020-12-10 17:28:58 +00:00
Dockerfile.jenkins.webpack-builder split yarn from webpack-builder into yarn-runner 2020-12-14 18:49:51 +00:00
Dockerfile.jenkins.webpack-cache remove unnecessary directory creation for webpack-cache 2020-12-10 18:49:55 +00:00
Dockerfile.jenkins.yarn-runner remove "exports" from all @instructure/ packages 2021-01-15 19:39:02 +00:00
Dockerfile.package-translations upgrade to node14 2021-01-27 15:33:52 +00:00
Gemfile drop rails 5.1 2019-08-01 14:09:31 +00:00
Jenkinsfile move failureReport build wrapper to proper location 2021-02-02 19:51:42 +00:00
Jenkinsfile.cassandra move helper images into own build 2020-09-15 21:47:15 +00:00
Jenkinsfile.contract-tests add the ability to run parallel rspec processes in container 2021-01-14 21:12:45 +00:00
Jenkinsfile.dive move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.docker-smoke move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.docker-sync introduce docker image sync job 2021-01-07 19:13:51 +00:00
Jenkinsfile.dynamodb move helper images into own build 2020-09-15 21:47:15 +00:00
Jenkinsfile.js modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
Jenkinsfile.master-bouncer-check-all move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.package-translations move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.parallel_logs tag migrations image with merge tag 2021-01-19 20:06:39 +00:00
Jenkinsfile.postgres move helper images into own build 2020-09-15 21:47:15 +00:00
Jenkinsfile.redis move helper images into own build 2020-09-15 21:47:15 +00:00
Jenkinsfile.selenium-chrome move selenium-chrome build to helper job 2020-12-08 14:41:39 +00:00
Jenkinsfile.selenium.flakey_spec_catcher move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.selenium.performance.chrome move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.test-subbuild remove print-env-excluding-secrets 2020-08-12 20:49:03 +00:00
Jenkinsfile.vendored-gems move execute function under libraryScript 2021-01-12 00:32:08 +00:00
Jenkinsfile.xbrowser move execute function under libraryScript 2021-01-12 00:32:08 +00:00
LICENSE
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile use parallel_tests for more parallelization 2020-03-30 21:38:47 +00:00
babel.config.js Fix the build 2019-09-17 21:26:07 +00:00
bower.json Move k5uplodaer to /packages 2019-05-10 18:30:51 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.new-jenkins-contract-tests.yml remove unnecessary directory creation for webpack-cache 2020-12-10 18:49:55 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
docker-compose.new-jenkins-js.yml work around docker-compose network race condition 2020-12-01 19:05:22 +00:00
docker-compose.new-jenkins-package-translations.yml Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
docker-compose.new-jenkins-selenium.yml update jenkins for canvas-rce-api image 2020-12-07 16:40:09 +00:00
docker-compose.new-jenkins.canvas.yml Spec: add `init: true` to jenkins builds 2020-06-16 14:09:58 +00:00
docker-compose.new-jenkins.consumer.yml skip uglify js / source maps on pre-merge builds v2 2020-08-11 21:05:54 +00:00
docker-compose.new-jenkins.vendored-gems.yml Spec: add `init: true` to jenkins builds 2020-06-16 14:09:58 +00:00
docker-compose.new-jenkins.yml enable rails 6 for testing 2020-10-23 14:49:00 +00:00
docker-compose.spring.yml modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
docker-compose.yml build ruby image in docker_dev_setup 2020-07-28 18:23:47 +00:00
gulpfile.js [node12] upgrade gulp 2020-11-20 23:52:44 +00:00
issue_template.md Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js add conference ui to calendar details page 2020-04-30 18:06:11 +00:00
karma.conf.js fix JS job sanity around COVERAGE var 2021-01-27 16:24:14 +00:00
package.json Replace @instructure/ui-core components 2021-02-03 15:00:25 +00:00
ubuntu.development.Dockerfile upgrade to node14 2021-01-27 15:33:52 +00:00
ubuntu.production.Dockerfile upgrade to node14 2021-01-27 15:33:52 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.test.config.js spec: split coffeescript job 2020-07-17 17:39:35 +00:00
yarn.lock Update planner to instui 7 2021-01-29 19:23:00 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.