Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve impress templates #10463

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Rash419
Copy link
Contributor

@Rash419 Rash419 commented Nov 11, 2024

  • Resolves: #
  • Target version: master

Summary

TODO

@Rash419 Rash419 marked this pull request as draft November 11, 2024 15:03
@Rash419 Rash419 force-pushed the improve-impress-templates branch 2 times, most recently from 74f6d0a to 3343b39 Compare November 14, 2024 09:30
wsd/RemoteConfig.cpp Fixed Show fixed Hide fixed
wsd/RemoteConfig.cpp Fixed Show fixed Hide fixed
wsd/RemoteConfig.cpp Fixed Show fixed Hide fixed
wsd/RemoteConfig.cpp Fixed Show fixed Hide fixed
wsd/RemoteConfig.cpp Fixed Show fixed Hide fixed
@Rash419 Rash419 force-pushed the improve-impress-templates branch 3 times, most recently from 21de956 to bb3c770 Compare November 22, 2024 08:19
@Rash419 Rash419 marked this pull request as ready for review November 22, 2024 08:20
kit/Kit.cpp Outdated Show resolved Hide resolved
kit/Kit.cpp Outdated Show resolved Hide resolved
@Rash419 Rash419 force-pushed the improve-impress-templates branch 3 times, most recently from 6068c85 to 1f15134 Compare November 25, 2024 15:28
…on/template/presnt

- once we can download the templates from remote server it can be access
by lokit and gets added to MasterSlides impress

Signed-off-by: Rashesh <[email protected]>
Change-Id: I55cb4f340f66d353594331e25debd7124f25f042
- this remote poll can download both fonts and tempalates. It also can
be extended to download more asset from remote server if needed in
future

Signed-off-by: Rashesh <[email protected]>
Change-Id: I4418319d0e1f9f3081b9dd1443719cab8ad6bbfc
Signed-off-by: Rashesh <[email protected]>
Change-Id: Idc82abd26f06549b6666bfeab1fb3967cec2d303
…igPoll`

Signed-off-by: Rashesh <[email protected]>
Change-Id: I707486cb4f340058ba98e2cb574a81ec8317eabf
… as well

- use `remote_asset_config.url` when both `remote_asset_config.url` and
`remote_font_config.url` is defined.

Signed-off-by: Rashesh <[email protected]>
Change-Id: I3b80fea6324b4e378c4edd0ee71fd2dc7764ea14
- it was replaced by `RemoteAssetConfigPoll`

Signed-off-by: Rashesh <[email protected]>
Change-Id: I06490d037c9da3a90495d367c1c99a0a5aa8121c
Signed-off-by: Rashesh <[email protected]>
Change-Id: I3db0479faf521d1d89f59b40b7c89ea1b2485cb8
@Rash419 Rash419 force-pushed the improve-impress-templates branch 3 times, most recently from 2f89500 to 7d3a049 Compare November 26, 2024 10:58
- make sure the jsdialog is visible

Signed-off-by: Rashesh <[email protected]>
Change-Id: Id31fe93a3ca9f4d963673935d2323edde58fd4f8
@Rash419 Rash419 force-pushed the improve-impress-templates branch 2 times, most recently from 4763d3d to 6ca24b2 Compare November 26, 2024 14:55
- it checks for "instdir/share/template/common/presnt" before mouting
the "tmp/incoming/templates" on it

Signed-off-by: Rashesh <[email protected]>
Change-Id: Ib12723b5e90e96e9f8b914e0d15a591fcf2b9af1
kit/Kit.cpp Outdated Show resolved Hide resolved
kit/Kit.cpp Outdated Show resolved Hide resolved
- after core patch https://gerrit.libreoffice.org/c/core/+/177353 we
create a empty 'presnt' directory

Signed-off-by: Rashesh <[email protected]>
Change-Id: I06d265fc90fe2454433e460d312a00589c911a2c
@Rash419 Rash419 requested a review from caolanm November 27, 2024 15:33
kit/Kit.cpp Outdated Show resolved Hide resolved
Signed-off-by: Rashesh <[email protected]>
Change-Id: Iddb644a4ba7321ab68d8df50ec314a315a7c73df
- now to fetch presentation templates json should look like:
```
  "templates": {
    "presnt": [
      {
        "uri": "http://localhost:8080/static/impress-template/template1.otp",
        "stamp": "1"
      },
      {
        "uri": "http://localhost:8080/static/impress-template/template2.otp",
        "stamp": "2"
      },
      {
        "uri": "http://localhost:8080/static/impress-template/template3.otp",
        "stamp": "3"
      }
    ]
  },
```
- this will make it easier if we want to add different types of
  templates not just impress templates

Signed-off-by: Rashesh <[email protected]>
Change-Id: I55cf6e7a6c2cee2d8cbeef90d554e01b3fe18fc8
@caolanm
Copy link
Contributor

caolanm commented Nov 28, 2024

Am I right that "cypress: attempt to fix "Delete Chart" test" is for an existing test failure that isn't a new problem in this pr? Maybe we should get that in a separate pr that we could merge first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Review
Development

Successfully merging this pull request may close these issues.

2 participants