-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(slideshow) : #MAG-545 add sections slides #392
Conversation
fetchAllCardsBySection(section, page, user) | ||
.compose(this::setMetadataCards) | ||
.onFailure(fail -> { | ||
log.error("[Magneto@%s::getAllCardsByBoard] Failed to get cards", this.getClass().getSimpleName(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas le bon nom de méthode je crois.
ppt.createSlide().importContent(apacheSlide); | ||
} catch (Exception e) { | ||
String message = String.format( | ||
"[Magneto@%s::createFreeLayoutSlideObjects] Failed to create slide for card %s: %s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas le bon nom de méthode.
}) | ||
.onFailure(err -> { | ||
String message = String.format( | ||
"[Magneto@%s::createFreeLayoutSlideObjects] Failed to create slides: %s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
private Future<XMLSlideShow> createSectionLayoutSlideObjects(Board board, UserInfos user, | ||
JsonObject slideShowData, List<Map<String, Object>> documents, I18nHelper i18nHelper) { | ||
XMLSlideShow ppt = new XMLSlideShow(); | ||
ppt.setPageSize(new java.awt.Dimension(1280, 720)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ptites consts ?
* refactor(notify): migrate notification templates and configurations to view-src * feat(slide): add SlideController, SlideService, and DefaultSlideService classes * feat(export): add ExportController and DefaultExportService for PPTX export functionality * fix(export): update magnet number handling based on layout type in DefaultExportService * feat(slide): implement Slide classes and update slide object handling in DefaultExportService * feat(slide): enhance slide model with new SlideDescription and SlideTitle classes; update SlideText and SlideMedia constructors * feat(export): enhance export functionality by incorporating user information and refactoring slide creation logic * feat(export): update export functionality to return XMLSlideShow and improve slide creation logic * feat(slide): update SlideHelper and SlideText no double text and no corrupt * feat(slide): simplify SlideText createApacheSlide method by removing unnecessary comments and improving HTML parsing * feat(slide): add createImage method to SlideHelper and extend SlideProperties with file extension * feat(slide): refactor image stable * feat(export): add caption to resource data in DefaultExportService * feat(slide): update SlideMedia to include caption and version bump to 2.2-SNAPSHOT * feat(notify): remove notify_board.json configuration file * feat(slide) : #MAG-543 add first slide (#390) --------- Co-authored-by: Florent Mariotti <[email protected]> * feat(slideMedia): #MAG-548 slide media integration (#391) * feat(media): add audio icon SVG and enhance SlideMedia with media type detection feat(export): enhance media handling by copying media parts and relationships during slide export media audio stable media based on content-type feat(slide): refactor media icon creation and positioning for improved layout video stable * feat(export): add CONTENTTYPE constant and refactor DefaultExportService to use it * feat(export): refactor DefaultExportService to use constants for document fields * feat(slideshow): add standard icon and video dimensions as constants * refactor(export): remove debug print statements from ExportController * refactor(export): remove unused imports from ExportController * feat(slideshow) : #MAG-545 add sections slides (#392) --------- Co-authored-by: Florent Mariotti <[email protected]> * feat(slideshow) : #MAG-544 add description slide (#393) Co-authored-by: Florent Mariotti <[email protected]> * fix(slide) : #MAG-545 fix description and title flow (#394) --------- Co-authored-by: Florent Mariotti <[email protected]> * feat(slides) : #MAG-547 add board slides (#395) --------- Co-authored-by: Thomas Sevagen <[email protected]> Co-authored-by: Florent Mariotti <[email protected]> * feat(slides) : #MAG-546 add link slides (#396) Co-authored-by: Florent Mariotti <[email protected]> * feat(slides) : #MAG-551 add file slides (#397) --------- Co-authored-by: Florent Mariotti <[email protected]> * feat(slides) : add notes to link, board and media slides * feat(slides) : #MAG-554 add archive with slideshow and its documents (#398) Co-authored-by: Florent Mariotti <[email protected]> * feat(slides) : #MAG-555 add front modal and button for export (#399) * feat(slides) : #MAG-555 add front modal and button for export --------- Co-authored-by: Florent Mariotti <[email protected]> * Mag 212fixes (#400) --------- Co-authored-by: Florent Mariotti <[email protected]> --------- Co-authored-by: Florent Mariotti <[email protected]> Co-authored-by: Florent Mariotti <[email protected]>
Describe your changes
Add sections slides and the possibility to get a slideshow of a board with sections. At the start of each sections, we get a slide with the title of the section, and then all the slides of the cards of the section.
Checklist tests
Issue ticket number and link
MAG-545
Checklist before requesting a review (magic string, indentation, comment/documentation...)