Commit graph

2557 commits

Author SHA1 Message Date
Attila Szűcs
612fa34b54 navigator: added Navigator button
For core, use this:
https://gerrit.libreoffice.org/c/core/+/151307

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Icbe59959d5f25b001577512b4538c50086538890
2023-05-05 14:38:05 +02:00
andreas kainz
24e2f6f78c mobilewizard button color fix #6263
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I68ac07c50759a2ea1bc7c3c5122b74eecb8d741d
2023-05-05 14:17:46 +02:00
Paris Oplopoios
fd00190cc2 Adding dark and light theme on startup
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I1d1e0daae9764bf38721d99c0e590a83cd8acd39
2023-05-05 12:38:59 +03:00
Paris Oplopoios
cac930db0c Request new tiles on canonicalidchange
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I4a123b53f3a22a8e4d7f29ff4c83e481a1f2a4ae
2023-05-05 12:38:59 +03:00
Paris Oplopoios
26c55fc417 Handle LOK_CALLBACK_APPLICATION_BACKGROUND_COLOR in ChildSession
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Icef1e490e847ca21bc525dfd989190940b746b78
2023-05-05 12:38:59 +03:00
Paris Oplopoios
2527e6ff7d Add debug data row for canonicalidchange
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Idaf22bec5f488ff65916ca639c568edfa695b78b
2023-05-05 12:38:59 +03:00
Pedro Pinto Silva
30903fa6f9 Impress: Fix imperceptible active (current) slide border
- Make it bigger
- Also size is not enough, specially for slides that have backgrounds
  - Add white inner margin so there is a clear distinction between
- what is the slide preview (image) and its contour

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ifee386b98d74c937efa35c19551334482ec18632
2023-05-05 09:20:06 +02:00
Szymon Kłos
cae3598e0a jsdialog: don't create empty tabs container #6260
In dialogs we put tab list directly where tab control is placed.
We don't need special container anymore (setTabs is not used).

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9d26a64362ee2c6ae08b44bf2dc54baf7936d0d8
2023-05-04 10:47:24 +02:00
Henry Castro
e25a6527f4 browser: fix freeze row/column panes
The UNO command  state has changed to Point (row, tab)
and Point (col, tab), Otherwise, if the row or column
has the same value for all sheets, the state cache will
not report any changes to the client side.

Change-Id: I0ad4a058d9328ff3b7b2455197a87880d8e43125
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-05-04 09:54:52 +02:00
Rash419
f7af990485 admin: added a seprate state for the uploaded document
- previously we set the Modified state in admin panel only when
  wsd successfully upload the document to storage
- modified state updation depends on core, it might happen that
  uploading is already done and successfull but we didnot get
  the modified state from the core which will show wrong modified
  status in admin panel

Change-Id: I014a8f92753fc6a93b37921d0f3cdce390bef35e
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
2023-05-04 11:35:07 +05:30
Aron Budea
ae6572c6d8 browser: Missing fonts dialog only worked if welcome dlg was enabled
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: Idd0d7a5d74e5f4b0ef82d12877a46e55c172a992
2023-05-03 17:37:18 +02:00
Szymon Kłos
df391dd1ae jsdialog: tabs should be also focusable
our focus is based on detecting tabIndex so setup it's value for tabs

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I61402657a5dbd6adf188266e483bdba79a948911
2023-05-03 17:05:05 +02:00
Szymon Kłos
068366982c jsdialog: improve initial focus in dialog #6271
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I59313d6373de054bf44e0d0d246f3c8cfabf2f8d
2023-05-03 17:05:05 +02:00
Pedro Pinto Silva
e96d8bc13a Tabbed view: Fix .main-nav's horizontal scrolling
Remove inline overflow style.

Before this commit:
It seems we are adding inline style overflow visible onRemove()
- important for when we switch compact <-> tabbed view - but we never
remove that property. Thus we end up losing the ability to access any
element that doesn't fit the screen via horizontal scroll

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id1ed8cde27af037f6b28b1966dfe4c563b0120cf
2023-05-03 16:56:03 +02:00
Andras Timar
a7f6c285df Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibb745572eb57813fd44c6190b73dc528dd464527
2023-05-03 16:54:24 +02:00
Andras Timar
8bc808d919 Translated using Weblate (German)
Currently translated at 99.5% (497 of 499 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5530505dd5ae264602427dd2725ac53e21984e21
2023-05-03 16:51:49 +02:00
Gülşah Köse
bce7b97d65 Fix the position of dropdown triangle of uno button #6236
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I49be20532bc921e1424b07cb8d96c3477461bf8e
2023-05-03 15:28:45 +02:00
Ashod Nakashian
7d2f736084 browser: catch failure to get localization files
When we fail to download the localizaion javascript
file, for whatever reason, we end up failing to load
the document. This is far from ideal.
Instead, we simply log the error and move on.
The end result in such a failure scenario is that
the document loads, but the UI is only available
in English.

Change-Id: I5d29ff68870d0cd84d86658ccfd4e3185cc62562
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-03 06:52:25 -04:00
Gülşah Köse
f1e9ee72fe Fix wrong device detection logic.
window.screen.width/height returns the width/height
of the screen in CSS pixels. window.innerWidth/innerHeight
returns the interior width/height of the window in pixels.
This includes the width of the vertical scroll bar, if one is present.

That gives better result. eg: responsive mode

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ibecb9614224cb3bfd6d5d8dc9ad5febe6aa7673b
2023-05-03 12:30:28 +02:00
Szymon Kłos
118d3e4064 Make sure treeview entry focus is visible
focused entry has a 1px border, make sure there is a space for it
in the treeview so we can see laft and right border

also make sure it works with RTL

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iae65811b7e1a2c74f47be1cea09607e48ef661af
2023-05-03 09:54:06 +02:00
Szymon Kłos
9903bec57e Send key events only for mention popup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I57aaeeeda41f1269d18dca14ef6175b44bd6c781
2023-05-03 09:54:06 +02:00
Szymon Kłos
0348391229 Share code for key event handling in TreeView
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I21de36069867bc69b54c9269214fb7886e7f6fc8
2023-05-03 09:54:06 +02:00
Szymon Kłos
14382f7f4b jsdialog: fix warnings in TreeView
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I94c812013560e1d4307eac14a7e755baa16cc1a9
2023-05-03 09:54:06 +02:00
Szymon Kłos
c4c36980d1 jsdialog: a11y: grid better describes header listbox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9f564907f00bec147c481021059a25b28bd6f9eb
2023-05-03 09:54:06 +02:00
Szymon Kłos
c3ae2728be jsdialog: select checkbox on keypress in listbox
and don't add event multiple times for every row

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia01ce1e81828d5ec40d84888b82ed2294ffef550
2023-05-03 09:54:06 +02:00
Szymon Kłos
8e11d20edd jsdialog: a11y: handle expand using keyboard in tree view
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I99e02c1c0c53d23a91cb279638fcae0bc6e29dab
2023-05-03 09:54:06 +02:00
Szymon Kłos
43cabc5407 jsdialog: a11y: keyboard navigation for tree view
This can be tested with Writer's Reference -> Add Citiation dialog (left
tree).

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4a3bf6bd0d4f7f061725b6e796437a74f10cf11c
2023-05-03 09:54:06 +02:00
Szymon Kłos
847ade2422 Mention popup focus fix
Previously it used span elements to focus popup listbox.
Now the listbox itself takes focus because entries
don't have tabindex anymore so they are not selected
when tab key is pressed

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5ef87cf1717b1249994bbf435fa9a55738c81a12
2023-05-03 09:54:06 +02:00
Szymon Kłos
ebbcd13a62 jsdialog: a11y: keyboard navigation for header listbox
Can be tested in Writer's Add Citation dialog (right table with header).

from: https://www.w3.org/WAI/ARIA/apg/patterns/treegrid/

Tab:
    If the row containing focus contains focusable elements (e.g., inputs), moves focus to the next input in the row. If focus is on the last focusable element in the row, moves focus out of the treegrid widget to the next focusable element

Down Arrow:
    If focus is on a row, moves focus one row down. If focus is on the last row, focus does not move.

Up Arrow:
    If focus is on a row, moves focus one row up. If focus is on the first row, focus does not move.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I72c8ed0b729965837e939bc327666461dd82beaa

a

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id3f7812e8ce0a29c2ddae92b8b5d4d5a36569de2
2023-05-03 09:54:06 +02:00
Szymon Kłos
7ab931454c jsdialog: update example TreeView JSON
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6ac0f9b0863f3494841621ba73a7506111d7b65e
2023-05-03 09:54:06 +02:00
Szymon Kłos
63b9a06e61 jsdialog: remove unused code in TreeView
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0d27e6a99d7aeed48c52a9910b58e09e12cbc21b
2023-05-03 09:54:06 +02:00
Szymon Kłos
a49efdc68b Share code for icon id in TreeView
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I31976b9fb31564c5c90fed123fdd4e488a27e59e
2023-05-03 09:54:06 +02:00
Szymon Kłos
fa7e76232d Share code for click event in TreeView
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3ffd5df8f9ed86de726be5ee464d4d09f955549e
2023-05-03 09:54:06 +02:00
Szymon Kłos
dd9b703b2c jsdialog: a11y: add aria properties for tree / listbox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I190929780783845b69c518fc9fe549e1a841cb9c
2023-05-03 09:54:06 +02:00
Alexander Gabilondo
66315f8dc5 Translated using Weblate (Basque)
Currently translated at 98.9% (494 of 499 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id6ffd3de3cb6b130e12b92d57340a91315fa5125
2023-05-03 09:51:36 +02:00
Jörg S
87c8543dc8 Translated using Weblate (German)
Currently translated at 99.3% (496 of 499 strings)

Co-authored-by: Jörg S <joerg.schwerdtfeger@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0c4d73938485ade9c3afaadb01bdd31e0713015e
2023-05-03 09:51:36 +02:00
Joan Montané
0a2e2714ce Translated using Weblate (Catalan)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1f6bd63be6028bc3dc9fe4f18ad03ed5ed234e7c
2023-05-03 09:51:36 +02:00
bittin1ddc447d824349b2
5aa6603959 Translated using Weblate (Swedish)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0042aa82bfe023ac3fc8c07974e3ac84f0e54abb
2023-05-03 09:51:36 +02:00
Ayhan Yalçınsoy
4be6117616 Translated using Weblate (Turkish)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia17bb14fa6cc7360b043aaec1905e2c3d74fe6cf
2023-05-03 09:51:36 +02:00
Andras Timar
246c826765 Translated using Weblate (Hungarian)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9abc1595922a35c8e7cabf1aaf33a427e4ea5e1c
2023-05-03 09:51:36 +02:00
gallegonovato
180309533d Translated using Weblate (Spanish)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iae249950899a761436b76bdea454794effa29324
2023-05-03 09:51:36 +02:00
Szymon Kłos
4cbec23190 jsdialog: a11y: keyboard activation for menubutton
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I36fda0f5880549e521ea2480be8ca1552ded869a
2023-05-02 12:52:35 +02:00
andreas kainz
603f912d86 Dark Mode add color-scheme: dark setting
see https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie563059174471d50b5f9a8e24d1f08b2540799c5
2023-05-02 10:22:20 +02:00
andreas kainz
a963987ff2 dark-mode use correct jquery-ui icons with data-theme value
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9214fda63f6caea0a36ab8be7c26baf4e1c0f46e
Signed-off-by: andreas kainz <kainz.a@gmail.com>
2023-05-02 10:06:41 +02:00
andreas kainz
6f27bff9fe add missing lc_setoutline.svg icon
icon was needed at writer sidebar default view

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7da355489f1c0e1b41949f189f31800e4288064d
2023-05-01 08:05:51 +02:00
Pedro Pinto Silva
9de01e11b6 Fixes Menu items hover color are inconsistent #6254
Fixes https://github.com/CollaboraOnline/online/issues/6254

Before this commit and with recent a11y changes generic btn hover
styles were bleeding out to multiple places where icon btns are present

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3855d081595a2d3aa56e58137e21aba5d7bf8532
2023-04-28 16:46:34 +02:00
Pedro Pinto Silva
c4cafd4aff Fixes Impress: Some icons are missing #6249
https://github.com/CollaboraOnline/online/issues/6249
affecting some themes

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3b0a796350243add9615615d569f3b480189cd29
2023-04-28 16:45:35 +02:00
Pedro Pinto Silva
27fddae9c6 Fix down arrow/triangle position in sidebar dropdown icons
before this commit the triangle was misplaced, under the icon instead
of side by side

(might be related to https://github.com/CollaboraOnline/online/issues/6236)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id8d118471dcb02b5bc79399a4319ee514af03c5b
2023-04-28 16:41:56 +02:00
Tomaž Vajngerl
d78082b6e9 fix theme dialog entry in compact view
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: I8fbe9e7a8e0aa2020adbe37688fe2e4c6924bdbc
2023-04-28 23:05:29 +09:00
Pedro Pinto Silva
2ace217813 Do not assume who the user needs to contact for storage space
- I some situations %storageserver domain is not the right place
to redirect users (integrator might have another support system in
place)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0008819665a96677cca06d9654e6629cfcac98b1
2023-04-28 06:29:15 -04:00