Commit Graph

762 Commits

Author SHA1 Message Date
Alain Nussbaumer
7119d95713 [web] Bring more consistency in the settings page 2023-12-31 13:32:17 +01:00
Alain Nussbaumer
864f28de9a [web] Use OwnTone colours 2023-12-31 13:25:44 +01:00
Alain Nussbaumer
ec289a8b1d [web] Remove unused translations 2023-12-31 13:24:24 +01:00
Alain Nussbaumer
69f4af5df6 [web] Remove unused API method 2023-12-31 12:56:26 +01:00
Alain Nussbaumer
1c7a4b2a4d [web] Update to newer versions of libraries 2023-12-31 12:54:57 +01:00
Alain Nussbaumer
54ad586941 [web] Remove useless i18n configuration 2023-12-27 17:14:10 +01:00
Alain Nussbaumer
c5628adb55 [web] Upgrade libraries 2023-12-27 17:10:09 +01:00
Alain Nussbaumer
9dc3918914 [web] Use newer versions of libraries 2023-12-17 18:38:55 +01:00
Alain Nussbaumer
04feda45c9 [web] Add filter for Spotify content on "Artist Tracks" and "Artist Album" pages. Partially answer #1650 2023-12-17 18:37:35 +01:00
Alain Nussbaumer
2d33dea6d3 [web] Use newer versions of libraries 2023-12-15 17:53:42 +01:00
Alain Nussbaumer
955b9658e9 [web] Fix the example command to run the local server instance 2023-12-15 17:53:17 +01:00
Alain Nussbaumer
abbd02e925 [web] Revert back to having one chunk of JavaScript for the web interface 2023-12-15 17:28:33 +01:00
Alain Nussbaumer
67f716ff43 [web] Reorder properties and methods 2023-12-14 20:47:27 +01:00
Alain Nussbaumer
1b666fe936 [web] Remove the need to set the layer index for the bottom menu 2023-12-14 20:36:47 +01:00
Alain Nussbaumer
1daf625618 [web] Allows the top menu to be over the tabs 2023-12-14 20:30:34 +01:00
Alain Nussbaumer
5b26bc47fa [web] Reorder methods and properties 2023-12-14 10:48:44 +01:00
Alain Nussbaumer
ba3f656b3a [web] Reorder methods 2023-12-14 10:43:22 +01:00
Alain Nussbaumer
e26055cb76 [web] Use newer versions of libraries 2023-12-14 10:42:43 +01:00
Alain Nussbaumer
8085d0344a [web] Remove unused states 2023-12-14 09:32:46 +01:00
Alain Nussbaumer
db6279bc88 [web] Reorder methods of API alphabetically 2023-12-13 20:54:22 +01:00
Alain Nussbaumer
775108f088 [web] Clean code for better maintainability 2023-12-13 20:15:07 +01:00
Alain Nussbaumer
6f6d804e44 [web] Use newer versions of libraries 2023-12-12 21:23:29 +01:00
Alain Nussbaumer
5e04a9d22a [web] Make GroupByList class more maintainable 2023-12-12 21:20:41 +01:00
Alain Nussbaumer
7c9df8cc79 [web] Reorganise store properties alphabetically 2023-12-12 21:17:28 +01:00
Alain Nussbaumer
d4dbd02930 [web] Add default values to the library object 2023-12-12 21:10:00 +01:00
Alain Nussbaumer
012f5d6635 [web] Use of lazy loading routes 2023-12-12 20:58:35 +01:00
Alain Nussbaumer
45b50086b9 [web] Remove unnecessary computed property 2023-12-12 20:29:21 +01:00
Alain Nussbaumer
d50c94a63c [web] Remove unused computed properties 2023-12-12 20:06:34 +01:00
Alain Nussbaumer
ddf45735e0 [web] Fix for Spotify podcast episodes not treated properly in the modal dialog for tracks 2023-12-09 22:27:48 +01:00
Alain Nussbaumer
00343cfa91 [web] Reorder methods 2023-12-09 22:02:11 +01:00
Alain Nussbaumer
5d3fa4e087 [web] Fix modal dialog for tracks 2023-12-09 22:00:03 +01:00
Alain Nussbaumer
777d98ce80 [web] Fix modal dialog for queue items
Whenever a field is not existing for an item, the name of the field is not displayed anymore.
2023-12-09 21:35:51 +01:00
Alain Nussbaumer
76282e2031 [web] Bump library versions 2023-12-09 21:07:46 +01:00
Alain Nussbaumer
b98812f64b [web] Fix code formatting 2023-12-09 10:51:57 +01:00
Alain Nussbaumer
8d501f9ef1 [web] Streamline usage of styles 2023-12-09 10:49:15 +01:00
Alain Nussbaumer
8733eb46f1 [web] Remove unnecessary CSS styles 2023-12-09 10:46:30 +01:00
Alain Nussbaumer
b2ee4f3f19 [web] Use default Bulma progress bar styles 2023-12-08 21:09:14 +01:00
Alain Nussbaumer
7fcc0473a8 [web] Order icons alphabetically 2023-12-08 11:55:17 +01:00
Alain Nussbaumer
e89c3929cc [web] Add the medium numbers when an album has multiple media #1629 2023-12-08 10:12:03 +01:00
Alain Nussbaumer
6a84498645 [web] Fix French translation mistake 2023-12-08 03:19:28 +01:00
Alain Nussbaumer
418856bff1 [web] Bump versions of libraries 2023-12-07 22:17:41 +01:00
Alain Nussbaumer
c9971ad760 [web] Streamline imports 2023-12-07 22:14:23 +01:00
Alain Nussbaumer
545f6c36c9 [web] Remove unused variables 2023-12-07 21:34:07 +01:00
Alain Nussbaumer
d0cd0c4bc7 [web]S Streamline code of pages 2023-12-07 21:31:10 +01:00
Alain Nussbaumer
e8363781af [web] Remove leading zero in time representations 2023-12-07 17:38:13 +01:00
Alain Nussbaumer
7456d958ba [web] Use CSS Bluma variables whenever possible 2023-12-07 16:43:47 +01:00
Alain Nussbaumer
a335989155 [web] Fix notification block for long messages
When long messages have to be displayed, their text no longer goes beyond the frame.
2023-12-07 15:57:16 +01:00
Alain Nussbaumer
3fc349370f [web] Bump package version for security reasons 2023-12-06 20:32:48 +01:00
Alain Nussbaumer
39847bab35 [web] Fix volume for stream not working in Safari 2023-12-06 20:24:55 +01:00
Alain Nussbaumer
a39229d7be [web] Fix to center content in the playback page 2023-11-29 11:49:24 +01:00
Alain Nussbaumer
4332a43fb9 [web] Fix for full height not taking into account both navigation bars 2023-11-29 11:38:39 +01:00
Alain Nussbaumer
84d538e37f [web] Remove style class having no effect in this context 2023-11-29 11:18:43 +01:00
Alain Nussbaumer
9c1639d7d7 [web] Simplify CSS styling 2023-11-29 01:27:48 +01:00
Alain Nussbaumer
58b06ee5ff [web] Replace hard-coded values with Bulma variables 2023-11-28 21:12:42 +01:00
Alain Nussbaumer
bd70054ce9 [web] Remove useless line in the menu 2023-11-28 20:39:30 +01:00
Alain Nussbaumer
08b4dc3a52 [web] Fix web linting issue 2023-11-28 18:16:54 +01:00
Alain Nussbaumer
b783c39164 [web] Fix Vite warning 2023-11-28 18:11:57 +01:00
Alain Nussbaumer
a0c02ce022 [web] Bump to newer versions of libraries 2023-11-28 17:58:45 +01:00
Alain Nussbaumer
d627033141 [web] Improve the search of verse in the lyrics 2023-11-28 17:55:16 +01:00
X-Ryl669
47ad03b775 [web] Various CSS fixes 2023-11-28 14:23:25 +01:00
Alain Nussbaumer
ed40b5361e [web] Fix the cover art being distorted #1689 2023-11-27 19:16:21 +01:00
Alain Nussbaumer
a828356e0e [web] Fix height of cover art, preventing seeking the audio 2023-11-26 21:58:15 +01:00
Alain Nussbaumer
26089a05e0 [web] Fix linting warning 2023-11-26 21:55:43 +01:00
Alain Nussbaumer
b7ad3c8d45 [web] Make the lyrics pane code more readable 2023-11-26 21:39:56 +01:00
Alain Nussbaumer
553d35ef82 [web] Make code more readable 2023-11-26 16:49:37 +01:00
Alain Nussbaumer
66b1e444d1 [web] Format source code 2023-11-26 15:59:14 +01:00
Alain Nussbaumer
a9092e54c0 [web] Move parsing of lyrics to the lyrics pane 2023-11-26 15:38:45 +01:00
Alain Nussbaumer
026e80ed64 [web] Remove console.log() output 2023-11-25 16:48:11 +01:00
Alain Nussbaumer
00e57a7473 [web] Fix linting error 2023-11-25 16:45:15 +01:00
Alain Nussbaumer
f419869dfc [web] Fix a the lyrics pane overlapping the slider
When the track played has a composer or a long title, the slider is not covered by the lyrics pane anymore.
2023-11-25 16:38:50 +01:00
Alain Nussbaumer
d146a9e940 [web] Simplify lyrics button 2023-11-24 16:28:35 +01:00
Alain Nussbaumer
b39eb0b51d [web] Lint source code 2023-11-24 15:56:04 +01:00
Alain Nussbaumer
095d60af00 [web] Lint source code 2023-11-24 15:48:29 +01:00
Alain Nussbaumer
5c7ec031b5 [web] Format comments 2023-11-24 15:32:05 +01:00
Alain Nussbaumer
91c1e5b174 [web] Fix for unexpected calls to the API #1688
Lyrics feature doesn't mess anymore when the user is playing tracks from Spotify
2023-11-24 13:58:30 +01:00
Alain Nussbaumer
f19e9fb48b [web] Remove unused code 2023-11-24 13:36:48 +01:00
Alain Nussbaumer
dae6d1eebc [web] Fix temporarily the bug #1688 2023-11-23 21:27:05 +01:00
Alain Nussbaumer
8e80503e81 [web] Make cancel button color match other dialog windows. 2023-11-23 20:45:24 +01:00
Alain Nussbaumer
cd42688357 [web] Fix text not being displayed when loading RSS feed 2023-11-23 20:43:31 +01:00
Alain Nussbaumer
f9d6056844 [Web] Correct French translation 2023-11-23 20:40:55 +01:00
Alain Nussbaumer
6741fcbc49 [web] Make title match action 2023-11-23 20:39:19 +01:00
Alain Nussbaumer
7142e87cf2 [web] Enforce 4-digit pins 2023-11-23 20:38:16 +01:00
Alain Nussbaumer
11616f5d32 [web] Reinforce check of URL entry 2023-11-23 20:36:55 +01:00
Alain Nussbaumer
406c87f765 [web] Change to template literals 2023-11-23 20:23:40 +01:00
Alain Nussbaumer
f035a0ed3f [web] Format source code 2023-11-21 17:09:06 +01:00
X-Ryl669
3fc149339b [web] Ensure current lyric is centered 2023-11-21 16:48:24 +01:00
X-Ryl669
8d56f91117 [web] Add spacing before first and after last lyric. Fix a bug for the first lyric animation being triggerd before it'd have started 2023-11-21 15:48:24 +01:00
Alain Nussbaumer
28585bc217 [web] Fix "History" tab not being highlighted 2023-11-21 15:45:00 +01:00
Alain Nussbaumer
ef378088dd [web] Fix name of pages 2023-11-21 15:27:25 +01:00
Alain Nussbaumer
ed893d8774 [web] Update libraries to their latest versions 2023-11-21 15:26:34 +01:00
Alain Nussbaumer
d524a3e757 [web] Format source code 2023-11-21 15:26:13 +01:00
Alain Nussbaumer
356fcf8aa7 [web] Rename "Browse" tabs in the Music page to "History" #1685
At the same time, makes the naming of the underlying pages more coherent.
2023-11-21 15:25:27 +01:00
Alain Nussbaumer
9cb961ef7f [web] Upgrade to newer version of libraries 2023-11-21 11:06:27 +01:00
X-Ryl669
4574400ce2 [web] Fix pause blinking bug on lyrics pane 2023-11-17 20:48:22 +01:00
X-Ryl669
ee1bd1ebda [web] Cosmetic changes for the lyrics pane. Also changed the current lyric playing model against the text wrap bug on smaller screen. 2023-11-17 20:07:07 +01:00
X-Ryl669
5e370e479a [web] Add lyrics player to the webinterface
Update icons.js
Add icons in alphabetical order.
Change comment to remove reference to external website
Remove extra line feeds

Co-Authored-by: Alain Nussbaumer <alain.nussbaumer@alleluia.ch>
2023-11-13 16:37:02 +01:00
dependabot[bot]
8049760703
Bump postcss from 8.4.27 to 8.4.31 in /web-src
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 22:02:32 +00:00
ejurgensen
a9e20abf06 Revert "[web] Add lyrics player to the webinterface"
This reverts commit 98a844b409.
2023-10-21 22:41:45 +02:00
X-Ryl669
98a844b409 [web] Add lyrics player to the webinterface
Update icons.js
Add icons in alphabetical order.
Change comment to remove reference to external website
Remove extra line feeds

Co-Authored-by: Alain Nussbaumer <alain.nussbaumer@alleluia.ch>
2023-10-19 23:49:53 +02:00
Alain Nussbaumer
d7d3a0767d [web] Correct the use of Bulma variables in the CSS
The variables for colors are now correctly referenced in the CSS.
2023-10-08 10:47:26 +02:00
Alain Nussbaumer
dcbdee6598 [web] Fix settings page not displaying properly when the language is not found
When the user is using a language that is not available in OwnTone, the fallback language is set to English.
2023-08-06 10:59:20 +02:00
Alain Nussbaumer
60015e1da2 [web] Provide similar style between podcast, audiobook, and album pages
The podcast page is now similar to the audiobook or album pages. Thus, making the UI a bit more coherent.
2023-07-26 16:12:21 +02:00
Alain Nussbaumer
c20c80b757 [web] Format source code 2023-07-26 16:04:12 +02:00
Alain Nussbaumer
d84b7dc80f [web] Fix alignment of labels with their switch button 2023-07-26 12:59:16 +02:00
Alain Nussbaumer
6b37de78ba [web] Remove unused functions 2023-07-26 10:34:16 +02:00
Alain Nussbaumer
9964018f0e [web] Fix for list of tracks not playing from the correct position 2023-07-26 08:07:51 +02:00
Alain Nussbaumer
c513e0044e [web] Use "router link" for the list of index buttons 2023-07-26 08:05:13 +02:00
Alain Nussbaumer
6ae8c4c6bd [web] Fix for issue preventing the page of composer albums from being displayed 2023-07-26 08:03:44 +02:00
Alain Nussbaumer
a3942aad81 [web] Avoid the loading progress bar being shown when navigating on the same page 2023-07-26 06:45:46 +02:00
Alain Nussbaumer
7f38c4fa87 [web] Fix the missing bottom margin on pages with tabs 2023-07-26 06:37:33 +02:00
Alain Nussbaumer
a484f89e0a [web] Fix an issue preventing the index button list to work in the genre pages 2023-07-25 19:12:12 +02:00
Alain Nussbaumer
294e640ac1 [web] Fix positioning of scrolling when pages don't have tabs 2023-07-25 18:41:51 +02:00
Alain Nussbaumer
dd5b4dcb32 [web] Remove dependency to "vue-scrollto" library
The UI has now one dependency less to a third party library.
2023-07-25 16:39:16 +02:00
Alain Nussbaumer
d733a17871 [web] Fix lint errors 2023-07-25 14:41:34 +02:00
Alain Nussbaumer
d38236fb37 [web] Simplify CSS 2023-07-25 14:40:18 +02:00
Alain Nussbaumer
a264efe2bb [web] Fix genre not being displayed correctly depending on the media kind
The genre is not displayed depending on the media kind and not only for the "music" kind.
2023-07-24 19:51:00 +02:00
Alain Nussbaumer
ca30b82e9a [web] Remove unused method 2023-07-24 19:22:24 +02:00
Alain Nussbaumer
c9a35c7346 [web] Lint code for better maintainability
For this pass, mainly the import order has been changed.
2023-07-18 15:48:56 +02:00
Alain Nussbaumer
9d62c94d86 [web] Fix modal dialogs not closing when opening artist or album page and renaming of views
Whenever an artist or album page is opened from a modal dialog, the latter is properly closed. Moreover, the views have been renamed for better maintainability.
2023-07-18 15:19:24 +02:00
Alain Nussbaumer
34ea8115a8 [web] Fix playlist page displaying one ghost entry when no playlist are present
When there are no playlists or all of them are filtered out, the list of playlists is now completely empty.
2023-07-18 14:08:52 +02:00
Alain Nussbaumer
19cdd895f0 [web] Use named route for playlists
Switching to named routes in order to reduce future maintenance.
2023-07-15 22:04:01 +02:00
Alain Nussbaumer
d4c3d27688 [web] Use named route for audiobook pages
Switching to named routes in order to reduce future maintenance.
2023-07-15 21:56:44 +02:00
Alain Nussbaumer
fee215a25c [web] Use named route for genre pages.
Switching to named routes in order to reduce future maintenance.
2023-07-12 23:13:13 +02:00
Alain Nussbaumer
b821fdf01f [web] Use named route for composer pages
Switching to named routes in order to reduce future maintenance.
2023-07-12 23:02:02 +02:00
Alain Nussbaumer
6f1f53007d [web] Use named route for search pages
Switching to named routes in order to reduce future maintenance.
2023-07-12 22:39:21 +02:00
Alain Nussbaumer
845f111c29 [web] Use named route for Spotify pages
Switching to named routes in order to reduce future maintenance.
2023-07-12 21:30:52 +02:00
Alain Nussbaumer
2bec9e1886 [web] Use named route for the browse page
Switching to named routes in order to reduce future maintenance.
2023-07-12 17:47:16 +02:00
Alain Nussbaumer
19c315a43a [web] Use named route for the music page
Switching to named routes in order to reduce future maintenance.
2023-07-12 17:25:47 +02:00
Alain Nussbaumer
493621a28b [web] Use named route for settings
Switching to named routes in order to reduce future maintenance.
2023-07-11 09:51:17 +02:00
Alain Nussbaumer
59aa462b05 [web] Use named route for genres
Switching to named routes in order to reduce future maintenance.
2023-07-10 20:54:52 +02:00
Alain Nussbaumer
d0fbd68523 [web] Use named route for music albums
Switching to named routes in order to reduce future maintenance.
2023-07-10 20:43:10 +02:00
Alain Nussbaumer
60374c2f47 [web] Use named route for music artists
Switching to named routes in order to reduce future maintenance.
2023-07-10 20:33:07 +02:00
Alain Nussbaumer
d4a484f20e [web] Use named route for audiobook albums and artists
Switching to named routes in order to reduce future maintenance.
2023-07-10 20:08:35 +02:00
Alain Nussbaumer
63586db7b6 [web] Use named route for radio page
Switching to named routes in order to reduce future maintenance.
2023-07-10 19:25:17 +02:00
Alain Nussbaumer
c8488f999b [web] Use named route for Spotify playlists
Switching to named routes in order to reduce future maintenance.
2023-07-10 15:46:49 +02:00
Alain Nussbaumer
4b62e85c95 [web] Use named route for playlist pages
Switching to named routes in order to reduce future maintenance.
2023-07-10 15:37:40 +02:00
Alain Nussbaumer
05486ac7a2 [web] Use named route for the Spotify search page
Switching to named routes in order to reduce future maintenance.
2023-07-10 13:58:26 +02:00
Alain Nussbaumer
c6a57a38f9 [web] Use named route for the files page
Switching to named routes in order to reduce future maintenance.
2023-07-10 13:24:42 +02:00
Alain Nussbaumer
44d488467e [web] Use named route for the podcasts page
Switching to named routes in order to reduce future maintenance.
2023-07-10 13:09:27 +02:00
Alain Nussbaumer
f09647d754 [web] Use named route for the "now playing" page
Switching to named routes in order to reduce future maintenance.
2023-07-10 12:19:34 +02:00
Alain Nussbaumer
87ccdf7723 [web] Use named route for the library search page
Switching to named routes in order to reduce future maintenance.
2023-07-10 12:10:39 +02:00
Alain Nussbaumer
ed654381b8 [web] Use named route for the page queue
Switching to named routes in order to reduce future maintenance.
2023-07-10 11:57:29 +02:00
Alain Nussbaumer
9f3fee08b2 [web] Use named route for the about page
Switching to named routes in order to reduce future maintenance.
2023-07-10 10:37:45 +02:00
Alain Nussbaumer
53e132f441 [web] Use named route for podcast page
Switching to named routes in order to reduce future maintenance.
2023-07-10 10:03:05 +02:00
Alain Nussbaumer
72c5172f12 [web] Use named route for audiobook albums
Switching to named routes in order to reduce future maintenance.
2023-07-10 09:52:52 +02:00
Alain Nussbaumer
5c573f7138 [web] Fix display of artists having a very long name
Artists with very long names do not overlap the rest of the UI.
2023-07-09 00:25:06 +02:00
Alain Nussbaumer
0a072c7889 [web] Rename "Dropdown" control
The control "Dropdown" is renamed and depending components have been linted.
2023-07-08 14:43:38 +02:00
Alain Nussbaumer
332a57040e [web] Fix the centering of the player buttons
The buttons of the player are not centered.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
6c3e74d159 [web] Add Chinese translation
The web UI is now translated to Chinese.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
583b676489 [web] Create a slider component
As a component, the slider is easier to maintain.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
4cddfa4dfc [web] Fix spacing of title text on the "Radio" page.
The "Radio" page has now the same spacing between the title and subtitle as the one on other pages.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
ae2a789c22 [web] Remove custom CSS styles in favour of standard Bulma styles.
In order to reduce maintenance efforts, custom styles are removed whenever possible.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
1cdee635d7 [web] Pluralisation when there is no occurrence of an item
Proper translations If there are no occurrence of a specific item.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
cad9962cec [web] Fix missing rounded corner on some modal dialogs
Modal dialogs having elements with a background in their footer are now properly rounded.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
c268d093ca [web] Fix missing rounded corner on some modal dialogs
Modal dialogs having elements with a background in their footer are now properly rounded.
2023-07-07 13:26:19 +02:00
Alain Nussbaumer
e4f4824023 [web] Fix a warning message in the console on the "About" and "Search" pages.
When accessing the "About" and "Search", no warning is shown regarding the scope of translations.
2023-07-02 20:21:39 +02:00
Alain Nussbaumer
5e73554ad5 [web] Fix an issue preventing files to be added from the "Files" modal dialog
It is now possible to add files from the modal dialog for files.
2023-07-02 19:42:10 +02:00
Alain Nussbaumer
a7ca88574c [web] Fix album not being displayed on the "Now Playing" page
Whenever available, the album information is now displayed on the "Now Playing Page".
2023-07-02 19:31:05 +02:00
Alain Nussbaumer
56842bb469 [web] Fix incorrect colour of loading progress bar
All informative UI elements have now the information colour defined in Bulma.
2023-07-02 19:20:44 +02:00
Alain Nussbaumer
ea3975753d [web] Fix issue preventing adding tracks from the artist tracks page 2023-07-02 19:14:47 +02:00
Alain Nussbaumer
adf9e8c969 [web] Fix incorrect disabling of queue buttons 2023-07-02 19:13:38 +02:00
Alain Nussbaumer
85955ef13c [web] Remove console logging 2023-07-02 18:46:10 +02:00
Alain Nussbaumer
8996021d83 [web] Fix issue preventing adding tracks to the queue from the artist tracks page 2023-07-02 18:45:45 +02:00
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
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
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
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
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
Alain Nussbaumer
a38da31d17 [web] Fix of wrong French translation
In the page listing the artists, the count of them was not properly translated.
2023-06-05 20:38:15 +02:00
Alain Nussbaumer
65b16c60fb [web] Add hint on buttons of the audio player when hovering them #1512
When hovering the buttons of the player, a short description is displayed. Moreover, the seek buttons are explicit now.
2023-06-04 18:25:47 +02:00
Alain Nussbaumer
f454e9229e [web] Remove never called method
The method scrollToTop was a relic of the past and has been removed. The scrolling is now done in ContentWithHeading.
2023-06-04 15:59:21 +02:00
Alain Nussbaumer
a1046f3913 [web] Fix for items not displaying because of their name
Albums, artists, composers, genres, and any other items listed on page where they appear sorted by names are now all displayed properly.
2023-06-04 13:54:01 +02:00
Alain Nussbaumer
78b50bc088 [web] Bump to newer versions of packages
Newer versions of JavaScript packages are now used.
2023-06-03 19:49:22 +02:00
Alain Nussbaumer
0fcf99c8e9 [web] Remove unused play_track function
The play_track function was useless because already present in the ListTracks component.
2023-06-03 19:23:43 +02:00
Alain Nussbaumer
1b71cf2a15 [web] Fix inability to start from a specific track of an album
In the album view, whatever the chosen track, the player always started from the first track of the album.
2023-06-03 19:22:02 +02:00
Alain Nussbaumer
6bf40c139d [web] Remove console logging
Console logging has been removed from all the pages.
2023-06-03 18:58:11 +02:00
Alain Nussbaumer
fc5d284588 [web] Remove useless condition
No action is taken from this conditional test and therefore can be removed.
2023-06-03 18:53:39 +02:00
Alain Nussbaumer
aa3127167b [web] Beautify code
The source code has been beautified to follow the coding standards.
2023-06-03 18:52:17 +02:00
Alain Nussbaumer
025a1c73a8 [web] Fix non-closing album modal dialog
When clicking on the artist name in the album modal dialog, the dialog was not close.
2023-06-03 18:44:49 +02:00
Alain Nussbaumer
8e4a3fe16a [web] Add missing translation
The French translation for the word "Search" was missing.
2023-06-03 08:40:49 +02:00
Alain Nussbaumer
9bd68ca306 [web] Fix an issue preventing removal of RSS podcasts #1616
RSS podcasts can now be removed. Moreover, the remove option is not shown anymore to non-RSS podcasts.
2023-06-02 23:13:44 +02:00
Alain Nussbaumer
784de0c4a1 [web] Fix for translations not being displayed
In the Now Playing page, translations for an empty queue where not displayed.
2023-06-02 22:22:32 +02:00
Alain Nussbaumer
b0f418abda [web] Add missing translations
Translations were missing for the remove podcast feature. A cleanup of the German translation files has been done as well.
2023-06-02 22:13:38 +02:00
Alain Nussbaumer
0d095b3037 Fix for #1606 2023-05-11 11:24:34 +01:00
Alain Nussbaumer
21173d6480 Fix for byRating function 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
41d80c4f1a #1473 Fix the listing of files 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
c6b4f565a5 #1473 Add sort by rating for composer, genre, and artist tracks. 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
88425fc38d [web] Wrong label for play button in audiobook page 2023-04-05 20:23:19 +02:00
Alain Nussbaumer
9df15c1f58 Minor translation errors 2023-03-26 17:11:43 +02:00
ejurgensen
90e0be07e2
Merge pull request #1593 from hacketiwack/error-message 2023-03-17 13:53:53 +01:00
Alain Nussbaumer
c9c6094e5b Error message not displayed 2023-03-17 00:19:14 +01:00
Alain Nussbaumer
6069fd07e3 I18n: Correction of translations in French, German, and English 2023-03-16 23:47:04 +01:00
lordmyschkin
a4ae747b15 [web] Optionally Show FilePath on Now playing-Page 2023-03-15 22:32:16 +01:00
dependabot[bot]
88b89053d4
Bump vite from 2.9.12 to 2.9.13 in /web-src
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.12 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 15:51:14 +00:00
dependabot[bot]
376f41c464
Bump luxon from 2.4.0 to 2.5.2 in /web-src
Bumps [luxon](https://github.com/moment/luxon) from 2.4.0 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.4.0...2.5.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 14:56:49 +00:00
whatdoineed2do/Ray
cc3cceaa99 [web-src] remove absolute paths in index.html and force vite generation to allow reverse proxy from an subpath 2023-02-05 17:16:07 +01:00
lordmyschkin
6ac88d677b minor improvments to german translation 2023-01-23 18:58:42 +01:00
Alain Nussbaumer
879feab518 [web] Fix for error messages not displaying #1500 2023-01-23 04:37:43 -08:00
whatdoineed2do/Ray
dd1b39b347 [web] directory modal handling fix 2023-01-21 21:46:14 +00:00
LordMyschkin
4f848948e7
[web] German translation
German translation

Co-authored-by: lordmyschkin <martin@dieroths.at>
2023-01-21 16:50:06 +01:00
Alain Nussbaumer
3f05487abb
[web] Remove inexistent property use_libspotity #1492 (#1498) 2022-06-17 09:36:07 +02:00
chme
da24e9f81b [web] Update dependencies 2022-06-16 06:45:26 +02:00
chme
431ad51b66 [web] Fix linting error (vue/no-v-text-v-html-on-component) 2022-06-16 06:45:26 +02:00
chme
ae0fb921d5 [web] Fix display search results 2022-06-16 06:45:25 +02:00
chme
daba58f05f [web] Fix display of playlists in files page 2022-06-15 20:04:54 +02:00
chme
f167f3c2fc [web] Fix display of path in directory modal 2022-06-15 20:04:54 +02:00
chme
58c6b2891c [web] Revert icon changes (fixes ignored size attribute) 2022-06-15 20:04:54 +02:00
Alain Nussbaumer
c020905f2e [web] #1493 Fix directory modal dialog not showing up 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
911bd59116 [web] Fix French translation parameters 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
f11c66c42d [web] Fix missing translation. Detect user locale 2022-06-09 10:43:03 +02:00