多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

459 lines
15 KiB

<script setup lang="ts">
import type { CommentType } from 'nocodb-sdk'
const props = defineProps<{
loading: boolean
}>()
const {
loadComments,
deleteComment,
comments,
audits,
isCommentsLoading,
isAuditLoading,
saveComment: _saveComment,
comment: newComment,
updateComment,
} = useExpandedFormStoreOrThrow()
const { isExpandedFormCommentMode } = storeToRefs(useConfigStore())
const commentsWrapperEl = ref<HTMLDivElement>()
const commentInputRef = ref<any>()
const editRef = ref<any>()
const { user, appInfo } = useGlobal()
const isExpandedFormLoading = computed(() => props.loading)
const tab = ref<'comments' | 'audits'>('comments')
const { isUIAllowed } = useRoles()
const hasEditPermission = computed(() => isUIAllowed('commentEdit'))
const editComment = ref<CommentType>()
feat: Improved UI (#6222) * feat: Improved ui (#6156) * refactor: revert Signed-off-by: Pranav C <pranavxc@gmail.com> feat: shared base Signed-off-by: Pranav C <pranavxc@gmail.com> fix: remove duplicate import statement Signed-off-by: Pranav C <pranavxc@gmail.com> fix: disable starred & license menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix airtable wait issue Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable mysql in ci Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix checkbox order for sqlite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: disable quick tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix dbType env variable for CI Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: workspace API access error fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite CI CD Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: use DB_TYPE env variable Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite UT Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: isHub cleanup Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: add check for EE Timezone spec Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> test: EE check fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: test correction Signed-off-by: Pranav C <pranavxc@gmail.com> chore: sync latest changes Signed-off-by: Pranav C <pranavxc@gmail.com> test: set EE=false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: set NC Edition to community in workflow file Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: update sdk build command Signed-off-by: Pranav C <pranavxc@gmail.com> refactor: i18n and other changes Signed-off-by: Pranav C <pranavxc@gmail.com> feat: new ui Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: lint Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: shared view/base related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: checkbox verification sort order fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix sqlite reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable selfhosted runners Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table ops (draft) Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * Docs: screenshots for table-operations.md * refactor: introduce missing buttons Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: get all fields Signed-off-by: Pranav C <pranavxc@gmail.com> * test: UT fix- new data API response Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: EE is false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: webhook lookup as string in CE Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: include created_at and updated_at Signed-off-by: Pranav C <pranavxc@gmail.com> * test: fix UT newDataAPI response for PG Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: separate api for webhook related plugins Signed-off-by: Pranav C <pranavxc@gmail.com> * test: msyql filter corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: mysql group by test corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix datatype for rating field in groupby spec for pg Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: kanban datatype correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: column edit for mysql- rating field Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: misc fixes Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 4 workers Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 2 workers per shard only Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table CRUD * Rename table-operations.md to table-crud.md * Create column-crud.md * docs: row CRUD * Rename row.md to row-crud.md * docs: project crud * docs: toolbar (skeleton) * refactor: single page UI and bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests playwright Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing dependency Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: single page ui, test corrections Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: tests Signed-off-by: Pranav C <pranavxc@gmail.com> * test: project rename test correction Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: remove only Signed-off-by: Pranav C <pranavxc@gmail.com> * test: remove wrong import statement Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: delete option not visible in project context menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: move ws access within isEE() Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix groupby * test: groupby fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: signup & landing page * docs: project crud * docs: project-crud misc * docs: toolbar fields * docs: toolbar / filters * docs: toolbar / group by * docs: toolbar / sort * docs: toolbar / row height * docs: filters additional options * docs: file re-order Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: add links to column types * docs: code snippets * docs: links * docs: lookup * docs: rollup * docs: formula * docs: primary key * docs: display value * docs: development setup * docs: swagger * fix(nc-gui): encodeURIComponent for row id - closes: #6202 * docs: language * docs: expanded record * docs: import airtable * docs: airtable * docs: webhook * docs: revert file rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: account settings * docs: audit * docs: meta management * docs: project settings * docs: shared base * docs: shared view * docs: meta sync * docs: team-auth * docs: views * docs: fix URL * docs: URL corrections * fix: shared base, view related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: EE check for WSaccess Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: exclude EE tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: missing project delete closes #6215 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com> * refactor: docs and other bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: populate default project on super admin signup Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: include created project details in signup response if avail, missing Dockerfile Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: use custom function for resolving ts path aliases Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing generate script Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: webpack build correction - ts path resolve Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: mertmit <mertmit99@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
1 year ago
const isEditing = ref<boolean>(false)
const isCommentMode = ref(false)
function onKeyDown(event: KeyboardEvent) {
if (event.key === 'Escape') {
onKeyEsc(event)
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
} else if (event.key === 'Enter' && !event.shiftKey) {
onKeyEnter(event)
}
}
function onKeyEnter(event: KeyboardEvent) {
event.stopImmediatePropagation()
event.preventDefault()
onEditComment()
}
function onKeyEsc(event: KeyboardEvent) {
event.stopImmediatePropagation()
event.preventDefault()
onCancel()
}
async function onEditComment() {
if (!isEditing.value || !editComment.value) return
isCommentMode.value = true
await updateComment(editComment.value.id!, {
comment: editComment.value?.comment,
})
onStopEdit()
}
function onCancel() {
feat: Improved UI (#6222) * feat: Improved ui (#6156) * refactor: revert Signed-off-by: Pranav C <pranavxc@gmail.com> feat: shared base Signed-off-by: Pranav C <pranavxc@gmail.com> fix: remove duplicate import statement Signed-off-by: Pranav C <pranavxc@gmail.com> fix: disable starred & license menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix airtable wait issue Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable mysql in ci Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix checkbox order for sqlite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: disable quick tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix dbType env variable for CI Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: workspace API access error fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite CI CD Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: use DB_TYPE env variable Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite UT Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: isHub cleanup Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: add check for EE Timezone spec Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> test: EE check fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: test correction Signed-off-by: Pranav C <pranavxc@gmail.com> chore: sync latest changes Signed-off-by: Pranav C <pranavxc@gmail.com> test: set EE=false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: set NC Edition to community in workflow file Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: update sdk build command Signed-off-by: Pranav C <pranavxc@gmail.com> refactor: i18n and other changes Signed-off-by: Pranav C <pranavxc@gmail.com> feat: new ui Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: lint Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: shared view/base related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: checkbox verification sort order fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix sqlite reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable selfhosted runners Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table ops (draft) Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * Docs: screenshots for table-operations.md * refactor: introduce missing buttons Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: get all fields Signed-off-by: Pranav C <pranavxc@gmail.com> * test: UT fix- new data API response Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: EE is false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: webhook lookup as string in CE Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: include created_at and updated_at Signed-off-by: Pranav C <pranavxc@gmail.com> * test: fix UT newDataAPI response for PG Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: separate api for webhook related plugins Signed-off-by: Pranav C <pranavxc@gmail.com> * test: msyql filter corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: mysql group by test corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix datatype for rating field in groupby spec for pg Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: kanban datatype correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: column edit for mysql- rating field Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: misc fixes Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 4 workers Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 2 workers per shard only Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table CRUD * Rename table-operations.md to table-crud.md * Create column-crud.md * docs: row CRUD * Rename row.md to row-crud.md * docs: project crud * docs: toolbar (skeleton) * refactor: single page UI and bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests playwright Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing dependency Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: single page ui, test corrections Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: tests Signed-off-by: Pranav C <pranavxc@gmail.com> * test: project rename test correction Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: remove only Signed-off-by: Pranav C <pranavxc@gmail.com> * test: remove wrong import statement Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: delete option not visible in project context menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: move ws access within isEE() Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix groupby * test: groupby fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: signup & landing page * docs: project crud * docs: project-crud misc * docs: toolbar fields * docs: toolbar / filters * docs: toolbar / group by * docs: toolbar / sort * docs: toolbar / row height * docs: filters additional options * docs: file re-order Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: add links to column types * docs: code snippets * docs: links * docs: lookup * docs: rollup * docs: formula * docs: primary key * docs: display value * docs: development setup * docs: swagger * fix(nc-gui): encodeURIComponent for row id - closes: #6202 * docs: language * docs: expanded record * docs: import airtable * docs: airtable * docs: webhook * docs: revert file rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: account settings * docs: audit * docs: meta management * docs: project settings * docs: shared base * docs: shared view * docs: meta sync * docs: team-auth * docs: views * docs: fix URL * docs: URL corrections * fix: shared base, view related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: EE check for WSaccess Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: exclude EE tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: missing project delete closes #6215 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com> * refactor: docs and other bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: populate default project on super admin signup Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: include created project details in signup response if avail, missing Dockerfile Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: use custom function for resolving ts path aliases Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing generate script Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: webpack build correction - ts path resolve Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: mertmit <mertmit99@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
1 year ago
if (!isEditing.value) return
editComment.value = undefined
onStopEdit()
}
function onStopEdit() {
loadComments()
feat: Improved UI (#6222) * feat: Improved ui (#6156) * refactor: revert Signed-off-by: Pranav C <pranavxc@gmail.com> feat: shared base Signed-off-by: Pranav C <pranavxc@gmail.com> fix: remove duplicate import statement Signed-off-by: Pranav C <pranavxc@gmail.com> fix: disable starred & license menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix airtable wait issue Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable mysql in ci Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix checkbox order for sqlite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: disable quick tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix dbType env variable for CI Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: workspace API access error fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite CI CD Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: use DB_TYPE env variable Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite UT Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: isHub cleanup Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: add check for EE Timezone spec Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> test: EE check fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: test correction Signed-off-by: Pranav C <pranavxc@gmail.com> chore: sync latest changes Signed-off-by: Pranav C <pranavxc@gmail.com> test: set EE=false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: set NC Edition to community in workflow file Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: update sdk build command Signed-off-by: Pranav C <pranavxc@gmail.com> refactor: i18n and other changes Signed-off-by: Pranav C <pranavxc@gmail.com> feat: new ui Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: lint Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: shared view/base related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: checkbox verification sort order fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix sqlite reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable selfhosted runners Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table ops (draft) Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * Docs: screenshots for table-operations.md * refactor: introduce missing buttons Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: get all fields Signed-off-by: Pranav C <pranavxc@gmail.com> * test: UT fix- new data API response Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: EE is false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: webhook lookup as string in CE Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: include created_at and updated_at Signed-off-by: Pranav C <pranavxc@gmail.com> * test: fix UT newDataAPI response for PG Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: separate api for webhook related plugins Signed-off-by: Pranav C <pranavxc@gmail.com> * test: msyql filter corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: mysql group by test corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix datatype for rating field in groupby spec for pg Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: kanban datatype correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: column edit for mysql- rating field Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: misc fixes Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 4 workers Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 2 workers per shard only Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table CRUD * Rename table-operations.md to table-crud.md * Create column-crud.md * docs: row CRUD * Rename row.md to row-crud.md * docs: project crud * docs: toolbar (skeleton) * refactor: single page UI and bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests playwright Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing dependency Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: single page ui, test corrections Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: tests Signed-off-by: Pranav C <pranavxc@gmail.com> * test: project rename test correction Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: remove only Signed-off-by: Pranav C <pranavxc@gmail.com> * test: remove wrong import statement Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: delete option not visible in project context menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: move ws access within isEE() Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix groupby * test: groupby fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: signup & landing page * docs: project crud * docs: project-crud misc * docs: toolbar fields * docs: toolbar / filters * docs: toolbar / group by * docs: toolbar / sort * docs: toolbar / row height * docs: filters additional options * docs: file re-order Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: add links to column types * docs: code snippets * docs: links * docs: lookup * docs: rollup * docs: formula * docs: primary key * docs: display value * docs: development setup * docs: swagger * fix(nc-gui): encodeURIComponent for row id - closes: #6202 * docs: language * docs: expanded record * docs: import airtable * docs: airtable * docs: webhook * docs: revert file rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: account settings * docs: audit * docs: meta management * docs: project settings * docs: shared base * docs: shared view * docs: meta sync * docs: team-auth * docs: views * docs: fix URL * docs: URL corrections * fix: shared base, view related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: EE check for WSaccess Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: exclude EE tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: missing project delete closes #6215 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com> * refactor: docs and other bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: populate default project on super admin signup Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: include created project details in signup response if avail, missing Dockerfile Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: use custom function for resolving ts path aliases Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing generate script Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: webpack build correction - ts path resolve Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: mertmit <mertmit99@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
1 year ago
isEditing.value = false
editComment.value = undefined
}
onKeyStroke('Enter', (event) => {
feat: Improved UI (#6222) * feat: Improved ui (#6156) * refactor: revert Signed-off-by: Pranav C <pranavxc@gmail.com> feat: shared base Signed-off-by: Pranav C <pranavxc@gmail.com> fix: remove duplicate import statement Signed-off-by: Pranav C <pranavxc@gmail.com> fix: disable starred & license menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix airtable wait issue Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable mysql in ci Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix checkbox order for sqlite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: disable quick tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix dbType env variable for CI Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: workspace API access error fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite CI CD Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: use DB_TYPE env variable Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite UT Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: isHub cleanup Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: add check for EE Timezone spec Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> test: EE check fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: test correction Signed-off-by: Pranav C <pranavxc@gmail.com> chore: sync latest changes Signed-off-by: Pranav C <pranavxc@gmail.com> test: set EE=false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: set NC Edition to community in workflow file Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: update sdk build command Signed-off-by: Pranav C <pranavxc@gmail.com> refactor: i18n and other changes Signed-off-by: Pranav C <pranavxc@gmail.com> feat: new ui Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: lint Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: shared view/base related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: checkbox verification sort order fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix sqlite reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable selfhosted runners Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table ops (draft) Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * Docs: screenshots for table-operations.md * refactor: introduce missing buttons Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: get all fields Signed-off-by: Pranav C <pranavxc@gmail.com> * test: UT fix- new data API response Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: EE is false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: webhook lookup as string in CE Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: include created_at and updated_at Signed-off-by: Pranav C <pranavxc@gmail.com> * test: fix UT newDataAPI response for PG Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: separate api for webhook related plugins Signed-off-by: Pranav C <pranavxc@gmail.com> * test: msyql filter corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: mysql group by test corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix datatype for rating field in groupby spec for pg Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: kanban datatype correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: column edit for mysql- rating field Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: misc fixes Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 4 workers Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 2 workers per shard only Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table CRUD * Rename table-operations.md to table-crud.md * Create column-crud.md * docs: row CRUD * Rename row.md to row-crud.md * docs: project crud * docs: toolbar (skeleton) * refactor: single page UI and bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests playwright Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing dependency Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: single page ui, test corrections Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: tests Signed-off-by: Pranav C <pranavxc@gmail.com> * test: project rename test correction Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: remove only Signed-off-by: Pranav C <pranavxc@gmail.com> * test: remove wrong import statement Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: delete option not visible in project context menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: move ws access within isEE() Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix groupby * test: groupby fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: signup & landing page * docs: project crud * docs: project-crud misc * docs: toolbar fields * docs: toolbar / filters * docs: toolbar / group by * docs: toolbar / sort * docs: toolbar / row height * docs: filters additional options * docs: file re-order Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: add links to column types * docs: code snippets * docs: links * docs: lookup * docs: rollup * docs: formula * docs: primary key * docs: display value * docs: development setup * docs: swagger * fix(nc-gui): encodeURIComponent for row id - closes: #6202 * docs: language * docs: expanded record * docs: import airtable * docs: airtable * docs: webhook * docs: revert file rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: account settings * docs: audit * docs: meta management * docs: project settings * docs: shared base * docs: shared view * docs: meta sync * docs: team-auth * docs: views * docs: fix URL * docs: URL corrections * fix: shared base, view related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: EE check for WSaccess Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: exclude EE tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: missing project delete closes #6215 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com> * refactor: docs and other bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: populate default project on super admin signup Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: include created project details in signup response if avail, missing Dockerfile Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: use custom function for resolving ts path aliases Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing generate script Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: webpack build correction - ts path resolve Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: mertmit <mertmit99@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
1 year ago
if (isEditing.value) {
onKeyEnter(event)
}
})
function editComments(comment: CommentType) {
editComment.value = comment
feat: Improved UI (#6222) * feat: Improved ui (#6156) * refactor: revert Signed-off-by: Pranav C <pranavxc@gmail.com> feat: shared base Signed-off-by: Pranav C <pranavxc@gmail.com> fix: remove duplicate import statement Signed-off-by: Pranav C <pranavxc@gmail.com> fix: disable starred & license menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix airtable wait issue Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable mysql in ci Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix checkbox order for sqlite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: disable quick tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: fix dbType env variable for CI Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: workspace API access error fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite CI CD Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: use DB_TYPE env variable Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: enable SQLite UT Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: isHub cleanup Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: add check for EE Timezone spec Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> chore: cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> test: EE check fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: test correction Signed-off-by: Pranav C <pranavxc@gmail.com> chore: sync latest changes Signed-off-by: Pranav C <pranavxc@gmail.com> test: set EE=false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> test: set NC Edition to community in workflow file Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> chore: update sdk build command Signed-off-by: Pranav C <pranavxc@gmail.com> refactor: i18n and other changes Signed-off-by: Pranav C <pranavxc@gmail.com> feat: new ui Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: lint Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: shared view/base related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: checkbox verification sort order fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix sqlite reset Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable selfhosted runners Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table ops (draft) Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * Docs: screenshots for table-operations.md * refactor: introduce missing buttons Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: get all fields Signed-off-by: Pranav C <pranavxc@gmail.com> * test: UT fix- new data API response Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: EE is false Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: webhook lookup as string in CE Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: include created_at and updated_at Signed-off-by: Pranav C <pranavxc@gmail.com> * test: fix UT newDataAPI response for PG Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: separate api for webhook related plugins Signed-off-by: Pranav C <pranavxc@gmail.com> * test: msyql filter corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: mysql group by test corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix datatype for rating field in groupby spec for pg Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: kanban datatype correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: column edit for mysql- rating field Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: misc fixes Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 4 workers Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: enable 2 workers per shard only Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: table CRUD * Rename table-operations.md to table-crud.md * Create column-crud.md * docs: row CRUD * Rename row.md to row-crud.md * docs: project crud * docs: toolbar (skeleton) * refactor: single page UI and bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: sync tests playwright Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing dependency Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: single page ui, test corrections Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: tests Signed-off-by: Pranav C <pranavxc@gmail.com> * test: project rename test correction Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: remove only Signed-off-by: Pranav C <pranavxc@gmail.com> * test: remove wrong import statement Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: delete option not visible in project context menu Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: move ws access within isEE() Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: fix groupby * test: groupby fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: signup & landing page * docs: project crud * docs: project-crud misc * docs: toolbar fields * docs: toolbar / filters * docs: toolbar / group by * docs: toolbar / sort * docs: toolbar / row height * docs: filters additional options * docs: file re-order Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: add links to column types * docs: code snippets * docs: links * docs: lookup * docs: rollup * docs: formula * docs: primary key * docs: display value * docs: development setup * docs: swagger * fix(nc-gui): encodeURIComponent for row id - closes: #6202 * docs: language * docs: expanded record * docs: import airtable * docs: airtable * docs: webhook * docs: revert file rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * docs: account settings * docs: audit * docs: meta management * docs: project settings * docs: shared base * docs: shared view * docs: meta sync * docs: team-auth * docs: views * docs: fix URL * docs: URL corrections * fix: shared base, view related bugs Signed-off-by: Pranav C <pranavxc@gmail.com> * test: EE check for WSaccess Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * test: exclude EE tests Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix: missing project delete closes #6215 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: merge existing project meta if found closes #6216 Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com> * refactor: docs and other bug fixes Signed-off-by: Pranav C <pranavxc@gmail.com> * feat: populate default project on super admin signup Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: include created project details in signup response if avail, missing Dockerfile Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: use custom function for resolving ts path aliases Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: add missing generate script Signed-off-by: Pranav C <pranavxc@gmail.com> * chore: webpack build correction - ts path resolve Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: mertmit <mertmit99@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
1 year ago
isEditing.value = true
}
const value = computed({
get() {
return editComment.value?.comment || ''
},
set(val) {
if (!editComment.value) return
editComment.value.comment = val
},
})
function scrollComments() {
if (commentsWrapperEl.value) {
commentsWrapperEl.value.scrollTo({
top: commentsWrapperEl.value.scrollHeight,
behavior: 'smooth',
})
}
}
const isSaving = ref(false)
const saveComment = async () => {
if (isSaving.value) return
isCommentMode.value = true
isSaving.value = true
try {
await _saveComment()
await nextTick(() => {
commentInputRef?.value?.setEditorContent('', true)
isExpandedFormCommentMode.value = true
})
scrollComments()
} catch (e) {
console.error(e)
} finally {
isSaving.value = false
}
}
watch(commentsWrapperEl, () => {
setTimeout(() => {
nextTick(() => {
scrollComments()
})
}, 100)
})
</script>
<template>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="flex flex-col !h-full w-full">
<NcTabs v-model:activeKey="tab" class="h-full">
<a-tab-pane key="comments" class="w-full h-full">
<template #tab>
<div v-e="['c:row-expand:comment']" class="flex items-center gap-2">
<GeneralIcon icon="messageCircle" class="w-4 h-4" />
<span class="<lg:hidden"> Comments </span>
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</template>
<div
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
class="h-full"
:class="{
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
'pb-1': tab !== 'comments' && !appInfo.ee,
}"
>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div v-if="isExpandedFormLoading" class="flex flex-col h-full">
<GeneralLoader class="!mt-16" size="xlarge" />
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div v-else class="flex flex-col h-full">
<div v-if="comments.length === 0" class="flex flex-col my-1 text-center justify-center h-full nc-scrollbar-thin">
<div class="text-center text-3xl text-gray-700">
<GeneralIcon icon="commentHere" />
</div>
<div class="font-medium text-center my-6 text-gray-500">{{ $t('activity.startCommenting') }}</div>
</div>
<div v-else ref="commentsWrapperEl" class="flex flex-col h-full py-1 nc-scrollbar-thin">
<div v-for="comment of comments" :key="comment.id" class="nc-comment-item">
<div
:class="{
'hover:bg-gray-50 bg-white': comment.id !== editComment?.id,
}"
class="group gap-3 overflow-hidden flex items-start px-3 py-1"
>
<GeneralUserIcon
:email="comment.created_by_email"
:name="comment.created_display_name"
class="mt-0.5"
size="medium"
/>
<div class="flex-1 flex flex-col gap-1 max-w-[calc(100%_-_24px)]">
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="w-full flex justify-between gap-3 min-h-7">
<div class="flex items-center max-w-[calc(100%_-_40px)]">
<div class="w-full flex flex-wrap gap-3 items-center">
<NcTooltip
class="truncate capitalize text-gray-800 font-weight-700 !text-[13px] max-w-42"
show-on-truncate-only
>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<template #title>
{{ comment.created_display_name?.trim() || comment.created_by_email || 'Shared source' }}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</template>
<span
class="text-ellipsis capitalize overflow-hidden"
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
:style="{
lineHeight: '18px',
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
wordBreak: 'keep-all',
whiteSpace: 'nowrap',
display: 'inline',
}"
>
{{
comment.created_by === user?.id
? 'You'
: comment.created_display_name?.trim() || comment.created_by_email || 'Shared source'
}}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</span>
</NcTooltip>
<div class="text-xs text-gray-500">
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
{{
comment.created_at !== comment.updated_at
? `Edited ${timeAgo(comment.updated_at)}`
: timeAgo(comment.created_at)
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
}}
</div>
</div>
1 year ago
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="flex items-center opacity-0 transition-all group-hover:opacity-100 ease-out duration-400 gap-2">
<NcDropdown
v-if="comment.created_by_email === user!.email && !editComment"
overlay-class-name="!min-w-[160px]"
placement="bottomRight"
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
>
<NcButton class="nc-expand-form-more-actions !w-7 !h-7 !bg-transparent" size="xsmall" type="text">
<GeneralIcon class="text-md" icon="threeDotVertical" />
</NcButton>
<template #overlay>
<NcMenu>
<NcMenuItem
v-e="['c:row-expand:comment:edit']"
class="text-gray-700"
@click="editComments(comment)"
>
<div class="flex gap-2 items-center">
<component :is="iconMap.rename" class="cursor-pointer" />
{{ $t('general.edit') }}
</div>
</NcMenuItem>
<NcMenuItem
v-e="['c:row-expand:comment:delete']"
class="!text-red-500 !hover:bg-red-50"
@click="deleteComment(comment.id!)"
>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="flex gap-2 items-center">
<component :is="iconMap.delete" class="cursor-pointer" />
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
{{ $t('general.delete') }}
</div>
</NcMenuItem>
</NcMenu>
</template>
</NcDropdown>
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</div>
<SmartsheetExpandedFormRichComment
v-if="comment.id === editComment?.id"
ref="editRef"
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
v-model:value="value"
autofocus
:hide-options="false"
class="expanded-form-comment-input !pt-1 !pb-0.5 !pl-2 !m-0 w-full !border-1 !border-gray-200 !rounded-lg !bg-transparent !text-gray-800 !text-small !leading-18px !max-h-[694px]"
data-testid="expanded-form-comment-input"
sync-value-change
@save="onEditComment"
@keydown.stop="onKeyDown"
@blur="
() => {
editComment = undefined
isEditing = false
}
"
@keydown.enter.exact.prevent="onEditComment"
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
/>
<div v-else class="text-small leading-18px text-gray-800">
<SmartsheetExpandedFormRichComment
:value="comment.comment"
class="!text-small !leading-18px !text-gray-800 -ml-1"
read-only
sync-value-change
/>
1 year ago
</div>
</div>
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</div>
</div>
<div v-if="hasEditPermission" class="bg-gray-50 nc-comment-input !rounded-br-2xl gap-2 flex">
<SmartsheetExpandedFormRichComment
ref="commentInputRef"
v-model:value="newComment"
:hide-options="false"
placeholder="Comment..."
class="expanded-form-comment-input !m-0 pt-2 w-full !border-t-1 !border-gray-200 !bg-transparent !text-gray-800 !text-small !leading-18px !max-h-[566px]"
:autofocus="isExpandedFormCommentMode"
data-testid="expanded-form-comment-input"
@focus="isExpandedFormCommentMode = false"
@keydown.stop
@save="saveComment"
@keydown.enter.exact.prevent="saveComment"
/>
</div>
</div>
1 year ago
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</a-tab-pane>
<a-tab-pane key="audits" class="w-full" :disabled="appInfo.ee">
<template #tab>
<NcTooltip v-if="appInfo.ee" class="tab flex-1">
<template #title>
<span class="!text-base"> Coming soon </span>
</template>
<div v-e="['c:row-expand:audit']" class="flex items-center gap-2 text-gray-400">
<GeneralIcon icon="audit" class="w-4 h-4" />
<span class="<lg:hidden"> Audits </span>
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</NcTooltip>
<div v-else v-e="['c:row-expand:audit']" class="flex items-center gap-2">
<GeneralIcon icon="audit" class="w-4 h-4" />
<span class="<lg:hidden"> Audits </span>
</div>
</template>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div
class="h-full"
:class="{
'pb-1': !appInfo.ee,
}"
>
<div v-if="isExpandedFormLoading || isAuditLoading" class="flex flex-col h-full">
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<GeneralLoader class="!mt-16" size="xlarge" />
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div v-else ref="commentsWrapperEl" class="flex flex-col h-full py-1 nc-scrollbar-thin !overflow-y-auto">
<template v-if="audits.length === 0">
<div class="flex flex-col text-center justify-center h-full">
<div class="text-center text-3xl text-gray-600">
<MdiHistory />
</div>
<div class="font-bold text-center my-1 text-gray-600">See changes to this record</div>
</div>
</template>
<div v-for="audit of audits" :key="audit.id" class="nc-audit-item">
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="group gap-3 overflow-hidden flex items-start p-3">
<GeneralUserIcon size="medium" :email="audit.user" :name="audit.display_name" />
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<div class="flex-1 flex flex-col gap-1 max-w-[calc(100%_-_24px)]">
<div class="flex flex-wrap items-center min-h-7">
<NcTooltip class="truncate max-w-42 mr-2" show-on-truncate-only>
<template #title>
{{ audit.display_name?.trim() || audit.user || 'Shared source' }}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</template>
<span
class="text-ellipsis overflow-hidden font-bold text-gray-800"
:style="{
wordBreak: 'keep-all',
whiteSpace: 'nowrap',
display: 'inline',
}"
>
{{ audit.display_name?.trim() || audit.user || 'Shared source' }}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</span>
</NcTooltip>
<div class="text-xs text-gray-400">
{{ timeAgo(audit.created_at) }}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</div>
1 year ago
</div>
<div v-dompurify-html="audit.details" class="text-sm font-medium"></div>
</div>
</div>
</div>
</div>
</div>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
</a-tab-pane>
</NcTabs>
</div>
</template>
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
<style lang="scss" scoped>
.tab {
@apply max-w-1/2;
}
.nc-comment-input {
:deep(.nc-comment-rich-editor) {
@apply !ml-1;
}
}
.nc-audit-item {
@apply border-b-1 gap-3 border-gray-200;
}
.nc-audit-item:last-child {
@apply border-b-0;
}
.tab .tab-title {
1 year ago
@apply min-w-0 flex justify-center gap-2 font-semibold items-center;
word-break: 'keep-all';
white-space: 'nowrap';
display: 'inline';
}
1 year ago
.text-decoration-line-through {
text-decoration: line-through;
}
:deep(.red.lighten-4) {
@apply bg-red-100 rounded-md line-through;
}
:deep(.green.lighten-4) {
@apply bg-green-100 rounded-md !mr-3 !leading-6;
}
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
:deep(.ant-tabs) {
@apply !overflow-visible;
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
.ant-tabs-nav {
@apply px-3;
.ant-tabs-nav-list {
@apply w-[99%] mx-auto gap-6;
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
.ant-tabs-tab {
@apply flex-1 flex items-center justify-center pt-3 pb-2.5;
& + .ant-tabs-tab {
@apply !ml-0;
}
}
}
}
.ant-tabs-content-holder {
.ant-tabs-content {
@apply h-full;
}
}
}
:deep(.expanded-form-comment-input) {
@apply transition-all duration-150 min-h-8;
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
box-shadow: none;
&:focus,
&:focus-within {
Nc fix/expanded for UI changes (#8452) * fix(nc-gui): expanded form new UI changes setup * fix(nc-gui): update expanded form fields panel style * fix(nc-gui): update expanded form header * fix(nc-gui): update expanded form footer * fix(nc-gui): update expanded form comment section * fix(nc-gui): expanded form comment section ui changes * fix(nc-gui): incorrect duplicate icon * fix(nc-gui): add table icon & title in expanded form header * fix(nc-gui): allow multiline comment display in expanded form * fix(nc-gui): add column header menu & edit column option in exapanded form * fix(nc-gui): updated header cell component * fix(nc-gui): update field context menu for expanded form * fix(nc-gui): expanded form column duplidate issue * fix(nc-gui): pr review changes * fix(nc-gui): update expanded form field menu option icon & text * fix(nc-gui): expanded form field rename, show hidden field data update issue * fix(nc-gui): small changes * fix(nc-gui): update comment section * fix(nc-gui): show expanded form field menu only if user has the permission * fix(nc-gui): add expanded form comment input shadow * fix(nc-gui): hide expanded form field menu options in mobile screen * fix(nc-gui): use drawer insted of modal for expanded form in mobile view * fix(nc-gui): expanded form responsive issue * fix(nc-gui): expanded form skeleton issue * fix(nc-gui): some review comments * fix(nc-gui): increase font size of field label from expanded form * fix(nc-gui): reduce expanded form field width * fix(nc-gui): add comment and audit icons * fix(nc-gui): comment box style * fix(nc-gui): some pr review comments * fix(nc-gui): add tooltip for navigation btns * fix(nc-gui): expanded form field menu placement issue * fix(nc-gui): add box shodow on expanded form input boxes * fix(nc-gui): reduce height of field icon from expanded form * fix(nc-gui): expanded form test fail issue * chore(nc-gui): lint * fix(nc-gui): role access test fail issue * fix(nc-gui): review changes * fix(nc-gui): small changes * fix(nc-gui): overflow issue * fix(nc-gui): navigation btn style issue * fix(nc-gui): expanded form field row max width * fix(nc-gui): update comment item user name color and font weight * fix(nc-gui): increase comment input box padding
6 months ago
@apply min-h-16;
}
&::placeholder {
@apply !text-gray-400;
}
}
</style>