Commit Graph

1696 Commits

Author SHA1 Message Date
Weiko
6d4ad6ec18
Sync standard object metadata (#2807)
* Sync standard object metadata

* remove debug logging

* remove unused func

* fix comments

* fix empty objectsToDelete list
2023-12-05 14:10:50 +01:00
bosiraphael
2dcce31ede
Create feature flag and use hook to display account tab conditionally (#2843)
create feature flag and use hook to display account tab conditionally
2023-12-05 12:23:18 +01:00
Ruslan
72d696ad1b
Fixing fields that got mixed up (#2207) (#2842)
Fixing fields that got mixed up
2023-12-05 12:22:21 +01:00
bosiraphael
95a1cfeec3
2426 timebox refactor board with the new scope architecture (#2789)
* scoped states: wip

* scoped states: wip

* wip

* wip

* create boardFiltersScopedState and boardSortsScopedState

* wip

* reorganize hooks

* update hooks

* wip

* wip

* fix options dropdown

* clean unused selectors

* fields are working

* fix filter an sort

* fix entity count

* rename hooks

* rename states

* clean unused context

* fix recoil scope bug

* objectNameSingular instead of objectNamePlural
2023-12-05 12:15:20 +01:00
Thaïs
5c0ad30186
feat: add Status component (#2838)
Closes #2820
2023-12-05 11:07:51 +01:00
Thaïs
b4323f67a5
feat: create Settings/Accounts page (#2837)
Closes #2815
2023-12-05 10:51:25 +01:00
martmull
2c211c1a2e
Fix zapier validation team request (#2806) 2023-12-04 13:36:35 +01:00
brendanlaschke
40b4e9f8e9
Redesign Timeline (#1772)
* Timeline redesign for desktop and mobile
* Fixed nowrap on desktop

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-04 11:37:25 +01:00
Nimra Ahmed
2171eff1a0
minor improvements to ui component docs (#2805)
* minor improvements to ui component docs

* polish queue.mdx, remove duplicate icon
2023-12-04 08:32:35 +01:00
brendanlaschke
de2f7212d1
Attachments add more file extensions (#2803)
- add more file extensions
2023-12-03 23:13:53 +01:00
Charles Bochet
7e7bd6b9e7 Prevent setting addition from being broken 2023-12-03 12:01:37 +01:00
Ruslan
fd9467c54d
feat: Add seed people and companies data for demo environment (#2207) (#2307)
* feat: seed companies and people data

* init DataSeedDemoWorkspaceCommand to handle:
- seedCoreSchema()
- seedMetadataSchema()

* feature: Seed workspace with demo data

- delete workspace
- initDemo() with prefillWorkspaceWithDemoObjects()

* added companies-demo.ts with data
* added people-demo.ts with data

* added workspaceId to seedFeatureFlags()

* delete previous CoreSchema before seedCoreSchema

* added workspaceMemberPrefillData

* getDemoWorkspaces() to get DEMO_WORKSPACES from config

* defined DemoSeedUserIds

- created core/demo/ to keep modified seedCoreSchema() there
- DemoSeedUserIds with new set of users and Ids

* generateOpportunities() to seed demo opportunities (limit = 50)

* Code review and fixes

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-02 18:37:45 +01:00
Kanav Arora
31f29582d0
2727-fix(front): CommandMenu and KeyboardMenu invoke handled (#2783)
* 2727-fix(front): CommandMenu and KeyboardMenu invoke handled

* Fix Command Menu and bug on metadata re-render

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 23:45:42 +01:00
Saba Shavidze
fec8223ab8
feat: improve mobile display by tab bar and other changes (#2304)
* feat: improve mobile display by tab bar and other changes

* fix: remove unused declaration in mobile navigation

* fix: update desktop navbar stories title

* fix: retrieve old titles for desktop-navbar stories

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: styles, manage active tabs

* fix: update logic for tab bar menu icons

* fix: remove Settings icon for mobile

* fix: resolve comments in pl

* feat: rework mobile navigation bar

* Fix

* Fixes

---------

Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 23:16:34 +01:00
Lucas Bordeau
74b077f3ca
Feat/error boundaries (#2779)
* - Changed to objectNameSingular always defined
- Added ErrorCatchAll

* - Added mock mode for companies logged out
- Added a proper ErrorBoundary component

* Removed react-error-boundary

* Implemented proper ErrorBoundary

* Fixes

* Change strategy about mocks

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 22:06:38 +01:00
pokeghost
a301f451f9
fix: Remove "pen icon" on Team member field #2384 (#2549)
fix: Remove "pen icon" on Team member field

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 18:48:15 +01:00
Umar Abid
5720312249
[FEAT-2496] Add Customize fields button in new column menu (#2683)
* feat: add customize-fields btn in new column menu

* fix: refactor onClick

* Add separator

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 17:48:38 +01:00
Kanav Arora
9dc997e9ac
2503-feat(front): hover icons added; commandmenu open added (#2622)
* 2503-feat(front): hover icons added; commandmenu open added

* 2503-feat(front): LightIconButtonGroup added; BoardColumn suggested fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-01 16:49:18 +01:00
Charles Bochet
8bd567c2b4 Fix post merge conflict on Rating field hook 2023-12-01 16:29:49 +01:00
martmull
97f154ef2c
Add rest api (#2757)
* Add a wildcard get route

* Call api from api

* Add a query formatter

* Use headers to authenticate

* Handle findMany query

* Add limit, orderBy and lastCursor parameters

* Add filter parameters

* Remove singular object name from valid requests

* Update order_by format

* Add depth parameter

* Make /api/objects/ID requests work

* Fix filter

* Add INTERNAL_SERVER_URL env variable

* Remove useless comment

* Change bath api url to 'rest'

* Fix limit parser

* Handle full filter version

* Improve handle full filter version

* Continue rest api

* Add and(...) default behaviour on filters

* Add tests

* Handle 'not' conjunction for filters

* Check filter query

* Format values with field metadata item type

* Handle nested filtering

* Update parsing method

* Check nested fields

* Add delete query

* Add create query

* Rename methods

* Add update query

* Update get one object request

* Fix error handling

* Code review returns
2023-12-01 16:26:39 +01:00
Mahendra Kumar
f405b77cea
add message queue integration (#2491) 2023-12-01 16:09:04 +01:00
Thaïs
93e4f79551
feat: rename Probability field type to Rating and update preview (#2770)
Closes #2593
2023-12-01 15:31:01 +01:00
Jérémy M
474db1e142
fix: nested relations not working and relations not prefixed (#2782)
* fix: nested relations n+n

* fix: prefix custom relations

* fix: only apply targetColumnMap when it's a custom object

* fix: force workspaceId to be provided

* fix: toIsCustom -> isToCustom

* fix: remove console.log
2023-12-01 15:26:48 +01:00
Jérémy M
6e6f0af26e
feat: Adding support for new FieldMetadataType with Postgres enums (#2674)
* feat: add enum type (RATING, SELECT, MULTI_SELECT)

feat: wip enum type

feat: try to alter enum

feat: wip enum

feat: wip enum

feat: schema-builder can handle enum

fix: return default value in field metadata response

* fix: create fieldMedata with options

* fix: lint issues

* fix: rename abstract factory

* feat: drop `PHONE` and `EMAIL` fieldMetadata types

* feat: drop `VARCHAR` fieldMetadata type and rely on `TEXT`

* Revert "feat: drop `PHONE` and `EMAIL` fieldMetadata types"

This reverts commit 3857539f7d.
2023-11-30 15:24:26 +01:00
Mithra
c2131a29b8
Renaming "Experience" to "Appearance" (#2776)
* refining settings

* Delete .idea/workspace.xml

* Update .gitignore
2023-11-30 14:41:03 +01:00
gitstart-twenty
1822370389
feat: add missing updateMany and deleteMany resolvers on flexible backend (#2758)
* feat: add missing updateMany and deleteMany resolvers on flexible backend

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

* Refactor according to review

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

* Update return types for `createMany`, `updateMany` and `deleteMany`

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

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-11-30 13:13:08 +01:00
Charles Bochet
1ba062f40c Update documentation database setup 2023-11-30 12:53:52 +01:00
Charles Bochet
8548d11126
Release 0.2.0 (#2777) 2023-11-30 12:51:07 +01:00
Nimra Ahmed
0008c4b9d5
Fix UI components (#2771)
* fixes radio button's label (issue #2566)

* fixes entity title double text input's width (issue #2562)

* fixed checkmark placement on color scheme card

* fix failing CI Docs

* fixes computed node dimensions and color scheme card

* fix color scheme card background

* fix color scheme card background

* updated color scheme card docs

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-30 12:13:05 +01:00
Kanav Arora
976f86093c
2394-feat(front): create new record on click of plus icon (#2660)
* 2394-feat(front): create new record on click of plus icon

* 2394-feat(front): fix of Icon Button

* 2394-fix: PR fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-29 20:07:55 +01:00
brendanlaschke
7e454d2013
Attachments (#2716)
* create attachment site

* add deletion

* - fix person create attachment

* - add presentation type
- add some more file endings
- various fixes
2023-11-29 16:58:58 +01:00
Thaïs
d50cf5291a
feat: reorder select field options (#2766)
Closes #2703
2023-11-29 16:42:36 +01:00
bosiraphael
04c7c1a334
Feature flags seeds, queries and hooks (#2769)
* seed is working

* allow graphql to retrieve feature flag data

* create useIsFeatureEnabled hook

* hook is working

* Update icons.ts
2023-11-29 16:40:44 +01:00
Lucas Bordeau
d855a42eca
Fix/object record and metadata naming (#2763)
* Fixed object-record and object-metadata naming

* Fix post merge

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-29 13:45:57 +01:00
Thaïs
3617abb0e6
feat: pick select field option colors (#2748)
Closes #2433

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-29 12:49:41 +01:00
Charles Bochet
aa4bd0146b Fix storybook tests preventing front build 2023-11-29 12:45:08 +01:00
Thaïs
34a3197fee
feat: set Select field option as default option (#2725)
Closes #2591
2023-11-29 12:19:56 +01:00
Thaïs
f00c05c342
feat: remove Select field options (#2668)
Closes #2587
2023-11-29 12:16:26 +01:00
Charles Bochet
96d3a96cc4 Fix post merge conflicts 2023-11-29 00:05:54 +01:00
Thaïs
cf790b9a88
feat: add options to Select field (#2665)
Closes #2447
2023-11-28 23:48:54 +01:00
Thaïs
bc787f72ba
feat: add Select field preview and form (#2655)
Closes #2432
2023-11-28 23:44:21 +01:00
gitstart-twenty
0fa55b0634
Fix Frontend modules tests (#2688)
* Fix naming issue

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

* Fix more tests

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

* Revert unnecessary changes

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

* Refactor according to self-review

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

* Fix graphql mocks not working anymore

---------

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-28 23:33:34 +01:00
brendanlaschke
fd969de311
Fix action bar button danger background and gap (#2711)
fix action bar button danger background and gap

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 20:23:36 +01:00
bosiraphael
18d30c45c4
Create feature flag table (#2752)
* feature flag working

* wip

* wip

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 20:19:39 +01:00
Kanav Arora
9e9e1940f9
fix: setup-postgres-macos.sh (#2575)
* fix: setup-postgres-macos.sh

* Provide intel, arm mac os scripts

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 19:32:27 +01:00
Kanav Arora
74e2464939
2495 fix cmdk removal and added toggle functionality (#2528)
* 2495-fix(front): cmdk removed; custom styles added

* 2495-fix(front): search issue fixed

* 2495-feat(front): Menu toggle funct added

* 2495-fix(front): onclick handler added

* 2495-fix(front): Focus with ArrowKeys added; cmdk removed

* Remove cmdk

* Introduce Selectable list

* Improve api

* Improve api

* Complete refactoring

* Fix ui regressions

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-28 18:50:23 +01:00
gitstart-twenty
784db18347
Double check install with postgres15 on WSL (#2643)
* Merge main

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

* Revert unnecessary change

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

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-11-28 18:38:26 +01:00
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
Nimra Ahmed
5fab7c9a19
Update workspace directory (#2555)
* updated tenant directory

* rename tenant to workspace
2023-11-28 18:32:02 +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