63 Commits

Author SHA1 Message Date
shamoon
b687a8165a Fix: allow scroll long upload files alerts list (#6184) 2024-03-25 07:53:29 -07:00
shamoon
1e79431a3b Chore: miscellaneous frontend testing 2024-02-23 23:36:03 -08:00
shamoon
284456a880 Fix: consumer status alerts container blocks elements (#5762) 2024-02-14 08:25:58 -08:00
shamoon
00412c9255 Enhancement: add background to consumer statuses 2024-01-21 00:34:24 -08:00
shamoon
44ec85947d Chore: better bootstrap icons (#5403) 2024-01-18 00:27:38 +00:00
shamoon
9a15843b3b Refactor frontend data models 2023-12-19 22:36:35 -08:00
shamoon
daed79ee98 Chore: Update Angular to v17 (#4980) 2023-12-19 15:02:05 -08:00
shamoon
f5d19522ae Fix: replace drag drop & clipboard dependencies with Angular CDK (#4362)
* Swap ngx-drag-drop dependency for Angular CDK

* Swap ngx-clipboard dependency for Angular CDK
2023-10-16 19:46:16 -07:00
shamoon
182b4e6c72 Enhancement: dashboard improvements, drag-n-drop reorder dashboard views (#4252)
* Updated dashboard

* Make entire screen dropzone on dashboard too

* Floating upload widget status alerts

* Visual tweaks: spacing, borders

* Better empty view widget

* Support drag + drop reorder of dashboard saved views

* Update messages.xlf

* Disable dashbaord dnd if global dnd active

* Remove ngx-file-drop dep, rebuild file-drop & upload files widget

* Revert custom file drop implementation

* Try patch-package fix

* Simplify dropzone transitions to make more reliable

* Update messages.xlf

* Update dashboard.spec.ts

* Fix coverage
2023-09-28 10:18:12 -07:00
Marwan Khalil
244a5d342b Fix: completely hide upload widget if user does not have permissions (#4198) 2023-09-17 14:53:20 +00:00
shamoon
6cbf30991d Migrate frontend prefix to -pngx 2023-09-14 14:51:02 -07:00
shamoon
0a2f06b68e Update frontend consumer status phases 2023-07-26 07:03:43 -07:00
shamoon
181673c9a3 frontend unit tests
toasts component testing

conditional import of angular setup-jest for vscode-jest support

Update jest.config.js

Create open-documents.service.spec.ts

Add unit tests for all REST services

settings service test

Remove component from settings service test

Create permissions.service.spec.ts

upload documents service tests

Update package.json

Create toast.service.spec.ts

Tasks service test

Statistics widget component tests

Update permissions.service.ts

Create app.component.spec.ts

settings component testing

tasks component unit testing

Management list component generic tests

Some management component tests

document notes component unit tests

Create document-list.component.spec.ts

Create save-view-config-dialog.component.spec.ts

Create filter-editor.component.spec.ts

small and large document cards unit testing

Create bulk-editor.component.spec.ts

document detail unit tests

saving work on documentdetail component spec

Create document-asn.component.spec.ts

dashboard & widgets unit testing

Fix ResizeObserver mock

common component unit tests

fix some merge errors

Update app-frame.component.spec.ts

Create page-header.component.spec.ts

input component unit tests

FilterableDropdownComponent unit testing

and found minor errors

update taskservice unit tests

Edit dialogs unit tests

Create date-dropdown.component.spec.ts

Remove selectors from guard tests

confirm dialog component tests

app frame component test

Miscellaneous component tests

Update document-list-view.service.spec.ts

directives unit tests

Remove unused resizeobserver mock

guard unit tests

Update query-params.spec.ts

try to fix flaky playwright

filter rules utils & testing

Interceptor unit tests

Pipes unit testing

Utils unit tests

Update upload-documents.service.spec.ts

consumer status service tests

Update setup-jest.ts

Create document-list-view.service.spec.ts

Update app-routing.module.ts
2023-06-15 23:53:04 -07:00
Michael Shamoon
d875d06f37 lint for eslint 2022-12-17 21:49:08 -08:00
Michael Shamoon
605480ab4a Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -08:00
Michael Shamoon
20e1779313 lint frontend 2022-12-15 23:36:01 -08:00
Michael Shamoon
dfdfd8a7d7 Refactor permissions to use enums, permissions service 2022-11-12 04:31:42 -08:00
Michael Shamoon
5c5486d2ea Refactor permissions check code
Directly check permissions and no subscription (uisettings is always initialized on frontend startup)
update permission directive to accept single string
add explicit management permission name
2022-11-11 15:45:37 -08:00
Kaaybi
084fe2c050 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
Michael Shamoon
06259a2aad Complete welcome tour 2022-10-09 23:47:31 -07:00
Michael Shamoon
b90e339d10 Remove unneeded imports since change to css vars 2022-04-13 08:43:35 -07:00
Michael Shamoon
f173f59ec7 fix some broken css vars 2022-04-07 14:27:49 -07:00
Michael Shamoon
8b1337d7f9 fix overlay background color in dark mode 2022-04-05 13:16:13 -07:00
Michael Shamoon
0c9482e848 Refactor uploads to service, working global dd 2022-04-05 13:16:12 -07:00
Frank Strieter
4377d15599 test: remove most of the boilerplate tests 2022-03-23 09:24:07 +01:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
Michael Shamoon
4705daf6f4 bs5: upload widget dismissal button 2022-02-20 00:05:45 -08:00
Yannic Schroeder
0aaf553acc Migrate Bootstrap utilities to v5
Names of utility classes have changed:
https://getbootstrap.com/docs/5.0/migration/#utilities
2022-02-20 01:25:57 +01:00
Yannic Schroeder
0deaf25285 Fix wrong migrations from update to Angular 13 2022-02-20 00:15:43 +01:00
Yannic Schroeder
73f1bcc9ef Update to Angular 13 2022-02-20 00:14:35 +01:00
jonaswinkler
8151b73c1d fix #735 2021-03-10 18:32:57 +01:00
jonaswinkler
9a34d5c804 dismiss completed dismisses successful items only 2021-02-04 16:55:48 +01:00
jonaswinkler
d8db2d78e0 display http errors 2021-02-03 16:01:32 +01:00
jonaswinkler
21db951940 Merge branch 'dev' of github.com:jonaswinkler/paperless-ng into dev 2021-02-02 13:14:11 +01:00
jonaswinkler
f5ce833846 more message changes 2021-02-02 13:10:51 +01:00
jonaswinkler
0814a89a72 updates messages 2021-02-02 12:58:11 +01:00
jonaswinkler
d154dfd35e added a status summary line 2021-01-28 10:54:56 +01:00
jonaswinkler
40c6d2c7ce i18n 2021-01-27 19:11:50 +01:00
jonaswinkler
dcf1698828 improved the logic of the "dismiss completed" button 2021-01-27 18:34:59 +01:00
jonaswinkler
dfcfeab1b1 settings and localization 2021-01-27 17:28:11 +01:00
jonaswinkler
5f7436ff9f proper messages when uploading fails 2021-01-27 16:04:06 +01:00
jonaswinkler
846f09495e better error messages 2021-01-27 15:50:37 +01:00
Michael Shamoon
cc0a1859f7 Maximum limit of alerts 2021-01-26 14:48:39 -08:00
Michael Shamoon
e031f7ed44 Dark mode support 2021-01-26 10:09:13 -08:00
Michael Shamoon
b5591713b3 Fix alert resizing 2021-01-26 09:50:48 -08:00
Michael Shamoon
1d20343f6e Dismiss all 2021-01-26 02:52:16 -08:00
Michael Shamoon
62d3c27e4b Lovely file upload alerts 2021-01-26 02:32:45 -08:00
Michael Shamoon
5da2bced94 Drop over background color 2021-01-26 00:17:27 -08:00
jonaswinkler
47fa11e01d functions for combined upload progress bars 2021-01-26 01:10:39 +01:00
jonaswinkler
8c02705da8 rework of the front end components 2021-01-26 00:51:45 +01:00