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

Feature/fonts improvement #3304

Merged
merged 2 commits into from
Dec 9, 2023
Merged

Feature/fonts improvement #3304

merged 2 commits into from
Dec 9, 2023

Conversation

luka-nextcloud
Copy link
Contributor

@luka-nextcloud luka-nextcloud commented Nov 17, 2023

Summary

  • Add repair step to install default fonts on installation
  • Add command richdocuments:install-fonts to install default fonts

TODO

  • Font files get shipped as part of richdocuments in an extra assets/fonts/ directory
  • New fonts shall be copied from the assets/fonts folder
  • Add a repair job to add new fonts once to the installation
  • Add an occ command richdocuments:install-fonts to install shipped fonts again if manually removed as the admin
  • Add cypress test that ensures the fonts are listed in the admin settings

@kesselb
Copy link
Contributor

kesselb commented Nov 17, 2023

Tip: If composer dump-autoload does not update the autoloader then cd composer. I just ran into the same failing workflow today and was super confused by it 🙈

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Haven't tested yet, but looks good. Only a few minor comments inline.

@juliusknorr juliusknorr added the enhancement New feature or request label Nov 20, 2023
@juliusknorr
Copy link
Member

@luka-nextcloud Please make sure to provide some context like a short pr description and the link to the issue

@juliusknorr
Copy link
Member

Tip: If composer dump-autoload does not update the autoloader then cd composer. I just ran into the same failing workflow today and was super confused by it

Yeah we should probably document that better. I went for a separate composer.json for the autoloader only to avoid dev dependencies getting autoloaded, but not the most straight forward I agree

@luka-nextcloud luka-nextcloud force-pushed the feature/fonts-improvement branch from 9b43738 to 06a24e1 Compare November 24, 2023 18:14
@luka-nextcloud luka-nextcloud force-pushed the feature/fonts-improvement branch 2 times, most recently from 1c2b935 to f064f26 Compare November 29, 2023 16:57
@luka-nextcloud luka-nextcloud force-pushed the feature/fonts-improvement branch from 33a375d to 406e16b Compare December 7, 2023 18:09
@juliusknorr juliusknorr force-pushed the feature/fonts-improvement branch from 406e16b to 2f7e4d0 Compare December 8, 2023 15:53
@juliusknorr juliusknorr force-pushed the feature/fonts-improvement branch from 2f7e4d0 to c1ee441 Compare December 8, 2023 15:58
@juliusknorr
Copy link
Member

Pushed a commit adding the fonts and licenses through a build script.

@juliusknorr juliusknorr force-pushed the feature/fonts-improvement branch 2 times, most recently from 456364d to 36347d6 Compare December 9, 2023 08:16
@juliusknorr juliusknorr force-pushed the feature/fonts-improvement branch from 36347d6 to 93748ff Compare December 9, 2023 08:17
@juliusknorr juliusknorr merged commit 9bdf1b2 into main Dec 9, 2023
58 checks passed
@juliusknorr juliusknorr deleted the feature/fonts-improvement branch December 9, 2023 08:32
@juliusknorr
Copy link
Member

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed enhancement New feature or request feature: fonts
Projects
None yet
4 participants