Commit Graph

1349 Commits

Author SHA1 Message Date
brendanlaschke
e3485cc609
Fix: Consistent avatars for show pages (#1776)
- consistent avatars for show pages
2023-09-30 08:32:00 +02:00
brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys (#1777)
- add eslint rule
2023-09-30 08:25:34 +02:00
Charles Bochet
ab4f978a00 Update documentation nav font-size 2023-09-29 19:16:38 +02:00
Ayush Agrawal
a287a5bc8a
Feat: I can add a favorite directly from my table (#1747)
* implented add/remove favorite in context menu

* clear selected rows after favorite button click, context menu width 200px when remove from favorites is shown

* Update front/src/modules/ui/context-menu/components/ContextMenu.tsx
2023-09-29 18:33:28 +02:00
Thaïs
ae0acd508a
docs: add page level sidebar (#1749)
* POC: docs: add page level sidebar

Closes #1341

* docs: hide level 1 test page from navbar
2023-09-29 17:50:21 +02:00
Thaïs
4e181aa40e
feat: lazy load IconPicker icons (#1753)
Closes #1750
2023-09-29 16:23:36 +02:00
Thaïs
1c35ccce4e
docs: redesign docs collapsible categories (#1748)
* docs: redesign docs collapsible categories

Closes #1341

* Fix people creation from People table page

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-29 16:22:04 +02:00
Charles Bochet
b52190c707
Fix people creation from People table page (#1773) 2023-09-29 16:21:30 +02:00
Weiko
3851e0f992
Fix missing patches folder to deploy server (#1771)
* Fix missing patches folder to deploy server

* Fix missing patches folder to deploy server

* remove extra line

* add fix for twenty-dev
2023-09-29 15:41:09 +02:00
Charles Bochet
c82ac773b9 Fix server build 2023-09-29 15:37:58 +02:00
brendanlaschke
35ff695471
Added hint for cmdk-menu (#1743)
* - added hint for cmdk-menu

* - design
2023-09-29 11:23:14 +02:00
David Kramer
ed86cec1e8
Fix design EditableCell 'Hover', 'Focus' and 'Edit Mode' #1663 (#1740)
* fixed styling  EditableCell

* adding same solution

* removing shadow to cover top and bottom

* fixing with outline

* fixing width

---------

Co-authored-by: kramer <david.kramer@gmail.com>
2023-09-29 10:02:54 +02:00
Jérémy M
629bdbbf50
feat: dynamic graphQL schema generation based on user workspace (#1725)
* 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

* Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

Multi-tenant db schemas POC

fix tests and use query builders

remove synchronize

restore updatedAt

remove unnecessary import

use queryRunner

fix camelcase

add migrations for standard objects

poc: conditional schema at runtime

wip: try to create resolver in Nest.JS context

fix

* feat: wip add pg_graphql

* feat: setup pg_graphql during database init

* wip: dynamic resolver

* poc: dynamic resolver and query using pg_graphql

* feat: pg_graphql use ARG in Dockerfile

* feat: clean findMany & findOne dynamic resolver

* feat: get correct schema based on access token

* fix: remove old file

* fix: tests

* fix: better comment

* fix: e2e test not working, error format change due to yoga

* remove typeorm entity generation + fix jwt + fix search_path + remove anon

* fix conflict

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 16:27:34 +02:00
brendanlaschke
485bc64b4f
POC: Save view as url param (#1710)
* - save view as url param

* - fix tests
2023-09-28 11:50:44 +02:00
gitstart-twenty
b2bac0b217
Add a type on CatalogDecorator (#1742)
* Add a type on CatalogDecorator

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

* Type more catalogs

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2023-09-28 11:44:55 +02:00
Lucas Bordeau
aa0c61bed9
Removed unused feature flag (#1744) 2023-09-28 11:21:16 +02:00
gitstart-twenty
0be07a8928
Delete Opportunities column + Improving design of BoardColumnEditTitleMenu (#1737)
* Delete Opportunities column + Improving design of BoardColumnEditTitleMenu

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

* Remove unwanted changes

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-28 11:18:18 +02:00
Ronit Panda
2dbce935ba
test: adds test to check if adding a new company or people works (#1714)
* test: adds test to check if adding a new company or people works

* test: improves people/add and companies/add tests

* style: cleanup

* style: cleanup
2023-09-28 11:17:25 +02:00
Lucas Bordeau
cbadcba188
FieldDisplay & FieldInput (#1708)
* Removed view field duplicate types

* wip

* wip 2

* wip 3

* Unified state for fields

* Renaming

* Wip

* Post merge

* Post post merge

* wip

* Delete unused file

* Boolean and Probability

* Finished InlineCell

* Renamed EditableCell to TableCell

* Finished double texts

* Finished MoneyField

* Fixed bug inline cell click outside

* Fixed hotkey scope

* Final fixes

* Phone

* Fix url and number input validation

* Fix

* Fix position

* wip refactor activity editor

* Fixed activity editor

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 18:18:02 +02:00
Thaïs
d9feabbc63
feat: add IconPicker (#1730)
* feat: add IconPicker

Closes #1657

* fix: fix front lint errors

* refactor: rename selectedIconName to selectedIconKey
2023-09-27 17:56:49 +02:00
Aditya Pimpalkar
46ad36061e
feat: reorder kanban columns (#1699)
* kaban header options

* gql codegn

* moveColumn hook refactor

* BoardColumnContext addition

* saved board columns state

* db call hook update

* lint fix

* state change first db call second

* handleMoveTableColumn call

* codegen lint fix

* useMoveViewColumns hook

* useBoardColumns db call addition

* boardColumns state change from BoardHeader

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-27 15:59:44 +02:00
Charles Bochet
1e716bf6d6 Fix tests 2023-09-27 15:44:47 +02:00
Pepe
ee108ccbf2
Add a hover on Show Person Avatar (#1631)
* Display 404 while person or company not found

* Display 404 while person or company not found

* Issue solved

* Icon Size Adjustment, resize the icons used in filter and sort

* Fixed issues

* Icon Size Adjustment, resize the icons used in filter and sort

* Add onClick in Avatar.tsx

* Comments solved

* Solve conflicts

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

* Update front/src/modules/users/components/Avatar.tsx

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-27 15:33:39 +02:00
brendanlaschke
9282885233
Fix cmd menu tests (#1739)
* - fix tests

* -  fixed header

* - lint
- fixed catalog menuitemcommand

* - fix prop destructuring in test

* - combine  single/multiple create and goto commands
2023-09-27 15:19:33 +02:00
Jérémy M
a4cde44b13
feat: add cooldown to refresh token security (#1736) 2023-09-27 15:03:50 +02:00
Ayush Agrawal
96865b0fec
Fix: When opening a filter, the focus is not put on the input search / filter input (#1731)
* Fixes #1718

* implemented review changes
2023-09-26 15:01:50 +02:00
Ronit Panda
8639cb921e
Chore: corrects syntax for type only imports (#1716)
* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''

* chore: remove typed imports

* chore: remove typed imports

* chore: cleanup

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-09-26 11:47:35 +02:00
gitstart-twenty
26de4bab35
Chore(server): I should be able to define deal amount's currency (#1724)
I should be able to define deal amount's currency

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:40:23 +02:00
gitstart-twenty
f60c209e39
Chore(backend): Enable attaching attachments to companies and people (backend) (#1726)
Enable attaching attachments to companies and people (backend)

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-09-26 11:39:13 +02:00
gitstart-twenty
ba86be2c5b
Remove the {...props} pattern and props coupling, and create an eslint rule for that (#1733)
* Remove the {...props} pattern and props coupling, and create an eslint rule for that

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

* Add another test to the new rule

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-26 11:05:33 +02:00
Ayush Agrawal
cd20a437d8
Fix: Command menu keeps the last input (#1723)
Fix/Command menu keeps the last input
2023-09-25 15:40:28 +02:00
gitstart-twenty
fabbe7ddf2
Chore: First table column should not be hideable (#1711)
* First table column should not be hideable

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

* Refactor according to review

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

---------

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: chiazokam <chiazokamecheta@gmail.com>
2023-09-25 12:26:41 +02:00
Ronit Panda
0ce11b6908
fix: adds cursor pointer to table column header (#1715)
* fix: adds cursro pointer to table column header

* fix: lifts up the onclick handler to header not tag making consistent with other tables
2023-09-25 12:25:03 +02:00
brendanlaschke
0ff535af2d
Fix hover on standalone button FloatingIconButtonGroup (#1709)
- fix hover on standalone button FloatingIconButtonGroup
2023-09-25 11:15:14 +02:00
gitstart-twenty
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
Thaïs
1c3897848f
fix: fix table columns resize glitches on slow network (#1707)
Fixes #1580
2023-09-22 19:45:29 +02:00
brendanlaschke
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
Charles Bochet
8d8c81c02c
Add Figma documentation (#1705) 2023-09-21 14:56:28 -07:00
brendanlaschke
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
Charles Bochet
043fe3a7ab Fix tests 2023-09-21 14:21:00 -07:00
Thaïs
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
Weiko
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
Nafees Nazik
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
Charles Bochet
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
Rishi Raj Jain
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
gitstart-twenty
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
Charles Bochet
6dbe388ab9
Improve issue templates (#1686) 2023-09-20 20:17:09 -07:00
Charles Bochet
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
Weiko
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
Jérémy M
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