Skip to content

New fieldtype - #10

Open
elabx wants to merge 16 commits into
mainfrom
new-fieldtype
Open

New fieldtype#10
elabx wants to merge 16 commits into
mainfrom
new-fieldtype

Conversation

@elabx

@elabx elabx commented Jun 10, 2025

Copy link
Copy Markdown
Owner

New RRule fieldtype that only saves the rule.

elabx and others added 16 commits May 2, 2025 08:31
…ule.module to handle empty values and improve settings initialization. Added checks for valid rrule and settings before saving. Updated comments for clarity.
Enhance InputfieldRecurringDatesRule.js and InputfieldRecurringDatesR…
… to ensure compatibility with missing elements. Added null checks for rrule and settings data retrieval.
…ngDatesRule.module to handle empty values and improve settings initialization. Added checks for valid rrule and settings before saving. Updated comments for clarity."

This reverts commit 14b3a97.
…ule.module to handle null and empty values more robustly. Added checks for settings and rrule initialization, ensuring defaults are set when necessary. Updated comments for better clarity.
…in FieldtypeRecurringDatesRule for improved version handling
…m FieldtypeRecurringDatesRule and InputfieldRecurringDatesRule, streamlining the code for better performance and clarity.
The "Days of the week" filter listed Sunday first with no way to change
it. It now starts on Monday, and a "First day of the week" select in the
field's input config lets it start on Sunday instead. The setting is
passed to Alpine via data-week-start, which rotates the list on init.

This affects the display order only, not the rule's WKST property.

Also drop the hardcoded ?v=123 on the JS URL: versionUrls() leaves any
URL that already has a query string alone, so the URL never changed and
browsers kept serving cached JS. Pass true for a filemtime based version,
since the default only changes with the core version when debug is off.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant