Skip to content

fix: #16028 Org Settings - SEOIndexing,Disable Org Url#16075

Merged
hariombalhara merged 44 commits into
calcom:mainfrom
vijayraghav-io:feat_#16028_updateOrgProfile
Nov 29, 2024
Merged

fix: #16028 Org Settings - SEOIndexing,Disable Org Url#16075
hariombalhara merged 44 commits into
calcom:mainfrom
vijayraghav-io:feat_#16028_updateOrgProfile

Conversation

@vijayraghav-io
Copy link
Copy Markdown
Contributor

@vijayraghav-io vijayraghav-io commented Aug 5, 2024

What does this PR do?

https://www.loom.com/share/5421eda4a55a4c6fbcb690f26bc6e504?sid=bb1ece9f-d52d-480a-b776-cd6898618d0f

https://www.loom.com/share/415c9dab0e54482594e3e7a9994d9772?sid=a313a1cf-db70-4875-8400-6d9457a896b5

https://www.loom.com/share/fb9f0bb399244ecca6f0e6986a2b2fb3?sid=deb7a35d-5bb9-4b62-a98d-39b40994d94d

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • - N/A - I have added a Docs issue here if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

@graphite-app graphite-app Bot added the community Created by Linear-GitHub Sync label Aug 5, 2024
@graphite-app graphite-app Bot requested a review from a team August 5, 2024 14:42
@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 5, 2024

@vijayraghav-io is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added enterprise area: enterprise, audit log, organisation, SAML, SSO organizations area: organizations, orgs ✨ feature New feature or request ❗️ migrations contains migration files and removed ✨ feature New feature or request enterprise area: enterprise, audit log, organisation, SAML, SSO organizations area: organizations, orgs labels Aug 5, 2024
@dosubot dosubot Bot added organizations area: organizations, orgs 🐛 bug Something isn't working labels Aug 5, 2024
@dosubot dosubot Bot added this to the v4.4 milestone Aug 5, 2024
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Aug 5, 2024

Graphite Automations

"Add community label" took an action on this PR • (08/05/24)

1 label was added to this PR based on Keith Williams's automation.

"Add consumer team as reviewer" took an action on this PR • (08/05/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@github-actions github-actions Bot added enterprise area: enterprise, audit log, organisation, SAML, SSO ✨ feature New feature or request labels Aug 5, 2024
@Amit91848
Copy link
Copy Markdown
Member

Converting to draft as this looks incomplete.

@Amit91848 Amit91848 marked this pull request as draft August 5, 2024 16:04
Copy link
Copy Markdown
Member

@Amit91848 Amit91848 left a comment

Choose a reason for hiding this comment

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

Left some minor NIT

Comment thread apps/web/public/static/locales/en/common.json Outdated
@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

vijayraghav-io commented Aug 5, 2024

Converting to draft as this looks incomplete.

@Amit91848
Except redirecting sub-domain to domain (its in progress i am updating this), rest all are done -

  1. allowSEOIndexing - UI , DB save and retrieval, marking for SEOIndexing based on this org setting (users-type-public-view.getServerSideProps.tsx)
  2. disableOrgSubdomainURL - UI, DB save and retrieval, (redirecting based on this setting is pending)

@vijayraghav-io vijayraghav-io marked this pull request as ready for review August 5, 2024 20:24
@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

updated for subdomain redirect

Copy link
Copy Markdown
Member

@Amit91848 Amit91848 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @vijayraghav-io ! I have some doubts about redirecting to org domain.

Comment thread apps/web/lib/getMainDomainOrgRedirect.ts Outdated
@github-actions github-actions Bot added the ❗️ .env changes contains changes to env variables label Aug 7, 2024
@keithwillcode keithwillcode modified the milestones: v4.6, v4.7 Oct 16, 2024
@dosubot dosubot Bot modified the milestone: v4.7 Oct 16, 2024
@anikdhabal
Copy link
Copy Markdown
Contributor

@vijayraghav-io could you pls fix the conflicts

@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

@vijayraghav-io could you pls fix the conflicts

Sure, will do.

@keithwillcode keithwillcode marked this pull request as draft November 6, 2024 13:28
@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

@anikdhabal , resolved merge conflicts

@vijayraghav-io vijayraghav-io marked this pull request as ready for review November 7, 2024 14:00
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 11, 2024

E2E results are ready!

@keithwillcode keithwillcode modified the milestones: v4.7, v4.8 Nov 18, 2024
@dosubot dosubot Bot modified the milestone: v4.8 Nov 18, 2024
@keithwillcode keithwillcode added the High priority Created by Linear-GitHub Sync label Nov 27, 2024
@keithwillcode
Copy link
Copy Markdown
Contributor

@vijayraghav-io You mind fixing the conflicts please? We are looking to merge this one soon for you! Thank you 🙏

@hariombalhara Do you mind giving this a once over again now that changes have been made?

@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

@vijayraghav-io You mind fixing the conflicts please? We are looking to merge this one soon for you! Thank you 🙏

@hariombalhara Do you mind giving this a once over again now that changes have been made?

@keithwillcode , sure will do . Thank you 🙏

@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

@keithwillcode , @hariombalhara resolved conflicts.

} as const;
}

const allowSEOIndexing = org
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Followup: Abstract it out into something like packages/lib/isSeoIndexableForUser and reuse it at all places where we derive user's seoIndexing setting from org and user.

Copy link
Copy Markdown
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

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

Thanks for your patience here @vijayraghav-io !! Great work !!

let's merge it.

I have one followup comment, that we can address later.

@hariombalhara hariombalhara merged commit f631abf into calcom:main Nov 29, 2024
@vijayraghav-io
Copy link
Copy Markdown
Contributor Author

Thanks for your patience here @vijayraghav-io !! Great work !!

let's merge it.

I have one followup comment, that we can address later.

Thank you! @hariombalhara 🙏 ,
sure will address the followup comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working community Created by Linear-GitHub Sync enterprise area: enterprise, audit log, organisation, SAML, SSO ❗️ .env changes contains changes to env variables ✨ feature New feature or request High priority Created by Linear-GitHub Sync ❗️ migrations contains migration files organizations area: organizations, orgs ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-4097] redirect to org core domain when visiting the root path at org domain

8 participants