Skip to content

Feature/168 browser web push#456

Open
buyolitsez wants to merge 12 commits into
BeWelcome:developfrom
buyolitsez:feature/168-browser-web-push
Open

Feature/168 browser web push#456
buyolitsez wants to merge 12 commits into
BeWelcome:developfrom
buyolitsez:feature/168-browser-web-push

Conversation

@buyolitsez

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread config/services.yaml
arguments:
$batchSize: '%forum_notification_batch_size%'

App\Service\PushGatewayInterface: '@App\Service\PushGateway'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These interfaces aren't used anywhere, are they?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

They are used as autowiring contracts: PushGatewayInterface is injected into BrowserNotificationService, BrowserPushEndpointResolverInterface into BrowserPushEndpointValidator, and BrowserPushWebPushFactoryInterface into PushGateway

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where is this controller used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

in post/delete endpoints used by browserPushPreference.js. The preference page passes these route urls to the script, which calls the controller to manage the server-side subscription

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.

2 participants