Commit graph

138 commits

Author SHA1 Message Date
darkLord19
16708e93cd
add user setting for preferred date format (#666)
* add user setting for preferred date format

* set date format value to local storage

* use user preferred date format to display dates

* use object destructuring

* fix tests and lint
2021-07-08 12:17:09 +05:30
Harshil Sharma
f01add651c
Fixed issue where color panel git cut off in value selector (#664) 2021-07-08 10:06:29 +05:30
ditsemto
5b82dfda4b
GH-629 - Property Popover in Kanban view (#643) 2021-07-07 01:46:37 -04:00
Jesús Espino
702b4b1061
Only allowing valid color classes (#665)
* Only allowing valid color classes

* Simplifying the menuColors map and addressing some PR review comments

* Fixing type problems

* Fixing color

* Fixing snapshots
2021-07-06 19:53:54 +02:00
Harshil Sharma
67df905a42
Fixed issue with dropdown background being height-limited (#594)
* Fixed issue with dropdown background being height-limited

* Fixed height issue in a better way
2021-06-21 11:56:48 +02:00
Jesús Espino
8e6a71a028
Render react-select elements only on demand (#607)
* Render react-select elements only on demand

* Reverting unneded change

* Updating snapshots

* Fixing css inconsistencies

* Fix another tiny bug on mutil-select readonly view

* Updating snapshots
2021-06-21 11:24:26 +02:00
Jesús Espino
c004c7c86d Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
Chen-I Lim
b45ff4c833
Fix #556: menu font size (#568) 2021-06-12 14:54:27 +02:00
Jesús Espino
aa80ac02af Importing only what is needed from lodash 2021-06-11 11:32:18 +02:00
Hossein
4d3d45323f
Card Template > Creating a property & setting type only stores either property name or type (#553)
* Fix bug

* update test and address comments

* Fix test

* Remove mousedown and use debounce

* Fix test

* fix lint
2021-06-11 11:22:19 +02:00
Harshil Sharma
90f6389745
Person Property Type (#406)
* Added getWorkspaceUsers API

* Integrated workspace user API in UI

* Integrated workspace user API in UI

* Added toto for implementation slot

* Implemenmted getWorkspaceUSers to get data from Focalboard DB

* Updated store mocks

* Made select styles a shared constant

* Removed unwanted diffs

* Removed unwanted diffs

* Updated snapshots for new property type

* Added user store test

* Added missing copyright notice

* Returning error if no users found to retain original behavior

* Minor fixes and added tests

* Minor fixes

* Used React context for workspace users

* Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets

* Mergerd both workspace user contextx

* Minor review fix
2021-06-04 18:53:15 +05:30
Hossein
e7126b1835
Implement Multi Select Values (#415) 2021-06-03 16:48:16 -04:00
Michael Kochell
1d87331391
Introduce checkbox property type (#439)
* introduce checkbox property type

* treat false as empty string

* Fixed lint issues

* Fixed webapp tests:

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-06-02 15:53:52 +05:30
Harshil Sharma
3bf9d9382e
Clickable Links (#393)
* Added implementation for making links clickable

* Improved some clicking UX

* Removed unused stuff

* Fixed lint issues

* Added Compass Icons to Focalboard

* Updaed go.mod

* Made sure links in URL property are always assumed as absolute

* Removed unnecessary JSX code block

* Allowing only http and https protocols

* Removed unused extensions from file loader

* Icon and URL imporvements

* Added React component for Compass Icons.
* Allowed URLs with any arbitrary protocol.
2021-05-26 16:14:09 +05:30
Johannes Marbach
47b528b2f3
[GH-410] Remove background from read-only input fields (#452)
* [GH-410] Remove background from read-only input fields

This makes the background of text input fields transparent when the field is
read-only. Making it transparent will make the background show through which
prevents giving the visual impression of being editable.

Fixes #410

* Update snapshot
2021-05-21 15:36:24 -06:00
Johannes Marbach
889794863a
[GH-315] Enable spell checking in inputs and markdown editor (#372)
* [GH-315] Enable spell checking in inputs and markdown editor

Relates to: #315

* Update snapshots
2021-05-10 17:17:10 +02:00
Jesús Espino
323f02f7ac Removing other unneeded injectIntl 2021-05-10 15:20:48 +02:00
Jesús Espino
94ee5eb844 Replace injectIntl with useIntl on functional components 2021-05-10 15:15:52 +02:00
Johannes Marbach
0f0d9f3bd8
[GH-38] Add date property (#391)
* [GH-38] Add date property

Closes: #38

* Add date menu item in snapshot to fix tests

* Add react-day-picker in NOTICE.txt
2021-05-10 07:46:07 +02:00
Stefan Huber
1ed9c6b291
Add prettier at least for css (#327)
This reverts commit c95ab685e4 and adds code fixes to scss files

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-28 16:28:52 +02:00
Bharat
97b446f609
Added phone number field (#286)
* Added phone number field

* Removed phone number validation since its a complicated problem to solve for now

* Added the missing case for phone
2021-04-27 12:34:58 +02:00
Asaad Mahmood
8c976b5ace
Updating editable default height (#337) 2021-04-26 15:52:33 +02:00
Asaad Mahmood
6eff770abf 264 - Updating comment area css 2021-04-15 23:56:59 +05:00
Jesús Espino
bd7234427e Change the drag and drop of the content to add the grip 2021-04-12 18:23:11 +02:00
Jesús Espino
57a6ac3bac Migrating editable to functional component 2021-04-09 21:30:30 +02:00
Jesús Espino
5cf59d6ff5 Simplifying login page code 2021-04-09 17:00:12 +02:00
Bharat
1640923001 Merge branch 'main' into feat/add_url_prop_frontend 2021-04-09 01:25:43 +05:30
Jesús Espino
2d1b76f570 Fixing labels on narrow columns of table view 2021-04-08 18:19:56 +02:00
Jesús Espino
6383d79ecf Adding property validators 2021-04-08 12:40:55 +02:00
Bharat
cb6a8a0189 Updated snapshot to include URL in dropdown 2021-04-01 19:09:18 +05:30
Bharat
e71e0c5ef1 Added URL as a property on the frontend 2021-04-01 18:56:42 +05:30
Jesús Espino
ae58abcecb Adding search hotkey ctrl+shift+f 2021-04-01 10:13:02 +02:00
Chen-I Lim
679a689d3f Fix #220 2021-03-31 15:08:25 -07:00
Chen-I Lim
e2a9597b78 Update PropertyMenu.Delete id 2021-03-31 14:19:12 -07:00
Bharat
bede81a921 Merged changes from main and ran extract 2021-04-01 02:14:02 +05:30
Jesús Espino
d58adf0582
Merge pull request #216 from jespino/gallery-view
Gallery view
2021-03-30 20:22:19 +02:00
Jesús Espino
2d5738b02a Adding GalleryIcon based on ImageIcon 2021-03-30 20:21:47 +02:00
Jesús Espino
d573f97fe6 Moving the label concept into its own component 2021-03-30 18:57:55 +02:00
Jesús Espino
009639b1ea Migrating to menuWrapper to functional component 2021-03-30 13:53:12 +02:00
Jesús Espino
e441c4ee91 Migrating to property menu to functional component 2021-03-30 13:37:47 +02:00
Jesús Espino
2b9b5cb07f Migrating everything to 1 single editable type 2021-03-30 13:11:56 +02:00
Chen-I Lim
4c759b9a9e Update propertyMenu snapshot 2021-03-26 17:55:02 -07:00
Jesús Espino
55885805a6 Simplifiying SubMenuOption 2021-03-26 14:58:20 +01:00
Jesús Espino
77343c2f03 Migrating some components to functional components 2021-03-26 14:52:31 +01:00
Jesús Espino
7c156cfd84 Migrating some components to functional components 2021-03-26 14:41:59 +01:00
Jesús Espino
252dcc2c50 Fixing code styles 2021-03-26 11:54:55 +01:00
Jesús Espino
8845683b09 Upgrading javascript dependencies 2021-03-25 19:41:00 +01:00
Renjith
21924107dd [GH-132] - Add snapshot test for propertyMenu component to cover the rest of the scenarios 2021-03-20 19:42:19 -05:00
Renjith
ddc357ed35 [GH-132] Clean up and refactoring 2021-03-19 14:03:46 -05:00
Renjith
ef5e72ab7c [GH-132] Add unit test to cover the type chnge event callback 2021-03-19 11:40:13 -05:00