summaryrefslogtreecommitdiffstats
path: root/client/components/lists
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade ESLint to v2Maxime Quandalle2016-03-171-1/+3
| | | | This commit also tweak the code style following backward-incompatible v2 rules.
* Add notification, allow watch boards / lists / cardsLiming Xie2016-01-053-0/+27
|
* Remove unnecessary template name declarationMaxime Quandalle2016-01-033-16/+0
| | | | | | This code was duplicate with the name we use to `register` the component. A update of blaze-component removed the need to duplicate this declaration.
* Fix drag and drop on SandstormMaxime Quandalle2015-12-301-3/+9
| | | | | | | | | | | | | | This bug was introduced with the introduction of fast-render in 41b23f8. With fast-render data is available instantly after the page logging, but calls to `Meteor.userId()` still return `null` as the user isn't authenticated on the DDP channel yet (previously the data was loaded on DDP after user authentication). Which mean that we know need to reactively activate Drag and Drop on user log in. I'm not sure why I was not able to reproduce this bug outside of Sandstorm. Fixes #453
* Remove the import trello card featureMaxime Quandalle2015-12-222-2/+0
| | | | | | See the following discussion for rationale: https://github.com/wekan/wekan/issues/113#issuecomment-163039089
* add: support compact mode for mobile web, auto adapt to small screen/windowLiming Xie2015-12-171-1/+1
|
* Dynamically resize the new card form if the title is too longMaxime Quandalle2015-12-091-1/+6
|
* Remove the move and archive all cards of a list featureMaxime Quandalle2015-12-092-28/+0
| | | | | | | | | | This operation should now be handled using the multi-selection feature, ie “select all cards” and then move them or click the “archive selection” button. This new process add an extra click which I consider reasonable enough for a relatively rare operation -- plus I want to encourage mutli-selection usage. Closes #390.
* bugfix: only care active members, also optimize some codefloatinghotpot2015-12-081-1/+1
|
* Finish the minicard editor auto-completion featureMaxime Quandalle2015-11-084-89/+86
| | | | | | | | | | | This commit stands on the initial support implemented in #342. We now avoid error-prone parsing step by adding the member or the label directly to the card object. We also added support for `Tab` to completion on our textComplete component. Closes #342
* Merge branch 'devel' into minicard-editorMaxime Quandalle2015-10-314-10/+13
|\ | | | | | | | | Conflicts: client/components/lists/listBody.js
| * Fix some bugs introduced in aa974aaMaxime Quandalle2015-10-291-2/+2
| | | | | | | | | | Yes Wekan need some tests. Yes I need to stop refactoring my code when I’m halp-sleeping in my bed at 4am.
| * Upgrade Meteor to 1.2.1-rc4Maxime Quandalle2015-10-232-6/+6
| | | | | | | | | | | | This version includes a more complete selection of ES2015 polyfills that I started used across the code base, for instance by replacing `$.trim(str)` by `str.trim()`.
| * Upgrade peerlibrary:blaze-components to v0.14Maxime Quandalle2015-10-213-4/+4
| | | | | | | | | | This change includes method renames and others UI related packages updates.
| * Import board: added UIXavier Priour2015-10-172-48/+0
| |
| * Add some ESLint rules and fix some related issuesMaxime Quandalle2015-10-141-4/+2
| |
| * Import single card: proper error handlingXavier Priour2015-10-142-23/+41
| |
| * Import single card: refactor to meteor methodXavier Priour2015-10-142-55/+14
| |
| * Import single card: archived cardXavier Priour2015-10-141-0/+1
| |
| * Import single card: map labelsXavier Priour2015-10-141-10/+33
| |
| * Import single card: now with description and commentsXavier Priour2015-10-141-1/+16
| |
| * Import single card: title and proper sort indexXavier Priour2015-10-141-0/+26
| |
| * Add card import UIXavier Priour2015-10-142-0/+11
| |
| * Use a better API to retrieve the new card positionMaxime Quandalle2015-10-131-1/+1
| | | | | | | | Fixes #347
* | Made colours light grey in the labels dropdownKenton Hamaluik2015-10-101-1/+6
| |
* | Added coloured label badges in autocomplete listKenton Hamaluik2015-10-081-5/+14
| |
* | Pressing escape while autocomplete is open no longer closes the minicardKenton Hamaluik2015-10-081-0/+5
| |
* | Now cards with *only* metadata aren't created emptyKenton Hamaluik2015-10-081-27/+27
| |
* | Added space after if to conform to formattingKenton Hamaluik2015-10-081-3/+3
| |
* | Fixed issue with possible race condition, suggested by @mquandalleKenton Hamaluik2015-10-081-8/+4
| |
* | Fixed typo in template for quick-adding a user.Kenton Hamaluik2015-10-031-1/+1
| |
* | Made eslinter happy.Kenton Hamaluik2015-10-031-12/+12
| |
* | Conformed to the 80-character line length limit.Kenton Hamaluik2015-10-031-9/+11
| |
* | Initial support for @user and #label use in new cards.Kenton Hamaluik2015-10-031-1/+97
|/ | | | | | | | | | | | When creating a new [mini]card, typing `@` or `#` brings up an auto-complete box for board members and labels which will get applied to the card upon creation. These textual tags are removed from the card title before saving to maintain sanity. If a label doesn't have a name, it's colour is used (i.e. `red`, `purple`, etc). This was developed to ease the creation of new cards and allow users to rapidly create cards without having to click numerous times just to apply labels & members.
* Fix Popup.afterCommitAlexander Sulfrian2015-09-201-1/+1
| | | | | | We need to use "function() {}" instead of the ES6 style "() {}" with popup.afterCommit because we need the original value of "this" inside the callback.
* Centralize all mutations at the model levelMaxime Quandalle2015-09-082-47/+17
| | | | | | | | | | | | | | | This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections.
* Fix a recurrent English typoMaxime Quandalle2015-09-061-2/+2
|
* Add a missing translationMaxime Quandalle2015-09-061-4/+2
|
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-033-112/+113
| | | | | | | | | Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
* Improve list title formMaxime Quandalle2015-09-022-20/+7
|
* Replace the component bounded `cachedValue` by a global `UnsavedEdits`Maxime Quandalle2015-08-311-1/+1
| | | | | | | | This new draft saving system is currently only implemented for the card description and comment. We need better a component inheritance/composition model to support this for all editable fields. Fixes #186
* Redesign the card design header and change header menu iconMaxime Quandalle2015-08-302-1/+2
|
* Fix the cursor used while dragging a listMaxime Quandalle2015-08-281-1/+4
|
* Hide feature non-member users can't useMaxime Quandalle2015-08-281-1/+2
| | | | | Fixes #206 Fixes #244
* Call me WekanMaxime Quandalle2015-08-281-1/+1
| | | | | | Thank you @neynah for the Wekan icons Closes #247
* Improve the list menuMaxime Quandalle2015-08-285-83/+83
| | | | | | | | | * Grow the click-able zone of the list menu * Remove a dead link on the list menu * Merge list menu files with header menu to be consistent with the board components internal organization Closes #106
* Implement click-and-drag integration to translate the board canvasMaxime Quandalle2015-08-281-0/+3
| | | | Fixes #232
* More explicit file namesMaxime Quandalle2015-08-289-0/+0
|
* Implement a modal systemMaxime Quandalle2015-08-261-1/+1
| | | | | | | | | | | | | | I decided to create my own and not to use a community package, because 1. it's straightforward 2. it's better integrated with our others libs such as EscapeActions 3. monitoring third-party packages evolutions (eg, CSS changes) is a lot of work. This is basically the same rationale than for our other generic UI components such as the Popup/Popover. This commit also slightly modify the general layout to remove unnecessary wrapper DOM nodes.
* Start the migration from iron-router to flow-routerMaxime Quandalle2015-08-231-1/+1
| | | | | | | | | | | | | | | | | | | Motivations: * Iron-Router foces us to use Tracker.nonreactive black magic in order to avoid un-necessary re-renders; * There is a community consensus (supported by some MDG members) that the flow-router API is easier to reason about; * The useraccounts now supports flow router (that was a blocking element when I considered the switch ~3months ago) On the server we use the Picker router, as encouraged by the Kadira team (which develop both Flow and Picker routers). In the current state of things there are some bugs related to the missing Loading architecure. Previously onRendered callback where always called when the data the component needed was available, now we have to handle this ourselves, which we will in a following commit.