refactor playlist duplicate error structure
- use non_field_errors struct when writing duplicate track errors - generalize frontend error handler and update frontend error parsing
Showing
- api/funkwhale_api/playlists/models.py 30 additions, 2 deletionsapi/funkwhale_api/playlists/models.py
- api/funkwhale_api/playlists/serializers.py 12 additions, 3 deletionsapi/funkwhale_api/playlists/serializers.py
- api/funkwhale_api/playlists/views.py 4 additions, 1 deletionapi/funkwhale_api/playlists/views.py
- api/tests/playlists/test_models.py 133 additions, 0 deletionsapi/tests/playlists/test_models.py
- api/tests/playlists/test_serializers.py 27 additions, 3 deletionsapi/tests/playlists/test_serializers.py
- changes/changelog.d/784.feature 1 addition, 0 deletionschanges/changelog.d/784.feature
- front/src/components/playlists/Editor.vue 41 additions, 6 deletionsfront/src/components/playlists/Editor.vue
- front/src/components/playlists/PlaylistModal.vue 33 additions, 6 deletionsfront/src/components/playlists/PlaylistModal.vue
- front/src/main.js 4 additions, 1 deletionfront/src/main.js
Loading
Please register or sign in to comment