Commit graph

983 commits

Author SHA1 Message Date
Samidy
e59e14fdb6
Gracefully handle no Critic Reviews yet 2026-04-06 14:49:53 +03:00
ap5z
d031c44a40 style: auto-fix linting issues 2026-04-06 03:47:25 +00:00
a
f2135cc455
fix: visualizer bugs and better mobile support (#509)
* Refine fullscreen player to look more like apple music

* fix: buttons when in visualizer only mode

* fix: mobile sizing

* Update styles.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update js/ui.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: refine fullscreen apple player

* fix: add lyrics toggle for mobile

* add lyrics toggle for mobile

* wrong branch oops 😭

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-05 23:46:50 -04:00
binimum
bc004d3dc4
fix: refine image size logic and update build configuration for better performance 2026-04-05 18:49:23 +00:00
binimum
f3b9cfd2f0 style: auto-fix linting issues 2026-04-05 17:22:39 +00:00
binimum
10b7afc36e
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 17:21:55 +00:00
binimum
995906f572
refactor: optimize image loading and enhance performance
- Removed unnecessary preconnect link to jsDelivr in index.html.
- Added lazy loading to contribs in app.js for improved performance.
- Implemented dynamic loading of am-lyrics and shaka based on image loading status to reduce lcp
- Introduced waitForImagesLoading function in player.js to ensure all images are loaded before initializing the player
- Enhanced image loading attributes in ui.js to include fetchpriority based on loading strategy.
- Updated package.json to include vite-plugin-purgecss for CSS optimization
- Configured Vite to use purgecss and enabled tree-shaking in vite.config.ts to reduce bundle size
2026-04-05 17:21:10 +00:00
edideaur
a73a7f11cb style: auto-fix linting issues 2026-04-05 17:13:07 +00:00
a
ea330dee98 Update js/ui.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-05 20:12:29 +03:00
Alan Brooks
85d198c8c3 fix: mobile sizing 2026-04-05 20:12:29 +03:00
Alan Brooks
9d1e4871e2 fix: buttons when in visualizer only mode 2026-04-05 20:12:29 +03:00
Alan Brooks
2bb06f1159 Refine fullscreen player to look more like apple music 2026-04-05 20:12:29 +03:00
trentisiete
ef2edefc4c fix: normalize artist ID comparison to handle string/number types 2026-04-05 20:11:41 +03:00
trentisiete
fbe101050a fix: filter albums and tracks by artist ID to prevent showing wrong same-name artists 2026-04-05 20:11:41 +03:00
Daniel
3ecaa3c74a Add typed interfaces for HiFi.ts route returns 2026-04-05 20:08:08 +03:00
tryptz
388a2b81a6 style: auto-fix linting issues 2026-04-05 20:07:39 +03:00
tryptz
da6c2e2dd9 fix: address CodeRabbit review issues from PR #502
Android:
- Fix stale wake lock detection by checking isHeld() before reacquiring
- Wrap startForegroundService in try-catch to handle launch exceptions
- Add START/STOP intent actions to prevent stop/start race condition

HTML/Accessibility:
- Convert preset and preamp spans to proper <label> elements
- Add aria-controls to database collapse button
- Sync aria-expanded state when toggling database panel

JavaScript:
- Guard auto-resume with source check to avoid resuming when not playing
- Add _calculateQ() fallback in fast-path EQ filter updates
- Persist graphic EQ gains and preamp to storage from setters
- Include 'legacy' in EQ mode restoration check
- Clear container before rebuilding GEQ bands for idempotency
- Use AbortController for document-level listener cleanup
- Apply gain calculation for non-parametric modes in touch snap
- Validate stored GEQ values are finite numbers

CSS:
- Remove non-standard appearance: slider-vertical property
2026-04-05 20:07:39 +03:00
tryptz
bd70b81a39 fix: EQ toggle not disabling audio filters when turned off
setEQMode() was unconditionally setting isEQEnabled = true, overriding
the user's toggle state. Now respects equalizerSettings.isEnabled().
Also fixed the toggle handler to properly disable the graphic EQ chain
in legacy mode.
2026-04-05 20:07:39 +03:00
tryptz
d09e3aa72a feat: AutoEQ, speaker EQ enhancements, and audio performance fixes
- Add 16-band graphic equalizer with legacy EQ mode
- Add speaker measurement and room correction EQ
- Fix audio skipping with AutoEQ on Android background
- Improve audio performance to prevent skipping under CPU load
- Fix dual EQ applied when switching between legacy and parametric modes
- Remove redundant Equalizer settings tab
- Improve mobile EQ band layout and collapsible database section
2026-04-05 20:07:39 +03:00
Samidy
c58815b312 _blank BS 2026-04-05 20:05:35 +03:00
Samidy
b4a7f116f9 Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-05 19:19:54 +03:00
Samidy
153d9b67ac feat(reviews): AOTY critics/users reviews 2026-04-05 19:19:50 +03:00
binimum
17e3430691 style: auto-fix linting issues 2026-04-05 15:23:38 +00:00
binimum
0d84ac2e95
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 15:22:57 +00:00
binimum
3ed9d8b589
refactor: streamline image processing and cover URL handling 2026-04-05 15:22:50 +00:00
Samidy
e1ce5293e9 Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-05 17:55:03 +03:00
Samidy
6015904a38 mobile contributors list fixes (diddy bro !) 2026-04-05 17:54:59 +03:00
binimum
fb3099386d
finish merge 2026-04-05 14:45:26 +00:00
binimum
b3da2da672
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 14:44:50 +00:00
binimum
014d1ef74e
feat: change loading eagerness to make lcp faster 2026-04-05 14:44:40 +00:00
Samidy
fe8bfed0dc CORRECTLY handle catch in fetchcontributors() 2026-04-05 17:08:42 +03:00
binimum
57226892ab
feat: seo 2026-04-05 12:09:52 +00:00
edideaur
f1e961d4a9
feat: compress editors picks images to webp 2026-04-05 01:05:22 +00:00
edideaur
2c9ac1ecb1
fix: gracefully handle contributor fetch faliure 2026-04-04 21:53:05 +00:00
edideaur
c73572e195
lint: fix JS errors and duplicate CSS selectors 2026-04-04 21:41:37 +00:00
binimum
6651136e5b
fix: lock preload audio codec and disable PreloadManager ABR 2026-04-04 21:01:32 +00:00
binimum
54e337d8d7
fix: pass current abr estimatedBandwidth to preloadManager 2026-04-04 20:56:09 +00:00
binimum
d7cbaa454d
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-04 20:42:54 +00:00
binimum
6557e525b4
fix: remove undefined catch from preloadNextTracks() 2026-04-04 20:39:51 +00:00
binimum
8a377d5332
chore(player): log preload load errors 2026-04-04 20:36:41 +00:00
edideaur
005bd2d2ee
merge all my contributions on alts to my main account 2026-04-04 20:13:44 +00:00
Samidy
90dc00ba5a Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-04 22:50:07 +03:00
Samidy
c3e9839845 feat(about): Contributors list 2026-04-04 22:49:01 +03:00
Daniel
648e47e1d8 fix(linting): fix js linting issues 2026-04-04 01:37:47 +03:00
Daniel
ddc986bc52 fix(downloads): update downloadTrackWithMetadata function
- Fix reference to enrichTrack
- Added detailed JSDoc comments for better documentation
- Updated API reference to use MusicAPI.instance for consistency
- Improved error handling and metadata enrichment process
2026-04-04 01:37:47 +03:00
Daniel
a282b37d88 refactor(hifi): add getArtistBiography 2026-04-04 01:37:47 +03:00
Daniel
e154215fc5 fix(downloads): update downloadTrackWithMetadata to use MusicAPI
- Added default parameter for api in downloadTrackWithMetadata function
- Updated api call to enrichTrack to use the correct instance
- Imported MusicAPI for proper functionality
2026-04-04 01:37:47 +03:00
Daniel
3a28ef54d1 fix(hifi): remove extra await 2026-04-04 01:37:47 +03:00
Daniel
5504e004cc fix(hifi): fix tokenExpiry assignment 2026-04-04 01:37:47 +03:00
edideaur
a0f60a2dbd style: auto-fix linting issues 2026-04-03 11:31:45 +00:00