Commit graph

338 commits

Author SHA1 Message Date
Maxime Quandalle
4594caf9b7 Add an horizontal scrollbar on code snippets
Fixes #260
2015-09-02 19:24:38 +02:00
Maxime Quandalle
07e4637e3c Avoid side effects while clicking on a link in a card description
Fixes #261
2015-09-01 22:27:57 +02:00
Maxime Quandalle
9961de9c30 Update translation source file 2015-09-01 14:38:07 +02:00
Maxime Quandalle
72fe5fd47e Fixes some UI bugs on sandstorm 2015-08-31 16:34:51 +02:00
Maxime Quandalle
f4cbfb17ed Fix the favicon 2015-08-29 13:34:36 +02:00
Maxime Quandalle
84f49fa7a1 Call me Wekan
Thank you @neynah for the Wekan icons

Closes #247
2015-08-28 09:52:20 +02:00
Maxime Quandalle
35d1d6b463 Display keyboard shortcuts on a modal
Fixes #241
2015-08-28 00:41:50 +02:00
Maxime Quandalle
31c4aa01bd Open a modal (or a new page) based on context
This feature is also sometime named the Pinterest-style route, which is further explained in this react-router example:

  cf0419f70e/examples/pinterest
2015-08-28 00:39:18 +02:00
Maxime Quandalle
dd08485b36 Fix the layout on IE11
The new user interface uses the flexbox box model has it's primary way
to organize the layout. Unfortunately IE have a non-negligible amount
of subtitle and tricky bugs with its flexbox implementation.

This one was about a `flex-grow: 1` element not growing in a container
which size is defined with `min-height`. See the bug in Microsoft bug
tracker for more details:

  https://connect.microsoft.com/IE/feedback/details/802625/

Fixes #225
2015-08-27 00:36:33 +02:00
Maxime Quandalle
48ac8b026f Implement board archive and restoration 2015-08-26 19:59:44 +02:00
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
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
04bfbd5bd1 Implement list restoration 2015-08-22 02:06:49 +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
8ae6abe603 Switch the font to roboto 2015-08-20 15:59:00 +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
Maxime Quandalle
80a4bdd417 Merge, move, and rename the main stylus file
Also fixes #185
2015-06-16 23:06:06 +02:00
Maxime Quandalle
a41e07b37e Finish the transition from Spacebars to Jade 2015-06-15 15:10:42 +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
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
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
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
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
7f6929608c Work on the user account system
Allow a user to modifies its name, username, initials, and password.

Fixes username handling on sandstorm.

Fixes #149.
2015-06-03 06:46:41 +02:00
Maxime Quandalle
2c0030da62 Implement multi-selection
The UI and the internal APIs are still rough around the edges but the
feature is basically working. You can now select multiple cards and
move them together or (un|)assign them a label.
2015-05-30 03:50:14 +02:00
Maxime Quandalle
dcc64f44f9 UI improvements
* Implement visibility choice on board creation;

* Rework the board header bar. Remove links to un-implemented
features;

* Implement a board star counter (visible if the board have >2 stars);

* Define a new icon (a thin cross) to close elements;

* Remove $(document).on('mouseover') event handlers that were
basically fired hundreds of times for nothing, we now define a proper
Tracker dependency to execute jquery-ui plugin initialization only
when something has changed;

* Bug fixes related to list scrolling.
2015-05-27 17:23:25 +02:00
Maxime Quandalle
42f6dc686f Prioritize escape actions with a label hierarchy instead of an integer 2015-05-27 02:48:15 +02:00
Maxime Quandalle
40c2411f2a Implement a new system to handle "escape actions"
The new EscapeActions object decide what to do when the user press the
Escape key (such as closing a opened popup or inlined form).

This commit also re-introduced the sidebar current view as a sidebar
component local state.
2015-05-26 20:34:56 +02:00
Maxime Quandalle
1b4fcc67f4 Upgrade sandstorm integration
Both sandstorm and LibreBoard have significantly evolved since the
last release of LibreBoard on sandstorm. This commit:

* adds some more attributes on the sandstorm manifest
* introduces support with the sandstorm sharing box
* uses a server redirection to point to the board document
* hides the top shortcut bar on sandstorm

Fixes #163.
2015-05-26 00:18:45 +02:00
Maxime Quandalle
781577db04 Experiment new ergonomics to interact with card details
The idea is that by displaying card details in a sidebar stuck on the
right of the screen, the mouse had to travel too much before
interacting with it. I also don’t want to use the Trello solution
(modal) on big screens, because I like the ability to interact with
the selected card and with the board at the same time (like in a
e-mail client).

The solution introduced in this commit consist of opening the card
detail in a column next to the minicard list.

This commit also fix right sidebar members and labels drag and drop.
2015-05-24 22:11:40 +02:00
Maxime Quandalle
6ef9c7e95f Improve popup animation
When going back wait for the popup transition to end before removing
the DOM element.
2015-05-22 20:17:40 +02:00
Maxime Quandalle
6fe08cd4b3 Animate popup screens transition 2015-05-22 19:40:12 +02:00
Maxime Quandalle
22b8b6ab20 Style tweaks
Follows strictly jshint and jscs rules.
2015-05-14 14:28:47 +02:00
Maxime Quandalle
2dbea30842 Renaissance
_,,ad8888888888bba,_
                  ,ad88888I888888888888888ba,
                ,88888888I88888888888888888888a,
              ,d888888888I8888888888888888888888b,
             d88888PP"""" ""YY88888888888888888888b,
           ,d88"'__,,--------,,,,.;ZZZY8888888888888,
          ,8IIl'"                ;;l"ZZZIII8888888888,
         ,I88l;'                  ;lZZZZZ888III8888888,
       ,II88Zl;.                  ;llZZZZZ888888I888888,
      ,II888Zl;.                .;;;;;lllZZZ888888I8888b
     ,II8888Z;;                 `;;;;;''llZZ8888888I8888,
     II88888Z;'                        .;lZZZ8888888I888b
     II88888Z; _,aaa,      .,aaaaa,__.l;llZZZ88888888I888
     II88888IZZZZZZZZZ,  .ZZZZZZZZZZZZZZ;llZZ88888888I888,
     II88888IZZ<'(@@>Z|  |ZZZ<'(@@>ZZZZ;;llZZ888888888I88I
    ,II88888;   `""" ;|  |ZZ; `"""     ;;llZ8888888888I888
    II888888l            `;;          .;llZZ8888888888I888,
   ,II888888Z;           ;;;        .;;llZZZ8888888888I888I
   III888888Zl;    ..,   `;;       ,;;lllZZZ88888888888I888
   II88888888Z;;...;(_    _)      ,;;;llZZZZ88888888888I888,
   II88888888Zl;;;;;' `--'Z;.   .,;;;;llZZZZ88888888888I888b
   ]I888888888Z;;;;'   ";llllll;..;;;lllZZZZ88888888888I8888,
   II888888888Zl.;;"Y88bd888P";;,..;lllZZZZZ88888888888I8888I
   II8888888888Zl;.; `"PPP";;;,..;lllZZZZZZZ88888888888I88888
   II888888888888Zl;;. `;;;l;;;;lllZZZZZZZZW88888888888I88888
   `II8888888888888Zl;.    ,;;lllZZZZZZZZWMZ88888888888I88888
    II8888888888888888ZbaalllZZZZZZZZZWWMZZZ8888888888I888888,
    `II88888888888888888b"WWZZZZZWWWMMZZZZZZI888888888I888888b
     `II88888888888888888;ZZMMMMMMZZZZZZZZllI888888888I8888888
      `II8888888888888888 `;lZZZZZZZZZZZlllll888888888I8888888,
       II8888888888888888, `;lllZZZZllllll;;.Y88888888I8888888b,
      ,II8888888888888888b   .;;lllllll;;;.;..88888888I88888888b,
      II888888888888888PZI;.  .`;;;.;;;..; ...88888888I8888888888,
      II888888888888PZ;;';;.   ;. .;.  .;. .. Y8888888I88888888888b,
     ,II888888888PZ;;'                        `8888888I8888888888888b,
     II888888888'                              888888I8888888888888888
    ,II888888888                              ,888888I8888888888888888
   ,d88888888888                              d888888I8888888888ZZZZZZ
,ad888888888888I                              8888888I8888ZZZZZZZZZZZZ
888888888888888'                              888888IZZZZZZZZZZZZZZZZZ
8888888888P'8P'                               Y888ZZZZZZZZZZZZZZZZZZZZ
888888888,  "                                 ,ZZZZZZZZZZZZZZZZZZZZZZZ
8888888888,                                ,ZZZZZZZZZZZZZZZZZZZZZZZZZZ
888888888888a,      _                    ,ZZZZZZZZZZZZZZZZZZZZ88888888
888888888888888ba,_d'                  ,ZZZZZZZZZZZZZZZZZ8888888888888
8888888888888888888888bbbaaa,,,______,ZZZZZZZZZZZZZZZ88888888888888888
88888888888888888888888888888888888ZZZZZZZZZZZZZZZ88888888888888888888
8888888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888
888888888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888888888
8888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888
88888888888888888888888888888ZZZZZZZZZZZZZZ888888888888888888888888888
8888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888 Normand  8
88888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888 Veilleux 8
8888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888888888
2015-05-12 19:33:50 +02:00