Skip to content

Conversation

@Antreesy
Copy link
Contributor

@Antreesy Antreesy commented May 30, 2025

☑️ Resolves

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
2025-05-30_14h42_44 2025-05-30_14h42_02

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client

Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

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

This is valid not only for dashboard but for mutual events and upcoming events ;)

@Antreesy Antreesy force-pushed the fix/15249/hide-calendar-links branch from daacd3d to e2e5e29 Compare June 2, 2025 08:19
@Antreesy Antreesy requested a review from DorraJaouad June 2, 2025 08:21
@Antreesy Antreesy force-pushed the fix/15249/hide-calendar-links branch from b822fb1 to 5902e5d Compare June 2, 2025 15:58
@Antreesy Antreesy force-pushed the fix/15249/hide-calendar-links branch from 5902e5d to 79fc717 Compare June 2, 2025 16:56
@Antreesy Antreesy requested review from DorraJaouad and ShGKme June 2, 2025 16:57
Comment on lines +96 to +99
$this->initialState->provideInitialState(
'calendar_enabled',
$appManager->isEnabledForUser('calendar', $user)
);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm still not a fun of adding a new incorrect usage of the initial state...
Fine with it, if mobile clients don't need it.

@Antreesy Antreesy marked this pull request as draft June 4, 2025 08:52
@Antreesy
Copy link
Contributor Author

Since API is added now, we can consider it? #15396

@nickvergessen
Copy link
Member

That is an additional query per user opening the dashboard, sounds pretty bad to me

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't link to calendar, if calendar is not enabled/available

5 participants