Commit Graph

49 Commits

Author SHA1 Message Date
9ffd347655 Apply various frontend fixes (#179) 2023-06-01 19:22:26 +02:00
58bbadcc30 Lucas/t 353 checkbox should change state when clicking on their whole (#167)
* Added on click on Checkbox component

* - Added test in story
- Added sleep util
- Fixed click target collision (thanks to test !)

* Use a new CheckboxCell to wrap Checkbox

* Fixed lint

* Refactored CSS after comment

* Fixed tests
2023-06-01 13:29:53 +00:00
52582124f9 Removed borders on workspace container (#171)
* Wip

* Added mocks on main App story and fixed small mock bugs

* Removed borders on WorkspaceContainer
2023-06-01 12:01:27 +02:00
5b545e5bc6 Fix design Add button in top bar 2023-06-01 01:01:17 +02:00
902aa28150 Apply a few frontend fixes on dropdown (#169) 2023-06-01 00:56:32 +02:00
910d49f559 Fix layout behavior with Right panel open (#160) 2023-05-31 09:52:17 +02:00
cb259d5cf1 Feat/add right drawer (#159)
* Added right drawer component and logic

* Refactored layout to accept right drawer
2023-05-30 21:03:50 +02:00
f935a6b723 Re-write test with storybook testing library (#150)
* Re-write test with storybook testing library

* Update CI
2023-05-29 11:02:38 +02:00
3370499ad8 Make many small frontend fixes (icons update, paddings, font-sizes) (#132) 2023-05-21 18:52:23 +02:00
4211d5872b Update favicon, manifest, page border (#127) 2023-05-18 10:07:47 +02:00
434e020846 Restructure project (#124) 2023-05-17 22:31:16 +02:00
baca6150f5 Sammy/t 240 frontend filtering search is refactored (#122)
* refactor: use AnyEntity instead of any

* refactor: remove any and brand company type

* refactor: add typename for user and people

* bugfix: await company to be created before displaying it

* feature: await deletion before removing the lines

* refactor: remove default tyep for filters

* refactor: remove default type AnyEntity

* refactor: remove USers from filterable types

* refactor: do not depend on Filter types in Table

* Add tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-17 21:49:34 +02:00
bc49815ff0 Make all fields optional on entities (#121)
* Make all fields optional on entities

* Rewrite tests

* Add test on TableHeader Cancel button
2023-05-17 14:50:49 +02:00
7208ec9e5a Fix bug get current user (#115)
* Fix bug get current user

* Add tests

* Fix design on Workspace section in Navbar
2023-05-12 09:02:39 +02:00
2212900663 Enable deletion on table views (#113)
* Enable deletion on table views

* Add tests

* Enable deletion on table views for companies too
2023-05-08 23:26:37 +02:00
50a4a97145 Add new line on Table Views (#110)
Add addition on Companies table
2023-05-07 23:41:22 +02:00
8c7815af79 Hide Opportunities as nothing is built yet and make company table fully editable (#109)
* Hide Opportunities as nothing is built yet and make company table fully editable

* Fix tests
2023-05-06 19:08:47 +02:00
760a49c5e3 Redesign DatePicker (#108) 2023-05-06 18:13:16 +02:00
55eff2b7a2 Create Editable chip to edit cells containing chips (#102)
* Create Editable chip to edit cells containing chips

* Fix icons vertical alignment

* Fix linter

* Fix coverage
2023-05-05 12:15:41 +02:00
6a8a8f0728 Add Filters on Table views (#95)
* Add filter search logic

WIP Filter search

Implement filters

test: fix sorts tests

test: fix filter test

feature: search person and display firstname in results

feature: fix test for filter component

test: mock search filters

refactor: create a useSearch hook

refactor: move debounce in useSearch and reset status of filter selection

feature: debounce set filters

refactor: remove useless setSorts

feature: add where variable to people query

feature: strongly type Filters

feature: update WhereTemplate method

feature: implement filtering on full name

feature: type the useSearch hook

feature: use where reducer

refactor: create a type for readability

feature: use query and mapper from filters

feature: implement filter by company

feature: search filter results on filter select

feature: add loading and results to search results in filters

refactor: move render search results in a function

feature: display a LOADING when it loads

feature: split search input and search filter for different debounce

refactor: remove some warnings

refactor: remove some warnings

* Write test 1

* Write test 2

* test: useSearch is tested

* test: update names of default people data

* test: add a filter search

* Test 3

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 13:54:46 +02:00
27d5edc031 Fetch workspace and user from database (#94)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 11:09:06 +02:00
9bc3aa1fb9 Replace Fontawesome Pro by React-Icons/FA (#93)
* Fontawesome -> ReactIcons cleanup

* No need for npmrc anymore

* Complete migration

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-03 17:24:07 +02:00
cabe6d4c36 Add empty opportunity page (#83)
* Add empty opportunity page

* Fix coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 18:00:06 +02:00
04051e737f Fix long table scroll 2023-04-26 17:29:00 +02:00
6c7eb53333 Add seeds and move to uuid (#80)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 16:42:01 +02:00
a93c92c65c Sammy/t 131 i see a ascending descending option in (#73)
* refactor: use safe css selector

* feature: onclick update the order option

* feature: set option in the dropdown

* feature: display icon for sort options

* refactor: indent key so react does not complain of conflicting keys

* feature: align icon and text

* feature: fix size of icon to align text

* feature: create design for TopOption in dropdown

* refactor: set font weight in style

* feature: finalise design of TopOption

* refactor: rename option to sort

* refactor: remove order from the sortType

* refactor: move sort mapper in service

* test: selection of Descending in SortDropdownButton

* refactor: fix styme-component warning

* feature: add sorting by people

* refactor: set SortFields types for tables

* feature: add sort by company

* refactor: rename sortFields to singular

* refactor: rename option to SortDirection
2023-04-25 16:29:08 +02:00
cf9afcc90f Merge pull request #71 from twentyhq/cbo-design-fixes
Fix small design feedbacks
2023-04-25 12:16:34 +02:00
8de2d345ed Add horizontal scroll on tables 2023-04-25 12:14:31 +02:00
63feef5727 Fix small design feedbacks 2023-04-25 11:34:04 +02:00
b8d089395f Add linter on CI 2023-04-20 11:51:04 +02:00
5a1baf9121 Filter ongoing 2023-04-19 23:15:08 +02:00
8fa9c7f1db chore: make sure darktheme implement sames keys as light theme 2023-04-19 17:26:18 +02:00
b4915895fe feature: display a border when hovering the component 2023-04-19 17:22:16 +02:00
a361d7732e feature: remove border of table container 2023-04-19 15:40:08 +02:00
28af85fcb7 feature: set table text colors 2023-04-19 15:35:55 +02:00
0844490c13 feature: wrap all elements in a cell 2023-04-19 15:13:26 +02:00
1e635b9d2f Add dropdown on Sort button on table 2023-04-19 14:22:51 +02:00
4d23390989 feature: align checkbox and cellLink 2023-04-18 18:13:56 +02:00
c317d4bcf6 Migrate to FontAwesome pro 2023-04-14 12:09:17 +02:00
d08066fb9d Add font sizes to themes 2023-04-14 11:06:20 +02:00
f25f80c199 Implement new UI 2023-04-10 18:04:49 +02:00
c2833cad53 Simplify infrastructure to one container 2023-03-06 19:13:59 +01:00
d58af82c51 Separate auth0 users depending on tenants 2023-02-03 20:07:49 +01:00
fcdc9aaec4 Create Profile Hooks to fetch current user 2023-02-02 20:40:44 +01:00
8e0dc44bf6 Generate Token through Auth0 2023-01-28 10:58:04 +01:00
374573871c Move stories and tests inside each component folders 2022-12-05 21:56:53 +01:00
92267701ff Rename tabs to Inbox, Contacts, Insights 2022-12-05 21:47:17 +01:00
235ae1859d Add Task list on Tasks page 2022-12-05 00:49:45 +01:00
0f2d8a556e Add Navbar component, emotion for css and storybook 2022-12-04 22:59:30 +01:00