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

Kanban board #477

Merged
merged 25 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a2b83c0
Basic Kanban Board structure
alexivanenko Jan 21, 2025
62ff7e6
Merge branch 'main' into kanban-board
alexivanenko Jan 22, 2025
3f958dc
Add Kanban Board component and integrate into demo app
alexivanenko Jan 22, 2025
ff52cd8
Enhance Kanban components with improved styling and layout
alexivanenko Jan 22, 2025
11de31f
Refactor Kanban components to enhance functionality and structure
alexivanenko Jan 22, 2025
2e64332
Refactor Kanban components for improved functionality and styling
alexivanenko Jan 23, 2025
3ba309c
Enhance Kanban components with project and assignee interactions
alexivanenko Jan 23, 2025
850dfe5
Enhance KanbanBoard.vue and SCSS for improved card management and layout
alexivanenko Jan 23, 2025
5edba94
Enhance Kanban components with improved interactivity and layout
alexivanenko Jan 24, 2025
084a0ab
Enhance Kanban components with improved drag-and-drop functionality
alexivanenko Jan 24, 2025
b22df57
Refactor KanbanColumn.vue and SCSS for improved drag-and-drop functio…
alexivanenko Jan 24, 2025
10d677e
Refactor drag-and-drop logic in KanbanColumn.vue for improved card po…
alexivanenko Jan 24, 2025
e312aec
Enhance Kanban components with card title click functionality
alexivanenko Jan 24, 2025
821ab1a
Refactor drag-and-drop logic in KanbanColumn.vue for enhanced card po…
alexivanenko Jan 24, 2025
d7b90d6
Add new 'Test' column to KanbanBoard and refine card drop positioning…
alexivanenko Jan 27, 2025
b374311
Refactor KanbanBoard components with improved v-model and event handling
alexivanenko Jan 27, 2025
2733f20
Enhance KanbanBoard interaction with click and blur handling
alexivanenko Jan 27, 2025
f396987
Add window dragend event listener to reset draggedCardId
alexivanenko Jan 27, 2025
424f27e
Add touch support for Kanban board drag-and-drop interactions
alexivanenko Jan 28, 2025
1e456ea
Adjust touch interaction styles for Kanban board cards
alexivanenko Jan 29, 2025
d2012c4
Add scoped slots to KanbanBoard components for enhanced customization
alexivanenko Jan 29, 2025
282176e
remove debug
alexivanenko Jan 29, 2025
68151ae
Add column menu items and menu item click handling to KanbanBoard com…
alexivanenko Jan 29, 2025
9cdcecc
fix lint error
alexivanenko Jan 29, 2025
a5993f9
fix lint error
alexivanenko Jan 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions packages/demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
<of-list-item to="/tabs">Tabs</of-list-item>
<of-list-item to="/popups">Popups and Dialogs</of-list-item>
<of-list-item to="/badges">Badges</of-list-item>
<of-list-item to="/kanban">Kanban Board</of-list-item>
</of-nav-group>
</of-sidebar>
<main class="app-main">
Expand All @@ -126,7 +127,7 @@ import {
nextTick,
onErrorCaptured,
ref,
watch,
watch
} from 'vue'
import { useRouter } from 'vue-router'

Expand Down Expand Up @@ -162,7 +163,7 @@ export default defineComponent({
set(val: boolean) {
;(isMobile.value ? sidebarMobileActive : sidebarDesktopActive).value =
val
},
}
})
watch(baseFontSize, (size) => {
nextTick(() => {
Expand Down Expand Up @@ -206,7 +207,7 @@ export default defineComponent({
const tintParams = computed(() =>
tints.map((t) => ({
name: t,
icon: t == tint.value ? 'accept circle' : 'radio checked',
icon: t == tint.value ? 'accept circle' : 'radio checked'
}))
)
return {
Expand All @@ -219,9 +220,9 @@ export default defineComponent({
toggleSidebar,
dark,
tint,
tintParams,
tintParams
}
},
}
})
</script>

Expand Down
14 changes: 7 additions & 7 deletions packages/demo/src/components/Buttons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
class="of-buttonset"
:class="{
'of-buttonset--rounded': params.rounded,
'of--elevated': variant == 'elevated',
'of--elevated': variant == 'elevated'
}"
>
<of-button v-bind="params" :variant="variant" icon="accept"
Expand Down Expand Up @@ -118,7 +118,7 @@
class="of-buttonset"
:class="{
'of-buttonset--rounded': params.rounded,
'of--elevated': variant == 'elevated',
'of--elevated': variant == 'elevated'
}"
>
<of-button v-bind="params" :variant="variant">1</of-button>
Expand Down Expand Up @@ -175,9 +175,9 @@ export default defineComponent({
{
text: 'Option 1',
value: selectMenu1,
attrs: { 'data-test': 'my-btn' },
attrs: { 'data-test': 'my-btn' }
},
{ text: 'Option 2', value: selectMenu2 },
{ text: 'Option 2', value: selectMenu2 }
]

const densityOptions = ['default', '0', '1', '2', '3']
Expand All @@ -187,7 +187,7 @@ export default defineComponent({
density: 'default',
rounded: false,
tint: 'default',
scale: 'nm',
scale: 'nm'
})
return {
sampleCode,
Expand All @@ -197,9 +197,9 @@ export default defineComponent({
scaleOptions,
params,
menuClick,
variants,
variants
}
},
}
})
</script>

Expand Down
24 changes: 12 additions & 12 deletions packages/demo/src/components/Icons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default defineComponent({
'more alt': 'more alt',
'theme settings': 'theme settings',
'theme light': 'light mode',
'theme dark': 'dark mode',
'theme dark': 'dark mode'
},
{
required: 'required',
Expand All @@ -72,39 +72,39 @@ export default defineComponent({
search: 'search',
date: 'date',
time: 'time',
hourglass: 'hourglass',
hourglass: 'hourglass'
},
{
checkbox: 'checkbox off',
'checkbox checked': 'checkbox on',
radio: 'radio off',
'radio checked': 'radio on',
star: 'star off',
'star checked': 'star on',
'star checked': 'star on'
},
{
'arrow up': 'up arrow',
'arrow down': 'down arrow',
'arrow left': 'left arrow',
'arrow right': 'right arrow',
'arrow right': 'right arrow'
},
{
'page first': 'page first',
'page previous': 'page previous',
'page next': 'page next',
'page last': 'page last',
'page last': 'page last'
},
{
'bullet up': 'bullet up',
'bullet down': 'bullet down',
'bullet left': 'bullet left',
'bullet right': 'bullet right',
'bullet right': 'bullet right'
},
{
'expand up': 'expand up',
'expand down': 'expand down',
'expand open': 'expand',
'expand close': 'expand close',
'expand close': 'expand close'
},
{
// ellipsis circle
Expand All @@ -115,7 +115,7 @@ export default defineComponent({
'error circle': 'error circle',
'plus circle': 'plus circle',
'minus circle': 'minus circle',
'help circle': 'help circle',
'help circle': 'help circle'
// split circle
// refresh circle
},
Expand All @@ -126,11 +126,11 @@ export default defineComponent({
'led yellow': 'yellow led',
'led violet': 'violet led',
'led blue': 'blue led',
'led orange': 'orange led',
},
],
'led orange': 'orange led'
}
]
}
},
}
})
</script>

Expand Down
Loading