Matthias Mair
f58eacf64e
[PUI] Add coverage testing ( #6881 )
...
* add coverage to PUI
* fix testing command
* always do all steps
* fix test assumptions
* add test for serving and logging into pui from django / cui tech stack
* fix up coverage
* fix intentation
* remove paralell flags
* remove coverage finish step
* remove flag
* change names
* add full clickdown test
* more tests
* more tests
* sprinkle in some timeouts
* try using admin
* disable page 1 tests for now
* remove additional tests for now
* only build sourcemaps if coverage is enabled
* fix sourcemap assumption
* Update .github/workflows/qc_checks.yaml
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* fix package.json
* add finish step
---------
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
2024-04-03 19:26:38 +11:00
Oliver
0be741562d
Implement URL redirect for PUI ( #6872 )
...
* Implement URL redirect for PUI
- Return from login page to redirect URL
- Return from auth check to redirect URL
* fix PUI test assumption
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-03-28 06:56:02 +11:00
Matthias Mair
02d55b9c87
Squashed commit of the following: ( #5785 )
...
commit 5e8ea099068475fd257d8c172348dc6f3edf9bcf
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 09:22:38 2023 +0200
Update ui_plattform.spec.ts
commit 49da3312beff7fd6837ea741e621df221c445d19
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 07:56:25 2023 +0200
more logging
commit 5337be4c3990051b805a6fce2e79ca4030b4afe5
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 07:56:11 2023 +0200
added filter method for undefined settings that overwrite defaults
commit 5df8a0b3e77cd5dcf04c39ad7638ac845df75e4c
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 03:05:06 2023 +0200
you do not need to string a string
commit 0650d3b3a0132889c2a76de38db38224e974d205
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 03:04:34 2023 +0200
fix things that were borken for no good reason
commit a40dbfd1364cf01465037350184f59d2a2a8afab
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:39:34 2023 +0200
reduce unneeded blocking timeouts
commit bf9046a5361ae919e70662e717d6156434b6fe43
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:34:10 2023 +0200
catch server fetching errors
commit aa01e67e8c8e789fdf755ac4481e730fe5ea4183
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 02:33:29 2023 +0200
move init as things are now plugged together different
commit 290c33bd3125d50779497d6fc5981d5813b58f5d
Author: Matthias Mair <code@mjmair.com>
Date: Tue Oct 24 01:49:32 2023 +0200
do not log a failed automatic login try - why would you?
2023-10-26 07:55:52 +11:00
Matthias Mair
ebbc27047b
[P-UI] Home page ( #5344 )
...
* Add new start page
* [FR/P-UI] Home/Start page - widgets
* load widgets dynamic
* code cleanup
* remove lodash
* refactor and rename to WidgetLayout
* Add CSS serving
* removed unneeded complexity
* clean up UI; switch to menu for controls
* change signature
* added hotkey
* removed hover
* removed dummy widget
* Add translations
* fix test
* uses real data for getting started
* adapted style for GettingStartedCard
* added placeholder usage to GettingStartedCard
2023-08-09 22:32:53 +10:00
Matthias Mair
1ab772e66d
P UI: Basic UI & Auth setup ( #5207 )
...
* update deps
* remove @mantine/rte
* add icons again
* Create dependency-review.yml
* Create scan.yml
* Create sonar-project.properties
* add option to use sections and refactro
* translate error messages
* remove unneeded vars
* move function code
* move data inside
* add global section
* add plugin section
* use translated section titles
* add translation strings
* rename scan action
* add user settings
* use ordered data
* fix settings url
* use debounced value for strings (not choices!)
* rename contex to context
* move i18n provider up
* move theme options into seperate context/ component
* renmae statrtup vars
* move translations out
* reactivate sentry
* move i18n provider to seperate context
* move langauge state completly out of App
* use theme out
* move theme context
* move LanguageContext
* move function into state
* make sentry optional for now
* add key to accordion
* init langauge context on top
* remove unneeded css files
* move errorpage to tsx
* add translation for error page
* Add error to title
* add typecast for error
* move type definition out
* remove todo -> type was already added
* upgrade deps
* add bootstrap
* remove @mantine/core
* readd core
* switch to bootstrap
* simplify import
* Add SPA views for react #2789
* split up frontend urls
* Add settings for frontend url loading
* add new UI scaffold
* remove tracking insert
* add platform app
* ensure static indexes work too
* add lingui
* add lingui config
* add mgmt tasks
* add base locales
* settings for frontend dev
* fix typo
* update deps
* add pre-commit
* add eslint
* add testing scaffold
* fix paths
* remove error - tests trip correctly
* merge workflow
* cleanup samples
* use name inline with other tests
* Add real worl frontend tests
* setup env
* tun migrations first
* optimize setup time
* setup demo dataset
* optimize run setup
* add test for class ui
* rename
* fix typo
* and another typo
* do install
* run migrations first
* fix name
* cleanup
* use other credentials
* use other credentials
* fix qc
* move envs to qc
* remove create_site
* reduce testing env
* fix test
* fix test call
* allaccess user
* add ui plattform check
* add better check
* remove unneeded env
* enable debug
* reduce wait time
* also build frontend on static
* add sekeleton
* fix various issues
* add locales
* clean output before building
* cleanup dir
* remove bootstrap
* clean up deps
* fix settings panel
* remove assets
* move logo
* split out router
* split up chunks
* fix zustand import syntax
* bundl
* update pre-render
* use vendor splitting
* maximes space usage
* enlarge breakpoints
* remove wired color changes
* cleanup tabs
* fix error
* update auth functions
* default to mail login
* add placeholder marking
* Add text to placeholder
* readd codespell
* add another test
* add sort plugin
* add sort plugin
* sort imports
* fix order
* Add mega menu
* run pre-commit fixes
* add node min version
* Docker container (#129 )
* Fix allocation check for completing build order (#5199 )
- Allocation check only applies to untracked line items
* docker dev
Install required node packages to docker development image
* add import order settings
* cleanup settings
* cleanup dashboard
* clanup part tab
* refactor header to only use 1 line
* cleanup reqs for py3.9
* remove compiled UI
* revert reqs change
* cleanup tasks
* cleanout built ui
* remove default user
* cleanup package.json
* fix doctip
* remove sentry
* optimize loading
* reset versions
* clean
* factor out menu items
* refactor Navtabs
* refactor HoverMenu
* remove part
* remove prettier
* remove default arg from build
* remove eslint
* Merge branch 'plattform' of https://github.com/matmair/InvenTree into platform-ui_base
* optimize svg
* add build step for plattform UI
* fix install command
* fix test
* remove extra test
* set default host if none is set
* set nicer names
* fix tests
* fix logged-in test
* update translations
* ensure more path matches
* make loading of serverrefs dynamic
* use default radius
* fix issues / code smells
* clean code smell
* fix password reset
* fix error messages
* detect small screens
* use loader meachanism for views
* refactor structure
* move auth functions out
* use text
* refactor defaults
* Add email login
FR] Add email link based logins Closes #3531
* fix name error
* fix reqs
* fix backend for magic login
* fix frontend
* remove unused route
* remove now unneeded test section
* cleanup code
* add navigation header
* fix logo component for nesting
* factor out menu
* refactor style
* clean code
* Translate items and use unique ids
* use alpine commands
* increase margins to remove drawer scroller
* only render plugins if they are defined
* remove sample content
* fix assertation
* open on hover
* refactor
* merge fix
* cleanup navigation drawer
* change dependencies for UI testing
* add highlight filter
* Add correct menu items
* move design component out
* move pre-commit out
* move deps again
* move js styles in
* revert CI changes
* remove unneeded exclution
* changed placeholder user
* refactored EditButton to component
* refactored app loading to useEffect
* moved color lookup into global scope
* reafactored UserPanel render block
* marked placeholder pages in doc links
* made doc tooltip optional for MenuLink
* changed MenuLinkItem names
* fixes missing Link item in MenuLink
* fixed merge error
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-21 08:54:57 +10:00
Matthias Mair
3e37469350
Platform UI - React integration ( #5011 )
...
* Add SPA views for react #2789
* split up frontend urls
* Add settings for frontend url loading
* add new UI scaffold
* remove tracking insert
* add platform app
* ensure static indexes work too
* add lingui
* add lingui config
* add mgmt tasks
* add base locales
* settings for frontend dev
* fix typo
* update deps
* add pre-commit
* add eslint
* add testing scaffold
* fix paths
* remove error - tests trip correctly
* merge workflow
* cleanup samples
* use name inline with other tests
* Add real worl frontend tests
* setup env
* tun migrations first
* optimize setup time
* setup demo dataset
* optimize run setup
* add test for class ui
* rename
* fix typo
* and another typo
* do install
* run migrations first
* fix name
* cleanup
* use other credentials
* use other credentials
* fix qc
* move envs to qc
* remove create_site
* reduce testing env
* fix test
* fix test call
* allaccess user
* add ui plattform check
* add better check
* remove unneeded env
* enable debug
* reduce wait time
* also build frontend on static
* add sort plugin
* fix order
* run pre-commit fixes
* add node min version
* Docker container (#129 )
* Fix allocation check for completing build order (#5199 )
- Allocation check only applies to untracked line items
* docker dev
Install required node packages to docker development image
* add import order settings
* cleanout built ui
* remove default arg from build
* remove eslint
* optimize svg
* add build step for plattform UI
* fix install command
* use alpine commands
* do not use cache when creating image
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-18 22:45:49 +10:00