1751 Commits

Author SHA1 Message Date
Shams
68503156cb Merge pull request #1431 from nithinrdy/ability-to-edit-fieldKeys-when-importing-CSVs
Ability to edit field keys when importing CSVs
2023-10-11 03:51:18 -07:00
Vishnu Nithin Reddy
c0b04884e6 Move save pop-ups out of the way, to the corner 2023-10-04 18:17:39 +05:30
Vishnu Nithin Reddy
8984f398e2 Disable next if fieldKeys are empty strings 2023-10-03 11:11:32 +05:30
Vishnu Nithin Reddy
9f52e09064 Add Field Key input field to CSV import step 1, next to Column Select
field

 - Update key and fieldName properties onChange
2023-10-03 11:01:40 +05:30
janvi01
204ed467d3 fix: added mui tooltip component 2023-10-02 12:13:07 +05:30
janvi01
d3e89e6014 feat: added tooltip to buttons 2023-10-02 11:47:52 +05:30
Vishnu Nithin Reddy
6e21feba0d Group like imports 2023-09-21 21:16:23 +05:30
Vishnu Nithin Reddy
03bbce2b97 Remove stray console.log and better variable naming 2023-09-21 21:09:26 +05:30
Vishnu Nithin Reddy
540373dbfd Create atom to fetch defaultTableSettings from.
Use atom in useSave*** hooks to determine if popups are to be shown (and
if not, whether changes are to be applied automatically).
2023-09-21 20:51:21 +05:30
Vishnu Nithin Reddy
e4194801c5 Create a Table Settings section.
Contains options to customize saving behavior in case of changes to a table's sorting and columns' widths.
2023-09-21 13:06:16 +05:30
AnushDeokar
31296ef051 tablename first click error fixed 2023-09-14 01:29:10 +05:30
Shams
0099bd1dac Merge pull request #1368 from nithinrdy/nithin/accessible-resizing
Add an accessible resizing option
2023-09-07 19:34:40 -07:00
Shams
5566d6a37d Merge pull request #1390 from rowyio/11/improve-multi-filters
add support for multiple filters
2023-09-07 19:33:44 -07:00
Shams
071527a959 Merge pull request #1394 from rowyio/feature/code-editor-package-typing
Monaco code editor auto typing
2023-09-07 19:33:03 -07:00
Shams
6cedeb44c0 Merge pull request #1291 from il3ven/issue-809
add support for bulk deletion of rows
2023-09-07 19:30:30 -07:00
il3ven
e53638ca58 Merge branch 'develop' into 11/improve-multi-filters 2023-09-04 18:39:12 +00:00
il3ven
7aed17b5c0 feat: support applied filters as shareable urls
this feature has been re-implemented from PR #1256 because the older PR had
bugs and didn't support multiple filters.
2023-09-04 18:10:56 +00:00
shamsmosowi
a2806a7c31 add copy support to id 2023-09-03 12:36:37 +08:00
Bobby Wang
8445081365 Merge branch 'develop' into feature/code-editor-package-typing
# Conflicts:
#	src/components/CodeEditor/useMonacoCustomizations.ts
#	yarn.lock
2023-08-29 20:19:27 +08:00
il3ven
5936f1351e fix css of CheckboxIndeterminateIcon
Due to wrong CSS we were not able to see the icon.
2023-08-23 18:36:26 +00:00
il3ven
f087105895 change logic to determine state of checkbox in header row
If there are 1000 rows and we have rendered 100 then select all will
only select 100. In this case, technically all rows in react-table are
selected but we should not show the checked state. It leads to bad UX.
Indermediate would be better.

Also, split the additions of row selection column into a new useMemo. This
ensures that if a row is selected we are only re-calculating the row
selection column and not all.
2023-08-23 18:35:34 +00:00
il3ven
3223ae9357 make enableRowSelection optional and false by default
`enableRowSelection` was introduced in the last commit.

As of this commit row selection is enabled for TablePage and
SubTablePage.
2023-08-22 19:46:11 +00:00
il3ven
3d45e340ae disable row selection for array sub table page
Row selection has been disabled because bulk delete functionality
cannot work for array sub table according to the current implementation.

Bulk delete problem:

Suppose we have an array with values `[a, b, c]`. Suppose, the indexes
to be removed are [1, 2]. The UI asks firebase function to remove index
1. After 1, the UI asks index 2 to be deleted but index 2 doesn't exist.
After deletion of index 1, the array is `[a, c]`.
2023-08-22 19:46:11 +00:00
il3ven
9b5c2e34b8 fix re-ordering of columns when row selection is enabled 2023-08-22 19:46:11 +00:00
il3ven
febe46c14b fix ui issue when a column is frozen 2023-08-22 19:46:11 +00:00
il3ven
9ca59c8762 re-add memo and headerGroup as per suggestion 2023-08-22 19:46:11 +00:00
Vaibhav C
17369b47cf add support for bulk deletion of rows 2023-08-22 19:46:11 +00:00
il3ven
1e07684df2 fix a bug with clear button
it shouldn't be disabled if tableFilters are present but userFilters
are active.
2023-08-22 19:43:41 +00:00
Rishi Raj Jain
b28c754299 fix: button conditional 2023-08-22 02:37:24 +05:30
Rishi Raj Jain
8f9fb7e052 Update index.tsx 2023-08-22 02:16:13 +05:30
Rishi Raj Jain
6d7d85392c Update src/components/fields/Array/index.tsx
Co-authored-by: il3ven <vaibhavchanana@yahoo.co.in>
2023-08-22 02:13:58 +05:30
il3ven
66459bb690 remove "" as an operator 2023-08-21 09:57:28 +00:00
il3ven
91f2a4822f improvements such as:
1. Use generateId function instead of Math.random()

2. Remove `tablePage` from useEffect in `Table.tsx`

Upon an error in the firebase query this was causing an infinite loop
to increase page number.

3. Change the logic of when the clear and disable button are shown/disabled

The existing logic was preventing certain tasks to be performed.

For example, deleting all filters individually was disabling both apply
and clear all button. As a user I expect to delete all filters and
click on the apply button to save.
2023-08-21 09:42:31 +00:00
Manmeet
62340535a1 fix errors related to multi filters support 2023-08-21 09:42:31 +00:00
Manmeet
4dd72602cf fix Argument of type QueryConstraint is not assignable to type QueryFilterConstraint 2023-08-21 09:42:31 +00:00
Manmeet
b792b00384 add is empty and is not empty operators 2023-08-21 09:42:31 +00:00
Manmeet
4513ac1e22 refractor code and fix bugs related to multi filters 2023-08-21 09:42:31 +00:00
Manmeet
48dd018b32 add id to each query 2023-08-21 09:42:31 +00:00
Manmeet
f7fdf57c36 add multi filters support 2023-08-21 09:42:31 +00:00
il3ven
e94daab985 Revert "Merge pull request #1256 from staticGuru/filter_url"
This reverts commit 6819bf1f5f, reversing
changes made to 70498bcc05.
2023-08-21 09:40:57 +00:00
Rishi Raj Jain
cca3e0afc2 Update useFirestoreCollectionWithAtom.ts 2023-08-21 01:46:57 +05:30
Rishi Raj Jain
bf9ae7bd0e Update index.tsx 2023-08-21 01:46:28 +05:30
Rishi Raj Jain
df6ed6958f Update index.tsx 2023-08-21 01:46:14 +05:30
Rishi Raj Jain
67a4172b7f Create Filter.tsx 2023-08-21 01:46:05 +05:30
il3ven
7ca6fe3be6 add <form> tag for handling submit and fix an error 2023-08-20 10:50:23 +00:00
il3ven
ef58d37ed6 show set column width option even if column.resizable is undefined 2023-08-20 10:49:39 +00:00
Vishnu Nithin Reddy
8316e6ac6a Add comments 2023-08-20 13:11:00 +05:30
Vishnu Nithin Reddy
e8e9d09894 Use the setColumnSizing method instead; store the entire table in an
atom, not just the table headers.
2023-08-20 13:00:25 +05:30
il3ven
b2983f4db8 Merge pull request #1306 from rowyio/feature/code-editor-quick-action-get-secrets
Add code editor quick action to get secrets
2023-08-19 23:39:57 +05:30
il3ven
aece2f6c84 update secretsDef in useMonacoCustomizations
The enum generated by the previous template string would have had
syntax errors if the secret contained hyphens.

This commit fixes it.
2023-08-19 18:05:43 +00:00