Skip to content

chore: remove cutoff condition for activation sidepanel #30916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

joshsny
Copy link
Contributor

@joshsny joshsny commented Apr 8, 2025

Problem

Activation sidepanel was using a cutoff for existing teams for first 30 days

Changes

No longer needed, just cleans it up.

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Ran locally

@joshsny joshsny requested a review from a team April 8, 2025 08:19
@joshsny joshsny enabled auto-merge (squash) April 8, 2025 08:20
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR simplifies the logic for displaying the Activation tab by removing a fixed cutoff date and now only relying on a 30-day age check based on each team's creation date.

  • Updated /frontend/src/layout/navigation-3000/sidepanel/sidePanelLogic.tsx to remove the fixed date cutoff and solely use the team age.
  • Ensured the 30-day threshold governs the Activation tab display.
  • Maintained the use of the shouldShowActivationTab flag for overall visibility control.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Apr 8, 2025

Size Change: -244 B (0%)

Total Size: 10.2 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 10.2 MB -244 B (0%)

compressed-size-action

@joshsny joshsny merged commit cd995bc into master Apr 8, 2025
111 checks passed
@joshsny joshsny deleted the onboarding-remove-cutoff-for-activation branch April 8, 2025 14:33
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.

2 participants