nextcloud-libraries / nextcloud-libraries/nextcloud-dialogs

Global toastify options

Open
#380 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
19
Forks
8
Avg merge
2d 5h
Merged PRs (30d)
37

Description

Make it possible to set toastify options globally so that one doens't need to pass in the same options everywhere.

One use case would be to pass in an offset for apps that have a top bar, see https://github.com/nextcloud/spreed/pull/5794
or even to switch to bottom aligned notifications for some layouts.

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

No files or tests are named. Start by tracing the library entry points where toastify options are accepted and passed to notifications, then determine how a global configuration can coexist with per-call options. Done means callers can set shared options such as an offset or bottom alignment without repeating them everywhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
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.