Commit Graph

1269 Commits

Author SHA1 Message Date
Anchit Sinha
0395ea077d
2694-fix(front): Replace "Continue with Google" monochrome logo by colourful logo (#2724)
* Replaced Google mono logo with colourful logo

* Removed stroke and increased size of logo to 20

* Changed default size of Google Icon to 20

* added default value for size from theme
2023-11-28 18:35:13 +01:00
bosiraphael
ade41c916d
2422 refactor scope components to improve dev experience (#2736)
* move scope inside record table

* fix imports

* update mock

* recordTable scope done

* RecordTable done

* fix board

* fix typo

* wip

* filter is working

* sort is working

* Tasks working

* Fix according to PR

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 18:24:18 +01:00
Kanav Arora
9d3e000055
2526-fix(front): Save on Esc and Click Outside (#2750) 2023-11-28 17:54:22 +01:00
brendanlaschke
a7111eef51
Fix keyboard cmds table soft focus (#2608)
- fix keyboard cmds table soft focus
2023-11-28 16:58:59 +01:00
Félix Malfait
9c49d7474f
Fix: Don't sort by column createdAt if it does not exist (#2737)
Fix #2699
2023-11-28 16:49:43 +01:00
Félix Malfait
aeccc87ac5
Yarn upgrade (#2749)
* yarn upgrade front and docs

* upgrade yarn server

* Revert change not needed
2023-11-28 16:48:02 +01:00
Félix Malfait
8f03ba88a7
Remove unused dependencies on the frontend (#2744) 2023-11-28 11:11:24 +01:00
Thaïs
a3f59b9e7d
test: restore and fix SettingsObjectFieldPreview stories (#2607)
Closes #2594
2023-11-28 10:46:55 +01:00
Mohit Singh
875ba31a0a
refactor:Style "loading more" rows on tables (Issue #2498) (#2717) 2023-11-27 11:12:59 +01:00
gitstart-twenty
9648b13703
Fix Frontend pages tests (#2719)
* Fix Frontend pages tests

Co-authored-by: gitstart-twenty <twenty@gitstart.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

* Add SnackBarDecorator

Co-authored-by: gitstart-twenty <twenty@gitstart.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

* Fix more tests

Co-authored-by: gitstart-twenty <twenty@gitstart.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

* Fix more tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-twenty <twenty@gitstart.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-27 11:07:16 +01:00
Lucas Bordeau
f0e20b06df
Added table record mock mode with companies (#2715)
* wip

* Removed console.log

* Refactor mocks into multiple files

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-25 19:50:50 +01:00
Charles Bochet
ddc054be52 Fix optimistic rendering issue 2023-11-25 03:08:36 +01:00
bosiraphael
66162e6693
Fix board animation (#2706)
fix-board-animation
2023-11-24 21:26:44 +01:00
bosiraphael
e810ad7016
Fix wrong visibility icon (#2707)
fix-wrong-visibility-icon
2023-11-24 18:24:54 +01:00
Thaïs
135733288d
feat: display error snackbars for Object and Field creation/edition (#2708) 2023-11-24 18:24:19 +01:00
Charles Bochet
148fe05e26 Fix person activity creation broken 2023-11-24 18:13:54 +01:00
Charles Bochet
0c56989cb1 Disable activities creation for custom objects 2023-11-24 17:34:21 +01:00
martmull
cefac8435b
Fix limit pagination (#2692)
* Fix limit parameter

* Increaze max_row for each workspaces
2023-11-24 17:02:41 +01:00
Charles Bochet
d3615ba0d3 Fix view creation updating all view names 2023-11-24 16:43:23 +01:00
Charles Bochet
8212606043
Fix views (#2701)
* wip

* Fix viewsé
2023-11-24 16:32:59 +01:00
bosiraphael
886acd1cec
hide new opportunity picker (#2702) 2023-11-24 16:32:14 +01:00
Lucas Bordeau
0376d0b7e0
Fixed soft focus init (#2696) 2023-11-24 15:41:09 +01:00
Lucas Bordeau
6d1f52a888
Use forceRefetch for task update (#2695) 2023-11-24 15:38:21 +01:00
bosiraphael
cf1b0bfccf
Fix link and currency input (#2697)
* fix link focus

* fix currency value null

* fix currency code nullable

* change in progress

* currency is working

* modify path
2023-11-24 15:19:29 +01:00
Weiko
cc526517b3
Add viewField creation to fieldMetadata creation service (#2685)
* Add viewField creation to fieldMetadata creation service

* fix reduce with no initial value
2023-11-24 10:02:37 +01:00
Charles Bochet
2d0f63219f Fix workspace prefill and remove user allowImpersonation Boolean 2023-11-24 00:07:15 +01:00
Lucas Bordeau
a0478a0a83
Fix/task page filter (#2682)
* Fixed filter

* Removed console.log
2023-11-23 23:29:54 +01:00
Charles Bochet
de5b86ee66
Fix Activity relation picker (#2684) 2023-11-23 23:29:27 +01:00
Thaïs
1e181c9d2a
feat: restrict field types in field creation form (#2680) 2023-11-23 16:49:15 +01:00
bosiraphael
4f55243b30
Fix phone input and link input (#2679)
* wip

* phone picker is appearing

* fixing picker placement

* set phone picker width

* fix link input
2023-11-23 16:38:13 +01:00
Lucas Bordeau
4b42ed42dc
Fix duplicate view field creation (#2677) 2023-11-23 16:25:32 +01:00
Charles Bochet
72421a39ea
Fix Activity Picker part 1 (#2678)
* Fix Activity Picker part 1

* Fix
2023-11-23 16:25:13 +01:00
bosiraphael
0194f30dd8
fix-currency-field-input (#2666)
* fix-currency-field-input

* modify according to comments
2023-11-23 14:52:27 +01:00
Charles Bochet
9dabe44d0f
Fix KeyboardShortcut menu, person upload picture (#2669)
* Fix KeyboardShortcut menu, person upload picture

* Fixes
2023-11-23 13:44:54 +01:00
Charles Bochet
9c4f402102
Fix token cookie not being peristed on browser reboot (#2667) 2023-11-23 12:16:20 +01:00
Nimra Ahmed
b1d748f8bd
UI Component docs (Display & Feedback components) (#2453)
* ui docs

* UI docs for display components

* docs for display and feedback components

* minor edits

* minor changes

* cleaned up code

* Move telemetry

* Revised Feedback/Display UI docs & added input UI docs

* Docs for Input components

* updated icons

* docs for input/components

* minor edits based on feedback

* add css to ui components

* Fixed spacing issue in button groups

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-22 22:35:34 +01:00
Charles Bochet
ec3cfe6fdb
Add back pickers on all pages, fix command menu (#2662)
* Add back pickers on all pages, fix command menu

* Fix lint
2023-11-22 22:32:25 +01:00
Charles Bochet
41c0cebf48
Fix Filter search dynamic objectMetadataName (#2659) 2023-11-22 19:22:14 +01:00
Lucas Bordeau
02e60da923
Fixed activities for Person (#2658)
* Improved optimistic rendering

* Fixed activities for Person
2023-11-22 18:56:45 +01:00
bosiraphael
7954a2b6c2
fix-dropdown-sort-icons (#2656) 2023-11-22 18:49:25 +01:00
bosiraphael
13d31072a7
2358 refactor entityboard to recordboard (#2652)
* renaming

* wip

* merge BoardColumn and RecordBoardColumn

* merge files

* remove unnecessary export

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-22 17:31:56 +01:00
Charles Bochet
8f12aea64a
Enrich filters with all types (#2653) 2023-11-22 17:23:10 +01:00
Lucas Bordeau
ac2fedb148
Improved optimistic rendering (#2649) 2023-11-22 17:08:32 +01:00
martmull
713eada9ef
Fix order by (#2646)
* Order by createdAt desc if no sort provided

* Fix '0' currency amounts

* Code review returns
2023-11-22 16:19:04 +01:00
Thaïs
0af4be0d24
fix: hide UUID from field type options in field creation form (#2645)
Fixes #2644
2023-11-22 15:22:54 +01:00
bosiraphael
85646a8072
Create board fields reorder (#2639)
* wip

* fields reorder works but fields are not yet persisted

* fields are persisted

* modify according to comments
2023-11-22 14:46:18 +01:00
Thaïs
532e4342ec
fix: fix viewing date fields detail pages (#2641)
Fixes #2640
2023-11-22 14:32:36 +01:00
Weiko
a6abe09163
Move Impersonate from User to Workspace (#2630)
* Fix impersonate

* align core typeorm config with metadata config + add allowImpersonation to workspace

* move allowImpersonation to workspace

* remove allowImpersonation from workspaceMember workspace table
2023-11-22 14:12:39 +01:00
Thaïs
680e9b6aa5
fix: remove navigation to Detail page on Relation tag click for Syste… (#2636)
fix: remove navigation to Detail page on Relation tag click for System objects

Fixes #2635
2023-11-22 12:30:49 +01:00
Lucas Bordeau
4b2d18c1d7
Fixed record inline cell fields on activity editor (#2634)
Created a generic useFieldContext hook to wrap RecordInlineCell anywhere in the app easily
2023-11-22 12:27:58 +01:00
Charles Bochet
8f623ceb5c
Fix bug favorite optimistic rendering and opportunity prefill (#2633)
* Fix bug favorite optimistic rendering and opportunity prefill

* Fixes
2023-11-22 11:43:40 +01:00
Charles Bochet
10febd9aeb
Improve Board performances (#2626)
Improve app performances
2023-11-22 09:58:49 +01:00
gitstart-twenty
ee8f6899fc
chore(front): Refactor the SnackBar component to use the new scope architecture (#2578)
* chore(front): Refactor the SnackBar component to use the new scope architecture

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

* Rename useSnackBarManager

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

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-21 23:42:38 +01:00
Kanav Arora
ff42526a09
2311 embed keyboard shortcuts (#2507)
* 2311-feat(front): AppHotKeyScope and CustomHotKeyScopes configured

* 2311-feat(front): Groups and Items added

* 2311-fix: pr requested changes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-21 23:36:23 +01:00
Lucas Bordeau
a67199e0c3
Fix Tasks and Activities - Part 1 (#2624)
Fixed
2023-11-21 23:29:40 +01:00
Charles Bochet
77733f2bc8
Improve Performances of FE by reducing first print queries (#2623) 2023-11-21 22:47:49 +01:00
Charles Bochet
726e375616
Complete labelIdentifer, relationPicker first implementation (#2618)
* Fix first column main identifier

* Fixes
2023-11-21 18:32:36 +01:00
bosiraphael
74e0122294
fix datepicker width (#2621) 2023-11-21 18:17:19 +01:00
bosiraphael
ad8331aa89
Board V2 - Part 1 (#2619)
* improve useComputeDefinitionsFromFieldMetadata to prevent infinit loops

* fix viewFields

* improve initial seeding

* fix height 100%

* fix filters and sorts

* allow filter on currency

* remove probability from filter

* fix opportunities count

* fix persist filters and sorts
2023-11-21 18:01:30 +01:00
Thaïs
9912f7a336
feat: disable Standard field edition in Relation field form (#2604)
* feat: disable Standard field edition in Relation field form

Closes #2584

* refactor: code review
2023-11-21 16:33:07 +01:00
Thaïs
0f4796bd1a
feat: improve Relation field type tag (#2606)
* feat: improve Relation field type tag

Closes #2359

* refactor: code review - rename dataTypes to settingsFieldMetadataTypes

* refactor: code review - style Icon with styled
2023-11-21 16:23:35 +01:00
Charles Bochet
f97d25d986
Introduce a RelationPicker component with a RelationPickerScope (#2617)
Refactor mainIdentifier into scope componetn
2023-11-21 16:09:02 +01:00
Charles Bochet
d25f00e04f
Fix avatar placeholder not displayed (#2611) 2023-11-21 12:39:40 +01:00
Lucas Bordeau
b13d84fcda
Fix/company team crud (#2614)
* Fixed basePathToShowPage

* Fixed company team list

* Fixed : create, update, delete and detach people from company.
2023-11-21 12:24:20 +01:00
Charles Bochet
09533e286b
Fix/opportunities board (#2610)
* WIP

* wip

* update pipelineStepId

* rename pipeline stage to pipeline step

* rename pipelineProgress to Opportunity

* fix UUID type not queried

* fix boardColumnTotal

* fix micros

* fixing filters, sorts and fields

* wip

* wip

* Fix opportunity board re-render

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-11-21 01:24:25 +01:00
Weiko
a33d4c8b8d
Rename DATE to DATETIME (#2576)
* Rename DATE to DATETIME

* rename DATE to DATE_TIME

* fix server tests

* rename date to datetime

* rename date to datetime
2023-11-21 00:16:42 +01:00
Thaïs
b3c1723638
fix: hide Select field type + display Relation field type only for ed… (#2603)
fix: hide Select field type + display Relation field type only for edition

Fixes #2585
2023-11-21 00:14:58 +01:00
Thaïs
1e79d4351e
fix: fix Relation field preview (#2605)
Fixes #2586
2023-11-21 00:14:16 +01:00
Charles Bochet
0ace17df82 Fix linter and remove console logs 2023-11-20 16:54:51 +01:00
Lucas Bordeau
189586830e
Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems (#2600)
* Refactored useFindOneObjectMetadataItem and useFindManyObjectMetadataItems to rely on a recoil family selector

* Removed console.log

* Cleaned

* Removed unused hook

* Fixed seeds
2023-11-20 16:34:06 +01:00
Jérémy M
3ad30a0498
fix: not able to filter by nullable values (#2580)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-20 15:46:20 +01:00
brendanlaschke
9516e69522
Fix navbar active marker (#2588)
- fix navbar active marker
2023-11-20 15:36:35 +01:00
Charles Bochet
b6665f880d
Refactor types to remove unused types and add FullNameFieldInput (#2590) 2023-11-20 13:40:22 +01:00
Charles Bochet
25950ab82a
Introduce main identifier to power RelationFieldDisplay (#2577)
* Introduce main identifier to power RelationFieldDisplay, FilterDrodown, TableFirstColumn

* Apply to RelationPicker
2023-11-20 10:33:36 +01:00
Charles Bochet
f5e1d7825a
Removing Prisma and Grapql-nestjs-prisma resolvers (#2574)
* Some cleaning

* Fix seeds

* Fix all sign in, sign up flow and apiKey optimistic rendering

* Fix
2023-11-19 18:25:47 +01:00
Thaïs
18dac1a2b6
feat: add Relation field form (#2572)
* feat: add useCreateOneRelationMetadata and useRelationMetadata

Closes #2423

* feat: add Relation field form

Closes #2003

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:38:39 +01:00
Thaïs
fea0bbeb2a
feat: add EnumFieldDisplay and Enum field preview (#2487)
Closes #2428

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:15:35 +01:00
Charles Bochet
e72917c69c Fix issues post merge 2023-11-17 22:59:10 +01:00
Mohit Singh
ec4f07eab2
Changed the font-weight to regular (Issue #2500) (#2550)
fix🐛 changed the font-weight to regular (Issue #2500)
2023-11-17 22:39:29 +01:00
brendanlaschke
18846885cd
Icon picker gap & hover color (#2522)
- icon picker gap & hover color
2023-11-17 22:35:07 +01:00
Charles Bochet
aa2596c572 Update Seeds while pre-fi
lling a new workspace
2023-11-17 21:54:32 +01:00
Thaïs
e90beef91f
feat: add useCreateOneRelationMetadata and useRelationMetadata (#2559)
Closes #2423
2023-11-17 19:15:15 +01:00
bosiraphael
d481da183f
V2 opportunities (#2565)
* changed isSystem to false

* wip

* wip

* wip

* add amount viewfield seed

* seed other viewFields

* upate tenant seeds

* Remove calls to old pipelines

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-11-17 19:12:22 +01:00
Lucas Bordeau
50d6ab52d7
Fix favorites add/remove from table context menu (#2571)
* Fix favorites add/remove from table context menu

* Fixed console.log

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-11-17 19:10:33 +01:00
martmull
900c863f02
Improvements for migrations (#2573)
* Fix optimistic effects

* Fix merge issue
2023-11-17 19:09:46 +01:00
Charles Bochet
f58e4263bc Fix favorite seeds and prefill 2023-11-17 16:44:26 +01:00
Charles Bochet
baf1260443
Fix Activities and Tasks modules (#2561)
* Fix activities

* Fix Timeline

* Refactor useCreateOne and useUpdateOne records

* Fix seeds
2023-11-17 16:24:58 +01:00
Lucas Bordeau
a6d8cdb116
Fix context menu and favorites (#2564) 2023-11-17 16:24:43 +01:00
martmull
becd7c2ece
Fix implicit index provided in mapping function (#2558) 2023-11-17 14:51:22 +01:00
martmull
dea1555031
Improvements for migrations (#2556)
* Fix wrong var name

* Add is null is not null filtering on dates

* Simplify
2023-11-17 14:20:33 +01:00
martmull
454f893eea
Fix objectMetadataId to objectRecordId incorrect naming (#2554)
Fix wrong var name
2023-11-17 11:26:45 +01:00
Weiko
bc579d64a6
Rename Money/Url to Currency/Link and remove snake_case from composite fields (#2536)
* Rename Money/Url to Currency/Link

* regenerate front types

* renaming money/url field types

* fix double text

* fix tests

* fix server tests

* fix generate-target-column-map

* fix currency convert

* fix: tests

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
2023-11-17 10:31:17 +01:00
Charles Bochet
31e439681c Fix main post merge 2023-11-17 09:45:48 +01:00
martmull
e8a1d0d6d5
Remove api keys from old world (#2548)
* Use apiKeyV2 for getApiKeys

* Use apiKeyV2 for createApiKey

* Use apiKeyV2 for getApiKey

* Use apiKeyV2 to deleteapikey

* Filter null revokedAt -> not working

* Use apiKeyV2 to regenerate

* Fix default values injected

* Remove useless stuff

* Fix type
2023-11-16 18:14:04 +01:00
Charles Bochet
31adb24ffd Fix main post merge 2023-11-16 17:23:05 +01:00
Charles Bochet
dee38bb901
Migrate activities (#2545)
* Start

* Migrate activities to flexible schema
2023-11-16 17:10:22 +01:00
Lucas Bordeau
7da18a13e8
Feat/filter available field definition v2 (#2547)
* Added react-dev-inspector

* Add field relation type parsing and filter available fields for record table and show page

* Revert "Added react-dev-inspector"

This reverts commit 7a78964c2c.
2023-11-16 17:09:50 +01:00
bosiraphael
0ae9373532
V2 onboarding (#2543)
* fix cannot query avatarUrl

* create workspace working

* fix bugs related to refetch queries

* onboarding working

* updated dependency array

* improve error handling

* update types, remove as any, remove console logs

* small fix
2023-11-16 17:09:10 +01:00
Félix Malfait
b1b6bbe7d3
Increase spreadsheet import limit (#2539)
* Initialize web application via create-cloudflare CLI

Details:
  C3 = create-cloudflare@2.6.2
  project name = twenty-blog
  framework = next
  framework cli = create-next-app@13.4.19
  package manager = npm@9.5.0
  wrangler = wrangler@3.15.0
  git = 2.39.2 (Apple Git-143)

* Increase CSV Import limit

* Revert "Initialize web application via create-cloudflare CLI"

This reverts commit 6a09759372.
2023-11-16 15:27:53 +01:00
Lucas Bordeau
4acb7f41e1
Fix/company picker v2 (#2535)
Fixed company picker V2
Fixed picker search hook filters / where clause
Fixed OrderBy / SortOrder type
Fixed set relation to null
2023-11-16 12:34:23 +01:00