You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Songs page, by the 'Instruments' or 'Notes' attributes in the song stats display, show a question mark button as follows:
When clicked, this shows a modal similar to Note Block Studio's song stats, showing the number of note blocks per instrument (including custom instruments):
In the Songs page, by the 'Instruments' or 'Notes' attributes in the song stats display, show a question mark button as follows:
![image](https://private-user-images.githubusercontent.com/29354120/385935274-460b1118-230d-4777-bfa2-808b574667ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTIxMDUsIm5iZiI6MTczODg1MTgwNSwicGF0aCI6Ii8yOTM1NDEyMC8zODU5MzUyNzQtNDYwYjExMTgtMjMwZC00Nzc3LWJmYTItODA4YjU3NDY2N2VjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDE0MjMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA3MDM1ZWQyYWMwMWE4MjdjODg4ZDFmYmM3NDI4OWY0OGViM2U1ZWVmOTU5ZWEzZGJhYmY3YmYyZWFjMTQ1NWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HjQvbEKt-LPk2FnYXktqM4X_aqnvkZiN2YMirKr_I-k)
When clicked, this shows a modal similar to Note Block Studio's song stats, showing the number of note blocks per instrument (including custom instruments):
![image](https://private-user-images.githubusercontent.com/29354120/385935724-6ca6e9d1-00ea-4959-9667-7a0dd8242a8b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTIxMDUsIm5iZiI6MTczODg1MTgwNSwicGF0aCI6Ii8yOTM1NDEyMC8zODU5MzU3MjQtNmNhNmU5ZDEtMDBlYS00OTU5LTk2NjctN2EwZGQ4MjQyYThiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDE0MjMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkYzhiYzYwMTA5NGJjMDI1YTNlMjg5NTVhZDY4Nzk4ZDgyNTE4MTgwM2E0ZGY3YTFlNWIwNGQ3NmI5MzQ4YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nSV2Q6h6PIupuwDs_5VXcHjAneuf3CwrTDo0YnrxFX8)
These stats are already calculated and stored in the database as part of the
stats
subdocument, and even already sent to the front-end server at render time. As such, implementing this is a matter of displaying them properly in theSongDetails
component:https://github.com/OpenNBS/NoteBlockWorld/blob/main/web/src/modules/song/components/SongDetails.tsx#L101-L113
Alternatively, instead of a modal, an expandable/collapsible section may be added inline to the stats table, if it improves presentation.
The text was updated successfully, but these errors were encountered: