Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SemApps instance for UTT/Tech-cico #458

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

srosset81
Copy link
Contributor

@srosset81 srosset81 commented Dec 10, 2020

Do not merge, nor delete

@vercel
Copy link

vercel bot commented Dec 10, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/semapps/website/hi3rvmtzs
✅ Preview: https://website-git-techcico-instance.semapps.now.sh

@srosset81 srosset81 marked this pull request as draft December 10, 2020 11:40
Comment on lines 20 to 29
<UriArrayField label="Organisations" filter={{ '@type': 'pair:Organization' }} reference="Organization" source="pair:topicOf">
<SingleFieldList linkType="show">
<ChipField source="pair:label" color="secondary" />
</SingleFieldList>
</UriArrayField>
<UriArrayField label="Evénements" filter={{ '@type': 'pair:Event' }} reference="Event" source="pair:topicOf">
<SingleFieldList linkType="show">
<ChipField source="pair:label" color="secondary" />
</SingleFieldList>
</UriArrayField>
Copy link
Contributor Author

@srosset81 srosset81 Dec 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour info, le paramètre filter permet, dans ce cas, de séparer les organisations des événements, qui sont les deux dans la liste des pair:topicOf du thème. Cela permet aussi de s'assurer que le lien vers la ressource sera correct.

Comment on lines 13 to 19
<UriArrayInput label="Sujets" reference="Subject" source="pair:topicOf">
<AutocompleteArrayInput
optionText="pair:label"
shouldRenderSuggestions={value => value.length > 1}
fullWidth
/>
</UriArrayInput>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour l'input, le mieux c'est d'utiliser une classe Subject qui regroupe tous les types de ressources "sujets". On se conforme ainsi à l'ontologie PAIR...

…-instance

# Conflicts:
#	src/frontend/boilerplates/archipelago/src/resources/organization-types/index.js
#	src/frontend/boilerplates/archipelago/src/resources/organizations/OrganizationShow.js
@srosset81 srosset81 changed the title [WIP] UTT instances UTT instance Mar 31, 2021
@srosset81 srosset81 added instance Branche avec une instance particulière de SemApps and removed not ready labels Mar 31, 2021
@srosset81 srosset81 marked this pull request as ready for review March 31, 2021 09:01
@srosset81 srosset81 changed the title UTT instance SemApps instance for UTT/Tech-cico Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance Branche avec une instance particulière de SemApps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant