Skip to content

Datatables plugin - #659

Draft
droberts-ctrlo wants to merge 224 commits into
ctrlo:masterfrom
droberts-ctrlo:datatables-plugin
Draft

droberts-ctrlo wants to merge 224 commits into
ctrlo:masterfrom
droberts-ctrlo:datatables-plugin

Conversation

@droberts-ctrlo

Copy link
Copy Markdown
Contributor

Moved Fullscreen plugin to isolate functionality rather than having functionality and presentation split across 2 files.

Relies on #656

abeverley and others added 30 commits October 20, 2024 20:04
This commit facilitates the situation where a filtered curval is using a
read-only (populated) field in an existing record.
Updated sort to allow sorting in view by multiple columns
Typo in `wizz?ard` was causing permissions to not be saved
* Updated for less use of `any`

* Updated with fix for display conditions not saving on first save
* Fix for Typeaheads not working as expected with curvals

* Update component.js
* Updated ts to ignore errors

* Update autocompleteComponent.ts

* Update app.tsx
Fix for user permissions not saving correctly
Updated curvals to work as expected
Fix for user notes not persisting when saving users [B: 1736]
abeverley and others added 29 commits July 17, 2026 16:36
Show curval specific edited information in parent chronology (#857)
Because the MFA cookie is now renewed every page render, it is possible
that a user only using the system weekly will never need to authenticate
with MFA. Reduce the time to 2 days to ensure weekly MFA if not logging
in at the weekend.
Initial multi-factor auth functionality (#1521)
* Add asterisk in CSS

* Remove extra asterisk

* Add danger color to invalid date-range label
---------

* Add checks for deprecation and apply fixes where possible

* Add correct data-bs-* attributes where they were missed

* Added editorconfig and upgraded ESLint to current version

* Added JSDocs (squashed from DR)

* Added searchable select component

Removed bootstrap select

Bootstrap select is no longer compatible with Bootstrap v5 - the version that is compatible is still in beta and contains bugs that make it unsuitable for our use-case

Updated code to fix WCAG issue

Updated changes as per ticket

Updated datatables for more consistent colours

Fix for fullscreen switch not working as expected

Modified header for correct placement of pills in dashboard

* Clean up code

* Created and updated JSDoc and TS typings where necessary

* Fix autosave colour issue

* Fix cypress to work with newer browser versions

* Fix datatable alignment

* Fix datatables responsive rendering

* Fixed bug in tables setup where definition was incorrect for table_layout

* Fixed error in more-less

* Fixed formatting and code where this was broken on merge with current dev branch

Updated and removed extra dependencies and exports where not required

Further package changes and TSConfig updates

Removed knip

* Fix error in datatables SCSS causing screen to blank when no layout is present

* Fix invalid font-weight on edit button

* Fix invalid header on field selection

* Fix JS after package upgrade

* Fix or mitigate errors in tests where possible

* Fix test to only skip erroring sections rather than the whole test

* Fix where review highlighted errors or invalid changes

* Formatted and changed code with ESLint fixes - functionality has not changed

Removed cjs from eslint - cjs are used for internal development files, and should never be included

* Formatted test and config code and updated test files

Also removed extra yarn commands that weren't needed, and automated download of browserslist updates on build.

* Move back to double quotes

Don't know why I felt that JS/TS should only use single quotes,
and it just adds more changes to the tree for what seems like
an arbitrary reason. So moving back to double quotes.

* Package upgrades

* Remove bootstrap-icons

* Removed extra packages

* Removed extra unused dependencies

* Removed invalid import where required

* Removed npx call in tests after failure

Updated file where missing function wasn't included

* Remove invalid branch from tests.yml

* Remove unnecessary Cypress changes

* Update action to use current node version

* Update autosave.test.ts

* Update browsers list db

* Update code and tsconfig to omit errors

* Update component.js

* Update correct API usage in Markdown formatter

* Update cypress to fix failing tests

* Updated and removed extra dependencies and exports where not required

Further package changes and TSConfig updates

Removed knip

* Updated code to align with BS5

* Updated dashboard and react components

* Update dependencies and modify tests

* Updated error handler

* Updated filter where typeahead is missed

* Updated layoutbuilder to ensure cypress tests pass

* Updated linting rules, and added comments where required

Updated documentation

Fixed formatting and code where this was broken on merge with current dev branch

Added fix for error on documentComponent

Updated code files with changes as required where they were included in dev

Updated file where missing function wasn't included

* Updated package.json to remove extra dependencies

* Updated packages where required

* Updated to new DataTables.net API

Updated to use new switch component for fullscreen

* Updated ts-ignore where this was causing issues with linting and checking correctness

* Updated with changes within current dev

* Update files as per review

* Update file where review item was missed

* Update libraries to latest minor version

* Update libraries to latest revision

* Update lists to provide gap between

* Update minor versions

* Update package.json

* Update tests to run async calls as shown in documentation

Also update assertions in test to ensure correct calls are being made

* Update tests.yml

* Update view to encode title correctly

* Update webpack file to silence deprecations we have no control over

* Upgraded packages and set up new webpack config

* Upgrade packages

* Use variables where possible rather than hex colours
…rlo#655)

* Update views to omit length check where it wasn't set

* Update to allow for zero length and to test said case
* Added script for bulk import/export of layout group permissions

This script allows bulk importing and exporting group layout permissions.
Stops any non admin shared views from being displayed in the list of available options when applying the user view limits.
Change view type to a select so that only one type is selectable (D888)
Fix where `seed-database.pl` was causing an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants