Commit Graph

1266 Commits

Author SHA1 Message Date
Matheus Sanchez
590912b30f
feat: Adding className as a prop (#2847)
* Adding className as a prop to use emotion

* Adding className to feedback and input components
2023-12-07 18:48:37 +01:00
Lucas Bordeau
145b432dc6
Moved pure UI object fields to ui folder (#2861)
* Moved pure UI object fields to ui folder

* Moved pure UI object fields to ui folder 2
2023-12-07 16:27:39 +01:00
Thaïs
62fa55eae6
feat: add Settings/Accounts Settings section (#2853)
Closes #2818
2023-12-07 12:43:38 +01:00
Lucas Bordeau
a8ecc23cbe
Chore/move records related to record folder (#2859)
* WIP

* Finished multi select filter

* Cleaned console log

* Fix naming

* Fixed naming

* Moved RelationPicker folder

* Moved EntitySelect components

* Moved story

* Moved RelationPicker non component folders

* Moved everything else
2023-12-07 12:43:10 +01:00
Lucas Bordeau
06936c3c2a
Feat/multi relation filter (#2858)
* WIP

* Finished multi select filter

* Cleaned console log

* Fix naming

* Fixed naming
2023-12-07 12:08:48 +01:00
Kanav Arora
b2912f4b4b
2795-fix(front): ObjectNamePlural added as Page Header title (#2852)
* 2795-fix(front): ObjectNamePlural added as Page Header title

* 2795-fix(front): Icon fix

* fix linting errors

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-12-07 11:13:32 +01:00
Charles Bochet
076a67b0e2
Fix optimistic rendering issues on views (#2851)
* Fix optimistic rendering issues on views

* Remove virtualizer
2023-12-06 16:55:09 +01:00
gitstart-twenty
b09100e3f3
Implement table record virtualizer back (#2839)
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>
2023-12-06 14:20:00 +01:00
Thaïs
e388d90976
fix: fix Pipeline Step title and color update in board (#2849)
Fixes a bug where editing a pipeline step's title or color in the board changes the column's label to the column's uuid and the color to gray.
2023-12-06 12:06:46 +01:00
Thaïs
f8ddf7f32c
fix: several Navigation Bar and Drawer fixes (#2845)
* fix: several Navigation Bar and Drawer fixes

Fixes #2821

- Fix navigation drawer animations
- Fix navigation bar positioning
- Do not display navigation drawer collapse button on mobile
- Refactor code and rename componentst

* Fix storybook test

* fix: fix NavigationDrawerHeader elements space-between

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-06 10:36:10 +01:00
Charles Bochet
69f48ea330
Fix optimistic rendering issues on board and table (#2846)
* Fix optimistic rendering issues on board and table

* Remove dead code

* Improve re-renders of Table

* Remove re-renders on board
2023-12-05 22:29:27 +01:00
Paula Perdomo
1616ea6c4f
Bug Fix: Allows user to press 'Enter' to navigate through forms (#2840)
* Adding TextInput onKeyDown prop for detecting enter key on signup/login/onbaording forms

* Adding onKeyDown for password field
2023-12-05 14:28:12 +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
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
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
Thaïs
93e4f79551
feat: rename Probability field type to Rating and update preview (#2770)
Closes #2593
2023-12-01 15:31:01 +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
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
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
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