pimutils / pimutils/khal

Allow for several default alarms for new events

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

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

Hi,
First of all thanks for this software,

I'd like to suggest the possibility for users to add several default alarms on new events.

Among the uncountably many ways to do this there are:

  • one simple but not very canonical: add configuration options such as default_alarm_event2, ... to be parsed as the existing one,
  • one neater way would be to allow the user to plug in several default_alarm_event options, but this would require some change in the config parser (currently it complains when it finds duplicates),
  • another neat way maybe simpler to implement is to allow user to set up default alarm as a list e.g. defaut_alarm_event = 15m,1h. The parsing works fine at present, it would simply require a new validator type.

I'd be happy to propose an implementation if the maintainers let me know their preference.

SD

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

Start by locating the existing default_alarm_event configuration handling and the config parser's duplicate-option behavior. Confirm the maintainers' preferred syntax before implementing it; done means users can configure several default alarms for new events and the configuration is validated correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.