Skip to content

fix: Organised the OOO page #27865

Merged
romitg2 merged 19 commits intocalcom:mainfrom
Recxsmacx:OOO
Feb 12, 2026
Merged

fix: Organised the OOO page #27865
romitg2 merged 19 commits intocalcom:mainfrom
Recxsmacx:OOO

Conversation

@Recxsmacx
Copy link
Copy Markdown
Contributor

@Recxsmacx Recxsmacx commented Feb 11, 2026

###Before

image

###After

image

Summary by cubic

Organized the Out of Office and Holidays settings pages to match the Settings shell and improve readability. Standardized headers, bordered shells across all states, fixed column widths, and cleaned up row layout; no behavior changes.

  • UI Improvements

    • Enabled borderInShellHeader and wrapped loading/error/content in a bordered container on both pages; Holidays empty state now uses the shared calendar icon.
    • Set column widths (Member 220, Out of Office 570) and simplified the Out of Office entry row for clearer spacing.
  • Refactors

    • Removed unused imports in OutOfOfficeEntriesList.

Written for commit 8421533. Summary will update on new commits.

@paragon-review
Copy link
Copy Markdown

Paragon Review Unavailable

Hi @Recxsmacx! To enable Paragon reviews on this repository, please register at https://home.polarity.cc

Once registered, connect your GitHub account and Paragon will automatically review your pull requests.

@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Feb 11, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="apps/web/modules/settings/outOfOffice/OutOfOfficeEntriesList.tsx">

<violation number="1" location="apps/web/modules/settings/outOfOffice/OutOfOfficeEntriesList.tsx:140">
P2: Using `isFetching` to replace `flatData` with skeletons causes the list to collapse to 5 rows during background refetches or when fetching the next page, disrupting infinite scroll. Use `isPending` (initial load) to avoid clobbering existing data while paginating.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@Recxsmacx
Copy link
Copy Markdown
Contributor Author

@romitg2 @dhairyashiil need your view 🫡

@devin-ai-integration
Copy link
Copy Markdown
Contributor

devin-ai-integration bot commented Feb 11, 2026

Review Summary

This PR adds bordered containers to the Out of Office and Holidays settings pages to match the Settings shell pattern (borderInShellHeader + border-subtle rounded-b-lg wrapper). It also simplifies the OOO table row layout (removes extra nesting, adjusts column widths).

Core changes are UI-only and should not break behavior. However, a few issues should be addressed before merging:


1. Import ordering violation (both files)

The PR moves third-party imports (@tanstack/react-query, @tanstack/react-table, next/navigation, react) below @calcom/* imports. The codebase convention (and the original file ordering) is:

  1. External/third-party imports
  2. @calcom/* imports
  3. Local/relative (~/, ./) imports

For example in OutOfOfficeEntriesList.tsx, react and @tanstack/* should stay at the top, not be moved after @calcom/ui imports. Same issue in holidays-view.tsx where import { memo, useCallback, useMemo } from "react" was moved below @calcom imports.

2. Column width change — verify on TEAM tab

The OOO column width changed from a dynamic selectedTab === OutOfOfficeTab.TEAM ? 370 : 660 to a fixed 570, and Member from 300 to 220. On the TEAM tab this increases total width (220+570+90=880 vs 300+370+90=760), and on MINE tab decreases it (570+90=660 vs 660+90=750). Worth verifying this doesn't compress the date/forwarding text awkwardly on narrower screens.

@anikdhabal
Copy link
Copy Markdown
Contributor

@Recxsmacx yes, pls check the above comment and address

@Recxsmacx
Copy link
Copy Markdown
Contributor Author

Okay @anikdhabal anything else to fix in this???

@anikdhabal
Copy link
Copy Markdown
Contributor

anikdhabal commented Feb 11, 2026

No, fix them and test

@Recxsmacx
Copy link
Copy Markdown
Contributor Author

No, fix them and test

Yessirrr!

@Recxsmacx
Copy link
Copy Markdown
Contributor Author

@anikdhabal gm gm addressed something regarding your requested changes !

@romitg2
Copy link
Copy Markdown
Member

romitg2 commented Feb 12, 2026

@anikdhabal gm gm addressed something regarding your requested changes !

I can see no new commits, seems like you forgot to push changes?

@Recxsmacx
Copy link
Copy Markdown
Contributor Author

@anikdhabal gm gm addressed something regarding your requested changes !

I can see no new commits, seems like you forgot to push changes?

Hey romit ! i addressed my pov on the requested changes

@romitg2
Copy link
Copy Markdown
Member

romitg2 commented Feb 12, 2026

@anikdhabal gm gm addressed something regarding your requested changes !

I can see no new commits, seems like you forgot to push changes?

Hey romit ! i addressed my pov on the requested changes

where? i can't see any comments from your side. please make sure you've addressed changes and self-reviewed your code before asking for reviews. Thanks!

you can see there are duplicated imports, as also told by Anik.
Screenshot 2026-02-12 at 12 54 17 PM

@romitg2 romitg2 marked this pull request as draft February 12, 2026 07:25
@Recxsmacx Recxsmacx marked this pull request as ready for review February 12, 2026 07:34
@Recxsmacx
Copy link
Copy Markdown
Contributor Author

@romitg2 it's done !

@romitg2
Copy link
Copy Markdown
Member

romitg2 commented Feb 12, 2026

@romitg2 it's done !

I can still see duplicate useSegments import. requesting again to self-review your changes before asking for reviews, as it ends up wasting time.

@romitg2 romitg2 marked this pull request as draft February 12, 2026 08:03
@Recxsmacx Recxsmacx marked this pull request as ready for review February 12, 2026 14:09
@Recxsmacx
Copy link
Copy Markdown
Contributor Author

@romitg2 sorry for

@romitg2 it's done !

I can still see duplicate useSegments import. requesting again to self-review your changes before asking for reviews, as it ends up wasting time.

i'll take care of it ig its completely fixed now !
@romitg2

@romitg2 romitg2 self-requested a review February 12, 2026 14:39
romitg2
romitg2 previously approved these changes Feb 12, 2026
Copy link
Copy Markdown
Member

@romitg2 romitg2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

romitg2
romitg2 previously approved these changes Feb 12, 2026
@romitg2 romitg2 added ready-for-e2e run-ci Approve CI to run for external contributors and removed ready-for-e2e labels Feb 12, 2026
@romitg2 romitg2 enabled auto-merge (squash) February 12, 2026 15:14
@romitg2 romitg2 disabled auto-merge February 12, 2026 15:20
@romitg2 romitg2 added ready-for-e2e run-ci Approve CI to run for external contributors and removed ready-for-e2e run-ci Approve CI to run for external contributors labels Feb 12, 2026
@romitg2 romitg2 added ready-for-e2e run-ci Approve CI to run for external contributors and removed ready-for-e2e run-ci Approve CI to run for external contributors labels Feb 12, 2026
@romitg2 romitg2 enabled auto-merge (squash) February 12, 2026 16:18
@romitg2 romitg2 merged commit bc9a9c0 into calcom:main Feb 12, 2026
184 of 197 checks passed
@Recxsmacx Recxsmacx deleted the OOO branch February 13, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Created by Linear-GitHub Sync ready-for-e2e run-ci Approve CI to run for external contributors size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants