Commit Graph

6385 Commits

Author SHA1 Message Date
Alain Nussbaumer
20f9284ae4 [web] Update libraries
Libraries have been updated to use Vite version 4.
2023-07-02 18:38:31 +02:00
Alain Nussbaumer
8fc97b1f2e [web] Remove v-html usage
Reinforcing security by remove the usage of v-html.
2023-07-02 18:11:41 +02:00
Alain Nussbaumer
5f433a2c20 [web] Harmonise use use of rounded switches
Checkboxes have now the same appearance all over the UI.
2023-07-02 18:07:12 +02:00
Alain Nussbaumer
bfd406206b [web] Disable buttons "edit" and "clear" when queue is empty 2023-07-02 17:44:14 +02:00
Alain Nussbaumer
897d5854af [web] Make switches with rounded corners
Make the UI a bit more coherent by rounding corners of switches.
2023-07-02 11:30:06 +02:00
Alain Nussbaumer
940f30dab6 [web] Change URL to Material Design Icons 2023-07-01 22:14:04 +02:00
Alain Nussbaumer
af79503ab6 [web] Lint source code 2023-07-01 22:09:34 +02:00
Alain Nussbaumer
1502efdf43 [web] Lint the source code 2023-07-01 22:03:56 +02:00
Alain Nussbaumer
83e3d43a21 [web] Add pluralisation to the translations
Texts are now pluralized where necessary.
2023-07-01 21:53:52 +02:00
Alain Nussbaumer
91c5a4fa67 [web] Remove inline styles whenever possible
Most of the inline styles have been removed in favour of standard Bulma styles.
2023-07-01 18:19:29 +02:00
Alain Nussbaumer
60f1c84a21 [web] Replace custom CSS styles with standard Bulma styles
Standard Bulma styles are now used over custom styles.
2023-07-01 09:48:38 +02:00
Alain Nussbaumer
efe5f24049 [web] Fix vertical alignment of items presented in lists
Items presented in lists are not vertically centered.
2023-07-01 09:09:16 +02:00
Alain Nussbaumer
611c989b91 [web] Fix vertical alignment of all icons with their associated content
All icons, usually next to a text, are now centered vertically.
2023-06-30 21:41:40 +02:00
Alain Nussbaumer
cef98f689b [web] Lint source code
Removal of useless statements.
2023-06-30 03:54:15 +02:00
Alain Nussbaumer
3d2392567a [web] Remove empty JavaScript statements 2023-06-30 03:51:38 +02:00
Alain Nussbaumer
1c0ceec2be [web] Streamline usage of the same word for username in German 2023-06-30 03:45:54 +02:00
Alain Nussbaumer
fb84247982 [web] Fix missing translations in placeholder
Placeholders for input fields are now translated.
2023-06-30 03:44:35 +02:00
Alain Nussbaumer
4d3d738fd2 [web] Push generated index.js 2023-06-29 22:52:21 +02:00
Alain Nussbaumer
a06beacfcf [web] Fix security issue with word-wrap library 2023-06-29 22:52:21 +02:00
Alain Nussbaumer
c89aaa895f [web] Change cursor icon for stream volume when output is disabled
The cursor icon for the stream volume when the slider is inactive is now a Material Design Icon.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
523f88cc0b [web] Change cursor visuals when no operation is allowed on slider
The default cursor of the browser is now overridden by another icon from Material Design Icons.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
9556548fc7 [web] Fix the size of the slider handle
The slider handle is now the same size as it was initially. Moreover, it gets bigger on mobile.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
09a4b0d6f7 [web] Reduce the size of sliders
While keeping the ability to reach easily sliders, their visual size has been reduce to make them less bulky.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
0ec390907d [web] Use default Bulma styles instead of custom ones
In the context of sliders - specifically the volume control - Bulma styles have been used instead of custom styles for an easier maintainability.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
9180710953 [web] Remove unused CSS class
Cleanup of the CSS styles.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
b01ebf6503 [web] Fix cursor icon when slider is not active
When the slider is not active, the cursor changes to show that the control is not usable.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
892ce26f44 [web] Fix spacing of elements in the pages with hero content
Spacing is now identical to the former spacing.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
aef1c5aa3b [web] Generate index.css and index.js 2023-06-29 22:52:21 +02:00
Alain Nussbaumer
0e0eb474eb [web] Fix a bug preventing the options to be correctly hidden on the composer pages.
Now, when using the chevron (up and down), the option menu is revealed or hidden properly.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
82db8141ea [web] Use constant for interval
Instead of having the number 1000 written in multiple places, it is now a constant.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
979e60630e [web] Fix spacing of pages due to changes in the Now Playing Page
The top and bottom spacing for all the pages have been streamlined. Moreover, CSS styles have been reduced.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
181a0f171d [web] Make slider handle bigger on mobile devices
The handle of sliders - volume and progress - is now better reachable on mobile devices
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
395dd0e3d4 [web] Make a bigger hit box for the slider
The sliders can now be grabbed more easily.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
eeb4d328c8 [web] Improve user interaction with sliders for output volume and music progress bar #1620
The sliders for output volume and the music slider have been optimised and simplified (one library less) to ensure easier user interaction.
2023-06-29 22:52:21 +02:00
ejurgensen
b7a52d1761 Fix address error generated by mkdocs - mk2
Fix "does not appear to be an IPv4 or IPv6 address"
2023-06-22 22:21:27 +02:00
ejurgensen
dcdf4eacdc
Fix address error generated by mkdocs
Fix "does not appear to be an IPv4 or IPv6 address"
2023-06-22 16:30:13 +02:00
Alain Nussbaumer
38090bd73d [web] Fix missing translation in the search page
Translation of the placeholder in the search bar (library and Spotify) is now translated.
2023-06-21 20:34:39 +02:00
Alain Nussbaumer
f87c9d510f [web] Fix paths in generated index.html
Wrongly generated paths in the index.html had been committed.
2023-06-11 19:24:56 +02:00
Alain Nussbaumer
7f1febe9e1 [web] Replace custom styles with standard Bulma styles
Wherever possible, out of the box Bulma styles are now used instead of custom defined ones.
2023-06-11 08:44:45 +02:00
Alain Nussbaumer
6bb5578c3a [web] Use of Bulma color variables wherever possible
Avoid hard coded colors in the style sheet by using Bulma variables.
2023-06-11 08:32:52 +02:00
Alain Nussbaumer
36d76d7e3e [web] Fix for elongated cover artworks being distorted
Elongated cover artworks were distorted when displayed on album lists.
2023-06-11 08:27:45 +02:00
Alain Nussbaumer
bbe29a7a63 [web] Fix icon when track is not playable
Spotify tracks that are not playable have now a "not allowed" cursor when hovered.
Moreover, the Bulma CSS class is now used for clickable items instead of a custom one.
2023-06-10 19:22:29 +02:00
Alain Nussbaumer
6a2f85e04f [web] Fix for Spotify playlist not being played properly
If a Spotify playlist is containing unplayable tracks (e.g., wrong market), the position of the subsequent tracks in the playlist must be changed accordingly.
Moreover, the album property was provided for no reason.
2023-06-10 18:25:12 +02:00
Alain Nussbaumer
3b81791cd0 [web] Fix missing translations in modal dialog playlist view
The path and the playlist types are now translated.
2023-06-10 13:48:58 +02:00
Alain Nussbaumer
0bc13e7c63 [web] Fix for Spotify playlists with incorrect count of tracks and missing market data
Some Spotify playlists contain null tracks, thus provoking an incorrect count of track.
Moreover, the market data was missing in the API request.
2023-06-10 13:46:33 +02:00
Alain Nussbaumer
6183fafaea [web] Rename Audio Files to Files only
For consistency with the rest of the pages, the "Audio Files" setting is renamed "Files"
2023-06-08 22:17:55 +02:00
Alain Nussbaumer
9494f49147 [web] Fix missing translations
In the Spotify pages FeaturedPlaylists and NewReleases, their titles are now translated.
2023-06-08 21:51:03 +02:00
Alain Nussbaumer
387e531d64 [web] Cleanup of code to simplify
Useless methods have been removed and code has been partially cleaned up.
2023-06-07 21:25:54 +02:00
Alain Nussbaumer
3a1cc63e8f [web] Fix cover artwork display on different pages #1506
On some pages, the cover artwork was overlapping or not displayed properly. Moreover, the use of the component CoverArtwork has been generalised.
2023-06-07 18:55:44 +02:00
Alain Nussbaumer
931c7477c3 [web] Align the presentation of list of tracks
Makes the list of Spotify tracks ressemble the standard list of tracks.
2023-06-07 15:06:02 +02:00