Commit Graph

1215 Commits

Author SHA1 Message Date
f777fa22e9 Create consistent ui/input and ui/display for Cell and Fields type : … (#1658)
* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Move components to `ui/input`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Update imports in ProbabilityEditableFieldEditMode

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Create consistent ui/input and ui/display for Cell and Fields type : Probability, DoubleText, DoubleTextChip

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Add more refactors

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-25 11:10:14 +02:00
1c3897848f fix: fix table columns resize glitches on slow network (#1707)
Fixes #1580
2023-09-22 19:45:29 +02:00
20267f081a Fix command menu keyboard input & refactor group (#1706)
* - fix command menu keyboard shortcuts
- refactor command groups

* - refactor the MenuItemCommand to use cmdk

* - fixed matching commands multiple displays

* - fixed array count problems react with boolean
2023-09-22 11:44:42 +02:00
8d8c81c02c Add Figma documentation (#1705) 2023-09-21 14:56:28 -07:00
54042a7d8f Fix drag to select in dropdowns, context menu and action bar (#1704)
- fix drag to select disable at many locations
2023-09-21 14:22:13 -07:00
043fe3a7ab Fix tests 2023-09-21 14:21:00 -07:00
ab0cdbf960 feat: persist table columns on change (#1697)
* feat: persist table columns on change

Closes #1580

* fix: fix drag-and-select on Table Options dropdown toggle
2023-09-21 13:15:57 -07:00
189bf4a627 Feature: add createCustomField resolver (#1698)
* Feature: add createCustomField resolver

* update mocks

* fix import

* invalidate workspace datasource cache after migration

* fix typo
2023-09-21 12:59:11 -07:00
a59f5acd5e fix: Update company picker keyboard navigation (#1628)
* fix: scroll

* fix: use ref

* fix: new changes

* fix: remove ref

* fix: state

* chore: clean up

* Include Empty option

* Include Empty option

* Include Empty option

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-21 12:53:07 -07:00
7ce03ffdd1 Refactor tests command menu (#1702)
* Fix tests

* Refactor tests command menu

* Improve tests

* Fix optimistic render breaking tests
2023-09-21 11:53:36 -07:00
b5b46f923a fix: Command bar is broken (#1617)
* Update CommandMenu.tsx

* remove broken states

* convert to array

* convert filter conditions

* empty condition

* finally

* update the logic

* add test

* lint

* move file
2023-09-21 11:18:44 -07:00
9ab412116d Fix tasks filters (#1676)
* Fix tasks filters

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Simplify condition

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 23:09:48 -07:00
6dbe388ab9 Improve issue templates (#1686) 2023-09-20 20:17:09 -07:00
2d758c990b Fix merge issue flexible backend (#1685)
* Fix merge issue flexible backend

* Fix tests

* Try fix tests

* Try fix tests
2023-09-20 19:11:21 -07:00
19365f6639 Add metadata migration setup (#1674)
* Add metadata migration setup

* add migration generator

* fix missing 'mocks'

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:27:07 -07:00
fc820f47b2 Feat/disable flexible backend (#1673)
* wip: refacto and start creating custom resolver

* feat: findMany & findUnique of a custom entity

* feat: wip pagination

* feat: initial metadata migration

* feat: universal findAll with pagination

* fix: clean small stuff in pagination

* fix: test

* fix: miss file

* feat: rename custom into universal

* feat: enable/disable flexible backend from env

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-20 17:25:45 -07:00
b1171e22a3 feat: add findAll and findUnique resolver for universal objects (#1576)
* wip: refacto and start creating custom resolver

* feat: findMany & findUnique of a custom entity

* feat: wip pagination

* feat: initial metadata migration

* feat: universal findAll with pagination

* fix: clean small stuff in pagination

* fix: test

* fix: miss file

* feat: rename custom into universal

* feat: create metadata schema in default database

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:24:13 -07:00
dafe08ef78 fix: dark mode for MainButton (#1681)
* fix: dark mode for MainButton

* Fix colors

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 17:22:13 -07:00
07f589d521 Fix bug optimistic rendering 2023-09-20 16:53:46 -07:00
708391460c Fix optimistic effects to work with fragments (#1683)
* Fix optimistic effects to work with fragments

* Regenerate
2023-09-20 16:13:54 -07:00
772d54d29f feat: add DropdownMenuInput and use as view name input in board (#1680)
Closes #1510
2023-09-20 12:53:35 -07:00
78b666f457 Fix front end (#1678)
* Fix front

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Fix according to PR

* Fix tests

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-20 12:46:40 -07:00
a20ca95f32 feat: reset Recoil state on logout (#1675)
Closes #1452
2023-09-20 15:26:11 +02:00
d8590bb358 Add 'Esc' hotkey behavior on Filter and Sorts dropdown (#1622)
* fix esc key

* add changes

* add changes

* add changes
2023-09-20 11:40:49 +02:00
103fb701e7 Chore: Use Fragments as types (#1670)
* Use Fragments as types

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Use Fragments as types in GraphQL queries and mutations

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-20 10:58:59 +02:00
3f600146b1 fix: fix some views dropdown design issues (#1648)
* fix: fix some views dropdown design issues

Closes #1610, Closes #1601

* Handle max-width on view picker

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-19 20:01:01 -07:00
3bde7bc252 Fast follow on draggable column re-order (#1667) 2023-09-19 18:55:01 -07:00
acee401371 Speed up CI (#1666) 2023-09-19 17:09:01 -07:00
b0973afc64 Fix deploy CI 2023-09-19 16:57:22 -07:00
8c21dc8bba Refactor fast follow on column move feature (#1665)
* Refactor fast follow on column move feature

* Fix lint
2023-09-19 16:42:11 -07:00
cb05b1fbc9 feat: reorder columns from table options (#1636)
* draggable prop addition

* draggable component addition

* state modification

* drag select state addition

* changed state name

* main merged

* lint fix

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:31:21 -07:00
321488ad3c feat: Column title menus (#1616)
* view field index to float

* gql codegen and package.json

* list implementation

* db call

* reposition logic

* lint fix

* edge case fix

* review changes

* handleColumnMove refactor

* dropdown recoil scope

* rename props

* Update server/src/database/migrations/20230727124244_add_view_fields_table/migration.sql

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-19 15:27:02 -07:00
fc139f89ab Fix CI tests 2023-09-19 15:19:33 -07:00
772711154d Fix bug company update (#1664) 2023-09-19 14:59:08 -07:00
ec90c77ec1 Refactor tenant ORM integration (#1650)
* Refactor tenant ORM integration

* fix tests
2023-09-19 17:58:28 +02:00
07684c4f08 change tabler-icons (#1649) 2023-09-19 16:19:44 +02:00
ff4a2074e6 Update local-setup.mdx: Fix typo (#1646) 2023-09-19 11:51:47 +02:00
b5ccec4d58 Fix lint CI 2023-09-18 19:31:15 -07:00
d8930f7079 Write Storybook test for @/ui/navbar (#1632)
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-18 19:28:53 -07:00
645f2b42c2 Boost CI (#1643)
* Boost CI

* Split CI tests in 2

* Try caching node modules

* Try caching node modules

* Try caching node modules

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Improve CI

* Separate jest tests

* Fix typo

* Re-order tests jobs
2023-09-18 19:07:38 -07:00
3c4ab605db Fix eslint-plugin-twenty (#1640)
* Fixed color rule

* Fixed naming

* Fix effect component rule

* Deactivated broken rules

* Fixed lint

* Complete eslint-plugin-twenty work

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
2adabb3ba2 Fix tests 2023-09-17 08:59:42 -07:00
dba6f93826 Fix tests server 2023-09-17 08:41:46 -07:00
7fa80c5f71 Fix eslint setup 2023-09-17 08:28:05 -07:00
84eaa45027 fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts (#1618)
* migrate rules

* fix

* final

* final
2023-09-17 08:13:05 -07:00
aaa63b3820 feat: added a dropDownCloseEffect component (#1621)
* feat: added a dropDownCloseEffect component

* Delete yarn.lock

* refactor: moved the DropdownCloseEffect inside the Dropdown button as a hook

* refactor: moved the DropdownCloseEffect to the DropdownButton jsx
2023-09-17 08:09:05 -07:00
fa7282ab4c Fix chromatic CI trigger on run-chromatic label 2023-09-16 22:29:34 -07:00
c82c5a191e Introduce useOptimisticEvict (#1629) 2023-09-16 22:23:43 -07:00
9be674e440 Fix CI 2023-09-16 19:28:04 -07:00
43a5535739 Refactor NavCollapse button (#1625) 2023-09-16 19:20:17 -07:00