plone / plone/mockup

recurrence widget: use rrule lib instead backend

Open
#1,210 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

03 type: feature (plip)
Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
10h 25m
Merged PRs (30d)
18

Description

We're using a endpoint on the backend to calculate the dates for a given recurrence rule.
Instead we could use this lib: https://github.com/jakubroztocil/rrule

Issue taken over from: https://github.com/collective/jquery.recurrenceinput.js/issues/22#issuecomment-31445354

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the recurrence widget and its backend date-calculation endpoint; locate both entry points and review the rrule library linked in the issue. Replace the backend-dependent calculation with the library in the widget, then verify that recurrence dates still match expected rules and that the endpoint is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.