Commit graph

11982 commits

Author SHA1 Message Date
Maxime Quandalle
9faaf07e02 Implement a modal system
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.
2015-08-26 16:49:41 +02:00
Maxime Quandalle
46a5e08aa7 ES6ify our Popup library
This is an experiment about the implications of ES6 transpilation in
our code base.

We should also define a new ES6 style guide and a jsHint
configuration, for instance semi-colons are automatically inserted at
the end of lines, so we may remove them. We also need to figure which
ES6 features we want to use, currently I have followed Meteor-core
guidance which is reasonable.
2015-08-26 16:39:09 +02:00
Maxime Quandalle
60712e1ac4 Fix EscapeActions click in handling
Fixes a bug introduced in 07cc454 and one introduced in 22e854c.
2015-08-25 23:40:57 +02:00
Maxime Quandalle
22e854cc30 Fix a type: document -> document.body
Does that fix #176?
2015-08-25 20:31:14 +02:00
Maxime Quandalle
6730478008 Replace bower packages by meteor ones
Bower build process was sometimes unpredictable and had unspecified
dependencies (git) that caused bugs (eg #164, #172). Meteor packages
have better integration with the meteor build system and ensure
deterministic build, the downside being that we have to maintain
wrapper of JS package just for the purpose of publishing in
atmosphere. Others are also struggling with this, see for instance:

  https://github.com/MeteorCommunity/discussions/issues/14

Hopefully we'll have a better solution one day (official browserify
integration? Who knows.)

As a side effect the new release of perfect-scrollbar breaks the
style, this will be fixed in a later commit.

Fixes #172
2015-08-25 20:31:09 +02:00
Maxime Quandalle
07cc454b41 Upgrade meteor to 1.2-rc.4 and package versions
The new version of meteor speeds up the reload cycle, which is super
valuable during the development. I also removed the "imply-everything"
"meteor-platform" package in favor of a more fined-grained package
selection.

This version also introduces ES6 support with transparent babeljs
transpilation. Most features are enable (with the notable exception of
ES6 modules) and this commit started to use them in places where a XXX
comment suggested it.
2015-08-25 18:08:04 +02:00
Maxime Quandalle
9bea6a52d3 Fix the stars
Fixes #214
2015-08-25 18:07:04 +02:00
Maxime Quandalle
f03fee5162 Lower the required usernames length from 5 to 2
Both the previous and the new value are completely arbitrary but some
users suggested that we reject names like "Li" for no good reason,
especially on private boards, cf #202.

Hopefully one day we'll have an administrator configuration panel.

Fixes #202
Closes #210
2015-08-23 21:24:26 +02:00
Maxime Quandalle
d2af2ed521 Close the Popup when all escape actions are executed 2015-08-23 11:12:04 +02:00
Maxime Quandalle
2248671b7c Fix the board component data loading 2015-08-23 11:11:08 +02:00
Maxime Quandalle
d5eec54c72 Start the migration from iron-router to flow-router
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.
2015-08-23 11:11:03 +02:00
Maxime Quandalle
f315ee4430 Remove unused Travis CI configuration
Fixes #204.
2015-08-22 23:31:15 +02:00
Maxime Quandalle
04bfbd5bd1 Implement list restoration 2015-08-22 02:06:49 +02:00
Maxime Quandalle
4fc72d64b4 Upgrade dependencies
This includes a security fix in mquandalle:bower, and a new package
for useraccounts iron-router templates which forced us to move some
configuration function calls.
2015-08-22 01:05:09 +02:00
Maxime Quandalle
ae4288d507 Warn if the user try to restore a card in an archived list 2015-08-20 23:48:34 +02:00
Maxime Quandalle
8b3a6a7819 Adds new app store metadata to sandstorm package definition
We still miss some branding stuff, such as screenshots, icons, and a
description.

This commit also hides an option related to user permissions managment
in the sandstorm package.
2015-08-20 22:57:09 +02:00
Maxime Quandalle
c567a08a6f Publish the project changelog 2015-08-20 22:46:25 +02:00
Maxime Quandalle
8ae6abe603 Switch the font to roboto 2015-08-20 15:59:00 +02:00
Yasar icli
a79599d76c profile name changed fullname and comma hotfix. 2015-07-18 13:43:59 +03:00
Yasar icli
2fb317d753 if not then the board list create board show button. 2015-07-18 13:33:15 +03:00
Maxime Quandalle
d7cb933925 Merge pull request #223 from stevepm/patch-1
Fix typo on board.js
2015-07-16 12:10:08 +02:00
Yasar icli
de8aa913c5 a links specifies line breaking rules hotfix. 2015-07-16 11:45:11 +03:00
Yasar icli
dfce9f0a0f add card members popup line height hotfix. 2015-07-16 08:42:25 +03:00
Steve
563ffd0c0b Fix typo on board.js 2015-07-13 23:47:21 -07:00
Maxime Quandalle
8cf9ec2660 Allow a user to edit its profile or avatar from a member popover
Fixes the data context on the member popover in the details pane. Also
change the way Popover detect if the click is initiated from a parent
popover -- from reading Blaze context, to looking at the event target
parents.
2015-06-19 14:39:38 +02:00
Maxime Quandalle
fad4cba5e2 Improve card and list sortable drag
Use a custom build of jquery-ui with only the plugins we need (instead
of including everything).

