Skip to content

Commit

Permalink
PATCH: add search component into assigned to field of topic (#31)
Browse files Browse the repository at this point in the history
* add search component into assigned to field of topic

* update design system version

* update padding in BcfTopicForm

* update @bimdata/design-system version
  • Loading branch information
LrxGaelle authored Oct 16, 2023
1 parent 8b9c566 commit 3ff58f2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@bimdata/components": "^1.0.6",
"@bimdata/design-system": "2.0.0-rc.36",
"@bimdata/design-system": "2.1.0-rc.6",
"@bimdata/vite-plugin-libcss": "0.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^9.0.2",
Expand Down
7 changes: 6 additions & 1 deletion src/components/bcf-topic-form/BcfTopicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,16 @@
/>
<BIMDataSelect
width="100%"
:search="true"
:clearSearchOnLeave="true"
:label="$t('BcfComponents.BcfTopicForm.assignedToLabel')"
:options="extensions.user_id_type"
:disabled="extensions.user_id_type.length === 0"
v-model="topicAssignedTo"
/>
:searchPlaceholder="$t('BcfComponents.BcfTopicForm.searchPlaceholder')"
>
<template #empty> <span class="color-granite p-x-12">{{ $t('BcfComponents.BcfTopicForm.emptySearch') }}</span> </template>
</BIMDataSelect>
<div class="m-b-30">
<BIMDataDatePicker
width="100%"
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
"cancelButton": "Discard changes",
"continueButton": "Continue editing",
"createTitle": "Report a problem",
"dragDropImageTextTablet": "Take a picture"
"dragDropImageTextTablet": "Take a picture",
"searchPlaceholder": "Search",
"emptySearch": "No result"
},
"BcfTopicOverview": {
"openViewer": "Open in viewer",
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"cancelButton": "Annuler les modifications",
"continueButton": "Continuer les modifications",
"takeSnapshot": "Prendre un snapshot",
"importFile": "Importer un fichier"
"importFile": "Importer un fichier",
"searchPlaceholder": "Rechercher",
"emptySearch": "Pas de résultat"
},
"BcfTopicOverview": {
"openViewer": "Ouvrir dans le viewer",
Expand Down

0 comments on commit 3ff58f2

Please sign in to comment.