Skip to content

Conversation

J-Michalek
Copy link
Contributor

πŸ”— Linked issue

Resolves: #4231

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

I've added the week numbers to the leftmost column of the calendar.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

I'm not sure if we truly want these, but I've made them
just in case, I only undestand cs, sk and en so the rest
are AI translations...

I did some research and I'm not sure if we really need this
header as it is not space efficient and most users know that
the leftmost column in calendar is used for week numbers.
@J-Michalek
Copy link
Contributor Author

I'm not sure if we want the header for the week number column, so I put it inside a separate commit to make it easier to remove if necessary.

We need to wait for the next RekaUI release where the getWeekNumber helper is introduced, for now I've just reimplemented the function.

Copy link

pkg-pr-new bot commented Jul 20, 2025

npm i https://pkg.pr.new/@nuxt/ui@4555

commit: 5c987b7

['without fixedWeeks', { props: { fixedWeeks: false } }],
['without monthControls', { props: { monthControls: false } }],
['without yearControls', { props: { yearControls: false } }],
['without weekNumbers', { props: { weekNumbers: true } }],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@J-Michalek This is wrong as the title should be "with weekNumbers".

@benjamincanac benjamincanac added the v3 #1289 label Aug 27, 2025
@benjamincanac
Copy link
Member

Shall we close this to take advantage of unovue/reka-ui#1959 instead?

@J-Michalek
Copy link
Contributor Author

We can leave this open, it just needs some finishing touches now that the utility function is released.

I will look into this this week for sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Calendar]: add option to display week numbers
2 participants