Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 2.11.0-privacyPolicy
  • APIv2
  • Docs/Setup
  • Experiment/fix-debugging
  • Experimental/Heinrichs-cypress
  • Feature/xxxx-turnOffDataPub
  • Fix/xxxx-ToS400Error
  • Fix/xxxx-migrateLogin
  • Fix/xxxx-tokenUploadButton
  • Hotfix/0038-correctDownload
  • Hotfix/1917-PublicFilesVisibility
  • Hotfix/1963-fixOrganizationField
  • Hotfix/2015-PublicFilesVisibility
  • Hotfix/2130-uiv2ContactChange
  • Hotfix/2144-invitationCall
  • Hotfix/2150-fixUpload
  • Hotfix/2160-userOrgsInst
  • Hotfix/2190-requiredFieldsForUserProfile
  • Hotfix/2196-RCVTableTranslation
  • Hotfix/2212-fixFiles
  • Hotfix/2226-userProfileSaveButton
  • Hotfix/2232-dependencyFix
  • Hotfix/2233-fixMe
  • Hotfix/2258-saveButtonWorksAsExpected
  • Hotfix/2296-selectedValuesNotReturned
  • Hotfix/2308-defaultLicense
  • Hotfix/2335-fixingSearchRCV
  • Hotfix/2353-dropShape
  • Hotfix/2370-fixDeleteButton
  • Hotfix/2378-linkedFix
  • Hotfix/2379-filesDragAndDrop
  • Hotfix/2382-guestStillBuggy
  • Hotfix/2384-guestsAndLinked
  • Hotfix/2427-adminTrouble
  • Hotfix/2459-EncodingPath
  • Hotfix/2465-orcidLink
  • Hotfix/2465-orcidLink-v1.25.1
  • Hotfix/2504-formGen
  • Hotfix/2541-resCreate
  • Hotfix/2601-correctMetadataIdentity
  • Hotfix/2611-feedback
  • Hotfix/2618-turtle
  • Hotfix/2681-validationErrors
  • Hotfix/2684-correctEncoding
  • Hotfix/2684-fixSubMetadata
  • Hotfix/2713-validateEntryName
  • Hotfix/2734-allowEmptyLicense
  • Hotfix/2765-encodingAgain
  • Hotfix/2852-adaptTextForToSUi
  • Hotfix/2853-optimizationV4
  • Hotfix/2943-reloadingResources
  • Hotfix/2943-searchHighlighting
  • Hotfix/2957-styleAndUpgrade
  • Hotfix/2971-fixTextInDataPub
  • Hotfix/2989-cookieLength
  • Hotfix/662-keepSidebarExpanded
  • Hotfix/xxxx-correctLinking
  • Hotfix/xxxx-folderRecursive
  • Hotfix/xxxx-fullscreenCss
  • Hotfix/xxxx-homepageDisplay
  • Hotfix/xxxx-liveReleaseFixes
  • Hotfix/xxxx-partnerProjects
  • Hotfix/xxxx-workingFileIndex
  • Issue/1782-structualDataIntegration
  • Issue/1792-newMetadataStructure
  • Issue/1822-coscineUIv2App
  • Issue/1824-componentsUIv2
  • Issue/1824-routerAdditions
  • Issue/1825-codeQualityPipelines
  • Issue/1833-newLogin
  • Issue/1843-multipleFilesValidation
  • Issue/1860-searchScoping
  • Issue/1861-searchMetadata
  • Issue/1862-searchFacets
  • Issue/1863-paginationForSearch
  • Issue/1926-userProfile
  • Issue/1927-projectAppMigration
  • Issue/1928-sidebarmenuAddition
  • Issue/1929-vuexToPinia
  • Issue/1938-internalHandling
  • Issue/1951-quotaImplementation
  • Issue/1953-owlImports
  • Issue/1957-resourceAppMigration
  • Issue/1957-resourceAppMigrationNew
  • Issue/1962-SearchAppUI2
  • Issue/1964-tokenExpiryUIv2
  • Issue/1965-userListMigration
  • Issue/1970-breadcrumbs
  • Issue/1971-projectEditCreateMigration
  • Issue/1972-homeDepot
  • Issue/1974-shibbolethLogout
  • Issue/1976-resouceCreationVaildEmail
  • Issue/1979-supportAdminUIv2Migration
  • Issue/1980-userManagement
  • Issue/1985-adaptSidebar
  • Issue/2002-migrateResourceCreate
  • Issue/2003-resourceSettings
  • Issue/2008-quotaManagement
  • Issue/2011-pathConfig
  • Issue/2016-BannerMigration
  • 1.28.0-pilot
  • v1.0.0
  • v1.1.0
  • v1.10.0
  • v1.10.1
  • v1.10.2
  • v1.10.3
  • v1.11.0
  • v1.11.1
  • v1.11.2
  • v1.11.3
  • v1.11.4
  • v1.11.5
  • v1.11.6
  • v1.11.7
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.14.1
  • v1.14.2
  • v1.14.3
  • v1.15.0
  • v1.15.1
  • v1.16.0
  • v1.16.1
  • v1.16.2
  • v1.16.3
  • v1.17.0
  • v1.17.1
  • v1.17.2
  • v1.18.0
  • v1.18.1
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.20.1
  • v1.20.2
  • v1.20.3
  • v1.20.4
  • v1.20.5
  • v1.21.0
  • v1.22.0
  • v1.22.1
  • v1.22.2
  • v1.23.0
  • v1.23.1
  • v1.23.2
  • v1.23.3
  • v1.23.4
  • v1.23.5
  • v1.23.6
  • v1.23.6-patch-2417-2427
  • v1.24.0
  • v1.24.1
  • v1.25.0
  • v1.25.1
  • v1.26.0
  • v1.26.1
  • v1.27.0
  • v1.27.1
  • v1.27.1-pilot
  • v1.28.0
  • v1.29.0
  • v1.29.1
  • v1.29.2
  • v1.3.0
  • v1.30.0
  • v1.30.1
  • v1.30.2
  • v1.31.0
  • v1.32.0
  • v1.4.0
  • v1.4.1
  • v1.5.0
  • v1.6.0
  • v1.6.1
  • v1.6.2
  • v1.7.0
  • v1.8.0
  • v1.8.1
  • v1.8.2
  • v1.9.0
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.10.1
  • v2.11.0
  • v2.12.0
  • v2.12.1
  • v2.12.2
  • v2.12.3
  • v2.12.4
  • v2.12.5
  • v2.13.0
  • v2.13.1
  • v2.13.2
  • v2.13.3
  • v2.13.4
  • v2.14.0
  • v2.15.0
