-
Notifications
You must be signed in to change notification settings - Fork 731
Custom views #1705
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
Merged
Merged
Custom views #1705
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ece638b
Custom views creation
gaspergrom ab1d369
Form and sort view
gaspergrom 30f04cf
Merge branch 'main' into feature/custom-views
gaspergrom 817b1b1
View ordering and filter search
gaspergrom 2399e8d
View fetching
gaspergrom ebb78a3
View list
gaspergrom 775db1d
View creation
gaspergrom 46aa873
Custom views edit/duplication
gaspergrom aa73f2d
Merge branch 'main' into feature/custom-views
gaspergrom 0536bde
Deletion, editing & order management
gaspergrom 0bf69ee
Custom view finish flows
gaspergrom aaf0762
Merge branch 'main' into feature/custom-views
gaspergrom c3b4017
Fix refactor issue
gaspergrom 6964083
Fix refactor issue
gaspergrom 522a934
Fix refactor issue
gaspergrom a1fa151
Align with backend
gaspergrom 0203562
Fix yearly date pickers
gaspergrom 4c969ba
Fix values of time options
gaspergrom bfd9283
Bug fixing and improvements
gaspergrom aa5e455
Fix duplicate error
gaspergrom 9baa1c2
Fix alignment of views
gaspergrom cfc6178
add last 24h option to date filters
gaspergrom 4f0d05a
Fix resizing
gaspergrom 41cbff4
Fix date filters
gaspergrom 821601f
Fix updating default view
gaspergrom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
41 changes: 41 additions & 0 deletions
41
frontend/src/modules/member/config/saved-views/settings/bot/MemberBotSetting.vue
This file contains hidden or 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,41 @@ | ||
<template> | ||
<article> | ||
<p class="text-xs font-semibold leading-5 mb-3"> | ||
Bot contacts visibility | ||
</p> | ||
<el-radio-group v-model="value"> | ||
<el-radio :label="IncludeEnum.EXCLUDE" class="!h-5"> | ||
<span class="text-xs">Exclude bot contacts</span> | ||
</el-radio> | ||
<el-radio :label="IncludeEnum.INCLUDE" class="!h-5"> | ||
<span class="text-xs">Include bot contacts</span> | ||
</el-radio> | ||
</el-radio-group> | ||
</article> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { IncludeEnum } from '@/modules/member/config/saved-views/settings/common/types/IncludeEnum'; | ||
import { computed } from 'vue'; | ||
|
||
const props = defineProps<{ | ||
modelValue: IncludeEnum, | ||
}>(); | ||
|
||
const emit = defineEmits<{(e: 'update:modelValue', value: IncludeEnum): any }>(); | ||
|
||
const value = computed<IncludeEnum>({ | ||
get() { | ||
return props.modelValue; | ||
}, | ||
set(val: IncludeEnum) { | ||
emit('update:modelValue', val); | ||
}, | ||
}); | ||
</script> | ||
|
||
<script lang="ts"> | ||
export default { | ||
name: 'CrMemberTeamMemberSetting', | ||
}; | ||
</script> |
5 changes: 4 additions & 1 deletion
5
...member/config/saved-views/settings/bot.ts → ...config/saved-views/settings/bot/config.ts
This file contains hidden or 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
frontend/src/modules/member/config/saved-views/settings/common/includeFilterRenderer.ts
This file contains hidden or 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
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...nfig/saved-views/settings/organization.ts → ...ved-views/settings/organization/config.ts
This file contains hidden or 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
44 changes: 44 additions & 0 deletions
44
...end/src/modules/member/config/saved-views/settings/teamMember/MemberTeamMemberSetting.vue
This file contains hidden or 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,44 @@ | ||
<template> | ||
<article> | ||
<p class="text-xs font-semibold leading-5 mb-3"> | ||
Team contacts visibility | ||
</p> | ||
<el-radio-group v-model="value"> | ||
<el-radio :label="IncludeEnum.EXCLUDE" class="!h-5"> | ||
<span class="text-xs">Exclude team contacts</span> | ||
</el-radio> | ||
<el-radio :label="IncludeEnum.INCLUDE" class="!h-5"> | ||
<span class="text-xs">Include team contacts</span> | ||
</el-radio> | ||
<el-radio :label="IncludeEnum.FILTER" class="!h-5"> | ||
<span class="text-xs">Team contacts only</span> | ||
</el-radio> | ||
</el-radio-group> | ||
</article> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { computed } from 'vue'; | ||
import { IncludeEnum } from '@/modules/member/config/saved-views/settings/common/types/IncludeEnum'; | ||
|
||
const props = defineProps<{ | ||
modelValue: IncludeEnum, | ||
}>(); | ||
|
||
const emit = defineEmits<{(e: 'update:modelValue', value: IncludeEnum): any }>(); | ||
|
||
const value = computed<IncludeEnum>({ | ||
get() { | ||
return props.modelValue; | ||
}, | ||
set(val: IncludeEnum) { | ||
emit('update:modelValue', val); | ||
}, | ||
}); | ||
</script> | ||
|
||
<script lang="ts"> | ||
export default { | ||
name: 'CrMemberTeamMemberSetting', | ||
}; | ||
</script> |
5 changes: 4 additions & 1 deletion
5
...config/saved-views/settings/teamMember.ts → ...saved-views/settings/teamMember/config.ts
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.