Fix a tricky bug of conflict between Blaze reactive updates and
jquery-ui (which caused cards to sometimes disappear).
2015-06-17 12:51:03 +02:00
Maxime Quandalle
879fc47b53 Fix some sidebar bugs 2015-06-16 23:50:47 +02:00
Maxime Quandalle
f039923ac1 Fix #196 2015-06-16 23:32:47 +02:00
Maxime Quandalle
80a4bdd417 Merge, move, and rename the main stylus file
Also fixes #185
2015-06-16 23:06:06 +02:00
Maxime Quandalle
758d350f78 Fix #199 2015-06-16 22:41:19 +02:00
Maxime Quandalle
b15a0c59a8 Fix #190 2015-06-16 22:13:46 +02:00
Maxime Quandalle
5478fc93db Improve the multi-selection experience
New features:
- select all filtered cards
- assign or unassign a member to selected cards
- archive selected cards

This commit also fix the card sort indexes calculation when a multi-
selection is drag-dropped.
2015-06-16 14:30:21 +02:00
Maxime Quandalle
a41e07b37e Finish the transition from Spacebars to Jade 2015-06-15 15:10:42 +02:00
Maxime Quandalle
a16b7cd69c Close "over elements" when opening the filter view 2015-06-13 15:22:42 +02:00
Maxime Quandalle
e001c3409a Fix card attachments
Closes #192.
2015-06-13 15:04:55 +02:00
Maxime Quandalle
c894567987 Work on the card activities and comments
This commit also introduces a new CSSEvents object that is used to
abstract vendor specifics events related to CSS transitions and
animations.

Fixes #183.
Fixes #179.
2015-06-12 17:48:15 +02:00
Maxime Quandalle
216887490e Fix card title edition
Closes #184
2015-06-11 12:35:08 +02:00
Maxime Quandalle
765b0168ea (Re-)implement default avatar using user initials
We use a embedded svg to scale the initials text to its container
size. The user is free to overwrite its initials in the profile form.
2015-06-10 17:10:32 +02:00
Maxime Quandalle
0b6c229b6c Define the popup translation in the stylesheet, not in the JS code
This allows us to autoprexfix the property, which is needed for Safari
support (see http://caniuse.com/#feat=transforms2d).

Fixes #178.
2015-06-09 17:41:55 +02:00
Maxime Quandalle
270236363a Automatically star new boards created with the header shortcut 2015-06-09 16:03:56 +02:00
Maxime Quandalle
46cc691534 Re-factor the avatar system and support avatar uploads
The user is now able to upload an avatar, and pick one in a list.

This functionality should eventually be abstracted in a community
package but we still need to work on a great public API. We rely on
collectionFS to manage uploaded avatars. We also removed
bengott:avatar which was trying to solve the wrong problem (namely
displaying the avatar, which is as simple as displaying an image), and
not a avatar system as it should be.

Gravatar support is coming (back) soon. We may also want to have a
list of default fun avatars the user can choose instead of uploading
its own one.
2015-06-09 15:57:45 +02:00
Maxime Quandalle
98d7278d08 Add a UI to restore archived cards 2015-06-07 18:55:26 +02:00
Maxime Quandalle
915a7e5c68 Remove modal component
This component wasn't used anymore. We'll probably need something like
that again in the future, but we'll try to use a generic component
from Atmosphere.
2015-06-07 12:01:48 +02:00
Maxime Quandalle
92dd05d06d Click on the page to escape the last action
This is a generalization of what we had for closing a popup by
clicking outside of it. It now works for inlinedForms and detailsPane
as well.
2015-06-07 10:34:19 +02:00
Maxime Quandalle
12919cbfc6 Restore the popup to add a member to the board 2015-06-06 14:50:45 +02:00
Maxime Quandalle
49167ccaa9 Improve the card details pane overlay interactions 2015-06-06 12:07:52 +02:00
Maxime Quandalle
5cd0ec08aa Use GitHub flavored markdown
Replace meteor core markdown package by perak:markdown, that supports
line breaks and tables.

Fixes #124.
2015-06-06 11:00:18 +02:00
Maxime Quandalle
a12f094710 Autosize the rich editor (for card description and comments) 2015-06-06 10:42:05 +02:00
Maxime Quandalle
56a240a643 Maintain a visual indication of the popup openerElement 2015-06-06 10:15:54 +02:00
Maxime Quandalle
dea52907bd Start designing the card details pane
Implement a dynamic overflow to focus sight on the pane.
2015-06-05 21:37:13 +02:00