Skip to content
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

fix: AvailabilitySettings atom closing override window button #15518

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

supalarry
Copy link
Contributor

Problem

When adding date override in availability atom there is no "Close" button like in web app.

Screenshot 2024-06-21 at 10 24 21

Reason

If you see file changed, then before we displayed "Close" text as t("Close")}, but no such entry exists in our i18n files only "close":
Screenshot 2024-06-21 at 10 22 54

Solution

Change t("Close")} to t("close")} and override close button is showing:
Screenshot 2024-06-21 at 10 26 07

@graphite-app graphite-app bot requested a review from a team June 21, 2024 08:26
@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels Jun 21, 2024
@graphite-app graphite-app bot requested a review from a team June 21, 2024 08:27
@dosubot dosubot bot added i18n area: i18n, translations ui area: UI, frontend, button, form, input 🐛 bug Something isn't working labels Jun 21, 2024
@supalarry supalarry removed the request for review from a team June 21, 2024 08:27
Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 8:49am
cal ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 8:49am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 8:49am

ThyMinimalDev
ThyMinimalDev previously approved these changes Jun 21, 2024
@supalarry supalarry enabled auto-merge June 21, 2024 08:29
Copy link

graphite-app bot commented Jun 21, 2024

Graphite Automations

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

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

"Add platform team as reviewer" took an action on this PR • (06/21/24)

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

@supalarry
Copy link
Contributor Author

Don't know why is unit test failing - the Close button is appearing in the web app

Screenshot 2024-06-21 at 10 40 38

@supalarry
Copy link
Contributor Author

Don't know why is unit test failing - the Close button is appearing in the web app

Screenshot 2024-06-21 at 10 40 38

Updated test in fix: test - I guess that the test does not load i18n files but takes the string passed to the "t" function inferring i18n value literally.

@supalarry supalarry added this pull request to the merge queue Jun 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 21, 2024
@PeerRich PeerRich added this pull request to the merge queue Jun 21, 2024
@PeerRich PeerRich added the Low priority Created by Linear-GitHub Sync label Jun 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 21, 2024
@supalarry supalarry added this pull request to the merge queue Jun 21, 2024
Merged via the queue into main with commit 48e7efc Jun 21, 2024
24 checks passed
@supalarry supalarry deleted the fix-close-override-window branch June 21, 2024 11:21
p6l-richard pushed a commit to p6l-richard/cal.com-fork that referenced this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working core area: core, team members only i18n area: i18n, translations Low priority Created by Linear-GitHub Sync platform Anything related to our platform plan ui area: UI, frontend, button, form, input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants