Commit Graph

722 Commits

Author SHA1 Message Date
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
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
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
5c0ad30186 feat: add Status component (#2838)
Closes #2820
2023-12-05 11:07:51 +01:00
b4323f67a5 feat: create Settings/Accounts page (#2837)
Closes #2815
2023-12-05 10:51:25 +01:00
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
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
7e7bd6b9e7 Prevent setting addition from being broken 2023-12-03 12:01:37 +01:00
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
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
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
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
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
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
8bd567c2b4 Fix post merge conflict on Rating field hook 2023-12-01 16:29:49 +01:00
93e4f79551 feat: rename Probability field type to Rating and update preview (#2770)
Closes #2593
2023-12-01 15:31:01 +01:00
c2131a29b8 Renaming "Experience" to "Appearance" (#2776)
* refining settings

* Delete .idea/workspace.xml

* Update .gitignore
2023-11-30 14:41:03 +01:00
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
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
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
d50cf5291a feat: reorder select field options (#2766)
Closes #2703
2023-11-29 16:42:36 +01:00
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
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
34a3197fee feat: set Select field option as default option (#2725)
Closes #2591
2023-11-29 12:19:56 +01:00
96d3a96cc4 Fix post merge conflicts 2023-11-29 00:05:54 +01:00
bc787f72ba feat: add Select field preview and form (#2655)
Closes #2432
2023-11-28 23:44:21 +01:00
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
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
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
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
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
9d3e000055 2526-fix(front): Save on Esc and Click Outside (#2750) 2023-11-28 17:54:22 +01:00
a7111eef51 Fix keyboard cmds table soft focus (#2608)
- fix keyboard cmds table soft focus
2023-11-28 16:58:59 +01:00
9c49d7474f Fix: Don't sort by column createdAt if it does not exist (#2737)
Fix #2699
2023-11-28 16:49:43 +01:00
aeccc87ac5 Yarn upgrade (#2749)
* yarn upgrade front and docs

* upgrade yarn server

* Revert change not needed
2023-11-28 16:48:02 +01:00
875ba31a0a refactor:Style "loading more" rows on tables (Issue #2498) (#2717) 2023-11-27 11:12:59 +01:00
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
66162e6693 Fix board animation (#2706)
fix-board-animation
2023-11-24 21:26:44 +01:00
e810ad7016 Fix wrong visibility icon (#2707)
fix-wrong-visibility-icon
2023-11-24 18:24:54 +01:00
0c56989cb1 Disable activities creation for custom objects 2023-11-24 17:34:21 +01:00
8212606043 Fix views (#2701)
* wip

* Fix viewsé
2023-11-24 16:32:59 +01:00
886acd1cec hide new opportunity picker (#2702) 2023-11-24 16:32:14 +01:00
0376d0b7e0 Fixed soft focus init (#2696) 2023-11-24 15:41:09 +01:00
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
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
72421a39ea Fix Activity Picker part 1 (#2678)
* Fix Activity Picker part 1

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

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

* Fixes
2023-11-23 13:44:54 +01:00
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
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