Age | Commit message (Collapse) | Author |
|
Now the opened menus can be closed with Esc key, so we conform
to the dismissible success criterion in WCAG 2.1:
https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html
To simplify things, now the navigation lists are populated upon
page load in all cases.
Change-Id: I0a7daaea122d3e03de36c322ccb012c546b271e0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158429
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 69f85cbf17c5acb8fb9b38772139c34eea96a772)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158436
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
+ Remove call to matomo TDF server instance when help is local
+ Keep when Help is online.
+ refactor javascript
Change-Id: I285b426531c91ff558c01798f803bf3f89720b1f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157255
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 0c24f409c31e4ca8a85b6a1486e2c6eaf26942d6)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157221
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
|
|
Place a target at variable location but remove the target at embed
position. This allows embedvar inside the same help file.
+ Remove cruft from very old OO help
Change-Id: I2c6cb885fb5457b1a93ccd4d821f2baaa9ff3620
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/151726
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ia70389ced5e8b698c034f9eec8cb4f030d27dd81
|
|
https://wiki.documentfoundation.org/Design/Branding#LibreOffice_application_colors
Change-Id: I914ddfd14f0ca351f4eed5eb14ed8ea6ed904422
|
|
The "branding" XSL template is applied to every text in the Help to
replace %PRODUCTNAME or [$officename] by the correct product name.
It must not escape HTML entities such as < or other.
Reverted previous workaround in xhp page.
Change-Id: I1f7da19ca2899d92917504f162ba497bd9c787bb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142555
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
+ Housekeeping
+ handle icon images in the XSLT
+ Fill missing information on Icon Sets.
Change-Id: Iaab3e1231ad4a2212adfc1d353a593cc116c7978
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140108
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I4436c0da1b0443ab9e699aac75122368db8ab5a5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136198
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
generate-id() is only stable within a single invocation, the results
vary from run to run, causing two builds of the same codebase result in
different output.
Due to help including snippets from different files, a simple count
won't be unique enough, but combining it with the sourcefile's topic-ID
does the trick.
Change-Id: I2ab8988bc34c9136fcd99d074cf0b189a8f40eb7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136197
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ic1a9839b1819c6b455ded63e120b32c5995e58c8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136153
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Change-Id: I1e6f27883b707147fdd07cdca2ca56e99a9fdc95
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136152
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
|
|
Change-Id: Ia619b7b0b1548c9de0b183a731e0cca3033eb529
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134349
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I2c74e63c67a323a6e6b726da352dd23e1a88d886
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134329
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
+ Add SQL coloring syntax
Change-Id: I3a68a54dee211d791da72b459647315395e17658
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134326
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
+ Enhance button CSS display
+ Refactor XSLT
+ Refactor XHP
Change-Id: I58e46c31a97ad49eb25a4489994aae5dac62dbc3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134207
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I1dbb6cc2f3497ab70a806c94ad9d52ee1e10c13f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133294
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
- Introduce <tablehead> element
- While considering text-align, I noticed we do not take RTL languages
into account. A CSS rule 'html[dir=ltr] th' was added, which does
nothing at the moment. We should look into directionality.
Change-Id: Ib59aa0c508529c0beaa35542d96bd5cc1aa4db29
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133114
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- Get rid of tables
- Add normalize-whitespace Prism plugin to get rid of useless indents
- Fix code blocks poking through sticky header
- Add some word wrapping CSS to fix mobile-unfriendliness
Change-Id: I73fd1e0678624b0d4bd5561f50e80990db5567be
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133096
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Besides being a wrong fix, please refrain from changing external code locally.
Go to the upstream project instead, Andrea!
This reverts commit 1e37e14da918a278abe5df8a5885fa211c02ee8b.
|
|
Change-Id: I7006b64cad6a049ea45d368e22842115ab97e4ef
|
|
Upload un-minified version
Change-Id: I4a74a06f4639acfcc6b1bbf08f223f69dba1f8e8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132570
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
From web accessiblity evaluation tool:
The title attribute value is used to provide advisory information.
It typically appears when the user hovers the mouse over an element.
The advisory information presented should not be identical to or
very similar to the element text or alternative text.
Change-Id: Id95d6661d47d7c28ea8a3f6a43ecc1b12c579a95
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132265
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I0427076aa8d688f837a38c66312b7690336c0d2e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132264
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
version 1.2.7
Change-Id: Ibec037314046a2f17a9c6c2b9c67d9353c761319
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131028
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I78c3f71a862ad0896cc13b105cac46dca99b4195
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130079
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I42f0a0805353608538dc1cb476c5bfccaa707a6d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129826
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
|
|
Change-Id: I8acaa11f8d8c11f5034cea7c4dfc247cee90d487
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129857
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Change-Id: I60d64e1becbc7ea33301d4a8073f0b550998b87d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129716
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I85d2da067db208f806b78020a9ca95889444ce0d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129519
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I7d59fb7161af41449cd0a1508f38143c241d50d0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129061
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I286096e6de26f5a0e35200b4db7a2a89cfddcb5f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128934
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I0ef315146fed188eb1cf33c416ff5f3e9899bbae
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128524
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I8c00eb4ed888eb8b2e898144141ef1c5a659bb49
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128503
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Base Help used to be generated into the path shared/explorer/database
Change-Id: I977dea766c621c0387c78238b65e45b5d4017929
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128450
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ic704b5ddcc0448a884da4ca01fa54bb94692495f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128423
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ibd46738e03721127e07ee1575e0a925fc36fbe9d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128382
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Add more space below paragraphs.
Change-Id: Ie282883229bcc1471aed6c35ef57d1ec909996b5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128013
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Change-Id: Id49a843abd96ba1719c706b36d20d27766698898
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128018
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Change-Id: I14f9e8af88cb7eb1fbf8f6647d2ad891018edbff
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128014
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Change-Id: I6d567d7978ed5997b4ca9bf865e9e54d6c67a3a0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124718
Tested-by: Jenkins
Reviewed-by: Ross Johnson <ross.johnson@homemail.com.au>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
normalize-space() trims whitespace from the start and end of a
string and collapses multiple spaces inside a string into a
single space.
This will prevent newlines in strings from breaking
our generated bookmarks.js.
Change-Id: I2a420cfd9fe13ee063151af79cb51b0ae49f5a0d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124056
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
This change focuses the search results on the module the user initially
called help from and in addition, in the same way that the initial index
is presented, limits the results to that module plus GLOBAL results.
Explanation:
Currently, when a user arrives at a help page from a module they begin
with a blank search term and by default the index is focused on the module
they came from.
As they enter a search term the results from ALL modules are presented,
paginated and either, (7.3 current) grouped by modules but in a fixed
order of modules that often pushes results relative to the user's
module off the first page of the index or, (7.2 and earlier)
pseudo randomly with incorrect grouping under modules.
If a user wishes to explor other module results they can choose a module
from the Modules drop down. Their search term remains and they can
easily search again.
Change-Id: Ib10dd55d1c68a839938842fe3607a7a7619b3538
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122903
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
|
|
The earlier change (reverted) overlooked the difference between
"Merge Cells" and "Merge and Center Cells", leaving users without
adequate means to merge cells while retaining text alignment. This
patch restores previous usability and moves forward to resolve the
issues raised in this bug report.
Reverted the two changes from earlier work on tdf#33749:
1) Cell context menu back to 7.2
2) Format - Merge Cells menu back to 7.2
3) Help pages to reflect that
Moving forward with the following changes:
1) Rename "Split Cells" to "Unmerge Cells" (Calc only)
2) Add "Merge Cells" and "Unmerge Cells" to the Formatting toolbar alongside
"Merge and Center Cells".
3) Re-label the Format - Merge Cells menu to Format - Merge and Unmerge Cells.
4) Help pages to reflect core including fixing the duplicate entry in the
built help/hid2file.js by consolidating the relevant Calc and Writer
help pages together to remove the duplicate bookmark hid branch value.
Removed the module specific version.
5) Removed duplicate entry from helpers/unocmds.txt.
Change-Id: Ica50f507eea74acd430bef3042fb9739d1cff7b2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122810
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
FlexSearch has the best performance of JS search libs at the moment.
It doesn't have fuzzy search yet, but maybe our users don't even
want the feature. RFE is https://github.com/nextapps-de/flexsearch/issues/118
flexsearch.debug.js is used because it is the only unminified version and
we can't use minified files in the source code as they are equivalent to
binary files (close source). There doesn't seem to be anything that would
make it a bad idea to use the debug version in production, only a couple
of edge case checks that print warnings to console.
This commit also makes automatic filtering work when the input field already
has a string upon page load (functions were called in the wrong order).
Change-Id: I5055f7f7f99cad92dfa3a544e5314eb85a1faced
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122566
Tested-by: Jenkins
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
The "double entries" reported are because the search results
are never grouped according to module (CALC, WRITER, IMPRESS, etc).
Results are now grouped.
The HTML Help page search function uses a "fuzzy" algorithm to pick
matching results. This observation by the reporter is not a bug and
so the main Help page has been updated to include an explanation.
The main Help page has also been updated to draw attention to the
highlighing of the matching characters from the search term, to show
exactly how the match was made.
Change-Id: Ibdb9ac726b36b9dd6f605c854192ec644bfe09e1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122312
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
The font "system-ui" may cause trouble in some system, although it may look good in several systems.
See e.g. https://infinnie.github.io/blog/2017/systemui.html.
This change removes the "system-ui" font from the list, still put "Segoe UI" before any others, but moves "sans-serif" forward so that it falls back to the UI font in most linux distros.
Tested on Win10 and this does not impact the display for English or Chinese, but really improves a lot on Linux (Fedora 32 for me).
Change-Id: I1cba731cb846d1dc8c708b12510167c48de539e5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116487
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
This commit involves two parts:
1. Improved the convertfilters.py helper script to make sure
the generated convertfilters.xhp file is complete, accurate
and containing no duplicated entries, and also add codes
to also generate API Names column, as discussed in tdf#142417.
Importantly, the code is modified to generate fixed IDs,
rather than the previously random IDs or sequential IDs which
may make the PO translation strings to show fuzzy when the
file is re-generated.
2. This helper script is run and the convertfilters.xhp is
updated.
3. The default css is modified to better display the page.
There is no need to set overflow=auto for the DisplayArea,
otherwise the scrollbar goes to the bottom of that area which
is not visible. Also added a css class to display smaller
fonts for the table.
Change-Id: I8a5c73c9d6a0c0b44fc7db6cb67b140bfeb8b4be
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116405
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I8237b0d52b8b0f29fc35196d34648ed7b51669d1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114113
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
After the introduction of the headings h1 ... h6 in the Help
pages the sort command broke. It relied only in the <paragraph>
tag for sorting, usually the first paragraph in the section.
The patch extend the DTD to handle the new descendant="" attribute
to select which tag to sort in the Help page
Default is <paragraph> for backward compatibility.
Pages with <sort> must be revisited.
Change-Id: I3c6f243369429ed7824a68b11757dc15f4555c0f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114110
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Since I keep procrastinating on the Online Help redesign,
let’s do it incrementally.
Change-Id: I2e7ebc1d3d9df8f6b7425dcae50464d463d7f0c3
|