Skip to content

Update personio extension#17507

Merged
raycastbot merged 3 commits intoraycast:mainfrom
Boosteblume:ext/personio
Mar 3, 2025
Merged

Update personio extension#17507
raycastbot merged 3 commits intoraycast:mainfrom
Boosteblume:ext/personio

Conversation

@Boosteblume
Copy link
Contributor

@Boosteblume Boosteblume commented Mar 3, 2025

Description

Screencast

Checklist

- Merge branch \'contributions/merge-1740997335495\'
- Pull contributions
- Merge branch \'contributions/merge-1740997287259\'
- Pull contributions
- Merge branch \'contributions/merge-1740997272930\'
- Pull contributions
- Merge branch \'contributions/merge-1740997253354\'
- Pull contributions
- added month to the attendances loaded message
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: personio Issues related to the personio extension OP is author The OP of the PR is the author of the extension labels Mar 3, 2025
@raycastbot
Copy link
Collaborator

Thank you for the update! 🎉

Due to our current reduced availability, the initial review may take up to 10-15 business days

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 updates the Personio extension by enhancing the toast message to include the selected month when attendances are loaded.

  • Modified extensions/personio/src/api/attendances.tsx to display a more informative success message that includes both month and year (${selectedMonth}/2024) instead of just the year
  • The change provides users with better context about which month's attendance data was successfully loaded

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

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

await showToast({
title: "Loaded Attendances",
message: `${attendances.length} Attendances in 2024 loaded successfully!`,
message: `${attendances.length} Attendances in ${selectedMonth}/2024 loaded successfully!`,
Copy link
Contributor

Choose a reason for hiding this comment

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

style: The year 2024 is hardcoded in the message. Consider using ${currentYear} instead of hardcoding 2024 to make the message future-proof.

Suggested change
message: `${attendances.length} Attendances in ${selectedMonth}/2024 loaded successfully!`,
message: `${attendances.length} Attendances in ${selectedMonth}/${currentYear} loaded successfully!`,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the recommended changes

@pernielsentikaer pernielsentikaer self-assigned this Mar 3, 2025
Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

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

Hi 👋

Looks good to me, approved 🔥

@raycastbot raycastbot merged commit 6ee3b0d into raycast:main Mar 3, 2025
9 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2025

Published to the Raycast Store:
https://raycast.com/boosteblume/personio

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

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

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: personio Issues related to the personio extension OP is author The OP of the PR is the author of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants