Skip to content

Volume Settings Should be An ArrayΒ #513

@danpastori

Description

@danpastori

Discussed in #512

Originally posted by danpastori May 4, 2022

πŸ‘‰ Describe the problem

There are multiple volume settings that you can pass to AmplitudeJS such as starting volume, increment and decrement. These should be in an object instead of individual values.

πŸ‘₯ Problem evidence & reach

Users who want to define volume settings will find the new solution much easier to group and organize.

πŸ₯° Describe the "impact" on users?

Volume settings will be easier to read and organize.

πŸ† How to solve this problem

Instead of passing in:

{
volume_increment: 5,
volume_decrement: 5,
starting_volume: 50
}

The user would pass in:

{
	volume: {
	    increment: 5,
	    decrement: 5,
	    starting: 50
	}
}

πŸ’― How do we validate the problem is solved?

Users can pass an object for volume settings that makes it much easier to manage.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready for QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions