Skip to content

Conversation

@AdityaHegde
Copy link
Collaborator

@AdityaHegde AdityaHegde commented Jan 5, 2026

Follow up to #8584 that updates the UI to not fetch org or project details

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

import CtaContentContainer from "@rilldata/web-common/components/calls-to-action/CTAContentContainer.svelte";
import CtaLayoutContainer from "@rilldata/web-common/components/calls-to-action/CTALayoutContainer.svelte";
import CtaMessage from "@rilldata/web-common/components/calls-to-action/CTAMessage.svelte";
import type { AxiosError } from "axios";
import { onMount } from "svelte";
$: organization = $page.params.organization;
Copy link
Member

@pjain1 pjain1 Jan 5, 2026

Choose a reason for hiding this comment

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

Have we kept the previous route so that old unsub links already sent keep on working?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added the old route back. So older link with token before #8584 will continue to work.

But the old links before token based unsub never worked since it always used the auth header.

Copy link
Member

@pjain1 pjain1 Jan 5, 2026

Choose a reason for hiding this comment

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

Ok then we can only support token based unsub links. However, there will be older token links having /<org>/<project> path prefix, can we make sure those work?

@AdityaHegde AdityaHegde force-pushed the fix/report-unsub-ui-changes branch from a4d9458 to 1fd150e Compare January 5, 2026 07:36
@pjain1 pjain1 merged commit 3bf7321 into fix_mgc_tkn_unsub Jan 6, 2026
13 checks passed
@pjain1 pjain1 deleted the fix/report-unsub-ui-changes branch January 6, 2026 05:21
pjain1 added a commit that referenced this pull request Jan 6, 2026
* no access to unsubscribe magic token in recipient mode

* fix: report unsub should not fetch org or project details (#8585)

* fix: report unsub should not fetch org or project details

* Keep the old route for older links

---------

Co-authored-by: Aditya Hegde <adityahegderocks@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants