Show & hide comments function is improved.
onlostfocusreply function is improved.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ie63dc27a8cf5754a094ce14c2446a758848fb197
When file type is spreadsheet or there or no comments or it is mobile
view.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I54e02b644ae62efeb5bd9917f99e86d3e90f1bea
According to commentList section.
CommentListSection will not be shown on Calc, if it was shown it would
be ok.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I362d2ad490712b3958ed7c6fe3c04816d0e7a48f
They are replaced by CommentListSection.ts.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I85f9ae49e487fa621376a79812774c1ea2615e9e
Sections can set opacity for their background colors.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I04a0d7e84fc66e4757e4f4053effd8b843acaf94
Deciding to remove a tile needs a different approach in file based view.
Because viewed tiles are not sync with core side.
Also, while refreshing a tile, clearing the target part was causing
flickering.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I7067fb014fedb571440c545b3b5358922325ed7c
The comment to delete is searched inside the selected part on the core
side. We need to indicate the comment's part before we delete it.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I248aa375ca6bcb6a1ff6b0456bd1943319147e00
There is an issue due to invalidation of selected part of the file,
we will refresh the view when needed.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ifd6d183d04497d86930ae16ab96f322defbdfef6
When using fileBasedView, multiple parts are drawn on the screen.
If user wants to add a comment into the file, we should find the part to
which add comment into.
In this case, the part with most visible tiles is chosen for adding the
comment into.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I22768f25717f2d2d87b31dda7a87ab801cc8964b
It was used for Writer. We now have CommentSection.ts and Comment.ts
files.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ia2dcf98c17260126c8fb0d4888b3e08efb4639d9
Reuse same html element for mobile wizard and desktop view.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ic2843832b55686ca013f5f115759277dbab2e118
SVG elements were bound to map element, which we are removing slowly.
Now svg elements are bound to document-container for consistency.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I04bed2042d9751ac14080952251ae7e5fb68892b
Sections may play with them, so sections that come next, may get wrong values.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I737aa4fbcfe8f1e8dc8cf117f474d7de5b3682ad
Sometimes core side sends the comment list twice at start.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I85e615a3d6a6ebc874eacebb36ef0f66ce85247d
This will be worked on. This is just the initial commit.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I6fa3449c4191b63a4ec058a27beda742881dd7cb