Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): some review changes

Ramesh Mane6c6424998d9c
diff --git a/packages/nc-gui/components/auth/onboarding/Layout/index.vue b/packages/nc-gui/components/auth/onboarding/Layout/index.vue
index e40dc42682..44afe0eee8 100644
--- a/packages/nc-gui/components/auth/onboarding/Layout/index.vue
+++ b/packages/nc-gui/components/auth/onboarding/Layout/index.vue
@@ -71,11 +71,11 @@ watch(stepIndex, (newIndex, oldIndex, cleanup) => {
</slot>
</div>
<div
- class="w-full lg:(w-1/2) transition-width duration-250 h-full flex flex-col gap-[120px] nc-scrollbar-thin relative border-l-1 border-nc-border-gray-medium"
+ class="w-full lg:(w-1/2) transition-width duration-250 h-full flex flex-col gap-10 pr-2 nc-scrollbar-thin !overflow-x-hidden !overflow-y-scroll relative border-l-1 border-nc-border-gray-medium"
>
<header
data-testid="nc-onboarding-flow-header"
- class="px-4 pt-4 pb-2 lg:(pt-10 pb-2 px-8) flex items-center justify-between w-full max-w-[672px] lg:max-w-[704px] mx-auto sticky top-0 lg:-top-4 bg-white z-10"
+ class="px-4 pt-4 pb-2 lg:(pt-8 pb-2 px-8) flex items-center justify-between w-full max-w-[672px] lg:max-w-[704px] mx-auto sticky top-0 bg-white z-10"
>
<GeneralIcon icon="nocodb1" class="w-12 h-12 flex-none" />
diff --git a/packages/nc-gui/composables/useOnboardingFlow.ts b/packages/nc-gui/composables/useOnboardingFlow.ts
index ece5305756..1b6369bf8f 100644
--- a/packages/nc-gui/composables/useOnboardingFlow.ts
+++ b/packages/nc-gui/composables/useOnboardingFlow.ts
@@ -116,7 +116,7 @@ export const useOnboardingFlow = createSharedComposable(() => {
/**
* If true, the onboarding flow will be shown in home page - `/`
*/
- const showOnboardingFlowLocalState = ref(false)
+ const showOnboardingFlowLocalState = ref(true)
const showOnboardingFlow = computed(() => {
return isEnabledOnboardingFlow.value && showOnboardingFlowLocalState.value && route.value.name === 'index'
@@ -247,7 +247,7 @@ export const useOnboardingFlow = createSharedComposable(() => {
},
{
id: 3,
- question: 'Which department are you in',
+ question: 'Which department are you in?',
inputType: 'singleSelect',
options: [
{
@@ -949,6 +949,10 @@ export const useOnboardingFlow = createSharedComposable(() => {
watch(
() => user.value?.is_new_user,
(isNewUser) => {
+ console.log('isNewUser', isNewUser, isEnabledOnboardingFlow.value)
+
+ return
+
if (!isNewUser || !isEnabledOnboardingFlow.value) {
if (showOnboardingFlowLocalState.value) {
resetOnboardingFlow()