minor: uniq behavior changes

This commit is contained in:
Jean-Baptiste Pasquier 2021-02-26 15:47:21 +01:00
parent 05ca7bd3a8
commit efb6e9f77f
13 changed files with 30 additions and 19 deletions

View File

@ -15,7 +15,7 @@ if componentSet.has("chat") || componentSet.has("circles") || componentSet.has("
//- script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer) //- script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer)
if componentSet.has("dashboard") if componentSet.has("dashboard")
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard@3.0" defer) script(type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard@3.1" defer)
//- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer) //- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer)
if componentSet.has("events") if componentSet.has("events")
@ -26,7 +26,7 @@ if componentSet.has("events") || componentSet.has("polls") || componentSet.has("
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@0.9" defer) script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@0.9" defer)
if componentSet.has("jobBoard") if componentSet.has("jobBoard")
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@4.0" defer) script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@4.1" defer)
//- script(type="module" src="/lib/solid-job-board/dist/index.js" defer) //- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
if componentSet.has("notification") if componentSet.has("notification")
@ -48,5 +48,5 @@ if componentSet.has("themeChecker")
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css') link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css')
if componentSet.has("profileDirectory") if componentSet.has("profileDirectory")
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-directory@4.0" defer) script(type="module" src="https://cdn.skypack.dev/@startinblox/component-directory@4.1" defer)
//- script(type="module" src="/lib/solid-directory/dist/index.js" defer) //- script(type="module" src="/lib/solid-directory/dist/index.js" defer)

View File

@ -1,4 +1,5 @@
div.padding-top-xlarge.padding-right-xsmall.padding-bottom-xlarge.padding-left-xsmall.sm-padding-top-medium.bg-color-grey.whitespace-normal div.padding-top-xlarge.padding-right-xsmall.padding-bottom-xlarge.padding-left-xsmall.sm-padding-top-medium.bg-color-grey.whitespace-normal
solid-dashboard( solid-dashboard(
data-src=`${component.endpoints.get}` data-src=component.endpoints.get
uniq=component.uniq
) )

View File

@ -2,5 +2,6 @@ div.bg-color-grey.padding-top-xlarge.padding-right-small.padding-bottom-xlarge.p
solid-directory( solid-directory(
data-src=`${component.endpoints.get}` data-src=`${component.endpoints.get}`
range-skills=`${component.endpoints.skills}` range-skills=`${component.endpoints.skills}`
uniq=component.uniq
paginate-by="30" paginate-by="30"
) )

View File

@ -1,5 +1,6 @@
solid-job-board( solid-job-board(
data-src=`${component.endpoints.get}`, data-src=`${component.endpoints.get}`
post-data-src=`${component.endpoints.post}`, post-data-src=`${component.endpoints.post}`
range-skills=`${component.endpoints.skills}` range-skills=`${component.endpoints.skills}`
uniq=component.uniq
) )

View File

@ -23,9 +23,10 @@ div.segment.full.padding-top-small.padding-right-large.padding-bottom-small.padd
.chat-view.segment.full.whitespace-normal .chat-view.segment.full.whitespace-normal
solid-xmpp-chat( solid-xmpp-chat(
data-authentication='login', data-authentication='login'
data-auto-login='true', data-auto-login='true'
data-websocket-url=`${component.endpoints.xmpp}`, data-websocket-url=component.endpoints.xmpp
data-i18n='en', data-i18n='en'
bind-resources bind-resources
uniq=component.uniq
) )

View File

@ -4,4 +4,5 @@
range-base-polls=`${component.endpoints.pollRangeBase}` range-base-polls=`${component.endpoints.pollRangeBase}`
upload-dir=`${component.endpoints.uploads}` upload-dir=`${component.endpoints.uploads}`
id-prefix='default' id-prefix='default'
uniq=component.uniq
) )

View File

@ -2,4 +2,5 @@ solid-profile(
bind-user bind-user
upload-src=`${getComponent('profileDirectory', true).endpoints.uploads}` upload-src=`${getComponent('profileDirectory', true).endpoints.uploads}`
range-skills=`${getComponent('profileDirectory', true).endpoints.skills}` range-skills=`${getComponent('profileDirectory', true).endpoints.skills}`
uniq=`${getComponent('profileDirectory', true).uniq}`
) )

View File

@ -5,4 +5,5 @@
range-resource-circle=`${component.endpoints.circles}` range-resource-circle=`${component.endpoints.circles}`
upload-dir=`${component.endpoints.uploads}` upload-dir=`${component.endpoints.uploads}`
id-prefix='default' id-prefix='default'
uniq=component.uniq
) )

View File

@ -11,9 +11,10 @@ div.segment.full.padding-large.sm-padding-top-small.sm-padding-right-xsmall.sm-p
.chat-view.segment.full.whitespace-normal .chat-view.segment.full.whitespace-normal
solid-xmpp-chat( solid-xmpp-chat(
data-authentication='login', data-authentication='login'
data-auto-login='true', data-auto-login='true'
data-websocket-url=`${component.endpoints.xmpp}`, data-websocket-url=component.endpoints.xmpp
data-i18n='en', data-i18n='en'
bind-resources bind-resources
uniq=component.uniq
) )

View File

@ -6,4 +6,5 @@ solid-event(
range-event-circle=`${component.endpoints.get}` range-event-circle=`${component.endpoints.get}`
upload-dir=`${extension.get('events').endpoints.uploads}` upload-dir=`${extension.get('events').endpoints.uploads}`
id-prefix=`${component.route}` id-prefix=`${component.route}`
uniq=component.uniq
) )

View File

@ -5,4 +5,5 @@ solid-poll(
nested-field="polls" nested-field="polls"
range-base-polls=`${component.get('polls').endpoints.pollRangeBase}` range-base-polls=`${component.get('polls').endpoints.pollRangeBase}`
upload-dir=`${component.get('polls').endpoints.uploads}` upload-dir=`${component.get('polls').endpoints.uploads}`
uniq=component.uniq
) )

View File

@ -15,9 +15,10 @@ div.segment.full.padding-large.sm-padding-top-small.sm-padding-right-xsmall.sm-p
.chat-view.segment.full.whitespace-normal .chat-view.segment.full.whitespace-normal
solid-xmpp-chat( solid-xmpp-chat(
data-authentication='login', data-authentication='login'
data-auto-login='true', data-auto-login='true'
data-websocket-url=`${component.endpoints.xmpp}`, data-websocket-url=component.endpoints.xmpp
data-i18n='en', data-i18n='en'
bind-resources bind-resources
uniq=component.uniq
) )

View File

@ -34,7 +34,7 @@ div.segment.full.padding-large.whitespace-normal
required-customer.name required-customer.name
required-name required-name
required-captain required-captain
range-captain=`${component.endpoints.captains}` range-captain=component.endpoints.captains
label-name='' label-name=''
label-customer.name='' label-customer.name=''