200 results

Target

Select target project
  • coscine/frontend/apps/ui
1 result
Select Git revision
  • 2.11.0-privacyPolicy
  • APIv2
  • Docs/Setup
  • Experiment/fix-debugging
  • Experimental/Heinrichs-cypress
  • Feature/xxxx-turnOffDataPub
  • Fix/xxxx-ToS400Error
  • Fix/xxxx-migrateLogin
  • Fix/xxxx-tokenUploadButton
  • Hotfix/0038-correctDownload
  • Hotfix/1917-PublicFilesVisibility
  • Hotfix/1963-fixOrganizationField
  • Hotfix/2015-PublicFilesVisibility
  • Hotfix/2130-uiv2ContactChange
  • Hotfix/2144-invitationCall
  • Hotfix/2150-fixUpload
  • Hotfix/2160-userOrgsInst
  • Hotfix/2190-requiredFieldsForUserProfile
  • Hotfix/2196-RCVTableTranslation
  • Hotfix/2212-fixFiles
  • Hotfix/2226-userProfileSaveButton
  • Hotfix/2232-dependencyFix
  • Hotfix/2233-fixMe
  • Hotfix/2258-saveButtonWorksAsExpected
  • Hotfix/2296-selectedValuesNotReturned
  • Hotfix/2308-defaultLicense
  • Hotfix/2335-fixingSearchRCV
  • Hotfix/2353-dropShape
  • Hotfix/2370-fixDeleteButton
  • Hotfix/2378-linkedFix
  • Hotfix/2379-filesDragAndDrop
  • Hotfix/2382-guestStillBuggy
  • Hotfix/2384-guestsAndLinked
  • Hotfix/2427-adminTrouble
  • Hotfix/2459-EncodingPath
  • Hotfix/2465-orcidLink
  • Hotfix/2465-orcidLink-v1.25.1
  • Hotfix/2504-formGen
  • Hotfix/2541-resCreate
  • Hotfix/2601-correctMetadataIdentity
  • Hotfix/2611-feedback
  • Hotfix/2618-turtle
  • Hotfix/2681-validationErrors
  • Hotfix/2684-correctEncoding
  • Hotfix/2684-fixSubMetadata
  • Hotfix/2713-validateEntryName
  • Hotfix/2734-allowEmptyLicense
  • Hotfix/2765-encodingAgain
  • Hotfix/2852-adaptTextForToSUi
  • Hotfix/2853-optimizationV4
  • Hotfix/2943-reloadingResources
  • Hotfix/2943-searchHighlighting
  • Hotfix/2957-styleAndUpgrade
  • Hotfix/2971-fixTextInDataPub
  • Hotfix/2989-cookieLength
  • Hotfix/662-keepSidebarExpanded
  • Hotfix/xxxx-correctLinking
  • Hotfix/xxxx-folderRecursive
  • Hotfix/xxxx-fullscreenCss
  • Hotfix/xxxx-homepageDisplay
  • Hotfix/xxxx-liveReleaseFixes
  • Hotfix/xxxx-partnerProjects
  • Hotfix/xxxx-workingFileIndex
  • Issue/1782-structualDataIntegration
  • Issue/1792-newMetadataStructure
  • Issue/1822-coscineUIv2App
  • Issue/1824-componentsUIv2
  • Issue/1824-routerAdditions
  • Issue/1825-codeQualityPipelines
  • Issue/1833-newLogin
  • Issue/1843-multipleFilesValidation
  • Issue/1860-searchScoping
  • Issue/1861-searchMetadata
  • Issue/1862-searchFacets
  • Issue/1863-paginationForSearch
  • Issue/1926-userProfile
  • Issue/1927-projectAppMigration
  • Issue/1928-sidebarmenuAddition
  • Issue/1929-vuexToPinia
  • Issue/1938-internalHandling
  • Issue/1951-quotaImplementation
  • Issue/1953-owlImports
  • Issue/1957-resourceAppMigration
  • Issue/1957-resourceAppMigrationNew
  • Issue/1962-SearchAppUI2
  • Issue/1964-tokenExpiryUIv2
  • Issue/1965-userListMigration
  • Issue/1970-breadcrumbs
  • Issue/1971-projectEditCreateMigration
  • Issue/1972-homeDepot
  • Issue/1974-shibbolethLogout
  • Issue/1976-resouceCreationVaildEmail
  • Issue/1979-supportAdminUIv2Migration
  • Issue/1980-userManagement
  • Issue/1985-adaptSidebar
  • Issue/2002-migrateResourceCreate
  • Issue/2003-resourceSettings
  • Issue/2008-quotaManagement
  • Issue/2011-pathConfig
  • Issue/2016-BannerMigration
  • 1.28.0-pilot
  • v1.0.0
  • v1.1.0
  • v1.10.0
  • v1.10.1
  • v1.10.2
  • v1.10.3
  • v1.11.0
  • v1.11.1
  • v1.11.2
  • v1.11.3
  • v1.11.4
  • v1.11.5
  • v1.11.6
  • v1.11.7
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.14.1
  • v1.14.2
  • v1.14.3
  • v1.15.0
  • v1.15.1
  • v1.16.0
  • v1.16.1
  • v1.16.2
  • v1.16.3
  • v1.17.0
  • v1.17.1
  • v1.17.2
  • v1.18.0
  • v1.18.1
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.20.1
  • v1.20.2
  • v1.20.3
  • v1.20.4
  • v1.20.5
  • v1.21.0
  • v1.22.0
  • v1.22.1
  • v1.22.2
  • v1.23.0
  • v1.23.1
  • v1.23.2
  • v1.23.3
  • v1.23.4
  • v1.23.5
  • v1.23.6
  • v1.23.6-patch-2417-2427
  • v1.24.0
  • v1.24.1
  • v1.25.0
  • v1.25.1
  • v1.26.0
  • v1.26.1
  • v1.27.0
  • v1.27.1
  • v1.27.1-pilot
  • v1.28.0
  • v1.29.0
  • v1.29.1
  • v1.29.2
  • v1.3.0
  • v1.30.0
  • v1.30.1
  • v1.30.2
  • v1.31.0
  • v1.32.0
  • v1.4.0
  • v1.4.1
  • v1.5.0
  • v1.6.0
  • v1.6.1
  • v1.6.2
  • v1.7.0
  • v1.8.0
  • v1.8.1
  • v1.8.2
  • v1.9.0
  • v2.0.0
  • v2.1.0
  • v2.10.0
  • v2.10.1
  • v2.11.0
  • v2.12.0
  • v2.12.1
  • v2.12.2
  • v2.12.3
  • v2.12.4
  • v2.12.5
  • v2.13.0
  • v2.13.1
  • v2.13.2
  • v2.13.3
  • v2.13.4
  • v2.14.0
  • v2.15.0
200 results
Show changes
Commits on Source (3)
{
"name": "ui",
"version": "1.17.1",
"version": "1.17.2",
"private": true,
"scripts": {
"dev": "vite",
......@@ -11,7 +11,7 @@
},
"dependencies": {
"@coscine/api-client": "^2.6.0",
"@coscine/form-generator": "^3.0.7",
"@coscine/form-generator": "^3.0.8",
"@rdfjs-elements/formats-pretty": "^0.4.3",
"@rdfjs/data-model": "^2.0.0",
"@rdfjs/dataset": "^2.0.0",
......@@ -90,5 +90,8 @@
"vite-plugin-windicss": "^1.8.3",
"vue-template-compiler": "^2.7.10"
},
"packageManager": "yarn@3.2.4"
"packageManager": "yarn@3.2.4",
"resolutions": {
"nodeify-fetch": "3.0.0"
}
}
......@@ -104,7 +104,7 @@ export default defineComponent({
// is a one time fix for data conforming to the old schema. Can be
// removed from March 2023. Also edit the store type to use object.
fixMalformedLoginStoredData() {
const loginStoredData = this.loginStore.loginStoredData;
const loginStoredData: string = this.loginStore.loginStoredData;
if (loginStoredData && loginStoredData.trim() !== "") {
this.loginStore.loginStoredData = loginStoredData
.replace("entityID", "entityId")
......
......@@ -20,7 +20,7 @@
:show-detail="showDetail"
:shown-files="shownFiles"
@changeMetadata="changeMetadata"
@loadAllFilesTab="loadAllFilesTab"
@loadAllFilesTab="changeMetadata(-1)"
@removeElement="removeElement"
/>
<b-row id="metadataManagerMetadataSection">
......@@ -65,10 +65,12 @@
:selected-shape="resource.applicationProfile"
:shapes="applicationProfile"
:disabled-mode="resource.archived"
:validation-context="currentFileId + ''"
:class-receiver="receiveClass"
:user-receiver="async () => user"
@input="inputMetadata"
@isValid="isValid($event, currentFileId)"
@isValid="isValid"
@isValidating="isValidatingChange"
/>
</span>
</b-col>
......@@ -213,6 +215,8 @@ export default defineComponent({
conforms: boolean;
results: ValidationResult[];
}[],
isValidating: false,
storedSwitch: null as number | null,
saveDuplicateFilesModalVisible: false,
};
......@@ -343,6 +347,12 @@ export default defineComponent({
fileListEdit() {
this.getOptions();
},
isValidating() {
if (!this.isValidating && this.storedSwitch !== null) {
this.currentFileId = this.storedSwitch;
this.storedSwitch = null;
}
},
shownFiles() {
this.validationResults = Array.from(
{ length: this.shownFiles.length + 1 },
......@@ -370,17 +380,25 @@ export default defineComponent({
}
}
},
isValid(valid: ValidationReport, fileId: number) {
isValid(valid: ValidationReport, fileString: string) {
let fileId = Number(fileString);
if (isNaN(fileId)) {
fileId = this.currentFileId;
}
if (this.validationResults.length && this.validationResults[fileId + 1]) {
this.validationResults[fileId + 1].conforms = valid.conforms;
this.validationResults[fileId + 1].results = valid.results;
}
},
loadAllFilesTab() {
this.currentFileId = -1;
isValidatingChange(isValidating: boolean, _: string) {
this.isValidating = isValidating;
},
changeMetadata(index: number) {
if (this.isValidating) {
this.storedSwitch = index;
} else {
this.currentFileId = index;
}
},
removeElement(index: number, count = 1) {
if (this.showDetail) {
......
......@@ -63,6 +63,7 @@ const config = defineConfig({
},
build: {
target: "es2020",
minify: true,
rollupOptions: {
external: [],
......
......@@ -307,16 +307,7 @@ __metadata:
languageName: node
linkType: hard
"@coscine/api-client@npm:^2.5.0":
version: 2.5.0
resolution: "@coscine/api-client@npm:2.5.0"
dependencies:
axios: ^0.21.1
checksum: 2e1fd19238288046c9de957ca153f71967f1f5347d565cf39cb06be39c649be98413cf8bd614c12bac7080cf3059358832b483c416994dc2514cf3e0c736ec4e
languageName: node
linkType: hard
"@coscine/api-client@npm:^2.6.0":
"@coscine/api-client@npm:^2.5.0, @coscine/api-client@npm:^2.6.0":
version: 2.6.0
resolution: "@coscine/api-client@npm:2.6.0"
dependencies:
......@@ -325,9 +316,9 @@ __metadata:
languageName: node
linkType: hard
"@coscine/form-generator@npm:^3.0.7":
version: 3.0.7
resolution: "@coscine/form-generator@npm:3.0.7"
"@coscine/form-generator@npm:^3.0.8":
version: 3.0.8
resolution: "@coscine/form-generator@npm:3.0.8"
dependencies:
"@coscine/api-client": ^2.5.0
"@zazuko/rdf-vocabularies": ^2022.6.29
......@@ -347,7 +338,7 @@ __metadata:
peerDependenciesMeta:
"@vue/composition-api":
optional: true
checksum: dcbc0b5b73207306b9427263ea69990581befb7e5e2ca4e1228715e4ec7950fc0bbfe6d92351a4c13de0ef025a1557acf397175f9008b1d57c2721e0401a3127
checksum: 8df99f7b85fe0b3ac4964a0ba32e127b8f3d2cefd017dc6d73ad32b023b16e9796387e46b58b76689d7d42d1bfa05b13b992ede24e25739c33a31e092df5920d
languageName: node
linkType: hard
......@@ -2183,15 +2174,6 @@ __metadata:
languageName: node
linkType: hard
"@zazuko/node-fetch@npm:^2.6.6":
version: 2.6.6
resolution: "@zazuko/node-fetch@npm:2.6.6"
dependencies:
whatwg-url: ^5.0.0
checksum: d2690111a98942a6329162d8486b9aea29b16bc4f5abf82709856568f0fe1268f1ac681d66b7ba0abc86d0c7cc5479ea0d53a05bb662ec506cf321fae1e7fad8
languageName: node
linkType: hard
"@zazuko/rdf-vocabularies@npm:^2022.6.29":
version: 2022.6.29
resolution: "@zazuko/rdf-vocabularies@npm:2022.6.29"
......@@ -3107,18 +3089,6 @@ __metadata:
languageName: node
linkType: hard
"concat-stream@npm:^1.6.0":
version: 1.6.2
resolution: "concat-stream@npm:1.6.2"
dependencies:
buffer-from: ^1.0.0
inherits: ^2.0.3
readable-stream: ^2.2.2
typedarray: ^0.0.6
checksum: 1ef77032cb4459dcd5187bd710d6fc962b067b64ec6a505810de3d2b8cc0605638551b42f8ec91edf6fcd26141b32ef19ad749239b58fae3aba99187adc32285
languageName: node
linkType: hard
"concat-stream@npm:^2.0.0":
version: 2.0.0
resolution: "concat-stream@npm:2.0.0"
......@@ -3236,7 +3206,7 @@ __metadata:
languageName: node
linkType: hard
"cross-fetch@npm:^3.0.4, cross-fetch@npm:^3.0.5, cross-fetch@npm:^3.0.6":
"cross-fetch@npm:^3.0.5, cross-fetch@npm:^3.0.6":
version: 3.1.5
resolution: "cross-fetch@npm:3.1.5"
dependencies:
......@@ -6875,20 +6845,7 @@ __metadata:
languageName: node
linkType: hard
"nodeify-fetch@npm:^2.2.1":
version: 2.2.2
resolution: "nodeify-fetch@npm:2.2.2"
dependencies:
"@zazuko/node-fetch": ^2.6.6
concat-stream: ^1.6.0
cross-fetch: ^3.0.4
readable-error: ^1.0.0
readable-stream: ^3.5.0
checksum: ad884a840cadfa740328907958974fa2da41eda0222025d80dfb2eae3627a5a97cb1f29d89476ef3af79fceed56bedbe3967fff9da8336a06c7d2945485c7c95
languageName: node
linkType: hard
"nodeify-fetch@npm:^3.0.0":
"nodeify-fetch@npm:3.0.0":
version: 3.0.0
resolution: "nodeify-fetch@npm:3.0.0"
dependencies:
......@@ -8229,7 +8186,7 @@ __metadata:
languageName: node
linkType: hard
"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.2, readable-stream@npm:^2.2.2, readable-stream@npm:^2.3.3, readable-stream@npm:~2.3.6":
"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.2, readable-stream@npm:^2.3.3, readable-stream@npm:~2.3.6":
version: 2.3.7
resolution: "readable-stream@npm:2.3.7"
dependencies:
......@@ -9421,7 +9378,7 @@ __metadata:
"typescript@patch:typescript@^4.8.3#~builtin<compat/typescript>":
version: 4.8.3
resolution: "typescript@patch:typescript@npm%3A4.8.3#~builtin<compat/typescript>::version=4.8.3&hash=a1c5e5"
resolution: "typescript@patch:typescript@npm%3A4.8.3#~builtin<compat/typescript>::version=4.8.3&hash=701156"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
......@@ -9443,7 +9400,7 @@ __metadata:
resolution: "ui@workspace:."
dependencies:
"@coscine/api-client": ^2.6.0
"@coscine/form-generator": ^3.0.7
"@coscine/form-generator": ^3.0.8
"@esbuild-plugins/node-globals-polyfill": ^0.1.1
"@esbuild-plugins/node-modules-polyfill": ^0.1.4
"@rdfjs-elements/formats-pretty": ^0.4.3
......