forked from CenterForOpenScience/ember-osf-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge basket branch into develop for Antimony release (CenterForOpenS…
…cience#1819) * [ENG-4333] Test file detail editing (CenterForOpenScience#1807) - Ticket: https://openscience.atlassian.net/browse/ENG-4333 - Branch: feature/test-file-detail-view-only ## Purpose The purpose of these changes is to test the edit functionality of the file detail page. ## Summary of Changes -A test has been added to verify that changing the values and saving will result in appropriate changes in the view-only section for the file title, description, resource type, and resource language. -A test has been added to verify that changing those fields and canceling the edit will result in the values not changing in the view-only section. -A test has been added to verify that trying to save, getting an error, and canceling the save causes the values not to change for the view-only section. - A test has been added to verify that, if you don’t have permission to edit, the edit capability is disabled. * sort nested subjects (CenterForOpenScience#1810) * Update youtube link for OSF 101 video (CenterForOpenScience#1812) * [ENG-4040][ENG-4016] Deprecation/ember classic (CenterForOpenScience#1799) - Ticket: [ENG-4040] [ENG-4016] - Feature flag: n/a ## Purpose - Update our app from ember classic edition to octane - Remove usage of `this.$` that is no longer going to be supported ## Summary of Changes - Run `npx @ember/octanify` https://github.com/emberjs/ember-octanify - Remove use of ember jquery integration (`this.$()`) to just use imported jquery - https://rfcs.emberjs.com/id/0705-deprecate-jquery-optional-feature/ - Update `@ember/jquery` to newest version * Fix page-change scroll behavior (CenterForOpenScience#1817) * Hide additional fields and show state for AVOL registrations (CenterForOpenScience#1814) * [ENG-3542] Percy 3.0 upgrade (CenterForOpenScience#1794) - Ticket: [ENG-3542] - Feature flag: n/a ## Purpose Upgrade Percy from 1.x to 3.0 ## Summary of Changes Ran the `$ npx @percy/migrate` script and followed the prompts and did not update imports. --------- Co-authored-by: Ashley Robinson <[email protected]> Co-authored-by: Futa Ikeda <[email protected]> Co-authored-by: futa-ikeda <[email protected]> Co-authored-by: Lord Business <[email protected]>
- Loading branch information
1 parent
2ab03ee
commit 125dccc
Showing
22 changed files
with
555 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
env: | ||
CI: true | ||
PERCY_PARALLEL_NONCE: ${{ github.run_id }}-${{ github.run_number }} | ||
PERCY_PARALLEL_TOTAL: 4 | ||
PERCY_PARALLEL_TOTAL: -1 | ||
|
||
jobs: | ||
fetch-dependencies: | ||
|
@@ -77,9 +77,8 @@ jobs: | |
path: ./node_modules | ||
key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ | ||
- uses: percy/[email protected] | ||
with: | ||
custom-command: yarn test:ember --path ./dist --partition 1 | ||
- name: Run tests with percy snapshots | ||
run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 1 | ||
env: | ||
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} | ||
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} | ||
|
@@ -102,9 +101,8 @@ jobs: | |
path: ./node_modules | ||
key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ | ||
- uses: percy/[email protected] | ||
with: | ||
custom-command: yarn test:ember --path ./dist --partition 2 | ||
- name: Run tests with percy snapshots | ||
run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 2 | ||
env: | ||
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} | ||
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} | ||
|
@@ -127,9 +125,8 @@ jobs: | |
path: ./node_modules | ||
key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ | ||
- uses: percy/[email protected] | ||
with: | ||
custom-command: yarn test:ember --path ./dist --partition 3 | ||
- name: Run tests with percy snapshots | ||
run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 3 | ||
env: | ||
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} | ||
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} | ||
|
@@ -152,9 +149,8 @@ jobs: | |
path: ./node_modules | ||
key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ | ||
- uses: percy/[email protected] | ||
with: | ||
custom-command: yarn test:ember --path ./dist --partition 4 | ||
- name: Run tests with percy snapshots | ||
run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 4 | ||
env: | ||
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} | ||
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} | ||
|
@@ -177,4 +173,22 @@ jobs: | |
- name: Send coverage report to coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
finalize-percy: | ||
needs: [test-partition-1, test-partition-2, test-partition-3, test-partition-4] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
- id: cache-node-modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./node_modules | ||
key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ | ||
- run: yarn percy build:finalize | ||
env: | ||
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} | ||
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} | ||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: 2 | ||
snapshot: | ||
widths: | ||
- 375 | ||
- 1280 | ||
minHeight: 1024 | ||
percyCSS: "" | ||
discovery: | ||
allowedHostnames: [] | ||
disallowedHostnames: [] | ||
networkIdleTimeout: 100 | ||
upload: | ||
files: "" | ||
ignore: "" | ||
stripExtensions: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"application-template-wrapper": false, | ||
"default-async-observers": true, | ||
"jquery-integration": true, | ||
"template-only-glimmer-components": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/osf-components/addon/components/delete-node-modal/template.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
lib/registries/addon/overview/-components/overview-topbar/template.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
{ | ||
"name": "ember-osf-web", | ||
"version": "23.04.0", | ||
"private": true, | ||
"description": "Ember front-end for the Open Science Framework", | ||
"homepage": "https://github.com/CenterForOpenScience/ember-osf-web#readme", | ||
"bugs": { | ||
"url": "https://github.com/CenterForOpenScience/ember-osf-web/issues" | ||
}, | ||
"repository": "https://github.com/CenterForOpenScience/ember-osf-web", | ||
"license": "Apache-2.0", | ||
"author": "Center for Open Science <[email protected]>", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"repository": "https://github.com/CenterForOpenScience/ember-osf-web", | ||
"scripts": { | ||
"build": "ember build --environment=production", | ||
"build:test": "ember build --environment=test", | ||
|
@@ -48,11 +53,18 @@ | |
"vendor/*" | ||
] | ||
}, | ||
"resolutions": { | ||
"@embroider/macros": "^1.0.0", | ||
"ember-cli-clipboard": "0.9.0", | ||
"ember-element-helper": "^0.6.1", | ||
"ember-validators": "^4.1.1" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@centerforopenscience/eslint-config": "3.0.0", | ||
"@ember-intl/cp-validations": "^4.0.1", | ||
"@ember-intl/decorators": "^1.0.0", | ||
"@ember/jquery": "^0.6.0", | ||
"@ember/jquery": "2.0.0", | ||
"@ember/optional-features": "^2.0.0", | ||
"@ember/render-modifiers": "^1.0.0", | ||
"@ember/test-helpers": "^2.2.5", | ||
|
@@ -63,6 +75,8 @@ | |
"@fortawesome/free-solid-svg-icons": "^5.15.2", | ||
"@glimmer/component": "^1.0.4", | ||
"@glimmer/tracking": "^1.0.4", | ||
"@percy/cli": "^1.18.0", | ||
"@percy/ember": "^3.0.0", | ||
"@types/ace": "^0.0.42", | ||
"@types/dropzone": "^5.0.4", | ||
"@types/ember": "^3.1.1", | ||
|
@@ -243,20 +257,16 @@ | |
"typescript": "^4.2.3", | ||
"wicg-inert": "^3.1.1" | ||
}, | ||
"resolutions": { | ||
"ember-cli-clipboard": "0.9.0", | ||
"@embroider/macros": "^1.0.0", | ||
"ember-element-helper": "^0.6.1", | ||
"ember-validators": "^4.1.1" | ||
}, | ||
"engines": { | ||
"node": "10.* || >= 12" | ||
}, | ||
"private": true, | ||
"bugs": { | ||
"url": "https://github.com/CenterForOpenScience/ember-osf-web/issues" | ||
"volta": { | ||
"node": "14.15.0", | ||
"yarn": "1.21.1" | ||
}, | ||
"ember": { | ||
"edition": "octane" | ||
}, | ||
"homepage": "https://github.com/CenterForOpenScience/ember-osf-web#readme", | ||
"ember-addon": { | ||
"paths": [ | ||
"lib/analytics-page", | ||
|
@@ -265,10 +275,5 @@ | |
"lib/osf-components", | ||
"lib/registries" | ||
] | ||
}, | ||
"volta": { | ||
"node": "14.15.0", | ||
"yarn": "1.21.1" | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
Oops, something went wrong.