brandongregoryscott / beets

Web-based DAW (Digital Audio Workstation) written in React for making music.
https://beets.studio
Apache License 2.0
44 stars 6 forks source link

Add preview button in FileDialog #175

Open brandongregoryscott opened 2 years ago

brandongregoryscott commented 2 years ago

Similar to the preview button that is present in the FileSelectMenu, add a PlayButton that plays the sample on the FileDialog component:

image

See implementation in FileSelectMenuItem for reference:

https://github.com/brandongregoryscott/beets/blob/91a07e9264e86f1f026cb97e0010b4b55f5bd810/src/components/file-select-menu-item.tsx#L67-L76

HeyKos commented 2 years ago

@brandongregoryscott assign this puppy to me please.

HeyKos commented 2 years ago

@brandongregoryscott is this the style of button you're looking for?

Screen Shot 2022-10-18 at 9 47 31 PM
HeyKos commented 2 years ago

This is what I have. Let me know if you had something else in mind.

Screen Shot 2022-10-18 at 10 10 08 PM
brandongregoryscott commented 2 years ago

@HeyKos Yep - that looks right to me!