Commit graph

8 commits

Author SHA1 Message Date
Mekhla Asopa
849f248b85
Updated database spec with export table feature (#8218)
* Added export table method

* Added bulk upload data method
2023-11-29 17:36:10 +05:30
Akshay
3c4954ae4d
Feature: Bulk csv upload for TJDB (#7421)
* add wip ui components for csv upload

* add backend support for csv bulk upload

* add missing type information

* add wip ui setup for bulk upload

* update bulk upload drawer to handle errors

* update error message

* move export table from navbar to popover

* revise navbar buttons

* remove unrelated changes

* Fixed UI issues

* remove redundant counter increment

* remove console.log

* explicitly add express import

* fix undefined toast error

* Fixed button UI issues

* rename button

* remove unused solid icon

* fix row count check

* handle null values

* add max row count at lib options

* check NaN for parsed numbers

* skip columns for null values to insert default

* reuse declared set

* only validate datatype conversion but pass original string

* fix content type on requests

* remove filter/sort applied by text

* reset query and sort filters after upload

* add padding for filter/sort buttons

* make error on max rows explicit

* handle stream errors through events

* fix bulk upload to be disabled after drawer close

* fix lint

* update bulk upload success toast

* scroll lock bulk upload drawer

* update icon for export

* order default by id desc

* Fixed hover state issue for download button in bulk upload section

* added focusTrapoption's initial focus as false in FocusTrap

* Updated data-cy for export option (#7545)

* Updated export data-cy

* Updated cypess database spec (#7547)

---------

Co-authored-by: Abd-Rahman-1999 <[email protected]>
Co-authored-by: Mekhla Asopa <[email protected]>
2023-09-28 21:42:00 +05:30
Mekhla Asopa
4805df8713
Updated failure cypress specs (#7376)
* Updated specs

* Updated text

* Updated spec
2023-09-04 19:52:22 +05:30
Mekhla Asopa
8e3fbf5fac Fix cypress failure 2023-05-12 16:10:16 +05:30
Mekhla Asopa
f31b8c223f Fix database cypress spec failure 2023-04-25 23:32:14 +05:30
Mekhla Asopa
ff329e4336 Fix cypress failure 2023-04-11 19:00:37 +05:30
Mekhla Asopa
a592e3aeb6
Added automation for edit row feature in Database (#5890)
* added method for edit row

* update method for edit row

* update method name
2023-04-04 08:11:02 +05:30
Mekhla Asopa
f0597c98b2
Added automation for database (#5589)
* Added data-cy for table header and subheader

* added data-cy for table operations

* added data-cy for table and text

* Added selectors and texts for database

* Added method for table edit and delete operation

* Added data-cy for delete icon and fields

* Added method for table operation

* Add workaround to handle re-rendering of filter

* Updated and removed duplicate data-cy

* fix toast failure

* deleted unused files

* Updated data-cy for filter section

* updated spec

* Fix failure

* resolved conflicts

---------

Co-authored-by: emidhun <[email protected]>
2023-03-20 18:48:10 +05:30