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 6 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

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@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
@@ -3311,6 +3315,34 @@ void lokit_main(
return false;
}

// copy default tempates from 'common' dir to shared templates dir
// TODO: maybe I shouldn't copy if whole point to mounting is that we don't require copying.
Copy link
Contributor Author

@Rash419 Rash419 Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, how can we improve here except of copying default templates ?

if (!JailUtil::bind(sharedTemplate, loJailDestImpressTemplatePath) ||
!JailUtil::remountReadonly(sharedTemplate, loJailDestImpressTemplatePath))
{
// TODO: actually do this link on failure
Copy link
Contributor Author

@Rash419 Rash419 Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I disable the mounting default templates templates doesn't show up at all. 1st we need to fix default template loading issue I think

…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 <rashesh.padia@collabora.com>
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 <rashesh.padia@collabora.com>
Change-Id: I4418319d0e1f9f3081b9dd1443719cab8ad6bbfc
Signed-off-by: Rashesh <rashesh.padia@collabora.com>
Change-Id: Idc82abd26f06549b6666bfeab1fb3967cec2d303
…igPoll`

Signed-off-by: Rashesh <rashesh.padia@collabora.com>
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 <rashesh.padia@collabora.com>
Change-Id: I3b80fea6324b4e378c4edd0ee71fd2dc7764ea14
- it was replaced by `RemoteAssetConfigPoll`

Signed-off-by: Rashesh <rashesh.padia@collabora.com>
Change-Id: I06490d037c9da3a90495d367c1c99a0a5aa8121c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Review
Development

Successfully merging this pull request may close these issues.

1 participant