No description
Find a file
Pranam Lashkari a022212381 annotation: autosave comments when lose focus without exiting editing
how it is expected to work:
before this patch, whenever comment is saved,
editing comment box(DOM elements) is deleted and
a new comment(DOM elements) is created when we recieve the data from server about saved comment

This commit prevents the deletion of the original comment box which is being edited,
if comment loses focus it is saved. If user explicitly saves the comment then it
follows the routine which were used previously.

Many checks were added to prevent comments from getting unselected(select means it is highliting the text in doc)
or getting collapsed

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If24ccbcd7a0287b659f790db486ada5d17608a32
2023-09-05 16:35:45 +02:00
.git-hooks
.github Revert "Add action for detecting code duplicates" 2023-08-11 11:45:21 +02:00
.gitpod-files on-disk tile cache was removed in 2019, this config item is unused 2023-08-28 21:31:44 +02:00
android android: fix lint errors 2023-08-31 13:12:22 +02:00
browser annotation: autosave comments when lose focus without exiting editing 2023-09-05 16:35:45 +02:00
common ensure we don't split a utf-8 sequence when logging message 2023-08-25 08:41:46 +02:00
cypress_test cypress: adjust tests to new combobox 2023-08-31 12:56:10 +02:00
debian Bump version to 23.05.3.1 2023-08-28 21:59:15 +02:00
docker docker: fix permission denied in archlinux 2023-08-04 07:58:56 +02:00
etc
fuzzer
gtk
indexing
ios CollaboraOnline#6546 enable automatic color in default paragraph style 2023-08-10 12:22:26 +02:00
kit Add trimming to activity log in case of crash. 2023-08-29 20:18:23 +01:00
kubernetes/helm fix(helm): improve error alerts 2023-08-24 18:01:35 +05:30
man Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
net cid#318907 silence Uncaught exception 2023-08-24 08:30:40 +02:00
scripts unocommands.py: Treat JS/TS files as UTF-8 2023-08-17 11:55:34 +02:00
test wsd: exclude readonly sessions from modification indication 2023-09-01 07:18:12 -04:00
tools cid#318907 silence Uncaught exception 2023-08-24 08:30:40 +02:00
wasm
wsd wsd: exclude readonly sessions from modification indication 2023-09-01 07:18:12 -04:00
.cirrus.yml
.clang-format
.clang-tidy
.gitignore
.gitpod.dockerfile
.gitpod.yml
.mailmap
AUTHORS
autogen.sh
browsersync-config.js
ChangeLog
CODE_OF_CONDUCT.md
config.h.in
config_version.h.in
configure.ac Bump version to 23.05.3.1 2023-08-28 21:59:15 +02:00
CONTRIBUTING.md
coolkitconfig-mobile.xcu sc: set hyperlink MS interoperability true in online 2023-08-27 18:32:08 +02:00
coolkitconfig.xcu.in sc: set hyperlink MS interoperability true in online 2023-08-27 18:32:08 +02:00
coolwsd-systemplate-setup
coolwsd-welcome.xml
coolwsd.init.rhel6
coolwsd.service
coolwsd.spec.in Rewrite coolwsd-generate-proof-key in C++ 2023-07-22 00:14:48 +02:00
coolwsd.xml.in on-disk tile cache was removed in 2019, this config item is unused 2023-08-28 21:31:44 +02:00
COPYING
discovery.xml
favicon.ico
g
jsstress.in
Makefile.am gcov: support cleaning coverage data and document 2023-08-03 08:40:20 +02:00
NEWS
PROBLEMS
README.CONTRIBUTING.md
README.FILENOTICES.md
README.md Update README.md (remove outdated build status links) 2023-06-26 10:28:13 +02:00
SECURITY.md
trace-event.sample2.json

Open in Gitpod

Collabora Online

Master: Pull request policy

irc Telegram Forum Website L10n Gitpod Ready-to-Code

Your own private Office in the Cloud

Get in touch 💬

Key features

  • View and edit text documents, spreadsheets, presentations & more
  • Collaborative editing features
  • Works in any modern browser no plugin needed
  • Open Source primarily under the MPLv2 license. Some parts are under other open source licences, see e.g. browser/LICENSE.

Website

For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/

Developer assistance

Please ask your questions on any of the bridged IRC/Matrix/Telegram rooms

Join the conversation on our Discourse server at https://forum.collaboraonline.com/

Watch the tinderbox status (if it's green) at https://cpci.cbg.collabora.co.uk:8080/job/Tinderbox%20for%20online%20master%20against%20co-22.05/

Development bits

This project has several components:

  • wsd/
    • The Web Services Daemon - which accepts external connections
  • kit/
    • The client which lives in its own chroot and renders documents
  • common/
    • Shared code between these processes
  • browser/
    • The client side JavaScript component
  • test/
    • C++ based unit tests
  • cypress_test/
    • JavaScript based integration tests

Please consult the README files in the component's directory for more details:

iOS and Android apps

See the corresponding READMEs:

GitPod

Head over to https://collaboraonline.github.io/post/build-code/ select gitpod from the dropdown and follow the steps.

Interesting things to keep in mind:

  • Make sure your browser is not blocking windows/tabs from opening from the gitpod workspace URL (maybe add *.gitpod.io to your browser's whitelist)
    • The GitPod tasks will run automatically and further instructions will be printed out right in the terminal
    • VNC tab will open automatically if not just click in the left icon Remote explorer and click 6080. You will see a tab completly black, that's normal.
    • As mentioned in those instructions if you are not using the VS Code desktop and if you are only relying on your browser please:
      • Do not try to click the URL from the make run out put instead copy that URL and execute firefox [paste URL here]
      • Head over to the tab where the VNC is opened (black page), you will see Firefox opening there, maximize and have fun.
      • You can also run cypress tests via GitPod but you will need to use Firefox, for that just prepend CYPRESS_BROWSER="firefox" to the desired command. Example: CYPRESS_BROWSER="firefox" make check for every test or CYPRESS_BROWSER="firefox" make check-desktop spec=impress/scrolling_spec.js for one specific test on desktop

Enjoy!