多维表格
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.

1146 lines
36 KiB

<script setup lang="ts">
import type { ColumnType, TableType, ViewType } from 'nocodb-sdk'
import {
ViewTypes,
isCreatedOrLastModifiedByCol,
isCreatedOrLastModifiedTimeCol,
isLinksOrLTAR,
isSystemColumn,
isVirtualCol,
} from 'nocodb-sdk'
import type { Ref } from 'vue'
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
7 months ago
import { Drawer } from 'ant-design-vue'
import NcModal from '../../nc/Modal.vue'
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
import MdiChevronDown from '~icons/mdi/chevron-down'
interface Props {
modelValue?: boolean
state?: Record<string, any> | null
meta: TableType
loadRow?: boolean
useMetaFields?: boolean
row?: Row
rowId?: string
view?: ViewType
showNextPrevIcons?: boolean
firstRow?: boolean
lastRow?: boolean
closeAfterSave?: boolean
newRecordHeader?: string
skipReload?: boolean
newRecordSubmitBtnText?: string
expandForm?: (row: Row) => void
maintainDefaultViewOrder?: boolean
}
const props = defineProps<Props>()
const emits = defineEmits(['update:modelValue', 'cancel', 'next', 'prev', 'createdRecord', 'updateRowCommentCount'])
const { activeView } = storeToRefs(useViewsStore())
const key = ref(0)
const wrapper = ref()
const { dashboardUrl } = useDashboard()
const { copy } = useClipboard()
const { isMobileMode } = useGlobal()
const { fieldsMap, isLocalMode } = useViewColumnsOrThrow()
const { t } = useI18n()
const rowId = toRef(props, 'rowId')
const row = toRef(props, 'row')
const state = toRef(props, 'state')
const meta = toRef(props, 'meta')
const islastRow = toRef(props, 'lastRow')
1 year ago
const isFirstRow = toRef(props, 'firstRow')
const maintainDefaultViewOrder = toRef(props, 'maintainDefaultViewOrder')
const route = useRoute()
const isPublic = inject(IsPublicInj, ref(false))
// to check if a expanded form which is not yet saved exist or not
const isUnsavedFormExist = ref(false)
const isUnsavedDuplicatedRecordExist = ref(false)
const isRecordLinkCopied = ref(false)
const { isUIAllowed } = useRoles()
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 readOnly = computed(() => !isUIAllowed('dataEdit') || isPublic.value)
const expandedFormScrollWrapper = ref()
const reloadTrigger = inject(ReloadRowDataHookInj, createEventHook())
const reloadViewDataTrigger = inject(ReloadViewDataHookInj, createEventHook())
const { addOrEditStackRow } = useKanbanViewStoreOrThrow()
const { isExpandedFormCommentMode } = storeToRefs(useConfigStore())
// override cell click hook to avoid unexpected behavior at form fields
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
provide(CellClickHookInj, undefined)
const loadingEmit = (event: 'update:modelValue' | 'cancel' | 'next' | 'prev' | 'createdRecord') => {
emits(event)
isLoading.value = true
}
const fields = computedInject(FieldsInj, (_fields) => {
if (props.useMetaFields) {
if (maintainDefaultViewOrder.value) {
return (meta.value.columns ?? [])
.filter((col) => !isSystemColumn(col))
.sort((a, b) => {
return (a.meta?.defaultViewColOrder ?? Infinity) - (b.meta?.defaultViewColOrder ?? Infinity)
})
}
return (meta.value.columns ?? []).filter((col) => !isSystemColumn(col))
}
return _fields?.value ?? []
})
const displayField = computed(() => meta.value?.columns?.find((c) => c.pv && fields.value?.includes(c)) ?? null)
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 hiddenFields = computed(() => {
// todo: figure out when meta.value is undefined
return (meta.value?.columns ?? [])
.filter(
(col) =>
!fields.value?.includes(col) &&
5 months ago
(isLocalMode.value && col?.id && fieldsMap.value[col.id] ? fieldsMap.value[col.id]?.initialShow : true),
)
.filter((col) => !isSystemColumn(col))
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 showHiddenFields = ref(false)
const toggleHiddenFields = () => {
showHiddenFields.value = !showHiddenFields.value
}
const isKanban = inject(IsKanbanInj, ref(false))
provide(MetaInj, meta)
const isLoading = ref(true)
const isSaving = ref(false)
const {
commentsDrawer,
changedColumns,
deleteRowById,
displayValue,
state: rowState,
isNew,
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
loadRow: _loadRow,
primaryKey,
row: _row,
comments,
save: _save,
loadComments,
loadAudits,
clearColumns,
} = useProvideExpandedFormStore(meta, row)
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
7 months ago
reloadViewDataTrigger.on(async () => {
await _loadRow(rowId.value, false, true)
})
const duplicatingRowInProgress = ref(false)
useProvideSmartsheetStore(ref({}) as Ref<ViewType>, meta)
useProvideSmartsheetLtarHelpers(meta)
watch(
state,
() => {
if (state.value) {
rowState.value = state.value
} else {
rowState.value = {}
}
},
{ immediate: true },
)
const isExpanded = useVModel(props, 'modelValue', emits, {
defaultValue: false,
})
const onClose = () => {
if (!isUIAllowed('dataEdit')) {
isExpanded.value = false
} else if (changedColumns.value.size > 0) {
isCloseModalOpen.value = true
} else {
if (_row.value?.rowMeta?.new) emits('cancel')
isExpanded.value = false
}
}
const onDuplicateRow = () => {
duplicatingRowInProgress.value = true
isUnsavedFormExist.value = true
isUnsavedDuplicatedRecordExist.value = true
const oldRow = { ..._row.value.row }
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
delete oldRow.ncRecordId
const newRow = Object.assign(
{},
{
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
row: oldRow,
oldRow: {},
rowMeta: { new: true },
},
)
setTimeout(async () => {
_row.value = newRow
duplicatingRowInProgress.value = false
message.success(t('msg.success.rowDuplicatedWithoutSavedYet'))
}, 500)
}
const save = async () => {
isSaving.value = true
try {
let kanbanClbk
if (activeView.value?.type === ViewTypes.KANBAN) {
kanbanClbk = (row: any, isNewRow: boolean) => {
addOrEditStackRow(row, isNewRow)
}
}
if (isNew.value) {
await _save(rowState.value, undefined, {
kanbanClbk,
})
} else {
await _save(undefined, undefined, {
kanbanClbk,
})
_loadRow()
}
if (!props.skipReload) {
reloadTrigger?.trigger()
reloadViewDataTrigger?.trigger()
}
isUnsavedFormExist.value = false
if (props.closeAfterSave) {
isExpanded.value = false
} else {
if (isUnsavedDuplicatedRecordExist.value) {
const newRowId = extractPkFromRow(_row.value.row, meta.value.columns as ColumnType[])
if (newRowId !== rowId.value) {
props?.expandForm?.(_row.value)
}
setTimeout(() => {
isUnsavedDuplicatedRecordExist.value = false
}, 500)
}
}
emits('createdRecord', _row.value.row)
} catch (e: any) {
if (isNew.value) {
message.error(`Add row failed: ${await extractSdkResponseErrorMsg(e)}`)
} else {
message.error(`${t('msg.error.rowUpdateFailed')}: ${await extractSdkResponseErrorMsg(e)}`)
}
}
isSaving.value = false
}
const isPreventChangeModalOpen = ref(false)
const isCloseModalOpen = ref(false)
const discardPreventModal = () => {
// when user click on next or previous button
if (isPreventChangeModalOpen.value) {
loadingEmit('next')
if (_row.value?.rowMeta?.new) emits('cancel')
isPreventChangeModalOpen.value = false
}
// when user click on close button
if (isCloseModalOpen.value) {
isCloseModalOpen.value = false
if (_row.value?.rowMeta?.new) emits('cancel')
isExpanded.value = false
}
// clearing all new modifed change on close
clearColumns()
}
const onNext = async () => {
if (changedColumns.value.size > 0) {
isPreventChangeModalOpen.value = true
return
}
loadingEmit('next')
}
const copyRecordUrl = async () => {
await copy(
encodeURI(
`${dashboardUrl?.value}#/${route.params.typeOrId}/${route.params.baseId}/${meta.value?.id}${
props.view ? `/${props.view.title}` : ''
}?rowId=${primaryKey.value}`,
),
)
isRecordLinkCopied.value = true
}
const saveChanges = async () => {
if (isPreventChangeModalOpen.value) {
isUnsavedFormExist.value = false
await save()
loadingEmit('next')
isPreventChangeModalOpen.value = false
}
if (isCloseModalOpen.value) {
isCloseModalOpen.value = false
await save()
isExpanded.value = false
}
}
const reloadParentRowHook = inject(ReloadRowDataHookInj, createEventHook())
// override reload trigger and use it to reload grid and the form itself
const reloadHook = createEventHook()
reloadHook.on(() => {
reloadParentRowHook?.trigger({ shouldShowLoading: false })
if (isNew.value) return
_loadRow(undefined, true)
loadAudits(rowId.value, false)
})
provide(ReloadRowDataHookInj, reloadHook)
if (isKanban.value) {
// adding column titles to changedColumns if they are preset
if (_row.value.rowMeta.new) {
for (const [k, v] of Object.entries(_row.value.row)) {
if (v) {
changedColumns.value.add(k)
}
}
}
}
provide(IsExpandedFormOpenInj, isExpanded)
const triggerRowLoad = async (rowId?: string) => {
await Promise.allSettled([loadComments(rowId, false), loadAudits(rowId), _loadRow(rowId)])
isLoading.value = false
}
const cellWrapperEl = ref()
onMounted(async () => {
isRecordLinkCopied.value = false
isLoading.value = true
const focusFirstCell = !isExpandedFormCommentMode.value
let isTriggered = false
if (props.loadRow && !props.rowId) {
await triggerRowLoad()
isTriggered = true
} else if (props.rowId && props.loadRow && !isTriggered) {
await triggerRowLoad(props.rowId)
} else {
_row.value = props.row
}
isLoading.value = false
if (focusFirstCell && isNew.value) {
setTimeout(() => {
cellWrapperEl.value?.$el?.querySelector('input,select,textarea')?.focus()
}, 300)
}
})
const addNewRow = () => {
setTimeout(async () => {
_row.value = {
row: {},
oldRow: {},
rowMeta: { new: true },
}
rowState.value = {}
key.value++
isExpanded.value = true
}, 500)
}
// attach keyboard listeners to switch between rows
// using alt + left/right arrow keys
useActiveKeyupListener(
isExpanded,
async (e: KeyboardEvent) => {
if (!e.altKey) return
if (e.key === 'ArrowLeft') {
e.stopPropagation()
if (isFirstRow.value) return
loadingEmit('prev')
} else if (e.key === 'ArrowRight') {
e.stopPropagation()
if (islastRow.value) return
onNext()
}
// on alt + s save record
else if (e.code === 'KeyS') {
// remove focus from the active input if any
;(document.activeElement as HTMLElement)?.blur()
e.stopPropagation()
try {
if (isNew.value) {
await _save(rowState.value)
reloadHook?.trigger(null)
} else {
await save()
reloadHook?.trigger(null)
}
} catch (e: any) {
if (isNew.value) {
message.error(`Add row failed: ${await extractSdkResponseErrorMsg(e)}`)
} else {
message.error(`${t('msg.error.rowUpdateFailed')}: ${await extractSdkResponseErrorMsg(e)}`)
}
}
// on alt + n create new record
} else if (e.code === 'KeyN') {
// remove focus from the active input if any to avoid unwanted input
;(document.activeElement as HTMLInputElement)?.blur?.()
if (changedColumns.value.size > 0) {
Modal.confirm({
1 year ago
title: t('msg.saveChanges'),
okText: t('general.save'),
cancelText: t('labels.discard'),
onOk: async () => {
await save()
reloadHook?.trigger(null)
addNewRow()
},
onCancel: () => {
addNewRow()
},
})
} else if (isNew.value) {
Modal.confirm({
title: 'Do you want to save the record?',
1 year ago
okText: t('general.save'),
cancelText: t('labels.discard'),
onOk: async () => {
try {
await _save(rowState.value)
reloadHook?.trigger(null)
addNewRow()
} catch (e: any) {
message.error(`${t('msg.error.rowUpdateFailed')}: ${await extractSdkResponseErrorMsg(e)}`)
}
},
onCancel: () => {
addNewRow()
},
})
} else {
addNewRow()
}
}
},
{ immediate: true },
)
const showDeleteRowModal = ref(false)
const onDeleteRowClick = () => {
showDeleteRowModal.value = true
}
const onConfirmDeleteRowClick = async () => {
showDeleteRowModal.value = false
// Close expanded form
isExpanded.value = false
await deleteRowById(primaryKey.value || undefined)
1 year ago
message.success(t('msg.rowDeleted'))
await reloadViewDataTrigger.trigger({
shouldShowLoading: false,
})
onClose()
showDeleteRowModal.value = false
}
watch(rowId, async (nRow) => {
await triggerRowLoad(nRow)
})
const showRightSections = computed(() => {
return !isNew.value && commentsDrawer.value && isUIAllowed('commentList')
})
const preventModalStatus = computed({
get: () => isCloseModalOpen.value || isPreventChangeModalOpen.value,
set: (v) => {
isCloseModalOpen.value = v
},
})
const onIsExpandedUpdate = (v: boolean) => {
let isDropdownOpen = false
document.querySelectorAll('.ant-select-dropdown').forEach((el) => {
isDropdownOpen = isDropdownOpen || el.checkVisibility()
})
if (isDropdownOpen) return
if (changedColumns.value.size === 0 && !isUnsavedFormExist.value) {
isExpanded.value = v
Nc Refactor: Kanban view (#8689) * fix(nc-gui): update kanban view stack ui * feat(nc-gui): add collapse all stack option * fix(nc-gui): add empty stack placeholder * fix(nc-gui): add loading state support for ncSwitch * fix(nc-gui): swap edit card and stacked by toolbar menu * fix(nc-gui): update stacked by toolbar menu * fix(nc-gui): update kanban view height * fix(nc-gui): add stack bg color * feat(nc-gui): add support to hide empty stack * fix(nc-gui): stack loader issue * fix(nc-gui): checkbox alignment in kanban view * fix(nc-gui): update stack drag handler and hide it if user does not have permission * fix(nc-gui): stack title overflow issue * fix(nc-gui): allow inline rename stack * fix(nc-gui): advance color picker tab warnings * fix(nc-gui): rename stack option issues * fix(nc-gui): small changes * fix(nc-gui): review changes * feat(nc-gui): add new stack support * fix(nc-gui): small changes * fix(nc-gui): add loading state for rename & add new stack * fix(nc-gui): reduce width of stack * fix(nc-gui): make ncSwitch placement prop optional * fix(nc-gui): some review changes * fix(nc-gui): remove only from test * fix(nc-gui): add error handling part in kanban stack update * fix(nc-gui): update localstate while updating kanban stack meta * fix(nc-gui): some review changes * fix(nc-gui): add expand all stack option * fix(nc-gui): add condition to append new stack obj * fix(nc-gui): update card field label style * fix(nc-gui): remove top & bottom padding from stack * fix(nc-gui): drag stack test update * fix(nc-gui): console warning issues * text(nc-gui): update kanban view test * fix(nc-gui): remove last added empty row from stack if it is not saved * fix(nc-gui): duplicate column insert issue on rename stack * fix(nc-gui): update field menu * fix(nc-gui): add new stack duplicate issue * feat(nc-gui): add expand record option in context menu of gallery * fix(nc-gui): delete record fail issue #3111 * fix(nc-gui): hide grouping field by default in kanban view * chore(nc-gui): lint * fix(nc-gui): ui review changes * fix(nc-gui): select option focus issue in edit state * fix(nc-gui): add bottom border for stack * fix(nc-gui): ui review changes * fix(nc-gui): update color picker btn text from select option * fix(nc-gui): delete default value stack #8212 * fix(nc-gui): stack data offset an drag card issue * chore(nc-gui): lint
6 months ago
if (isKanban.value) {
emits('cancel')
}
} else if (!v && isUIAllowed('dataEdit')) {
preventModalStatus.value = true
} else {
isExpanded.value = v
}
}
const isReadOnlyVirtualCell = (column: ColumnType) => {
return (
isRollup(column) ||
isFormula(column) ||
isBarcode(column) ||
isLookup(column) ||
isQrCode(column) ||
isSystemColumn(column) ||
isCreatedOrLastModifiedTimeCol(column) ||
isCreatedOrLastModifiedByCol(column)
)
}
// Small hack. We need to scroll to the bottom of the form after its mounted and back to top.
// So that tab to next row works properly, as otherwise browser will focus to save button
// when we reach to the bottom of the visual scrollable area, not the actual bottom of the form
watch([expandedFormScrollWrapper, isLoading], () => {
if (isMobileMode.value) return
const expandedFormScrollWrapperEl = expandedFormScrollWrapper.value
if (expandedFormScrollWrapperEl && !isLoading.value) {
expandedFormScrollWrapperEl.scrollTop = expandedFormScrollWrapperEl.scrollHeight
setTimeout(() => {
expandedFormScrollWrapperEl.scrollTop = 0
}, 125)
}
})
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
7 months ago
const modalProps = computed(() => {
if (isMobileMode.value) {
return {
placement: 'bottom',
}
}
return {}
})
const renderAltOrOptlKey = () => {
return isMac() ? '⌥' : 'ALT'
}
watch(
() => comments.value.length,
(commentCount) => {
emits('updateRowCommentCount', commentCount)
},
)
</script>
<script lang="ts">
export default {
name: 'ExpandedForm',
}
</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
7 months ago
<component
:is="isMobileMode ? Drawer : NcModal"
:body-style="{ padding: 0 }"
:class="{ active: isExpanded }"
:closable="false"
:footer="null"
:visible="isExpanded"
:width="commentsDrawer && isUIAllowed('commentList') ? 'min(80vw,1280px)' : 'min(70vw,768px)'"
class="nc-drawer-expanded-form"
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
7 months ago
:size="isMobileMode ? 'medium' : 'small'"
v-bind="modalProps"
@update:visible="onIsExpandedUpdate"
>
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
<div class="h-[85vh] xs:(max-h-full h-full) max-h-215 flex flex-col">
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
7 months ago
<div v-if="isMobileMode" class="flex-none h-4 flex items-center justify-center">
<div class="flex-none h-full flex items-center justify-center cursor-pointer" @click="onClose">
<div class="w-[72px] h-[2px] rounded-full bg-[#49494a]"></div>
</div>
</div>
<div
class="flex min-h-7 flex-shrink-0 w-full items-center nc-expanded-form-header relative p-4 xs:(px-2 py-0 min-h-[48px]) justify-between"
>
<div class="flex-1 flex gap-4 lg:w-100 <lg:max-w-[calc(100%_-_178px)] xs:(max-w-[calc(100%_-_44px)])">
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
7 months ago
<div class="flex gap-2">
<NcTooltip v-if="props.showNextPrevIcons">
<template #title> {{ renderAltOrOptlKey() }} + </template>
<NcButton
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
7 months ago
:disabled="isFirstRow || isLoading"
class="nc-prev-arrow !w-7 !h-7 !text-gray-500 !disabled:text-gray-300"
type="text"
size="xsmall"
@click="loadingEmit('prev')"
>
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
7 months ago
<GeneralIcon icon="chevronDown" class="transform rotate-180" />
</NcButton>
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
7 months ago
</NcTooltip>
<NcTooltip v-if="props.showNextPrevIcons">
<template #title> {{ renderAltOrOptlKey() }} + </template>
<NcButton
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
7 months ago
:disabled="islastRow || isLoading"
class="nc-next-arrow !w-7 !h-7 !text-gray-500 !disabled:text-gray-300"
type="text"
size="xsmall"
@click="onNext"
>
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
7 months ago
<GeneralIcon icon="chevronDown" />
</NcButton>
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
7 months ago
</NcTooltip>
</div>
<div v-if="isLoading" class="flex items-center">
<a-skeleton-input active class="!h-6 !sm:mr-14 !w-52 !rounded-md !overflow-hidden" size="small" />
</div>
<div
v-else
class="flex-1 flex items-center gap-3 max-w-[calc(100%_-_108px)] xs:(flex-row-reverse justify-end)"
:class="{
'xs:max-w-[calc(100%_-_52px)]': isNew,
'xs:max-w-[calc(100%_-_82px)]': !isNew,
}"
>
<div
v-if="row.rowMeta?.new || props.newRecordHeader"
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
7 months ago
class="flex items-center truncate font-bold text-gray-800 text-base overflow-hidden"
>
{{ props.newRecordHeader ?? $t('activity.newRecord') }}
</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
7 months ago
<div
v-else-if="displayValue && !row?.rowMeta?.new"
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
7 months ago
class="flex items-center font-bold text-gray-800 text-base max-w-[300px] xs:(w-auto max-w-[calc(100%_-_82px)]) overflow-hidden"
>
<span class="truncate">
<LazySmartsheetPlainCell v-model="displayValue" :column="displayField" />
</span>
</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
7 months ago
</div>
<div class="flex gap-2">
<NcTooltip v-if="!isMobileMode && isUIAllowed('dataEdit')">
<template #title> {{ renderAltOrOptlKey() }} + S </template>
<NcButton
v-e="['c:row-expand:save']"
:disabled="changedColumns.size === 0 && !isUnsavedFormExist"
:loading="isSaving"
class="nc-expand-form-save-btn !xs:(text-base) !h-7 !px-2"
data-testid="nc-expanded-form-save"
type="primary"
size="xsmall"
@click="save"
>
<div class="xs:px-1">{{ newRecordSubmitBtnText ?? 'Save Record' }}</div>
</NcButton>
</NcTooltip>
<NcTooltip>
<template #title> {{ isRecordLinkCopied ? $t('labels.copiedRecordURL') : $t('labels.copyRecordURL') }} </template>
<NcButton
v-if="!isNew && rowId && !isMobileMode"
:disabled="isLoading"
class="!<lg:hidden text-gray-700 !h-7 !w-7"
type="text"
size="xsmall"
@click="copyRecordUrl()"
>
<div v-e="['c:row-expand:copy-url']" data-testid="nc-expanded-form-copy-url" class="flex items-center">
<component :is="iconMap.check" v-if="isRecordLinkCopied" class="cursor-pointer nc-duplicate-row h-4 w-4" />
<component :is="iconMap.copy" v-else class="cursor-pointer nc-duplicate-row h-4 w-4" />
</div>
</NcButton>
</NcTooltip>
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
7 months ago
<NcDropdown v-if="!isNew && rowId && !isMobileMode" placement="bottomRight">
<NcButton type="text" size="xsmall" class="nc-expand-form-more-actions !w-7 !h-7" :disabled="isLoading">
<GeneralIcon icon="threeDotVertical" class="text-md" :class="isLoading ? 'text-gray-300' : 'text-gray-700'" />
</NcButton>
<template #overlay>
<NcMenu>
<NcMenuItem class="text-gray-700" @click="_loadRow()">
<div v-e="['c:row-expand:reload']" class="flex gap-2 items-center" data-testid="nc-expanded-form-reload">
<component :is="iconMap.reload" class="cursor-pointer" />
{{ $t('general.reload') }} {{ $t('objects.record') }}
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
7 months ago
</div>
</NcMenuItem>
<NcMenuItem
v-if="!isNew && rowId"
type="secondary"
class="!lg:hidden text-gray-700"
:disabled="isLoading"
@click="copyRecordUrl()"
>
<div v-e="['c:row-expand:copy-url']" data-testid="nc-expanded-form-copy-url" class="flex gap-2 items-center">
<component :is="iconMap.copy" class="cursor-pointer" />
{{ $t('labels.copyRecordURL') }}
</div>
</NcMenuItem>
<NcMenuItem v-if="isUIAllowed('dataEdit')" class="text-gray-700" @click="!isNew ? onDuplicateRow() : () => {}">
<div v-e="['c:row-expand:duplicate']" class="flex gap-2 items-center" data-testid="nc-expanded-form-duplicate">
<component :is="iconMap.duplicate" class="cursor-pointer nc-duplicate-row" />
<span class="-ml-0.25">
{{ $t('labels.duplicateRecord') }}
</span>
</div>
</NcMenuItem>
<NcDivider v-if="isUIAllowed('dataEdit')" />
<NcMenuItem
v-if="isUIAllowed('dataEdit')"
class="!text-red-500 !hover:bg-red-50"
@click="!isNew && onDeleteRowClick()"
>
<div v-e="['c:row-expand:delete']" class="flex gap-2 items-center" data-testid="nc-expanded-form-delete">
<component :is="iconMap.delete" class="cursor-pointer nc-delete-row" />
<span class="-ml-0.25">
{{
$t('general.deleteEntity', {
entity: $t('objects.record').toLowerCase(),
})
}}
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
7 months ago
</span>
</div>
</NcMenuItem>
</NcMenu>
</template>
</NcDropdown>
<NcButton
class="nc-expand-form-close-btn !w-7 !h-7"
data-testid="nc-expanded-form-close"
type="text"
size="xsmall"
@click="onClose"
>
<GeneralIcon class="text-md text-gray-700 h-4 w-4" icon="close" />
</NcButton>
</div>
</div>
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
<div ref="wrapper" class="flex flex-grow flex-row h-[calc(100%_-_4rem)] w-full border-t-1 border-gray-200">
<div
:class="{
'w-full': !showRightSections,
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
7 months ago
'flex-1': showRightSections,
}"
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
class="h-full flex xs:w-full flex-col overflow-hidden"
>
<div
ref="expandedFormScrollWrapper"
class="flex flex-col flex-grow gap-6 h-full max-h-full nc-scrollbar-thin items-center w-full p-4 xs:(px-4 pt-4 pb-2 gap-6) children:max-w-[588px] <lg:(children:max-w-[450px])"
>
<div
v-for="(col, i) of fields"
v-show="!isVirtualCol(col) || !isNew || isLinksOrLTAR(col)"
:key="col.title"
:class="`nc-expand-col-${col.title}`"
:col-id="col.id"
:data-testid="`nc-expand-col-${col.title}`"
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
7 months ago
class="nc-expanded-form-row w-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
7 months ago
<div class="flex items-start flex-row sm:(gap-x-2) <lg:(flex-col w-full) nc-expanded-cell min-h-[37px]">
<div class="w-45 <lg:(w-full px-0 mb-1) h-[37px] xs:(h-auto) flex items-center rounded-lg overflow-hidden">
<LazySmartsheetHeaderVirtualCell
v-if="isVirtualCol(col)"
:column="col"
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
7 months ago
class="nc-expanded-cell-header h-full flex-none"
/>
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
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
7 months ago
<LazySmartsheetHeaderCell v-else :column="col" class="nc-expanded-cell-header flex-none" />
</div>
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
<template v-if="isLoading">
<a-skeleton-input
active
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
7 months ago
class="h-[37px] flex-none <lg:!w-full lg:flex-1 !rounded-lg !overflow-hidden"
size="small"
/>
</template>
<template v-else>
<SmartsheetDivDataCell
v-if="col.title"
:ref="i ? null : (el: any) => (cellWrapperEl = el)"
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
7 months ago
class="bg-white flex-1 <lg:w-full px-1 min-h-[37px] flex items-center relative"
:class="{
4 months ago
'!select-text nc-system-field': isReadOnlyVirtualCell(col),
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
'!select-text nc-readonly-div-data-cell': readOnly,
}"
>
<LazySmartsheetVirtualCell
v-if="isVirtualCol(col)"
v-model="_row.row[col.title]"
:class="{
'px-1': isReadOnlyVirtualCell(col),
}"
:column="col"
:read-only="readOnly"
:row="_row"
/>
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
<LazySmartsheetCell
v-else
v-model="_row.row[col.title]"
:active="true"
:column="col"
:edit-enabled="true"
:read-only="readOnly"
@update:model-value="changedColumns.add(col.title)"
/>
</SmartsheetDivDataCell>
</template>
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
</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
7 months ago
<div v-if="hiddenFields.length > 0" class="flex w-full <lg:(px-1) items-center py-6">
<div class="flex-grow h-px mr-1 bg-gray-100"></div>
<NcButton
:size="isMobileMode ? 'medium' : 'small'"
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
7 months ago
class="flex-shrink !text-sm overflow-hidden !text-gray-500 !font-weight-500"
type="secondary"
@click="toggleHiddenFields"
>
{{ showHiddenFields ? `Hide ${hiddenFields.length} hidden` : `Show ${hiddenFields.length} hidden` }}
{{ hiddenFields.length > 1 ? `fields` : `field` }}
<MdiChevronDown :class="showHiddenFields ? 'transform rotate-180' : ''" class="ml-1" />
</NcButton>
<div class="flex-grow h-px ml-1 bg-gray-100"></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
7 months ago
<template v-if="hiddenFields.length > 0 && showHiddenFields">
<div
v-for="(col, i) of hiddenFields"
v-show="isFormula(col) || !isVirtualCol(col) || !isNew || isLinksOrLTAR(col)"
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
7 months ago
:key="`${col.id}-${col.title}`"
:class="`nc-expand-col-${col.title}`"
:data-testid="`nc-expand-col-${col.title}`"
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
7 months ago
class="nc-expanded-form-row w-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
7 months ago
<div class="flex items-start flex-row sm:(gap-x-2) <lg:(flex-col w-full) nc-expanded-cell min-h-[37px]">
<div class="w-45 <lg:(w-full px-0) h-[37px] xs:(h-auto) flex items-center rounded-lg overflow-hidden">
<LazySmartsheetHeaderVirtualCell
v-if="isVirtualCol(col)"
:column="col"
is-hidden-col
class="nc-expanded-cell-header flex-none"
/>
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
7 months ago
<LazySmartsheetHeaderCell v-else :column="col" is-hidden-col class="nc-expanded-cell-header flex-none" />
</div>
<template v-if="isLoading">
<a-skeleton-input
active
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
7 months ago
class="h-[37px] flex-none <lg:!w-full lg:flex-1 !rounded-lg !overflow-hidden"
size="small"
/>
</template>
<template v-else>
<LazySmartsheetDivDataCell
v-if="col.title"
:ref="i ? null : (el: any) => (cellWrapperEl = el)"
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
7 months ago
class="bg-white flex-1 <lg:w-full px-1 min-h-[37px] flex items-center relative"
:class="{
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
'!select-text nc-system-field': isReadOnlyVirtualCell(col),
'!bg-gray-50 !select-text nc-readonly-div-data-cell': readOnly,
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
7 months ago
}"
>
<LazySmartsheetVirtualCell
v-if="isVirtualCol(col)"
v-model="_row.row[col.title]"
:column="col"
:read-only="readOnly"
:row="_row"
/>
<LazySmartsheetCell
v-else
v-model="_row.row[col.title]"
:active="true"
:column="col"
:edit-enabled="true"
:read-only="readOnly"
@update:model-value="changedColumns.add(col.title)"
/>
</LazySmartsheetDivDataCell>
</template>
</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
7 months ago
</template>
</div>
<div
v-if="isUIAllowed('dataEdit')"
class="w-full flex items-center justify-end px-2 xs:(p-0 gap-x-4 justify-between)"
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
7 months ago
:class="{
'xs(border-t-1 border-gray-200)': !isNew,
}"
>
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
7 months ago
<div v-if="!isNew && isMobileMode" class="p-2">
<NcDropdown placement="bottomRight" class="p-2">
<NcButton :disabled="isLoading" class="nc-expand-form-more-actions" type="secondary" size="small">
<GeneralIcon :class="isLoading ? 'text-gray-300' : 'text-gray-700'" class="text-md" icon="threeDotVertical" />
</NcButton>
<template #overlay>
<NcMenu>
<NcMenuItem class="text-gray-700" @click="_loadRow()">
<div v-e="['c:row-expand:reload']" class="flex gap-2 items-center" data-testid="nc-expanded-form-reload">
<component :is="iconMap.reload" class="cursor-pointer" />
{{ $t('general.reload') }}
</div>
</NcMenuItem>
<NcMenuItem v-if="rowId" class="text-gray-700" @click="!isNew ? copyRecordUrl() : () => {}">
<div
v-e="['c:row-expand:copy-url']"
class="flex gap-2 items-center"
data-testid="nc-expanded-form-copy-url"
>
<component :is="iconMap.copy" class="cursor-pointer nc-duplicate-row" />
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
7 months ago
{{ $t('labels.copyRecordURL') }}
</div>
</NcMenuItem>
<NcDivider />
<NcMenuItem
v-if="isUIAllowed('dataEdit') && !isNew"
v-e="['c:row-expand:delete']"
class="!text-red-500 !hover:bg-red-50"
@click="!isNew && onDeleteRowClick()"
>
<div data-testid="nc-expanded-form-delete">
<component :is="iconMap.delete" class="cursor-pointer nc-delete-row" />
Delete record
</div>
</NcMenuItem>
</NcMenu>
</template>
</NcDropdown>
</div>
<div v-if="isNew && isMobileMode"></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
7 months ago
<div v-if="isMobileMode" class="p-2">
<NcButton
v-e="['c:row-expand:save']"
:disabled="changedColumns.size === 0 && !isUnsavedFormExist"
:loading="isSaving"
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
7 months ago
class="nc-expand-form-save-btn !xs:(text-sm) !px-2"
:class="{
'!h-7': !isMobileMode,
}"
data-testid="nc-expanded-form-save"
type="primary"
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
7 months ago
:size="isMobileMode ? 'small' : 'xsmall'"
@click="save"
>
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
7 months ago
<div class="xs:px-1">{{ newRecordSubmitBtnText ?? isNew ? 'Create Record' : 'Save Record' }}</div>
</NcButton>
</div>
</div>
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
<div v-else class="p-2"></div>
</div>
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
<div
v-if="showRightSections && !isUnsavedDuplicatedRecordExist"
:class="{ active: commentsDrawer && isUIAllowed('commentList') }"
class="nc-comments-drawer border-l-1 relative border-gray-200 bg-gray-50 w-1/3 max-w-[340px] min-w-0 h-full xs:hidden rounded-br-2xl"
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
>
<SmartsheetExpandedFormSidebar />
</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
7 months ago
</component>
<GeneralDeleteModal v-model:visible="showDeleteRowModal" entity-name="Record" :on-delete="() => onConfirmDeleteRowClick()">
<template #entity-preview>
<span>
<div class="flex flex-row items-center py-2.25 px-2.5 bg-gray-50 rounded-lg text-gray-700">
<div class="text-ellipsis overflow-hidden select-none w-full pl-1.75 break-keep whitespace-nowrap">
<LazySmartsheetPlainCell v-model="displayValue" :column="displayField" />
</div>
</div>
</span>
</template>
</GeneralDeleteModal>
<!-- Prevent unsaved change modal -->
<NcModal v-model:visible="preventModalStatus" size="small">
<div class="">
<div class="flex flex-row items-center gap-x-2 text-base font-bold">
{{ $t('tooltip.saveChanges') }}
</div>
<div class="flex font-medium mt-2">
{{ $t('activity.doYouWantToSaveTheChanges') }}
</div>
<div class="flex flex-row justify-end gap-x-2 mt-5">
<NcButton type="secondary" size="small" @click="discardPreventModal">{{ $t('labels.discard') }}</NcButton>
<NcButton key="submit" type="primary" size="small" :loading="isSaving" @click="saveChanges">
{{ $t('tooltip.saveChanges') }}
</NcButton>
</div>
</div>
</NcModal>
</template>
<style lang="scss">
.nc-drawer-expanded-form {
@apply xs:my-0;
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
7 months ago
.ant-drawer-content-wrapper {
@apply !h-[90vh];
.ant-drawer-content {
@apply rounded-t-2xl;
}
}
}
.nc-expanded-cell-header {
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
7 months ago
@apply w-full text-gray-500 !font-weight-500 !text-sm xs:(text-gray-600 mb-2 !text-small) pr-3;
svg.nc-cell-icon,
svg.nc-virtual-cell-icon {
@apply !w-3.5 !h-3.5;
}
}
.nc-expanded-cell-header > :nth-child(2) {
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
7 months ago
@apply !text-sm xs:!text-small;
}
.nc-expanded-cell-header > :first-child {
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
7 months ago
@apply !text-md pl-2 xs:(pl-0 -ml-0.5);
}
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
.nc-expanded-cell-header:not(.nc-cell-expanded-form-header) > :first-child {
@apply pl-0;
}
.nc-drawer-expanded-form .nc-modal {
@apply !p-0;
}
</style>
<style lang="scss" scoped>
:deep(.ant-select-selector) {
@apply !xs:(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
7 months ago
.nc-data-cell {
@apply !rounded-lg;
transition: all 0.3s;
Nc feat/links view filter (#8646) * feat(nocodb): add support for limiting selection to specific views * test: fix failing tests * fix: failing playwright tests * feat: allow updating static view filter from both sides * fix: remove console logs * refactor: rename migration name * fix: corrections in ui and update api * fix: apply same behaviour for LTAR column(bt) * refactor: rename view id column in relation to avoid confusion * fix: option to disable view filter(switch) * refactor: some minor ui spacing corrections * fix: avoid setting target view id for bt relation when creating hm relation * feat: links - record selection based on custom filters * fix: corrections * feat: add edit support for conditions * feat: option to switch between dynamic and static value * fix: backend corrections * feat: apis for links filter * feat: filter api integration with ui * feat: filter with save and update * feat: dynamic filter * feat: shared form filter * feat: expanded form * fix: missing imports and corrections * fix: pass correct column list * fix: nested filter bug * fix: corrections in actions and swagger * fix: missing add button menu * fix: expanded form bug * test: playwright test - WIP * test: playwright - link with filters/view * chore: lint * refactor: ui corrections * fix: remove unnecessary filtering from hm/mm list and count * fix: filter ui correction * fix: lable correction * fix: skip view filter for rollup * fix: ui corrections * fix: extract correct column id * fix: duplicate LTAR - missing target view * feat: add duplicate support for link with filters/view * fix: height issue and nested filter creation bug * fix: pass metadata to nested filter component * fix: filter on column creation * fix: filter getting cloned under group * fix: exclude deleted filters when deciding locked state * fix: update state when switching to dynamic filter * fix: unlink view on delete and handle undefined values as null * fix: filter based on unsaved data * fix: handle overflow * fix: multi-field editor - filter UI correction * fix: duplicate link column with dynamic field ref * fix: remove virtual column support * fix: add support to link filter in normal list method * fix: apply filter on count query * fix: pass correct column list * feat: add link filter support in multifield column creation * feat: add link filter support in multifield column creation * Merge branch 'develop' into feat/links-view-filter * fix: dynamic value column export * fix: review comments * test: kludge for groupby tests * fix: extract updated status correctly * test: try waitFor for links * test: kludge * refactor: exclude attachment & rating from dynamic filter and treat float and integer as number * test: label correction * refactor: replace try...catch and use if condition * fix: apply conditions only if enabled * fix: MFE bugs * refactor: show radio button active border only when focused * fix: proper state handling * fix: view delete - unlink from link column * fix: duplicate Link with filter view id * refactor: column filter section padding * fix: exclude system columns * fix: dynamic column filter logic correction * refactor: cleanup * test: kludge with delay for groupby test * refactor: add missing placeholder method * docs: limit link record selection * refactor: add missing placeholder method * chore: lint --------- Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
6 months ago
feat: button field (#9144) * feat: static button type * fix: swagger * fix: style corrections * feat: webhook trigger * fix: disables * feat: Button icons fix: row Delete failing * fix: expanded-form ux fix: disable buttons in forms fix: update PlainCell button handling fix: webhook delete, active change handling * fix: disable case * fix: disable case * fix: update Button styles * fix: refactor min/max with limit for columns fix: disable filter, groupby for Button Field fix: disable aggregation for Buttons * fix: hide button field in Filters * fix: fields menu corrections fix: update menu corrections * fix: rebase * feat: support webhook creation from ButtonOptions * fix: sort related tests * fix: keep webhook modal open * fix: ui fixes * fix: icon duplicate * fix: syntax highlighing for handlebar fix: disable mascot fix: truncate selected webhook * fix: sort disable tooltip * test: button playwright test * fix: button column duplication * fix: add error fix: column options * fix: EditOrAddProvider.vue * fix: add invalid configuration * fix: ux corrections * fix: ux corrections * fix: error handling fix: clear single query cache on hook delete * fix: include button type in api * fix: update overlay styles fix: webhook update * fix: formula placeholder * fix: playwright tests * fix: playwright tests * feat: refactor formula input * fix: added more spacing * fix: no icon text * fix: lint * fix: handle invalid url * fix: handle sort by for button causes issue when button used as lookup * fix: button field position * docs: button field * fix: tooltip correction * fix: link * fix: add btn href * fix: handle some edge cases * fix: handle some edge cases * fix: update font color * fix: add manual trigger docs * fix: sqlite BaseModel fix * docs: button share view info * fix: rebase * fix: reduce height and added resize support fix: added tooltip if label overflow * fix: manual hook disable state * docs: manual trigger details in webhook page * fix: chevron grey shade to 500 * docs: sample payload for manual trigger * fix: style update * fix: pr review comments * fix: pr review changes * fix: reactivity issue * fix: reactivity issue * fix: filter enabled on button * fix: reload meta on webhook change * fix: error handling in formula filter * fix: handle url error --------- Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
3 months ago
&:not(.nc-readonly-div-data-cell):not(.nc-system-field):not(.nc-attachment-cell):not(.nc-virtual-cell-button) {
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
}
feat: button field (#9144) * feat: static button type * fix: swagger * fix: style corrections * feat: webhook trigger * fix: disables * feat: Button icons fix: row Delete failing * fix: expanded-form ux fix: disable buttons in forms fix: update PlainCell button handling fix: webhook delete, active change handling * fix: disable case * fix: disable case * fix: update Button styles * fix: refactor min/max with limit for columns fix: disable filter, groupby for Button Field fix: disable aggregation for Buttons * fix: hide button field in Filters * fix: fields menu corrections fix: update menu corrections * fix: rebase * feat: support webhook creation from ButtonOptions * fix: sort related tests * fix: keep webhook modal open * fix: ui fixes * fix: icon duplicate * fix: syntax highlighing for handlebar fix: disable mascot fix: truncate selected webhook * fix: sort disable tooltip * test: button playwright test * fix: button column duplication * fix: add error fix: column options * fix: EditOrAddProvider.vue * fix: add invalid configuration * fix: ux corrections * fix: ux corrections * fix: error handling fix: clear single query cache on hook delete * fix: include button type in api * fix: update overlay styles fix: webhook update * fix: formula placeholder * fix: playwright tests * fix: playwright tests * feat: refactor formula input * fix: added more spacing * fix: no icon text * fix: lint * fix: handle invalid url * fix: handle sort by for button causes issue when button used as lookup * fix: button field position * docs: button field * fix: tooltip correction * fix: link * fix: add btn href * fix: handle some edge cases * fix: handle some edge cases * fix: update font color * fix: add manual trigger docs * fix: sqlite BaseModel fix * docs: button share view info * fix: rebase * fix: reduce height and added resize support fix: added tooltip if label overflow * fix: manual hook disable state * docs: manual trigger details in webhook page * fix: chevron grey shade to 500 * docs: sample payload for manual trigger * fix: style update * fix: pr review comments * fix: pr review changes * fix: reactivity issue * fix: reactivity issue * fix: filter enabled on button * fix: reload meta on webhook change * fix: error handling in formula filter * fix: handle url error --------- Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
3 months ago
&:not(:focus-within):hover:not(.nc-readonly-div-data-cell):not(.nc-system-field):not(.nc-virtual-cell-button) {
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
@apply !border-1;
feat: button field (#9144) * feat: static button type * fix: swagger * fix: style corrections * feat: webhook trigger * fix: disables * feat: Button icons fix: row Delete failing * fix: expanded-form ux fix: disable buttons in forms fix: update PlainCell button handling fix: webhook delete, active change handling * fix: disable case * fix: disable case * fix: update Button styles * fix: refactor min/max with limit for columns fix: disable filter, groupby for Button Field fix: disable aggregation for Buttons * fix: hide button field in Filters * fix: fields menu corrections fix: update menu corrections * fix: rebase * feat: support webhook creation from ButtonOptions * fix: sort related tests * fix: keep webhook modal open * fix: ui fixes * fix: icon duplicate * fix: syntax highlighing for handlebar fix: disable mascot fix: truncate selected webhook * fix: sort disable tooltip * test: button playwright test * fix: button column duplication * fix: add error fix: column options * fix: EditOrAddProvider.vue * fix: add invalid configuration * fix: ux corrections * fix: ux corrections * fix: error handling fix: clear single query cache on hook delete * fix: include button type in api * fix: update overlay styles fix: webhook update * fix: formula placeholder * fix: playwright tests * fix: playwright tests * feat: refactor formula input * fix: added more spacing * fix: no icon text * fix: lint * fix: handle invalid url * fix: handle sort by for button causes issue when button used as lookup * fix: button field position * docs: button field * fix: tooltip correction * fix: link * fix: add btn href * fix: handle some edge cases * fix: handle some edge cases * fix: update font color * fix: add manual trigger docs * fix: sqlite BaseModel fix * docs: button share view info * fix: rebase * fix: reduce height and added resize support fix: added tooltip if label overflow * fix: manual hook disable state * docs: manual trigger details in webhook page * fix: chevron grey shade to 500 * docs: sample payload for manual trigger * fix: style update * fix: pr review comments * fix: pr review changes * fix: reactivity issue * fix: reactivity issue * fix: filter enabled on button * fix: reload meta on webhook change * fix: error handling in formula filter * fix: handle url error --------- Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
3 months ago
&:not(.nc-attachment-cell):not(.nc-virtual-cell-button) {
4 months ago
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.24);
}
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
}
&.nc-readonly-div-data-cell,
&.nc-system-field {
@apply !border-gray-200;
.nc-cell,
.nc-virtual-cell {
@apply text-gray-400;
}
}
&.nc-readonly-div-data-cell:focus-within,
&.nc-system-field:focus-within {
@apply !border-gray-200;
}
Nc fix/shared view UI changes (#8615) * fix(nc-gui): update shared grid view * fix(nc-gui): shared gallery view padding issue * fix(nc-gui): Shared kanban view padding issue * fix(nc-gui): reduce calender shared view padding * fix(nc-gui): reduce shared form view padding * fix(nc-gui): update shared view password modal * fix(nc-gui): shared view password input error handling * fix(nc-gui): reduce expanded form modal width if comment section is not present * fix(nc-gui): small changes * fix(nc-gui): add export download view in topbar of shared view * fix(nc-gui): small changes * fix(nc-gui): add blur bg image for shared view password modal * fix(nc-gui): download shared view dropdown ui changes * fix(nc-gui): expanded form scroll issue * fix(nc-gui): click anywhere in card should open expanded form * fix(nc-gui): hide action icon on gallery/kanban card hover * fix(nc-gui): expanded form cell hover effect * fix(nc-gui): add sign up for free btn in shared view * test: update shared view test cases * test: update calendar test cases * fix(nc-gui): remove readonly prefix from attachment modal * fix(nc-gui): remove focus border effect if field is readonly * fix(nc-gui): shared view groupby pagination size should be 10 * fix(nc-gui): remove field modal input shadow if field is disabled * fix(nc-gui): add shadow on expanded form fields * fix(nc-gui): calendar shared view background color update * fix(nc-gui): shared view download btn text color * fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect * fix(nc-gui): pr review changes
6 months ago
&:focus-within:not(.nc-readonly-div-data-cell):not(.nc-system-field) {
@apply !shadow-selected;
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
7 months ago
}
&:has(.nc-virtual-cell-qrcode .nc-qrcode-container),
&:has(.nc-virtual-cell-barcode .nc-barcode-container) {
@apply !border-none px-0 !rounded-none;
:deep(.nc-virtual-cell-qrcode),
:deep(.nc-virtual-cell-barcode) {
@apply px-0;
& > div {
@apply !px-0;
}
.barcode-wrapper {
@apply ml-0;
}
}
:deep(.nc-virtual-cell-qrcode) {
img {
@apply !h-[84px] border-1 border-solid border-gray-200 rounded;
}
}
:deep(.nc-virtual-cell-barcode) {
.nc-barcode-container {
@apply border-1 rounded-lg border-gray-200 h-[64px] max-w-full p-2;
svg {
@apply !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
7 months ago
}
11 months ago
.nc-data-cell:focus-within {
@apply !border-1 !border-brand-500;
11 months ago
}
11 months ago
:deep(.nc-system-field input) {
@apply bg-transparent;
}
:deep(.nc-data-cell .nc-cell .nc-cell-field) {
@apply px-2;
}
:deep(.nc-data-cell .nc-virtual-cell .nc-cell-field) {
@apply px-2;
}
:deep(.nc-data-cell .nc-cell-field.nc-lookup-cell .nc-cell-field) {
@apply px-0;
}
</style>